chore: Reconfigure packages
This commit is contained in:
parent
6e859682f4
commit
5edd26555c
122 changed files with 783 additions and 274 deletions
22
CHANGELOG.md
22
CHANGELOG.md
|
@ -1,6 +1,28 @@
|
||||||
# Change log for: FreeSewing (global)
|
# Change log for: FreeSewing (global)
|
||||||
|
|
||||||
|
|
||||||
|
## 2.16.2 (2021-05-05)
|
||||||
|
|
||||||
|
### components
|
||||||
|
|
||||||
|
#### Fixed
|
||||||
|
|
||||||
|
- Don't publish ESM modules as it causes issues with react-intl See [#1079](https://github.com/freesewing/freesewing/issues/1079)
|
||||||
|
|
||||||
|
### create-freesewing-pattern
|
||||||
|
|
||||||
|
#### Changed
|
||||||
|
|
||||||
|
- Added .gitignore file to the template
|
||||||
|
- Added eslint for linting
|
||||||
|
|
||||||
|
### i18n
|
||||||
|
|
||||||
|
#### Changed
|
||||||
|
|
||||||
|
- String updates
|
||||||
|
|
||||||
|
|
||||||
## 2.16.1 (2021-05-30)
|
## 2.16.1 (2021-05-30)
|
||||||
|
|
||||||
### aaron
|
### aaron
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -43,6 +43,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -53,7 +58,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -42,6 +42,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -52,7 +57,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -42,6 +42,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -52,7 +57,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -42,6 +42,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -52,7 +57,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -43,6 +43,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -53,7 +58,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -43,6 +43,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -53,7 +58,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -42,6 +42,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -52,7 +57,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -42,6 +42,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -52,7 +57,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -47,6 +47,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -57,7 +62,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -45,6 +45,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -55,7 +60,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -42,6 +42,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -52,7 +57,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -43,6 +43,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -53,7 +58,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
# Change log for: @freesewing/components
|
# Change log for: @freesewing/components
|
||||||
|
|
||||||
|
|
||||||
|
## 2.16.2 (2021-05-05)
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
- Don't publish ESM modules as it causes issues with react-intl See [#1079](https://github.com/freesewing/freesewing/issues/1079)
|
||||||
|
|
||||||
## 2.16.1 (2021-05-30)
|
## 2.16.1 (2021-05-30)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -42,6 +42,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -52,7 +57,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -1,6 +1,13 @@
|
||||||
# Change log for: create-freesewing-pattern
|
# Change log for: create-freesewing-pattern
|
||||||
|
|
||||||
|
|
||||||
|
## 2.16.2 (2021-05-05)
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- Added .gitignore file to the template
|
||||||
|
- Added eslint for linting
|
||||||
|
|
||||||
## 2.16.1 (2021-05-30)
|
## 2.16.1 (2021-05-30)
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
"commander": "^7.2.0",
|
"commander": "^7.2.0",
|
||||||
"conf": "^10.0.1",
|
"conf": "^10.0.1",
|
||||||
"cp-file": "^9.0.0",
|
"cp-file": "^9.0.0",
|
||||||
"execa": "^5.0.0",
|
"execa": "^5.1.0",
|
||||||
"git-config-path": "^2.0.0",
|
"git-config-path": "^2.0.0",
|
||||||
"github-username": "^6.0.0",
|
"github-username": "^6.0.0",
|
||||||
"globby": "^11.0.3",
|
"globby": "^11.0.3",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -43,6 +43,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -53,7 +58,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -37,6 +37,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -47,7 +52,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -42,6 +42,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -52,7 +57,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -42,6 +42,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -52,7 +57,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -45,6 +45,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -55,7 +60,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -42,6 +42,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -52,7 +57,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -43,6 +43,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -53,7 +58,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -43,6 +43,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -53,7 +58,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -1,6 +1,12 @@
|
||||||
# Change log for: @freesewing/i18n
|
# Change log for: @freesewing/i18n
|
||||||
|
|
||||||
|
|
||||||
|
## 2.16.2 (2021-05-05)
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
- String updates
|
||||||
|
|
||||||
## 2.16.1 (2021-05-30)
|
## 2.16.1 (2021-05-30)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -45,6 +45,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -55,7 +60,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -43,6 +43,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -53,7 +58,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -43,6 +43,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -53,7 +58,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -42,6 +42,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -52,7 +57,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -42,6 +42,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -52,7 +57,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -42,6 +42,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -52,7 +57,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -42,6 +42,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -52,7 +57,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -45,6 +45,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -55,7 +60,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -47,6 +47,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -57,7 +62,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
|
@ -43,6 +43,11 @@
|
||||||
"react": "^17.0.2",
|
"react": "^17.0.2",
|
||||||
"react-dom": "^17.0.2",
|
"react-dom": "^17.0.2",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
"@babel/plugin-proposal-class-properties": "^7.13.0",
|
||||||
|
"babel-eslint": "^10.1.0",
|
||||||
|
"eslint": "^7.27.0",
|
||||||
|
"eslint-config-standard": "^16.0.3",
|
||||||
|
"eslint-plugin-node": "^11.1.0",
|
||||||
|
"eslint-plugin-promise": "^1.1.0",
|
||||||
"@freesewing/components": "^2.16.1",
|
"@freesewing/components": "^2.16.1",
|
||||||
"@freesewing/css-theme": "^2.16.1",
|
"@freesewing/css-theme": "^2.16.1",
|
||||||
"@freesewing/i18n": "^2.16.1",
|
"@freesewing/i18n": "^2.16.1",
|
||||||
|
@ -53,7 +58,7 @@
|
||||||
"@freesewing/utils": "^2.16.1",
|
"@freesewing/utils": "^2.16.1",
|
||||||
"react-scripts": "^4.0.3",
|
"react-scripts": "^4.0.3",
|
||||||
"webpack": "^5.37.0",
|
"webpack": "^5.37.0",
|
||||||
"rollup": "^2.48.0",
|
"rollup": "^2.50.6",
|
||||||
"@rollup/plugin-babel": "^5.3.0",
|
"@rollup/plugin-babel": "^5.3.0",
|
||||||
"rollup-plugin-terser": "^7.0.2",
|
"rollup-plugin-terser": "^7.0.2",
|
||||||
"@rollup/plugin-commonjs": "^19.0.0",
|
"@rollup/plugin-commonjs": "^19.0.0",
|
||||||
|
|
|
@ -10,12 +10,11 @@ import Pattern from './pattern/src/index.js'
|
||||||
* Without it, we can't import the pattern as a local file
|
* Without it, we can't import the pattern as a local file
|
||||||
* since create-react-app does not allow imports outside ./src
|
* since create-react-app does not allow imports outside ./src
|
||||||
* If it's imported as a dependency, webpack will cache the
|
* If it's imported as a dependency, webpack will cache the
|
||||||
* build and there will be no hot-relaoding of changes
|
* build and there will be no hot-reloading of changes
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
const App = (props) => {
|
const App = (props) => {
|
||||||
// You can use this to add transations
|
// You can use this to add translations
|
||||||
/*
|
/*
|
||||||
let translations = {
|
let translations = {
|
||||||
JSON: 'JSON',
|
JSON: 'JSON',
|
||||||
|
@ -26,9 +25,11 @@ const App = (props) => {
|
||||||
// Adds support for loading an external pattern configuration
|
// Adds support for loading an external pattern configuration
|
||||||
let recreate = false
|
let recreate = false
|
||||||
if (window) recreate = window.location.pathname.substr(1).split('/')
|
if (window) recreate = window.location.pathname.substr(1).split('/')
|
||||||
if (recreate.length === 3 && recreate[0] === 'recreate')
|
if (recreate.length === 3 && recreate[0] === 'recreate') {
|
||||||
recreate = { from: recreate[1], id: recreate[2] }
|
recreate = { from: recreate[1], id: recreate[2] }
|
||||||
else recreate = false
|
} else {
|
||||||
|
recreate = false
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Workbench
|
<Workbench
|
||||||
|
@ -36,7 +37,7 @@ const App = (props) => {
|
||||||
Pattern={Pattern}
|
Pattern={Pattern}
|
||||||
userLanguage="en"
|
userLanguage="en"
|
||||||
recreate={recreate}
|
recreate={recreate}
|
||||||
//translations={translations}
|
// translations={translations}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,3 +1,9 @@
|
||||||
|
* {
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.MuiToolbar-root {
|
||||||
|
overflow-y: auto;
|
||||||
|
}
|
||||||
div.layout-wrapper {
|
div.layout-wrapper {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|
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