1
0
Fork 0

chore(tiberius): Port to v3 stage 2

This commit is contained in:
joostdecock 2022-09-11 17:02:45 +02:00
parent 674e80b591
commit 809875ffac
2 changed files with 15 additions and 21 deletions

View file

@ -1,5 +0,0 @@
{
"env": {
"jest": true
}
}

View file

@ -1,21 +1,20 @@
import { pluginBundle } from '@freesewing/plugin-bundle' import { pluginBundle } from '@freesewing/plugin-bundle'
function tiberiusTunica(part) { function tiberiusTunica({
const { Point,
Point, points,
points, Path,
Path, paths,
paths, measurements,
measurements, options,
options, macro,
macro, complete,
complete, snippets,
snippets, Snippet,
Snippet, sa,
sa, paperless,
paperless, part,
} = part.shorthand() }) {
// Handle width // Handle width
let width = let width =
options.width === 'toElbow' options.width === 'toElbow'