feat(bent): Added s3 options to bent
This commit is contained in:
parent
68854b0e66
commit
95d34ac425
5 changed files with 9 additions and 3 deletions
2
.github/workflows/tests.bent.yml
vendored
2
.github/workflows/tests.bent.yml
vendored
|
@ -23,7 +23,7 @@ jobs:
|
|||
env:
|
||||
CI: true
|
||||
- name: Install peer & test dependencies
|
||||
run: "cd packages/bent && npm install @freesewing/core@^2.16.2 @freesewing/plugin-bundle@^2.16.2 @freesewing/brian@^2.16.2 @freesewing/models@2.16.2 @freesewing/pattern-info@2.16.2 mocha chai"
|
||||
run: "cd packages/bent && npm install @freesewing/core@^2.16.2 @freesewing/plugin-bundle@^2.16.2 @freesewing/brian@^2.16.2 @freesewing/plugin-mirror@^2.16.2 @freesewing/models@2.16.2 @freesewing/pattern-info@2.16.2 mocha chai"
|
||||
env:
|
||||
CI: true
|
||||
- name: Build pattern
|
||||
|
|
|
@ -2,6 +2,9 @@
|
|||
date: Unreleased
|
||||
|
||||
Added:
|
||||
bent:
|
||||
- The `s3collar and `s3armhole` options now allow shifting the shoulder seam
|
||||
(`s3` is short for *Shift Shoulder Seam*)
|
||||
brian:
|
||||
- The `s3collar and `s3armhole` options now allow shifting the shoulder seam
|
||||
(`s3` is short for *Shift Shoulder Seam*)
|
||||
|
|
|
@ -51,6 +51,7 @@ aaron:
|
|||
bent:
|
||||
peer:
|
||||
'@freesewing/brian': *freesewing
|
||||
'@freesewing/plugin-mirror': *freesewing
|
||||
breanna:
|
||||
peer:
|
||||
'@freesewing/brian': *freesewing
|
||||
|
|
|
@ -36,7 +36,8 @@
|
|||
"peerDependencies": {
|
||||
"@freesewing/core": "^2.16.2",
|
||||
"@freesewing/plugin-bundle": "^2.16.2",
|
||||
"@freesewing/brian": "^2.16.2"
|
||||
"@freesewing/brian": "^2.16.2",
|
||||
"@freesewing/plugin-mirror": "^2.16.2"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import freesewing from '@freesewing/core'
|
||||
import plugins from '@freesewing/plugin-bundle'
|
||||
import mirrorPlugin from '@freesewing/plugin-mirror'
|
||||
import Brian from '@freesewing/brian'
|
||||
import config from '../config'
|
||||
// Parts
|
||||
|
@ -8,7 +9,7 @@ import draftTopSleeve from './topsleeve'
|
|||
import draftUnderSleeve from './undersleeve'
|
||||
|
||||
// Create new design
|
||||
const Pattern = new freesewing.Design(config, plugins)
|
||||
const Pattern = new freesewing.Design(config, [plugins, mirrorPlugin])
|
||||
|
||||
// Attach draft methods from Brian to prototype
|
||||
Pattern.prototype.draftBase = function (part) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue