chore: Added unittest for patterns
This commit is contained in:
parent
f6bad3c76f
commit
ba45537ea6
131 changed files with 1832 additions and 146 deletions
11
.github/workflows/commitlint.yml
vendored
11
.github/workflows/commitlint.yml
vendored
|
@ -1,11 +0,0 @@
|
||||||
name: Commitlint
|
|
||||||
on: [pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
lint:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
env:
|
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v1
|
|
||||||
- uses: wagoid/commitlint-github-action@v1.1.0
|
|
13
.github/workflows/tests.aaron.yml
vendored
13
.github/workflows/tests.aaron.yml
vendored
|
@ -1,7 +1,4 @@
|
||||||
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
|
name: Unit tests - Aaron
|
||||||
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
|
|
||||||
|
|
||||||
name: Unit tests - aaron
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
@ -11,7 +8,7 @@ on:
|
||||||
- 'packages/aaron/rollup.config.js
|
- 'packages/aaron/rollup.config.js
|
||||||
pull_request:
|
pull_request:
|
||||||
paths: *files
|
paths: *files
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
|
|
||||||
|
@ -23,12 +20,12 @@ jobs:
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js $
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: $
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: npm run build --if-present
|
- run: npm run build --if-present
|
||||||
- run: npm test
|
- run: npm testonly
|
||||||
env:
|
env:
|
||||||
CI: true
|
CI: true
|
||||||
|
|
31
.github/workflows/tests.benjamin.yml
vendored
Normal file
31
.github/workflows/tests.benjamin.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Benjamin
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/benjamin/src/**.js'
|
||||||
|
- 'packages/benjamin/config/**.js'
|
||||||
|
- 'packages/benjamin/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.bent.yml
vendored
Normal file
31
.github/workflows/tests.bent.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Bent
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/bent/src/**.js'
|
||||||
|
- 'packages/bent/config/**.js'
|
||||||
|
- 'packages/bent/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.breanna.yml
vendored
Normal file
31
.github/workflows/tests.breanna.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Breanna
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/breanna/src/**.js'
|
||||||
|
- 'packages/breanna/config/**.js'
|
||||||
|
- 'packages/breanna/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.brian.yml
vendored
Normal file
31
.github/workflows/tests.brian.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Brian
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/brian/src/**.js'
|
||||||
|
- 'packages/brian/config/**.js'
|
||||||
|
- 'packages/brian/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.bruce.yml
vendored
Normal file
31
.github/workflows/tests.bruce.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Bruce
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/bruce/src/**.js'
|
||||||
|
- 'packages/bruce/config/**.js'
|
||||||
|
- 'packages/bruce/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.carlita.yml
vendored
Normal file
31
.github/workflows/tests.carlita.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Carlita
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/carlita/src/**.js'
|
||||||
|
- 'packages/carlita/config/**.js'
|
||||||
|
- 'packages/carlita/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.carlton.yml
vendored
Normal file
31
.github/workflows/tests.carlton.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Carlton
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/carlton/src/**.js'
|
||||||
|
- 'packages/carlton/config/**.js'
|
||||||
|
- 'packages/carlton/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.cathrin.yml
vendored
Normal file
31
.github/workflows/tests.cathrin.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Cathrin
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/cathrin/src/**.js'
|
||||||
|
- 'packages/cathrin/config/**.js'
|
||||||
|
- 'packages/cathrin/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.examples.yml
vendored
Normal file
31
.github/workflows/tests.examples.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Examples
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/examples/src/**.js'
|
||||||
|
- 'packages/examples/config/**.js'
|
||||||
|
- 'packages/examples/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.florent.yml
vendored
Normal file
31
.github/workflows/tests.florent.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Florent
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/florent/src/**.js'
|
||||||
|
- 'packages/florent/config/**.js'
|
||||||
|
- 'packages/florent/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.fu.yml
vendored
Normal file
31
.github/workflows/tests.fu.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Fu
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/fu/src/**.js'
|
||||||
|
- 'packages/fu/config/**.js'
|
||||||
|
- 'packages/fu/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.holmes.yml
vendored
Normal file
31
.github/workflows/tests.holmes.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Holmes
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/holmes/src/**.js'
|
||||||
|
- 'packages/holmes/config/**.js'
|
||||||
|
- 'packages/holmes/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.huey.yml
vendored
Normal file
31
.github/workflows/tests.huey.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Huey
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/huey/src/**.js'
|
||||||
|
- 'packages/huey/config/**.js'
|
||||||
|
- 'packages/huey/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.hugo.yml
vendored
Normal file
31
.github/workflows/tests.hugo.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Hugo
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/hugo/src/**.js'
|
||||||
|
- 'packages/hugo/config/**.js'
|
||||||
|
- 'packages/hugo/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.jaeger.yml
vendored
Normal file
31
.github/workflows/tests.jaeger.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Jaeger
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/jaeger/src/**.js'
|
||||||
|
- 'packages/jaeger/config/**.js'
|
||||||
|
- 'packages/jaeger/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.penelope.yml
vendored
Normal file
31
.github/workflows/tests.penelope.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Penelope
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/penelope/src/**.js'
|
||||||
|
- 'packages/penelope/config/**.js'
|
||||||
|
- 'packages/penelope/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.rendertest.yml
vendored
Normal file
31
.github/workflows/tests.rendertest.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Rendertest
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/rendertest/src/**.js'
|
||||||
|
- 'packages/rendertest/config/**.js'
|
||||||
|
- 'packages/rendertest/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.sandy.yml
vendored
Normal file
31
.github/workflows/tests.sandy.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Sandy
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/sandy/src/**.js'
|
||||||
|
- 'packages/sandy/config/**.js'
|
||||||
|
- 'packages/sandy/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.shin.yml
vendored
Normal file
31
.github/workflows/tests.shin.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Shin
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/shin/src/**.js'
|
||||||
|
- 'packages/shin/config/**.js'
|
||||||
|
- 'packages/shin/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.simon.yml
vendored
Normal file
31
.github/workflows/tests.simon.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Simon
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/simon/src/**.js'
|
||||||
|
- 'packages/simon/config/**.js'
|
||||||
|
- 'packages/simon/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.simone.yml
vendored
Normal file
31
.github/workflows/tests.simone.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Simone
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/simone/src/**.js'
|
||||||
|
- 'packages/simone/config/**.js'
|
||||||
|
- 'packages/simone/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.sven.yml
vendored
Normal file
31
.github/workflows/tests.sven.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Sven
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/sven/src/**.js'
|
||||||
|
- 'packages/sven/config/**.js'
|
||||||
|
- 'packages/sven/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.tamiko.yml
vendored
Normal file
31
.github/workflows/tests.tamiko.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Tamiko
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/tamiko/src/**.js'
|
||||||
|
- 'packages/tamiko/config/**.js'
|
||||||
|
- 'packages/tamiko/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.theo.yml
vendored
Normal file
31
.github/workflows/tests.theo.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Theo
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/theo/src/**.js'
|
||||||
|
- 'packages/theo/config/**.js'
|
||||||
|
- 'packages/theo/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.trayvon.yml
vendored
Normal file
31
.github/workflows/tests.trayvon.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Trayvon
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/trayvon/src/**.js'
|
||||||
|
- 'packages/trayvon/config/**.js'
|
||||||
|
- 'packages/trayvon/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.tutorial.yml
vendored
Normal file
31
.github/workflows/tests.tutorial.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Tutorial
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/tutorial/src/**.js'
|
||||||
|
- 'packages/tutorial/config/**.js'
|
||||||
|
- 'packages/tutorial/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.wahid.yml
vendored
Normal file
31
.github/workflows/tests.wahid.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Wahid
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/wahid/src/**.js'
|
||||||
|
- 'packages/wahid/config/**.js'
|
||||||
|
- 'packages/wahid/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
31
.github/workflows/tests.waralee.yml
vendored
Normal file
31
.github/workflows/tests.waralee.yml
vendored
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - Waralee
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/waralee/src/**.js'
|
||||||
|
- 'packages/waralee/config/**.js'
|
||||||
|
- 'packages/waralee/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js $
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: $
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
12
CHANGELOG.md
12
CHANGELOG.md
|
@ -4,6 +4,18 @@
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
|
### simon
|
||||||
|
|
||||||
|
#### Fixed
|
||||||
|
|
||||||
|
- The `sleevecapBackFactorY` and `sleevecapFrontFactorY` options had a minimum above the default
|
||||||
|
|
||||||
|
### simone
|
||||||
|
|
||||||
|
#### Fixed
|
||||||
|
|
||||||
|
- The `sleevecapBackFactorY` and `sleevecapFrontFactorY` options had a minimum above the default
|
||||||
|
|
||||||
|
|
||||||
## 2.4.3 (2020-03-12)
|
## 2.4.3 (2020-03-12)
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,10 @@ Unreleased:
|
||||||
Changed:
|
Changed:
|
||||||
Deprecated:
|
Deprecated:
|
||||||
Fixed:
|
Fixed:
|
||||||
|
simon:
|
||||||
|
- The `sleevecapBackFactorY` and `sleevecapFrontFactorY` options had a minimum above the default
|
||||||
|
simone:
|
||||||
|
- The `sleevecapBackFactorY` and `sleevecapFrontFactorY` options had a minimum above the default
|
||||||
Removed:
|
Removed:
|
||||||
Security:
|
Security:
|
||||||
|
|
||||||
|
|
|
@ -9,6 +9,7 @@ _:
|
||||||
_types:
|
_types:
|
||||||
pattern:
|
pattern:
|
||||||
netlify: "echo \"Not configured yet\""
|
netlify: "echo \"Not configured yet\""
|
||||||
|
testonly: "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
create-freesewing-pattern:
|
create-freesewing-pattern:
|
||||||
clean: "!"
|
clean: "!"
|
||||||
nodebuild: "!"
|
nodebuild: "!"
|
||||||
|
|
|
@ -13,6 +13,7 @@
|
||||||
"watch": "rollup -c -w",
|
"watch": "rollup -c -w",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"build": "rollup -c",
|
"build": "rollup -c",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register",
|
||||||
"publish": "npm run build && npm publish --access public"
|
"publish": "npm run build && npm publish --access public"
|
||||||
},
|
},
|
||||||
"peerDependencies": {},
|
"peerDependencies": {},
|
||||||
|
|
10
config/templates/tests/patterns/config.test.js
Normal file
10
config/templates/tests/patterns/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const {{ Pattern }} = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta = {{ metadata }}
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('{{ pattern }}', new {{ Pattern }}(), meta)
|
31
config/templates/workflows/tests.pattern.yml
Normal file
31
config/templates/workflows/tests.pattern.yml
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
name: Unit tests - {{ Pattern }}
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
paths: &files
|
||||||
|
- 'packages/{{ pattern }}/src/**.js'
|
||||||
|
- 'packages/{{ pattern }}/config/**.js'
|
||||||
|
- 'packages/{{ pattern }}/rollup.config.js
|
||||||
|
pull_request:
|
||||||
|
paths: *files
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
test:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
node-version: [12.x]
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: ${{ matrix.node-version }}
|
||||||
|
- run: npm ci
|
||||||
|
- run: npm run build --if-present
|
||||||
|
- run: npm testonly
|
||||||
|
env:
|
||||||
|
CI: true
|
|
@ -10,7 +10,14 @@ const App = props => {
|
||||||
let instance = new Pattern()
|
let instance = new Pattern()
|
||||||
let config = instance.config
|
let config = instance.config
|
||||||
|
|
||||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
return (
|
||||||
|
<Workbench
|
||||||
|
freesewing={freesewing}
|
||||||
|
Pattern={Pattern}
|
||||||
|
config={config}
|
||||||
|
userLanguage="en"
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
"pubforce": "npm publish",
|
"pubforce": "npm publish",
|
||||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"netlify": "echo \"Not configured yet\""
|
"netlify": "echo \"Not configured yet\"",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@freesewing/core": "^2.4.3",
|
"@freesewing/core": "^2.4.3",
|
||||||
|
@ -43,7 +44,7 @@
|
||||||
"react-dom": "^16.8",
|
"react-dom": "^16.8",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||||
"babel-eslint": "10.0.1",
|
"babel-eslint": "10.0.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^5.16.0",
|
||||||
"babel-jest": "24.7.1",
|
"babel-jest": "24.7.1",
|
||||||
"jest": "24.7.1",
|
"jest": "24.7.1",
|
||||||
"@freesewing/components": "^2.4.3",
|
"@freesewing/components": "^2.4.3",
|
||||||
|
@ -58,7 +59,7 @@
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
"gh-pages": "^1.2.0",
|
"gh-pages": "^1.2.0",
|
||||||
"react-scripts": "^3.0.0",
|
"react-scripts": "^3.0.0",
|
||||||
"webpack": "4.42.0",
|
"webpack": "4.29.6",
|
||||||
"rollup": "^0.64.1",
|
"rollup": "^0.64.1",
|
||||||
"rollup-plugin-babel": "^4.0.1",
|
"rollup-plugin-babel": "^4.0.1",
|
||||||
"rollup-plugin-babel-minify": "^7.0.0",
|
"rollup-plugin-babel-minify": "^7.0.0",
|
||||||
|
|
10
packages/aaron/tests/config.test.js
Normal file
10
packages/aaron/tests/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const Aaron = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta =
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('aaron', new Aaron(), meta)
|
|
@ -10,7 +10,14 @@ const App = props => {
|
||||||
let instance = new Pattern()
|
let instance = new Pattern()
|
||||||
let config = instance.config
|
let config = instance.config
|
||||||
|
|
||||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
return (
|
||||||
|
<Workbench
|
||||||
|
freesewing={freesewing}
|
||||||
|
Pattern={Pattern}
|
||||||
|
config={config}
|
||||||
|
userLanguage="en"
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
"pubforce": "npm publish",
|
"pubforce": "npm publish",
|
||||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"netlify": "echo \"Not configured yet\""
|
"netlify": "echo \"Not configured yet\"",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@freesewing/core": "^2.4.3",
|
"@freesewing/core": "^2.4.3",
|
||||||
|
@ -42,7 +43,7 @@
|
||||||
"react-dom": "^16.8",
|
"react-dom": "^16.8",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||||
"babel-eslint": "10.0.1",
|
"babel-eslint": "10.0.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^5.16.0",
|
||||||
"babel-jest": "24.7.1",
|
"babel-jest": "24.7.1",
|
||||||
"jest": "24.7.1",
|
"jest": "24.7.1",
|
||||||
"@freesewing/components": "^2.4.3",
|
"@freesewing/components": "^2.4.3",
|
||||||
|
@ -57,7 +58,7 @@
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
"gh-pages": "^1.2.0",
|
"gh-pages": "^1.2.0",
|
||||||
"react-scripts": "^3.0.0",
|
"react-scripts": "^3.0.0",
|
||||||
"webpack": "4.42.0",
|
"webpack": "4.29.6",
|
||||||
"rollup": "^0.64.1",
|
"rollup": "^0.64.1",
|
||||||
"rollup-plugin-babel": "^4.0.1",
|
"rollup-plugin-babel": "^4.0.1",
|
||||||
"rollup-plugin-babel-minify": "^7.0.0",
|
"rollup-plugin-babel-minify": "^7.0.0",
|
||||||
|
|
10
packages/benjamin/tests/config.test.js
Normal file
10
packages/benjamin/tests/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const Benjamin = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta =
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('benjamin', new Benjamin(), meta)
|
|
@ -10,7 +10,14 @@ const App = props => {
|
||||||
let instance = new Pattern()
|
let instance = new Pattern()
|
||||||
let config = instance.config
|
let config = instance.config
|
||||||
|
|
||||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
return (
|
||||||
|
<Workbench
|
||||||
|
freesewing={freesewing}
|
||||||
|
Pattern={Pattern}
|
||||||
|
config={config}
|
||||||
|
userLanguage="en"
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
"pubforce": "npm publish",
|
"pubforce": "npm publish",
|
||||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"netlify": "echo \"Not configured yet\""
|
"netlify": "echo \"Not configured yet\"",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@freesewing/core": "^2.4.3",
|
"@freesewing/core": "^2.4.3",
|
||||||
|
@ -43,7 +44,7 @@
|
||||||
"react-dom": "^16.8",
|
"react-dom": "^16.8",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||||
"babel-eslint": "10.0.1",
|
"babel-eslint": "10.0.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^5.16.0",
|
||||||
"babel-jest": "24.7.1",
|
"babel-jest": "24.7.1",
|
||||||
"jest": "24.7.1",
|
"jest": "24.7.1",
|
||||||
"@freesewing/components": "^2.4.3",
|
"@freesewing/components": "^2.4.3",
|
||||||
|
@ -58,7 +59,7 @@
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
"gh-pages": "^1.2.0",
|
"gh-pages": "^1.2.0",
|
||||||
"react-scripts": "^3.0.0",
|
"react-scripts": "^3.0.0",
|
||||||
"webpack": "4.42.0",
|
"webpack": "4.29.6",
|
||||||
"rollup": "^0.64.1",
|
"rollup": "^0.64.1",
|
||||||
"rollup-plugin-babel": "^4.0.1",
|
"rollup-plugin-babel": "^4.0.1",
|
||||||
"rollup-plugin-babel-minify": "^7.0.0",
|
"rollup-plugin-babel-minify": "^7.0.0",
|
||||||
|
|
10
packages/bent/tests/config.test.js
Normal file
10
packages/bent/tests/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const Bent = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta =
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('bent', new Bent(), meta)
|
|
@ -10,7 +10,14 @@ const App = props => {
|
||||||
let instance = new Pattern()
|
let instance = new Pattern()
|
||||||
let config = instance.config
|
let config = instance.config
|
||||||
|
|
||||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
return (
|
||||||
|
<Workbench
|
||||||
|
freesewing={freesewing}
|
||||||
|
Pattern={Pattern}
|
||||||
|
config={config}
|
||||||
|
userLanguage="en"
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
"pubforce": "npm publish",
|
"pubforce": "npm publish",
|
||||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"netlify": "echo \"Not configured yet\""
|
"netlify": "echo \"Not configured yet\"",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@freesewing/core": "^2.4.3",
|
"@freesewing/core": "^2.4.3",
|
||||||
|
@ -42,7 +43,7 @@
|
||||||
"react-dom": "^16.8",
|
"react-dom": "^16.8",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||||
"babel-eslint": "10.0.1",
|
"babel-eslint": "10.0.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^5.16.0",
|
||||||
"babel-jest": "24.7.1",
|
"babel-jest": "24.7.1",
|
||||||
"jest": "24.7.1",
|
"jest": "24.7.1",
|
||||||
"@freesewing/components": "^2.4.3",
|
"@freesewing/components": "^2.4.3",
|
||||||
|
@ -57,7 +58,7 @@
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
"gh-pages": "^1.2.0",
|
"gh-pages": "^1.2.0",
|
||||||
"react-scripts": "^3.0.0",
|
"react-scripts": "^3.0.0",
|
||||||
"webpack": "4.42.0",
|
"webpack": "4.29.6",
|
||||||
"rollup": "^0.64.1",
|
"rollup": "^0.64.1",
|
||||||
"rollup-plugin-babel": "^4.0.1",
|
"rollup-plugin-babel": "^4.0.1",
|
||||||
"rollup-plugin-babel-minify": "^7.0.0",
|
"rollup-plugin-babel-minify": "^7.0.0",
|
||||||
|
|
10
packages/breanna/tests/config.test.js
Normal file
10
packages/breanna/tests/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const Breanna = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta =
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('breanna', new Breanna(), meta)
|
|
@ -10,7 +10,14 @@ const App = props => {
|
||||||
let instance = new Pattern()
|
let instance = new Pattern()
|
||||||
let config = instance.config
|
let config = instance.config
|
||||||
|
|
||||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
return (
|
||||||
|
<Workbench
|
||||||
|
freesewing={freesewing}
|
||||||
|
Pattern={Pattern}
|
||||||
|
config={config}
|
||||||
|
userLanguage="en"
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
"pubforce": "npm publish",
|
"pubforce": "npm publish",
|
||||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"netlify": "echo \"Not configured yet\""
|
"netlify": "echo \"Not configured yet\"",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@freesewing/core": "^2.4.3",
|
"@freesewing/core": "^2.4.3",
|
||||||
|
@ -42,7 +43,7 @@
|
||||||
"react-dom": "^16.8",
|
"react-dom": "^16.8",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||||
"babel-eslint": "10.0.1",
|
"babel-eslint": "10.0.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^5.16.0",
|
||||||
"babel-jest": "24.7.1",
|
"babel-jest": "24.7.1",
|
||||||
"jest": "24.7.1",
|
"jest": "24.7.1",
|
||||||
"@freesewing/components": "^2.4.3",
|
"@freesewing/components": "^2.4.3",
|
||||||
|
@ -57,7 +58,7 @@
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
"gh-pages": "^1.2.0",
|
"gh-pages": "^1.2.0",
|
||||||
"react-scripts": "^3.0.0",
|
"react-scripts": "^3.0.0",
|
||||||
"webpack": "4.42.0",
|
"webpack": "4.29.6",
|
||||||
"rollup": "^0.64.1",
|
"rollup": "^0.64.1",
|
||||||
"rollup-plugin-babel": "^4.0.1",
|
"rollup-plugin-babel": "^4.0.1",
|
||||||
"rollup-plugin-babel-minify": "^7.0.0",
|
"rollup-plugin-babel-minify": "^7.0.0",
|
||||||
|
|
10
packages/brian/tests/config.test.js
Normal file
10
packages/brian/tests/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const Brian = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta =
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('brian', new Brian(), meta)
|
|
@ -10,7 +10,14 @@ const App = props => {
|
||||||
let instance = new Pattern()
|
let instance = new Pattern()
|
||||||
let config = instance.config
|
let config = instance.config
|
||||||
|
|
||||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
return (
|
||||||
|
<Workbench
|
||||||
|
freesewing={freesewing}
|
||||||
|
Pattern={Pattern}
|
||||||
|
config={config}
|
||||||
|
userLanguage="en"
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
"pubforce": "npm publish",
|
"pubforce": "npm publish",
|
||||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"netlify": "echo \"Not configured yet\""
|
"netlify": "echo \"Not configured yet\"",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@freesewing/core": "^2.4.3",
|
"@freesewing/core": "^2.4.3",
|
||||||
|
@ -42,7 +43,7 @@
|
||||||
"react-dom": "^16.8",
|
"react-dom": "^16.8",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||||
"babel-eslint": "10.0.1",
|
"babel-eslint": "10.0.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^5.16.0",
|
||||||
"babel-jest": "24.7.1",
|
"babel-jest": "24.7.1",
|
||||||
"jest": "24.7.1",
|
"jest": "24.7.1",
|
||||||
"@freesewing/components": "^2.4.3",
|
"@freesewing/components": "^2.4.3",
|
||||||
|
@ -57,7 +58,7 @@
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
"gh-pages": "^1.2.0",
|
"gh-pages": "^1.2.0",
|
||||||
"react-scripts": "^3.0.0",
|
"react-scripts": "^3.0.0",
|
||||||
"webpack": "4.42.0",
|
"webpack": "4.29.6",
|
||||||
"rollup": "^0.64.1",
|
"rollup": "^0.64.1",
|
||||||
"rollup-plugin-babel": "^4.0.1",
|
"rollup-plugin-babel": "^4.0.1",
|
||||||
"rollup-plugin-babel-minify": "^7.0.0",
|
"rollup-plugin-babel-minify": "^7.0.0",
|
||||||
|
|
10
packages/bruce/tests/config.test.js
Normal file
10
packages/bruce/tests/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const Bruce = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta =
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('bruce', new Bruce(), meta)
|
|
@ -10,7 +10,14 @@ const App = props => {
|
||||||
let instance = new Pattern()
|
let instance = new Pattern()
|
||||||
let config = instance.config
|
let config = instance.config
|
||||||
|
|
||||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
return (
|
||||||
|
<Workbench
|
||||||
|
freesewing={freesewing}
|
||||||
|
Pattern={Pattern}
|
||||||
|
config={config}
|
||||||
|
userLanguage="en"
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
"pubforce": "npm publish",
|
"pubforce": "npm publish",
|
||||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"netlify": "echo \"Not configured yet\""
|
"netlify": "echo \"Not configured yet\"",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@freesewing/core": "^2.4.3",
|
"@freesewing/core": "^2.4.3",
|
||||||
|
@ -46,7 +47,7 @@
|
||||||
"react-dom": "^16.8",
|
"react-dom": "^16.8",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||||
"babel-eslint": "10.0.1",
|
"babel-eslint": "10.0.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^5.16.0",
|
||||||
"babel-jest": "24.7.1",
|
"babel-jest": "24.7.1",
|
||||||
"jest": "24.7.1",
|
"jest": "24.7.1",
|
||||||
"@freesewing/components": "^2.4.3",
|
"@freesewing/components": "^2.4.3",
|
||||||
|
@ -61,7 +62,7 @@
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
"gh-pages": "^1.2.0",
|
"gh-pages": "^1.2.0",
|
||||||
"react-scripts": "^3.0.0",
|
"react-scripts": "^3.0.0",
|
||||||
"webpack": "4.42.0",
|
"webpack": "4.29.6",
|
||||||
"rollup": "^0.64.1",
|
"rollup": "^0.64.1",
|
||||||
"rollup-plugin-babel": "^4.0.1",
|
"rollup-plugin-babel": "^4.0.1",
|
||||||
"rollup-plugin-babel-minify": "^7.0.0",
|
"rollup-plugin-babel-minify": "^7.0.0",
|
||||||
|
|
10
packages/carlita/tests/config.test.js
Normal file
10
packages/carlita/tests/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const Carlita = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta =
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('carlita', new Carlita(), meta)
|
|
@ -10,7 +10,14 @@ const App = props => {
|
||||||
let instance = new Pattern()
|
let instance = new Pattern()
|
||||||
let config = instance.config
|
let config = instance.config
|
||||||
|
|
||||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
return (
|
||||||
|
<Workbench
|
||||||
|
freesewing={freesewing}
|
||||||
|
Pattern={Pattern}
|
||||||
|
config={config}
|
||||||
|
userLanguage="en"
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
"pubforce": "npm publish",
|
"pubforce": "npm publish",
|
||||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"netlify": "echo \"Not configured yet\""
|
"netlify": "echo \"Not configured yet\"",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@freesewing/core": "^2.4.3",
|
"@freesewing/core": "^2.4.3",
|
||||||
|
@ -44,7 +45,7 @@
|
||||||
"react-dom": "^16.8",
|
"react-dom": "^16.8",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||||
"babel-eslint": "10.0.1",
|
"babel-eslint": "10.0.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^5.16.0",
|
||||||
"babel-jest": "24.7.1",
|
"babel-jest": "24.7.1",
|
||||||
"jest": "24.7.1",
|
"jest": "24.7.1",
|
||||||
"@freesewing/components": "^2.4.3",
|
"@freesewing/components": "^2.4.3",
|
||||||
|
@ -59,7 +60,7 @@
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
"gh-pages": "^1.2.0",
|
"gh-pages": "^1.2.0",
|
||||||
"react-scripts": "^3.0.0",
|
"react-scripts": "^3.0.0",
|
||||||
"webpack": "4.42.0",
|
"webpack": "4.29.6",
|
||||||
"rollup": "^0.64.1",
|
"rollup": "^0.64.1",
|
||||||
"rollup-plugin-babel": "^4.0.1",
|
"rollup-plugin-babel": "^4.0.1",
|
||||||
"rollup-plugin-babel-minify": "^7.0.0",
|
"rollup-plugin-babel-minify": "^7.0.0",
|
||||||
|
|
10
packages/carlton/tests/config.test.js
Normal file
10
packages/carlton/tests/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const Carlton = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta =
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('carlton', new Carlton(), meta)
|
|
@ -10,7 +10,14 @@ const App = props => {
|
||||||
let instance = new Pattern()
|
let instance = new Pattern()
|
||||||
let config = instance.config
|
let config = instance.config
|
||||||
|
|
||||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
return (
|
||||||
|
<Workbench
|
||||||
|
freesewing={freesewing}
|
||||||
|
Pattern={Pattern}
|
||||||
|
config={config}
|
||||||
|
userLanguage="en"
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
"pubforce": "npm publish",
|
"pubforce": "npm publish",
|
||||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"netlify": "echo \"Not configured yet\""
|
"netlify": "echo \"Not configured yet\"",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@freesewing/core": "^2.4.3",
|
"@freesewing/core": "^2.4.3",
|
||||||
|
@ -42,7 +43,7 @@
|
||||||
"react-dom": "^16.8",
|
"react-dom": "^16.8",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||||
"babel-eslint": "10.0.1",
|
"babel-eslint": "10.0.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^5.16.0",
|
||||||
"babel-jest": "24.7.1",
|
"babel-jest": "24.7.1",
|
||||||
"jest": "24.7.1",
|
"jest": "24.7.1",
|
||||||
"@freesewing/components": "^2.4.3",
|
"@freesewing/components": "^2.4.3",
|
||||||
|
@ -57,7 +58,7 @@
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
"gh-pages": "^1.2.0",
|
"gh-pages": "^1.2.0",
|
||||||
"react-scripts": "^3.0.0",
|
"react-scripts": "^3.0.0",
|
||||||
"webpack": "4.42.0",
|
"webpack": "4.29.6",
|
||||||
"rollup": "^0.64.1",
|
"rollup": "^0.64.1",
|
||||||
"rollup-plugin-babel": "^4.0.1",
|
"rollup-plugin-babel": "^4.0.1",
|
||||||
"rollup-plugin-babel-minify": "^7.0.0",
|
"rollup-plugin-babel-minify": "^7.0.0",
|
||||||
|
|
10
packages/cathrin/tests/config.test.js
Normal file
10
packages/cathrin/tests/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const Cathrin = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta =
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('cathrin', new Cathrin(), meta)
|
|
@ -31,7 +31,7 @@
|
||||||
"cp-file": "^6.0.0",
|
"cp-file": "^6.0.0",
|
||||||
"execa": "^1.0.0",
|
"execa": "^1.0.0",
|
||||||
"git-config-path": "^2.0.0",
|
"git-config-path": "^2.0.0",
|
||||||
"github-username": "^5.0.1",
|
"github-username": "^4.1.0",
|
||||||
"globby": "^9.0.0",
|
"globby": "^9.0.0",
|
||||||
"handlebars": "^4.1.0",
|
"handlebars": "^4.1.0",
|
||||||
"inquirer": "^6.2.2",
|
"inquirer": "^6.2.2",
|
||||||
|
|
|
@ -10,7 +10,14 @@ const App = props => {
|
||||||
let instance = new Pattern()
|
let instance = new Pattern()
|
||||||
let config = instance.config
|
let config = instance.config
|
||||||
|
|
||||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
return (
|
||||||
|
<Workbench
|
||||||
|
freesewing={freesewing}
|
||||||
|
Pattern={Pattern}
|
||||||
|
config={config}
|
||||||
|
userLanguage="en"
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
|
@ -25,7 +25,8 @@
|
||||||
"pubforce": "npm publish",
|
"pubforce": "npm publish",
|
||||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"netlify": "echo \"Not configured yet\""
|
"netlify": "echo \"Not configured yet\"",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@freesewing/core": "^2.4.3",
|
"@freesewing/core": "^2.4.3",
|
||||||
|
@ -37,7 +38,7 @@
|
||||||
"react-dom": "^16.8",
|
"react-dom": "^16.8",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||||
"babel-eslint": "10.0.1",
|
"babel-eslint": "10.0.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^5.16.0",
|
||||||
"babel-jest": "24.7.1",
|
"babel-jest": "24.7.1",
|
||||||
"jest": "24.7.1",
|
"jest": "24.7.1",
|
||||||
"@freesewing/components": "^2.4.3",
|
"@freesewing/components": "^2.4.3",
|
||||||
|
@ -52,7 +53,7 @@
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
"gh-pages": "^1.2.0",
|
"gh-pages": "^1.2.0",
|
||||||
"react-scripts": "^3.0.0",
|
"react-scripts": "^3.0.0",
|
||||||
"webpack": "4.42.0",
|
"webpack": "4.29.6",
|
||||||
"rollup": "^0.64.1",
|
"rollup": "^0.64.1",
|
||||||
"rollup-plugin-babel": "^4.0.1",
|
"rollup-plugin-babel": "^4.0.1",
|
||||||
"rollup-plugin-babel-minify": "^7.0.0",
|
"rollup-plugin-babel-minify": "^7.0.0",
|
||||||
|
|
10
packages/examples/tests/config.test.js
Normal file
10
packages/examples/tests/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const Examples = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta =
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('examples', new Examples(), meta)
|
|
@ -10,7 +10,14 @@ const App = props => {
|
||||||
let instance = new Pattern()
|
let instance = new Pattern()
|
||||||
let config = instance.config
|
let config = instance.config
|
||||||
|
|
||||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
return (
|
||||||
|
<Workbench
|
||||||
|
freesewing={freesewing}
|
||||||
|
Pattern={Pattern}
|
||||||
|
config={config}
|
||||||
|
userLanguage="en"
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
"pubforce": "npm publish",
|
"pubforce": "npm publish",
|
||||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"netlify": "echo \"Not configured yet\""
|
"netlify": "echo \"Not configured yet\"",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@freesewing/core": "^2.4.3",
|
"@freesewing/core": "^2.4.3",
|
||||||
|
@ -42,7 +43,7 @@
|
||||||
"react-dom": "^16.8",
|
"react-dom": "^16.8",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||||
"babel-eslint": "10.0.1",
|
"babel-eslint": "10.0.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^5.16.0",
|
||||||
"babel-jest": "24.7.1",
|
"babel-jest": "24.7.1",
|
||||||
"jest": "24.7.1",
|
"jest": "24.7.1",
|
||||||
"@freesewing/components": "^2.4.3",
|
"@freesewing/components": "^2.4.3",
|
||||||
|
@ -57,7 +58,7 @@
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
"gh-pages": "^1.2.0",
|
"gh-pages": "^1.2.0",
|
||||||
"react-scripts": "^3.0.0",
|
"react-scripts": "^3.0.0",
|
||||||
"webpack": "4.42.0",
|
"webpack": "4.29.6",
|
||||||
"rollup": "^0.64.1",
|
"rollup": "^0.64.1",
|
||||||
"rollup-plugin-babel": "^4.0.1",
|
"rollup-plugin-babel": "^4.0.1",
|
||||||
"rollup-plugin-babel-minify": "^7.0.0",
|
"rollup-plugin-babel-minify": "^7.0.0",
|
||||||
|
|
10
packages/florent/tests/config.test.js
Normal file
10
packages/florent/tests/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const Florent = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta =
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('florent', new Florent(), meta)
|
|
@ -10,7 +10,14 @@ const App = props => {
|
||||||
let instance = new Pattern()
|
let instance = new Pattern()
|
||||||
let config = instance.config
|
let config = instance.config
|
||||||
|
|
||||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
return (
|
||||||
|
<Workbench
|
||||||
|
freesewing={freesewing}
|
||||||
|
Pattern={Pattern}
|
||||||
|
config={config}
|
||||||
|
userLanguage="en"
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
"pubforce": "npm publish",
|
"pubforce": "npm publish",
|
||||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"netlify": "echo \"Not configured yet\""
|
"netlify": "echo \"Not configured yet\"",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@freesewing/core": "^2.4.3",
|
"@freesewing/core": "^2.4.3",
|
||||||
|
@ -42,7 +43,7 @@
|
||||||
"react-dom": "^16.8",
|
"react-dom": "^16.8",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||||
"babel-eslint": "10.0.1",
|
"babel-eslint": "10.0.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^5.16.0",
|
||||||
"babel-jest": "24.7.1",
|
"babel-jest": "24.7.1",
|
||||||
"jest": "24.7.1",
|
"jest": "24.7.1",
|
||||||
"@freesewing/components": "^2.4.3",
|
"@freesewing/components": "^2.4.3",
|
||||||
|
@ -57,7 +58,7 @@
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
"gh-pages": "^1.2.0",
|
"gh-pages": "^1.2.0",
|
||||||
"react-scripts": "^3.0.0",
|
"react-scripts": "^3.0.0",
|
||||||
"webpack": "4.42.0",
|
"webpack": "4.29.6",
|
||||||
"rollup": "^0.64.1",
|
"rollup": "^0.64.1",
|
||||||
"rollup-plugin-babel": "^4.0.1",
|
"rollup-plugin-babel": "^4.0.1",
|
||||||
"rollup-plugin-babel-minify": "^7.0.0",
|
"rollup-plugin-babel-minify": "^7.0.0",
|
||||||
|
|
10
packages/fu/tests/config.test.js
Normal file
10
packages/fu/tests/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const Fu = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta =
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('fu', new Fu(), meta)
|
|
@ -10,7 +10,14 @@ const App = props => {
|
||||||
let instance = new Pattern()
|
let instance = new Pattern()
|
||||||
let config = instance.config
|
let config = instance.config
|
||||||
|
|
||||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
return (
|
||||||
|
<Workbench
|
||||||
|
freesewing={freesewing}
|
||||||
|
Pattern={Pattern}
|
||||||
|
config={config}
|
||||||
|
userLanguage="en"
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
"pubforce": "npm publish",
|
"pubforce": "npm publish",
|
||||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"netlify": "echo \"Not configured yet\""
|
"netlify": "echo \"Not configured yet\"",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@freesewing/core": "^2.4.3",
|
"@freesewing/core": "^2.4.3",
|
||||||
|
@ -43,7 +44,7 @@
|
||||||
"react-dom": "^16.8",
|
"react-dom": "^16.8",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||||
"babel-eslint": "10.0.1",
|
"babel-eslint": "10.0.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^5.16.0",
|
||||||
"babel-jest": "24.7.1",
|
"babel-jest": "24.7.1",
|
||||||
"jest": "24.7.1",
|
"jest": "24.7.1",
|
||||||
"@freesewing/components": "^2.4.3",
|
"@freesewing/components": "^2.4.3",
|
||||||
|
@ -58,7 +59,7 @@
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
"gh-pages": "^1.2.0",
|
"gh-pages": "^1.2.0",
|
||||||
"react-scripts": "^3.0.0",
|
"react-scripts": "^3.0.0",
|
||||||
"webpack": "4.42.0",
|
"webpack": "4.29.6",
|
||||||
"rollup": "^0.64.1",
|
"rollup": "^0.64.1",
|
||||||
"rollup-plugin-babel": "^4.0.1",
|
"rollup-plugin-babel": "^4.0.1",
|
||||||
"rollup-plugin-babel-minify": "^7.0.0",
|
"rollup-plugin-babel-minify": "^7.0.0",
|
||||||
|
|
10
packages/holmes/tests/config.test.js
Normal file
10
packages/holmes/tests/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const Holmes = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta =
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('holmes', new Holmes(), meta)
|
|
@ -10,7 +10,14 @@ const App = props => {
|
||||||
let instance = new Pattern()
|
let instance = new Pattern()
|
||||||
let config = instance.config
|
let config = instance.config
|
||||||
|
|
||||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
return (
|
||||||
|
<Workbench
|
||||||
|
freesewing={freesewing}
|
||||||
|
Pattern={Pattern}
|
||||||
|
config={config}
|
||||||
|
userLanguage="en"
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
"pubforce": "npm publish",
|
"pubforce": "npm publish",
|
||||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"netlify": "echo \"Not configured yet\""
|
"netlify": "echo \"Not configured yet\"",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@freesewing/core": "^2.4.3",
|
"@freesewing/core": "^2.4.3",
|
||||||
|
@ -42,7 +43,7 @@
|
||||||
"react-dom": "^16.8",
|
"react-dom": "^16.8",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||||
"babel-eslint": "10.0.1",
|
"babel-eslint": "10.0.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^5.16.0",
|
||||||
"babel-jest": "24.7.1",
|
"babel-jest": "24.7.1",
|
||||||
"jest": "24.7.1",
|
"jest": "24.7.1",
|
||||||
"@freesewing/components": "^2.4.3",
|
"@freesewing/components": "^2.4.3",
|
||||||
|
@ -57,7 +58,7 @@
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
"gh-pages": "^1.2.0",
|
"gh-pages": "^1.2.0",
|
||||||
"react-scripts": "^3.0.0",
|
"react-scripts": "^3.0.0",
|
||||||
"webpack": "4.42.0",
|
"webpack": "4.29.6",
|
||||||
"rollup": "^0.64.1",
|
"rollup": "^0.64.1",
|
||||||
"rollup-plugin-babel": "^4.0.1",
|
"rollup-plugin-babel": "^4.0.1",
|
||||||
"rollup-plugin-babel-minify": "^7.0.0",
|
"rollup-plugin-babel-minify": "^7.0.0",
|
||||||
|
|
10
packages/huey/tests/config.test.js
Normal file
10
packages/huey/tests/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const Huey = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta =
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('huey', new Huey(), meta)
|
|
@ -10,7 +10,14 @@ const App = props => {
|
||||||
let instance = new Pattern()
|
let instance = new Pattern()
|
||||||
let config = instance.config
|
let config = instance.config
|
||||||
|
|
||||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
return (
|
||||||
|
<Workbench
|
||||||
|
freesewing={freesewing}
|
||||||
|
Pattern={Pattern}
|
||||||
|
config={config}
|
||||||
|
userLanguage="en"
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
"pubforce": "npm publish",
|
"pubforce": "npm publish",
|
||||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"netlify": "echo \"Not configured yet\""
|
"netlify": "echo \"Not configured yet\"",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@freesewing/core": "^2.4.3",
|
"@freesewing/core": "^2.4.3",
|
||||||
|
@ -43,7 +44,7 @@
|
||||||
"react-dom": "^16.8",
|
"react-dom": "^16.8",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||||
"babel-eslint": "10.0.1",
|
"babel-eslint": "10.0.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^5.16.0",
|
||||||
"babel-jest": "24.7.1",
|
"babel-jest": "24.7.1",
|
||||||
"jest": "24.7.1",
|
"jest": "24.7.1",
|
||||||
"@freesewing/components": "^2.4.3",
|
"@freesewing/components": "^2.4.3",
|
||||||
|
@ -58,7 +59,7 @@
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
"gh-pages": "^1.2.0",
|
"gh-pages": "^1.2.0",
|
||||||
"react-scripts": "^3.0.0",
|
"react-scripts": "^3.0.0",
|
||||||
"webpack": "4.42.0",
|
"webpack": "4.29.6",
|
||||||
"rollup": "^0.64.1",
|
"rollup": "^0.64.1",
|
||||||
"rollup-plugin-babel": "^4.0.1",
|
"rollup-plugin-babel": "^4.0.1",
|
||||||
"rollup-plugin-babel-minify": "^7.0.0",
|
"rollup-plugin-babel-minify": "^7.0.0",
|
||||||
|
|
10
packages/hugo/tests/config.test.js
Normal file
10
packages/hugo/tests/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const Hugo = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta =
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('hugo', new Hugo(), meta)
|
|
@ -10,7 +10,14 @@ const App = props => {
|
||||||
let instance = new Pattern()
|
let instance = new Pattern()
|
||||||
let config = instance.config
|
let config = instance.config
|
||||||
|
|
||||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
return (
|
||||||
|
<Workbench
|
||||||
|
freesewing={freesewing}
|
||||||
|
Pattern={Pattern}
|
||||||
|
config={config}
|
||||||
|
userLanguage="en"
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
"pubforce": "npm publish",
|
"pubforce": "npm publish",
|
||||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"netlify": "echo \"Not configured yet\""
|
"netlify": "echo \"Not configured yet\"",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@freesewing/core": "^2.4.3",
|
"@freesewing/core": "^2.4.3",
|
||||||
|
@ -44,7 +45,7 @@
|
||||||
"react-dom": "^16.8",
|
"react-dom": "^16.8",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||||
"babel-eslint": "10.0.1",
|
"babel-eslint": "10.0.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^5.16.0",
|
||||||
"babel-jest": "24.7.1",
|
"babel-jest": "24.7.1",
|
||||||
"jest": "24.7.1",
|
"jest": "24.7.1",
|
||||||
"@freesewing/components": "^2.4.3",
|
"@freesewing/components": "^2.4.3",
|
||||||
|
@ -59,7 +60,7 @@
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
"gh-pages": "^1.2.0",
|
"gh-pages": "^1.2.0",
|
||||||
"react-scripts": "^3.0.0",
|
"react-scripts": "^3.0.0",
|
||||||
"webpack": "4.42.0",
|
"webpack": "4.29.6",
|
||||||
"rollup": "^0.64.1",
|
"rollup": "^0.64.1",
|
||||||
"rollup-plugin-babel": "^4.0.1",
|
"rollup-plugin-babel": "^4.0.1",
|
||||||
"rollup-plugin-babel-minify": "^7.0.0",
|
"rollup-plugin-babel-minify": "^7.0.0",
|
||||||
|
|
10
packages/jaeger/tests/config.test.js
Normal file
10
packages/jaeger/tests/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const Jaeger = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta =
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('jaeger', new Jaeger(), meta)
|
|
@ -10,7 +10,14 @@ const App = props => {
|
||||||
let instance = new Pattern()
|
let instance = new Pattern()
|
||||||
let config = instance.config
|
let config = instance.config
|
||||||
|
|
||||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
return (
|
||||||
|
<Workbench
|
||||||
|
freesewing={freesewing}
|
||||||
|
Pattern={Pattern}
|
||||||
|
config={config}
|
||||||
|
userLanguage="en"
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
"pubforce": "npm publish",
|
"pubforce": "npm publish",
|
||||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"netlify": "echo \"Not configured yet\""
|
"netlify": "echo \"Not configured yet\"",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@freesewing/core": "^2.4.3",
|
"@freesewing/core": "^2.4.3",
|
||||||
|
@ -42,7 +43,7 @@
|
||||||
"react-dom": "^16.8",
|
"react-dom": "^16.8",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||||
"babel-eslint": "10.0.1",
|
"babel-eslint": "10.0.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^5.16.0",
|
||||||
"babel-jest": "24.7.1",
|
"babel-jest": "24.7.1",
|
||||||
"jest": "24.7.1",
|
"jest": "24.7.1",
|
||||||
"@freesewing/components": "^2.4.3",
|
"@freesewing/components": "^2.4.3",
|
||||||
|
@ -57,7 +58,7 @@
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
"gh-pages": "^1.2.0",
|
"gh-pages": "^1.2.0",
|
||||||
"react-scripts": "^3.0.0",
|
"react-scripts": "^3.0.0",
|
||||||
"webpack": "4.42.0",
|
"webpack": "4.29.6",
|
||||||
"rollup": "^0.64.1",
|
"rollup": "^0.64.1",
|
||||||
"rollup-plugin-babel": "^4.0.1",
|
"rollup-plugin-babel": "^4.0.1",
|
||||||
"rollup-plugin-babel-minify": "^7.0.0",
|
"rollup-plugin-babel-minify": "^7.0.0",
|
||||||
|
|
10
packages/penelope/tests/config.test.js
Normal file
10
packages/penelope/tests/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const Penelope = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta =
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('penelope', new Penelope(), meta)
|
|
@ -34,7 +34,7 @@
|
||||||
"remark-html": "^9.0.0"
|
"remark-html": "^9.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"unist-util-visit": "^2.0.2"
|
"unist-util-visit": "^1.4.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {},
|
"devDependencies": {},
|
||||||
"files": [
|
"files": [
|
||||||
|
|
|
@ -10,7 +10,14 @@ const App = props => {
|
||||||
let instance = new Pattern()
|
let instance = new Pattern()
|
||||||
let config = instance.config
|
let config = instance.config
|
||||||
|
|
||||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
return (
|
||||||
|
<Workbench
|
||||||
|
freesewing={freesewing}
|
||||||
|
Pattern={Pattern}
|
||||||
|
config={config}
|
||||||
|
userLanguage="en"
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
"pubforce": "npm publish",
|
"pubforce": "npm publish",
|
||||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"netlify": "echo \"Not configured yet\""
|
"netlify": "echo \"Not configured yet\"",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@freesewing/core": "^2.4.3",
|
"@freesewing/core": "^2.4.3",
|
||||||
|
@ -42,7 +43,7 @@
|
||||||
"react-dom": "^16.8",
|
"react-dom": "^16.8",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||||
"babel-eslint": "10.0.1",
|
"babel-eslint": "10.0.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^5.16.0",
|
||||||
"babel-jest": "24.7.1",
|
"babel-jest": "24.7.1",
|
||||||
"jest": "24.7.1",
|
"jest": "24.7.1",
|
||||||
"@freesewing/components": "^2.4.3",
|
"@freesewing/components": "^2.4.3",
|
||||||
|
@ -57,7 +58,7 @@
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
"gh-pages": "^1.2.0",
|
"gh-pages": "^1.2.0",
|
||||||
"react-scripts": "^3.0.0",
|
"react-scripts": "^3.0.0",
|
||||||
"webpack": "4.42.0",
|
"webpack": "4.29.6",
|
||||||
"rollup": "^0.64.1",
|
"rollup": "^0.64.1",
|
||||||
"rollup-plugin-babel": "^4.0.1",
|
"rollup-plugin-babel": "^4.0.1",
|
||||||
"rollup-plugin-babel-minify": "^7.0.0",
|
"rollup-plugin-babel-minify": "^7.0.0",
|
||||||
|
|
10
packages/rendertest/tests/config.test.js
Normal file
10
packages/rendertest/tests/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const Rendertest = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta =
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('rendertest', new Rendertest(), meta)
|
|
@ -10,7 +10,14 @@ const App = props => {
|
||||||
let instance = new Pattern()
|
let instance = new Pattern()
|
||||||
let config = instance.config
|
let config = instance.config
|
||||||
|
|
||||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
return (
|
||||||
|
<Workbench
|
||||||
|
freesewing={freesewing}
|
||||||
|
Pattern={Pattern}
|
||||||
|
config={config}
|
||||||
|
userLanguage="en"
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
"pubforce": "npm publish",
|
"pubforce": "npm publish",
|
||||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"netlify": "echo \"Not configured yet\""
|
"netlify": "echo \"Not configured yet\"",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@freesewing/core": "^2.4.3",
|
"@freesewing/core": "^2.4.3",
|
||||||
|
@ -42,7 +43,7 @@
|
||||||
"react-dom": "^16.8",
|
"react-dom": "^16.8",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||||
"babel-eslint": "10.0.1",
|
"babel-eslint": "10.0.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^5.16.0",
|
||||||
"babel-jest": "24.7.1",
|
"babel-jest": "24.7.1",
|
||||||
"jest": "24.7.1",
|
"jest": "24.7.1",
|
||||||
"@freesewing/components": "^2.4.3",
|
"@freesewing/components": "^2.4.3",
|
||||||
|
@ -57,7 +58,7 @@
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
"gh-pages": "^1.2.0",
|
"gh-pages": "^1.2.0",
|
||||||
"react-scripts": "^3.0.0",
|
"react-scripts": "^3.0.0",
|
||||||
"webpack": "4.42.0",
|
"webpack": "4.29.6",
|
||||||
"rollup": "^0.64.1",
|
"rollup": "^0.64.1",
|
||||||
"rollup-plugin-babel": "^4.0.1",
|
"rollup-plugin-babel": "^4.0.1",
|
||||||
"rollup-plugin-babel-minify": "^7.0.0",
|
"rollup-plugin-babel-minify": "^7.0.0",
|
||||||
|
|
10
packages/sandy/tests/config.test.js
Normal file
10
packages/sandy/tests/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const Sandy = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta =
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('sandy', new Sandy(), meta)
|
|
@ -10,7 +10,14 @@ const App = props => {
|
||||||
let instance = new Pattern()
|
let instance = new Pattern()
|
||||||
let config = instance.config
|
let config = instance.config
|
||||||
|
|
||||||
return <Workbench freesewing={freesewing} Pattern={Pattern} config={config} userLanguage="en" />
|
return (
|
||||||
|
<Workbench
|
||||||
|
freesewing={freesewing}
|
||||||
|
Pattern={Pattern}
|
||||||
|
config={config}
|
||||||
|
userLanguage="en"
|
||||||
|
/>
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export default App
|
export default App
|
||||||
|
|
|
@ -30,7 +30,8 @@
|
||||||
"pubforce": "npm publish",
|
"pubforce": "npm publish",
|
||||||
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
"symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -",
|
||||||
"start": "rollup -c -w",
|
"start": "rollup -c -w",
|
||||||
"netlify": "echo \"Not configured yet\""
|
"netlify": "echo \"Not configured yet\"",
|
||||||
|
"testonly": "BABEL_ENV=production ../../node_modules/.bin/_mocha tests/*.test.js --require @babel/register"
|
||||||
},
|
},
|
||||||
"peerDependencies": {
|
"peerDependencies": {
|
||||||
"@freesewing/core": "^2.4.3",
|
"@freesewing/core": "^2.4.3",
|
||||||
|
@ -42,7 +43,7 @@
|
||||||
"react-dom": "^16.8",
|
"react-dom": "^16.8",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
"@babel/plugin-proposal-class-properties": "^7.0.0",
|
||||||
"babel-eslint": "10.0.1",
|
"babel-eslint": "10.0.1",
|
||||||
"eslint": "^6.8.0",
|
"eslint": "^5.16.0",
|
||||||
"babel-jest": "24.7.1",
|
"babel-jest": "24.7.1",
|
||||||
"jest": "24.7.1",
|
"jest": "24.7.1",
|
||||||
"@freesewing/components": "^2.4.3",
|
"@freesewing/components": "^2.4.3",
|
||||||
|
@ -57,7 +58,7 @@
|
||||||
"cross-env": "^5.1.4",
|
"cross-env": "^5.1.4",
|
||||||
"gh-pages": "^1.2.0",
|
"gh-pages": "^1.2.0",
|
||||||
"react-scripts": "^3.0.0",
|
"react-scripts": "^3.0.0",
|
||||||
"webpack": "4.42.0",
|
"webpack": "4.29.6",
|
||||||
"rollup": "^0.64.1",
|
"rollup": "^0.64.1",
|
||||||
"rollup-plugin-babel": "^4.0.1",
|
"rollup-plugin-babel": "^4.0.1",
|
||||||
"rollup-plugin-babel-minify": "^7.0.0",
|
"rollup-plugin-babel-minify": "^7.0.0",
|
||||||
|
|
10
packages/shin/tests/config.test.js
Normal file
10
packages/shin/tests/config.test.js
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
// This file is auto-generated.
|
||||||
|
// Changes you make will be overwritten.
|
||||||
|
const Shin = require('../dist')
|
||||||
|
const testPatternConfig = require('../../../tests/patterns/config')
|
||||||
|
|
||||||
|
// The pattern's metadata from package.json
|
||||||
|
const meta =
|
||||||
|
|
||||||
|
// Test config
|
||||||
|
testPatternConfig('shin', new Shin(), meta)
|
|
@ -3,9 +3,9 @@
|
||||||
|
|
||||||
## Unreleased
|
## Unreleased
|
||||||
|
|
||||||
**Note:** Version bump only for package simon
|
### Fixed
|
||||||
|
|
||||||
|
|
||||||
|
- The `sleevecapBackFactorY` and `sleevecapFrontFactorY` options had a minimum above the default
|
||||||
## 2.4.3 (2020-03-12)
|
## 2.4.3 (2020-03-12)
|
||||||
|
|
||||||
**Note:** Version bump only for package simon
|
**Note:** Version bump only for package simon
|
||||||
|
|
|
@ -221,9 +221,9 @@ export default {
|
||||||
sleevecapTopFactorX: { pct: 50, min: 25, max: 75 },
|
sleevecapTopFactorX: { pct: 50, min: 25, max: 75 },
|
||||||
sleevecapTopFactorY: { pct: 100, min: 35, max: 165 },
|
sleevecapTopFactorY: { pct: 100, min: 35, max: 165 },
|
||||||
sleevecapBackFactorX: { pct: 60, min: 35, max: 65 },
|
sleevecapBackFactorX: { pct: 60, min: 35, max: 65 },
|
||||||
sleevecapBackFactorY: { pct: 33, min: 35, max: 65 },
|
sleevecapBackFactorY: { pct: 33, min: 30, max: 65 },
|
||||||
sleevecapFrontFactorX: { pct: 55, min: 35, max: 65 },
|
sleevecapFrontFactorX: { pct: 55, min: 35, max: 65 },
|
||||||
sleevecapFrontFactorY: { pct: 33, min: 35, max: 65 },
|
sleevecapFrontFactorY: { pct: 33, min: 30, max: 65 },
|
||||||
sleevecapQ1Offset: { pct: 5, min: 3, max: 7 },
|
sleevecapQ1Offset: { pct: 5, min: 3, max: 7 },
|
||||||
sleevecapQ2Offset: { pct: 5.5, min: 0, max: 7 },
|
sleevecapQ2Offset: { pct: 5.5, min: 0, max: 7 },
|
||||||
sleevecapQ3Offset: { pct: 4.5, min: 0, max: 7 },
|
sleevecapQ3Offset: { pct: 4.5, min: 0, max: 7 },
|
||||||
|
|
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