1
0
Fork 0

chore: Reconfigure packages

This commit is contained in:
Joost De Cock 2020-09-12 19:05:38 +02:00
parent e4d725fc9e
commit 177974288e
38 changed files with 54 additions and 133 deletions

View file

@ -23,7 +23,7 @@ jobs:
env: env:
CI: true CI: true
- name: Install peer & test dependencies - 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: env:
CI: true CI: true
- name: Build pattern - name: Build pattern

View file

@ -18,6 +18,14 @@
#### Added #### Added
- Parts not get a `name` property set that hold their (own) name/id - 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 ### css-theme

View file

@ -10,6 +10,8 @@ Unreleased:
- Added Discord icon in Icon component - Added Discord icon in Icon component
core: core:
- Parts not get a `name` property set that hold their (own) name/id - 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: css-theme:
- Changes to UI colors - Changes to UI colors
i18n: i18n:
@ -26,6 +28,8 @@ Unreleased:
teagan: teagan:
- Teagan is a T-shirt pattern - Teagan is a T-shirt pattern
Fixed: Fixed:
create-freesewing-pattern:
- No longer instantiate a pattern, just to get the config
i18n: i18n:
- Replaced a few identical files with symlinks - Replaced a few identical files with symlinks

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -6,6 +6,8 @@
### Added ### Added
- Parts not get a `name` property set that hold their (own) name/id - 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) ## 2.8.0 (2020-08-10)

View file

@ -1,6 +1,12 @@
# Change log for: create-freesewing-pattern # 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) ## 2.8.1 (2020-08-16)
### Fixed ### Fixed

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />

View file

@ -7,9 +7,6 @@ import '@freesewing/css-theme'
import Pattern from 'pattern' import Pattern from 'pattern'
const App = (props) => { const App = (props) => {
let instance = new Pattern()
let config = instance.config
// You can use this to add transations // You can use this to add transations
/* /*
let translations = { let translations = {
@ -22,7 +19,7 @@ const App = (props) => {
<Workbench <Workbench
freesewing={freesewing} freesewing={freesewing}
Pattern={Pattern} Pattern={Pattern}
config={config} config={Pattern.config}
userLanguage="en" userLanguage="en"
//translations={translations} //translations={translations}
/> />