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'
function tiberiusTunica(part) {
const {
Point,
points,
Path,
paths,
measurements,
options,
macro,
complete,
snippets,
Snippet,
sa,
paperless,
} = part.shorthand()
function tiberiusTunica({
Point,
points,
Path,
paths,
measurements,
options,
macro,
complete,
snippets,
Snippet,
sa,
paperless,
part,
}) {
// Handle width
let width =
options.width === 'toElbow'