From 177974288ea4389b0a6bcbac9310407cb92b41b3 Mon Sep 17 00:00:00 2001 From: Joost De Cock Date: Sat, 12 Sep 2020 19:05:38 +0200 Subject: [PATCH] chore: Reconfigure packages --- .github/workflows/tests.teagan.yml | 2 +- CHANGELOG.md | 8 ++++++++ config/changelog.yaml | 4 ++++ packages/aaron/example/src/App.js | 5 +---- packages/benjamin/example/src/App.js | 5 +---- packages/bent/example/src/App.js | 5 +---- packages/breanna/example/src/App.js | 5 +---- packages/brian/example/src/App.js | 5 +---- packages/bruce/example/src/App.js | 5 +---- packages/carlita/example/src/App.js | 5 +---- packages/carlton/example/src/App.js | 5 +---- packages/cathrin/example/src/App.js | 5 +---- packages/core/CHANGELOG.md | 2 ++ packages/create-freesewing-pattern/CHANGELOG.md | 6 ++++++ packages/diana/example/src/App.js | 5 +---- packages/examples/example/src/App.js | 5 +---- packages/florence/example/src/App.js | 5 +---- packages/florent/example/src/App.js | 5 +---- packages/holmes/example/src/App.js | 5 +---- packages/huey/example/src/App.js | 5 +---- packages/hugo/example/src/App.js | 5 +---- packages/jaeger/example/src/App.js | 5 +---- packages/legend/example/src/App.js | 5 +---- packages/paco/example/src/App.js | 5 +---- packages/penelope/example/src/App.js | 5 +---- packages/rendertest/example/src/App.js | 5 +---- packages/sandy/example/src/App.js | 5 +---- packages/shin/example/src/App.js | 5 +---- packages/simon/example/src/App.js | 5 +---- packages/simone/example/src/App.js | 5 +---- packages/sven/example/src/App.js | 5 +---- packages/tamiko/example/src/App.js | 5 +---- packages/theo/example/src/App.js | 5 +---- packages/titan/example/src/App.js | 5 +---- packages/trayvon/example/src/App.js | 5 +---- packages/tutorial/example/src/App.js | 5 +---- packages/wahid/example/src/App.js | 5 +---- packages/waralee/example/src/App.js | 5 +---- 38 files changed, 54 insertions(+), 133 deletions(-) diff --git a/.github/workflows/tests.teagan.yml b/.github/workflows/tests.teagan.yml index f3bd99665a0..573dd0ceb69 100644 --- a/.github/workflows/tests.teagan.yml +++ b/.github/workflows/tests.teagan.yml @@ -23,7 +23,7 @@ jobs: env: CI: true - name: Install peer & test dependencies - run: "cd packages/teagan && npm install @freesewing/core@^2.9.0-rc.1 @freesewing/plugin-bundle@^2.9.0-rc.1 @freesewing/brian@^2.9.0-rc.1 @freesewing/models@2.9.0-rc.1 @freesewing/pattern-info@2.9.0-rc.1 mocha chai" + run: "cd packages/teagan && npm install @freesewing/core@^2.9.0-rc.1 @freesewing/plugin-bundle@^2.9.0-rc.1 @freesewing/brian@^2.9.0-rc.1 @freesewing/plugin-bust@^2.9.0-rc.1 @freesewing/models@2.9.0-rc.1 @freesewing/pattern-info@2.9.0-rc.1 mocha chai" env: CI: true - name: Build pattern diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ad6e422fab..aee31fc4489 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,14 @@ #### Added - Parts not get a `name` property set that hold their (own) name/id + - Added the `info` type to raised events + - Added support for conditional loading of plugins + +### create-freesewing-pattern + +#### Fixed + + - No longer instantiate a pattern, just to get the config ### css-theme diff --git a/config/changelog.yaml b/config/changelog.yaml index 4b0a2d23d31..38f042e807c 100644 --- a/config/changelog.yaml +++ b/config/changelog.yaml @@ -10,6 +10,8 @@ Unreleased: - Added Discord icon in Icon component core: - Parts not get a `name` property set that hold their (own) name/id + - Added the `info` type to raised events + - Added support for conditional loading of plugins css-theme: - Changes to UI colors i18n: @@ -26,6 +28,8 @@ Unreleased: teagan: - Teagan is a T-shirt pattern Fixed: + create-freesewing-pattern: + - No longer instantiate a pattern, just to get the config i18n: - Replaced a few identical files with symlinks diff --git a/packages/aaron/example/src/App.js b/packages/aaron/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/aaron/example/src/App.js +++ b/packages/aaron/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/benjamin/example/src/App.js b/packages/benjamin/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/benjamin/example/src/App.js +++ b/packages/benjamin/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/bent/example/src/App.js b/packages/bent/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/bent/example/src/App.js +++ b/packages/bent/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/breanna/example/src/App.js b/packages/breanna/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/breanna/example/src/App.js +++ b/packages/breanna/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/brian/example/src/App.js b/packages/brian/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/brian/example/src/App.js +++ b/packages/brian/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/bruce/example/src/App.js b/packages/bruce/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/bruce/example/src/App.js +++ b/packages/bruce/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/carlita/example/src/App.js b/packages/carlita/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/carlita/example/src/App.js +++ b/packages/carlita/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/carlton/example/src/App.js b/packages/carlton/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/carlton/example/src/App.js +++ b/packages/carlton/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/cathrin/example/src/App.js b/packages/cathrin/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/cathrin/example/src/App.js +++ b/packages/cathrin/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index abf02416d42..fe4a5089782 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -6,6 +6,8 @@ ### Added - Parts not get a `name` property set that hold their (own) name/id + - Added the `info` type to raised events + - Added support for conditional loading of plugins ## 2.8.0 (2020-08-10) diff --git a/packages/create-freesewing-pattern/CHANGELOG.md b/packages/create-freesewing-pattern/CHANGELOG.md index 9c795189905..4478f88bd82 100644 --- a/packages/create-freesewing-pattern/CHANGELOG.md +++ b/packages/create-freesewing-pattern/CHANGELOG.md @@ -1,6 +1,12 @@ # Change log for: create-freesewing-pattern +## 2.9.0 (2020-09-09) + +### Fixed + + - No longer instantiate a pattern, just to get the config + ## 2.8.1 (2020-08-16) ### Fixed diff --git a/packages/diana/example/src/App.js b/packages/diana/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/diana/example/src/App.js +++ b/packages/diana/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/examples/example/src/App.js b/packages/examples/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/examples/example/src/App.js +++ b/packages/examples/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/florence/example/src/App.js b/packages/florence/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/florence/example/src/App.js +++ b/packages/florence/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/florent/example/src/App.js b/packages/florent/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/florent/example/src/App.js +++ b/packages/florent/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/holmes/example/src/App.js b/packages/holmes/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/holmes/example/src/App.js +++ b/packages/holmes/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/huey/example/src/App.js b/packages/huey/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/huey/example/src/App.js +++ b/packages/huey/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/hugo/example/src/App.js b/packages/hugo/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/hugo/example/src/App.js +++ b/packages/hugo/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/jaeger/example/src/App.js b/packages/jaeger/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/jaeger/example/src/App.js +++ b/packages/jaeger/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/legend/example/src/App.js b/packages/legend/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/legend/example/src/App.js +++ b/packages/legend/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/paco/example/src/App.js b/packages/paco/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/paco/example/src/App.js +++ b/packages/paco/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/penelope/example/src/App.js b/packages/penelope/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/penelope/example/src/App.js +++ b/packages/penelope/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/rendertest/example/src/App.js b/packages/rendertest/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/rendertest/example/src/App.js +++ b/packages/rendertest/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/sandy/example/src/App.js b/packages/sandy/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/sandy/example/src/App.js +++ b/packages/sandy/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/shin/example/src/App.js b/packages/shin/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/shin/example/src/App.js +++ b/packages/shin/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/simon/example/src/App.js b/packages/simon/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/simon/example/src/App.js +++ b/packages/simon/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/simone/example/src/App.js b/packages/simone/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/simone/example/src/App.js +++ b/packages/simone/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/sven/example/src/App.js b/packages/sven/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/sven/example/src/App.js +++ b/packages/sven/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/tamiko/example/src/App.js b/packages/tamiko/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/tamiko/example/src/App.js +++ b/packages/tamiko/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/theo/example/src/App.js b/packages/theo/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/theo/example/src/App.js +++ b/packages/theo/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/titan/example/src/App.js b/packages/titan/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/titan/example/src/App.js +++ b/packages/titan/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/trayvon/example/src/App.js b/packages/trayvon/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/trayvon/example/src/App.js +++ b/packages/trayvon/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/tutorial/example/src/App.js b/packages/tutorial/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/tutorial/example/src/App.js +++ b/packages/tutorial/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/wahid/example/src/App.js b/packages/wahid/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/wahid/example/src/App.js +++ b/packages/wahid/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => { diff --git a/packages/waralee/example/src/App.js b/packages/waralee/example/src/App.js index 77dc815ed3f..d0326ee1033 100644 --- a/packages/waralee/example/src/App.js +++ b/packages/waralee/example/src/App.js @@ -7,9 +7,6 @@ import '@freesewing/css-theme' import Pattern from 'pattern' const App = (props) => { - let instance = new Pattern() - let config = instance.config - // You can use this to add transations /* let translations = { @@ -22,7 +19,7 @@ const App = (props) => {