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