wip: Post-barcelona wrap-up commit
This commit is contained in:
parent
0431764a66
commit
bbfef41e98
163 changed files with 811 additions and 679 deletions
196
CHANGELOG.md
196
CHANGELOG.md
|
@ -24,18 +24,146 @@
|
|||
|
||||
- Workaround for not finding a suitable legband radius
|
||||
|
||||
### plugin-banner
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
### plugin-bartack
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
### plugin-bundle
|
||||
|
||||
#### Removed
|
||||
|
||||
- Named exports of the bundled plugins are no longer available
|
||||
|
||||
### plugin-bust
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
### plugin-buttons
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
### plugin-cutonfold
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
### plugin-dimension
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
### plugin-flip
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
### plugin-gore
|
||||
|
||||
#### Breaking
|
||||
|
||||
- The `goreNumber` props is removed. Please use `gores` instead
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
### plugin-grainline
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
### plugin-i18n
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
### plugin-logo
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
### plugin-measurements
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
### plugin-mirror
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
### plugin-notches
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
### plugin-round
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
### plugin-scalebox
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
### plugin-sprinkle
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
### plugin-svgattr
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
### plugin-theme
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
### plugin-title
|
||||
|
||||
#### Changed
|
||||
|
||||
- Use localized date format
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
### plugin-versionfree-svg
|
||||
|
||||
#### Removed
|
||||
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
|
||||
## 2.22.0 (2022-08-23)
|
||||
|
||||
|
@ -245,6 +373,12 @@
|
|||
|
||||
## 2.21.0 (2022-06-27)
|
||||
|
||||
### albert
|
||||
|
||||
#### Changed
|
||||
|
||||
- Migrated from Rollup to Esbuild for all builds
|
||||
|
||||
### benjamin
|
||||
|
||||
#### Changed
|
||||
|
@ -283,6 +417,16 @@
|
|||
|
||||
### hortensia
|
||||
|
||||
#### Changed
|
||||
|
||||
- Migrated from Rollup to Esbuild for all builds
|
||||
|
||||
### lucy
|
||||
|
||||
#### Added
|
||||
|
||||
- Lucy is a pattern for a historical tie-on pocket
|
||||
|
||||
#### Changed
|
||||
|
||||
- Migrated from Rollup to Esbuild for all builds
|
||||
|
@ -332,12 +476,6 @@
|
|||
|
||||
### aaron
|
||||
|
||||
#### Changed
|
||||
|
||||
- Migrated from Rollup to Esbuild for all builds
|
||||
|
||||
### albert
|
||||
|
||||
#### Changed
|
||||
|
||||
- Migrated from Rollup to Esbuild for all builds
|
||||
|
@ -408,16 +546,6 @@
|
|||
|
||||
### jaeger
|
||||
|
||||
#### Changed
|
||||
|
||||
- Migrated from Rollup to Esbuild for all builds
|
||||
|
||||
### lucy
|
||||
|
||||
#### Added
|
||||
|
||||
- Lucy is a pattern for a historical tie-on pocket
|
||||
|
||||
#### Changed
|
||||
|
||||
- Migrated from Rollup to Esbuild for all builds
|
||||
|
@ -898,6 +1026,12 @@
|
|||
|
||||
## 2.20.0 (2022-01-24)
|
||||
|
||||
### albert
|
||||
|
||||
#### Changed
|
||||
|
||||
- Switched to default import for version from package.json
|
||||
|
||||
### benjamin
|
||||
|
||||
#### Changed
|
||||
|
@ -968,12 +1102,6 @@
|
|||
|
||||
### aaron
|
||||
|
||||
#### Changed
|
||||
|
||||
- Switched to default import for version from package.json
|
||||
|
||||
### albert
|
||||
|
||||
#### Changed
|
||||
|
||||
- Switched to default import for version from package.json
|
||||
|
@ -2070,6 +2198,12 @@
|
|||
|
||||
## 2.16.1 (2021-05-30)
|
||||
|
||||
### albert
|
||||
|
||||
#### Changed
|
||||
|
||||
- Changed `department` setting in config in line with new grouping
|
||||
|
||||
### benjamin
|
||||
|
||||
#### Changed
|
||||
|
@ -2138,12 +2272,6 @@
|
|||
|
||||
### aaron
|
||||
|
||||
#### Changed
|
||||
|
||||
- Changed `department` setting in config in line with new grouping
|
||||
|
||||
### albert
|
||||
|
||||
#### Changed
|
||||
|
||||
- Changed `department` setting in config in line with new grouping
|
||||
|
@ -2626,6 +2754,12 @@
|
|||
|
||||
## 2.11.3 (2021-01-16)
|
||||
|
||||
### albert
|
||||
|
||||
#### Fixed
|
||||
|
||||
- Added missing scalebox
|
||||
|
||||
### florence
|
||||
|
||||
#### Fixed
|
||||
|
@ -2646,12 +2780,6 @@
|
|||
|
||||
### bent
|
||||
|
||||
#### Fixed
|
||||
|
||||
- Added missing scalebox
|
||||
|
||||
### albert
|
||||
|
||||
#### Fixed
|
||||
|
||||
- Added missing scalebox
|
||||
|
|
|
@ -32,6 +32,52 @@ Unreleased:
|
|||
While v2 versions remain available, this package is no longer supported.
|
||||
Use `rehype-jargon` instead.
|
||||
|
||||
plugin-banner:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
plugin-bartack:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
plugin-bundle:
|
||||
- Named exports of the bundled plugins are no longer available
|
||||
plugin-bust:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
plugin-buttons:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
plugin-cutonfold:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
plugin-dimension:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
plugin-flip:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
plugin-gore:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
plugin-grainline:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
plugin-i18n:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
plugin-logo:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
plugin-measurements:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
plugin-mirror:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
plugin-notches:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
plugin-round:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
plugin-scalebox:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
plugin-sprinkle:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
plugin-svgattr:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
plugin-theme:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
plugin-title:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
plugin-versionfree-svg:
|
||||
- This plugin no longer sets its version as an SVG attribute when rendering patterns
|
||||
|
||||
|
||||
Fixed:
|
||||
albert:
|
||||
- Workaround for not finding a suitable legband radius
|
||||
|
|
|
@ -8,7 +8,7 @@ export const back = {
|
|||
backNeckCutout: 0.05,
|
||||
backlineBend: { pct: 50, min: 25, max: 100 }
|
||||
},
|
||||
draft: function (part) {
|
||||
draft: part => {
|
||||
const {
|
||||
store,
|
||||
sa,
|
||||
|
|
|
@ -27,7 +27,7 @@ export const front = {
|
|||
shoulderStrapWidth: { pct: 15, min: 10, max: 40, menu: 'style' },
|
||||
shoulderStrapPlacement: { pct: 40, min: 20, max: 80, menu: 'style' },
|
||||
},
|
||||
draft: function (part) {
|
||||
draft: part => {
|
||||
const {
|
||||
utils,
|
||||
store,
|
||||
|
|
|
@ -1,13 +1,9 @@
|
|||
// FreeSewing core library
|
||||
import { Design } from '@freesewing/core'
|
||||
// FreeSewing Plugins
|
||||
import { name, version } from '../package.json' assert { type: 'json' }
|
||||
import { pluginBundle } from '@freesewing/plugin-bundle'
|
||||
import { withCondition as bustPlugin } from '@freesewing/plugin-bust'
|
||||
// Design parts
|
||||
import { back } from './back.mjs'
|
||||
import { front } from './front.mjs'
|
||||
// Get name & version from package.json
|
||||
import { name, version } from '../package.json' assert { type: 'json' }
|
||||
|
||||
// Setup our new design
|
||||
const Aaron = new Design({
|
||||
|
|
|
@ -14,7 +14,7 @@ export const front = {
|
|||
bibLength,
|
||||
lengthBonus,
|
||||
},
|
||||
draft: function (part) {
|
||||
draft: part => {
|
||||
const {
|
||||
options,
|
||||
measurements,
|
||||
|
|
|
@ -1,15 +1,11 @@
|
|||
// FreeSewing Design constructor
|
||||
import { Design } from '@freesewing/core'
|
||||
// FreeSewing Plugins
|
||||
import { name, version } from '../package.json'
|
||||
import { pluginBundle } from '@freesewing/plugin-bundle'
|
||||
// Design parts
|
||||
import { front } from './front.mjs'
|
||||
import { pocket } from './pocket.mjs'
|
||||
import { strap } from './strap.mjs'
|
||||
// Get name & version from package.json
|
||||
import { name, version } from '../package.json'
|
||||
|
||||
// crossbox macro
|
||||
// crossBox macro
|
||||
const crossBox = {
|
||||
name: 'crossbox',
|
||||
version,
|
||||
|
|
|
@ -4,7 +4,7 @@ export const pocket = {
|
|||
name: 'albert.pocket',
|
||||
measurements: [ 'hpsToWaistBack', 'waistToKnee' ],
|
||||
options: { bibLength, lengthBonus },
|
||||
draft: function (part) {
|
||||
draft: part => {
|
||||
const {
|
||||
options,
|
||||
measurements,
|
||||
|
|
|
@ -10,7 +10,7 @@ export const strap = {
|
|||
strapWidth,
|
||||
chestDepth: { pct: 22, min: 15, max: 90, menu: 'fit' },
|
||||
},
|
||||
draft: function (part) {
|
||||
draft: part => {
|
||||
const {
|
||||
options,
|
||||
measurements,
|
||||
|
|
|
@ -10,7 +10,7 @@ import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
|||
testPatternConfig(Bee)
|
||||
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Bee, true)
|
||||
testPatternDrafting(Bee, false)
|
||||
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Bee, false)
|
||||
|
|
|
@ -47,7 +47,7 @@ export const back = {
|
|||
frontShoulderWidth: { pct: 95, max: 98, min: 92, menu: 'advanced' },
|
||||
highBustWidth: { pct: 86, max: 92, min: 80, menu: 'advanced' },
|
||||
},
|
||||
draft: function (part) {
|
||||
draft: part => {
|
||||
const {
|
||||
store,
|
||||
sa,
|
||||
|
|
|
@ -3,7 +3,7 @@ import { back } from './back.mjs'
|
|||
export const frontSideDart = {
|
||||
name: 'bella.frontSideDart',
|
||||
after: back,
|
||||
draft: function (part) {
|
||||
draft: part => {
|
||||
const {
|
||||
store,
|
||||
sa,
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import { Design } from '@freesewing/core'
|
||||
import { name, version } from '../package.json'
|
||||
import { pluginBundle } from '@freesewing/plugin-bundle'
|
||||
import { back } from './back.mjs'
|
||||
import { frontSideDart } from './front-side-dart.mjs'
|
||||
import { name, version } from '../package.json'
|
||||
|
||||
const Bella = new Design({
|
||||
name,
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Benjamin } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("benjamin", new Pattern())
|
||||
testPatternConfig(Benjamin)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("benjamin", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Benjamin, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "benjamin", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Benjamin, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step4": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Bent } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("bent", new Pattern())
|
||||
testPatternConfig(Bent)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("bent", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Bent, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "bent", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Bent, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Bob } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("bob", new Pattern())
|
||||
testPatternConfig(Bob)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("bob", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Bob, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "bob", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Bob, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step3": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Breanna } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("breanna", new Pattern())
|
||||
testPatternConfig(Breanna)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("breanna", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Breanna, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "breanna", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Breanna, false)
|
||||
|
|
|
@ -4,7 +4,7 @@ import { base } from './base.mjs'
|
|||
export const back = {
|
||||
from: base,
|
||||
name: 'brian.back',
|
||||
draft: (part) => {
|
||||
draft: part => {
|
||||
const {
|
||||
store,
|
||||
sa,
|
||||
|
|
|
@ -34,7 +34,7 @@ export const base = {
|
|||
'waistToHips',
|
||||
],
|
||||
optionalMeasurements: [ 'highBust' ],
|
||||
draft: (part) => {
|
||||
draft: part => {
|
||||
const {
|
||||
measurements,
|
||||
options,
|
||||
|
|
|
@ -4,7 +4,7 @@ import { back } from './back.mjs'
|
|||
export const front = {
|
||||
from: back,
|
||||
name: 'brian.front',
|
||||
draft: (part) => {
|
||||
draft: part => {
|
||||
const {
|
||||
store,
|
||||
sa,
|
||||
|
|
|
@ -1,14 +1,10 @@
|
|||
// FreeSewing Design constructor
|
||||
import { Design } from '@freesewing/core'
|
||||
// FreeSewing Plugins
|
||||
import { name, version } from '../package.json'
|
||||
import { pluginBundle } from '@freesewing/plugin-bundle'
|
||||
import { withCondition as bustPlugin } from '@freesewing/plugin-bust'
|
||||
// Design parts
|
||||
import { back } from './back.mjs'
|
||||
import { front } from './front.mjs'
|
||||
import { sleeve } from './sleeve.mjs'
|
||||
// Get name & version from package.json
|
||||
import { name, version } from '../package.json'
|
||||
// Re-export skeleton parts so peope can re-use them
|
||||
import { base } from './base.mjs'
|
||||
import { sleevecap } from './sleevecap.mjs'
|
||||
|
|
|
@ -10,7 +10,7 @@ export const sleeve = {
|
|||
'shoulderToWrist',
|
||||
'wrist',
|
||||
],
|
||||
draft: (part) => {
|
||||
draft: part => {
|
||||
const {
|
||||
store,
|
||||
sa,
|
||||
|
|
|
@ -165,7 +165,7 @@ export const sleevecap = {
|
|||
sleevecapQ4Spread2: { pct: 6.3, min: 4, max: 20, menu },
|
||||
sleeveWidthGuarantee: { pct: 90, min: 25, max: 100, menu: 'advanced' },
|
||||
},
|
||||
draft: (part) => {
|
||||
draft: part => {
|
||||
const { store, units, options, Point, points, paths, raise } = part.shorthand()
|
||||
|
||||
store.set('sleeveFactor', 1)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Bruce } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("bruce", new Pattern())
|
||||
testPatternConfig(Bruce)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("bruce", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Bruce, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "bruce", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Bruce, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Carlita } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("carlita", new Pattern())
|
||||
testPatternConfig(Carlita)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("carlita", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Carlita, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "carlita", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Carlita, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step4": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Carlton } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("carlton", new Pattern())
|
||||
testPatternConfig(Carlton)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("carlton", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Carlton, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "carlton", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Carlton, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Cathrin } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("cathrin", new Pattern())
|
||||
testPatternConfig(Cathrin)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("cathrin", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Cathrin, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "cathrin", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Cathrin, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Charlie } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("charlie", new Pattern())
|
||||
testPatternConfig(Charlie)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("charlie", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Charlie, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "charlie", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Charlie, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Cornelius } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("cornelius", new Pattern())
|
||||
testPatternConfig(Cornelius)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("cornelius", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Cornelius, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "cornelius", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Cornelius, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Diana } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("diana", new Pattern())
|
||||
testPatternConfig(Diana)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("diana", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Diana, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "diana", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Diana, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -33,7 +33,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Examples } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("examples", new Pattern())
|
||||
testPatternConfig(Examples)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("examples", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Examples, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "examples", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Examples, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Florence } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("florence", new Pattern())
|
||||
testPatternConfig(Florence)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("florence", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Florence, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "florence", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Florence, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Florent } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("florent", new Pattern())
|
||||
testPatternConfig(Florent)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("florent", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Florent, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "florent", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Florent, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Hi } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("hi", new Pattern())
|
||||
testPatternConfig(Hi)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("hi", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Hi, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "hi", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Hi, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Holmes } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("holmes", new Pattern())
|
||||
testPatternConfig(Holmes)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("holmes", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Holmes, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "holmes", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Holmes, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Hortensia } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("hortensia", new Pattern())
|
||||
testPatternConfig(Hortensia)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("hortensia", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Hortensia, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "hortensia", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Hortensia, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Huey } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("huey", new Pattern())
|
||||
testPatternConfig(Huey)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("huey", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Huey, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "huey", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Huey, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Hugo } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("hugo", new Pattern())
|
||||
testPatternConfig(Hugo)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("hugo", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Hugo, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "hugo", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Hugo, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Jaeger } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("jaeger", new Pattern())
|
||||
testPatternConfig(Jaeger)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("jaeger", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Jaeger, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "jaeger", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Jaeger, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Legend } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("legend", new Pattern())
|
||||
testPatternConfig(Legend)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("legend", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Legend, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "legend", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Legend, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Lucy } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("lucy", new Pattern())
|
||||
testPatternConfig(Lucy)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("lucy", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Lucy, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "lucy", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Lucy, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Lunetius } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("lunetius", new Pattern())
|
||||
testPatternConfig(Lunetius)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("lunetius", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Lunetius, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "lunetius", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Lunetius, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Noble } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("noble", new Pattern())
|
||||
testPatternConfig(Noble)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("noble", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Noble, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "noble", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Noble, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Octoplushy } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("octoplushy", new Pattern())
|
||||
testPatternConfig(Octoplushy)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("octoplushy", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Octoplushy, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "octoplushy", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Octoplushy, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Paco } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("paco", new Pattern())
|
||||
testPatternConfig(Paco)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("paco", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Paco, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "paco", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Paco, false)
|
||||
|
|
|
@ -14,7 +14,7 @@ const banner = `/**
|
|||
const options = {
|
||||
banner: { js: banner },
|
||||
bundle: true,
|
||||
entryPoints: ['src/index.js'],
|
||||
entryPoints: ['src/index.mjs'],
|
||||
format: 'esm',
|
||||
outfile: 'dist/index.mjs',
|
||||
external: ["@freesewing"],
|
||||
|
|
|
@ -38,7 +38,7 @@
|
|||
"vbuild": "VERBOSE=1 node --experimental-json-modules build.mjs",
|
||||
"lab": "cd ../../sites/lab && yarn start",
|
||||
"tips": "node ../../scripts/help.mjs",
|
||||
"prettier": "npx prettier --write 'src/*.js' 'config/*.js'",
|
||||
"prettier": "npx prettier --write 'src/*.mjs' 'tests/*.mjs'",
|
||||
"testci": "npx mocha tests/*.test.mjs --reporter ../../tests/reporters/terse.js",
|
||||
"cibuild_step5": "node --experimental-json-modules build.mjs"
|
||||
},
|
||||
|
|
|
@ -1,17 +1,16 @@
|
|||
// This file is auto-generated.
|
||||
// Changes you make will be overwritten.
|
||||
import Pattern from './dist/index.mjs'
|
||||
// This file is auto-generated | Any changes you make will be overwritten.
|
||||
import { Penelope } from './dist/index.mjs'
|
||||
|
||||
// Shared tests
|
||||
import { testPatternConfig } from '../../../tests/patterns/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/patterns/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/patterns/sampling.mjs'
|
||||
import { testPatternConfig } from '../../../tests/designs/config.mjs'
|
||||
import { testPatternDrafting } from '../../../tests/designs/drafting.mjs'
|
||||
import { testPatternSampling } from '../../../tests/designs/sampling.mjs'
|
||||
|
||||
// Test config
|
||||
testPatternConfig("penelope", new Pattern())
|
||||
testPatternConfig(Penelope)
|
||||
|
||||
// Test drafting
|
||||
testPatternDrafting("penelope", Pattern)
|
||||
// Test drafting - Change the second parameter to `true` to log errors
|
||||
testPatternDrafting(Penelope, false)
|
||||
|
||||
// Test sampling
|
||||
testPatternSampling( "penelope", Pattern)
|
||||
// Test sampling - Change the second parameter to `true` to log errors
|
||||
testPatternSampling(Penelope, false)
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue