chore: Repo config updates for ESM
This commit is contained in:
parent
44c109adfa
commit
3b9a8e76db
3 changed files with 10 additions and 28 deletions
|
@ -22,6 +22,8 @@ Unreleased:
|
||||||
While v2 versions remain available, this package is no longer supported.
|
While v2 versions remain available, this package is no longer supported.
|
||||||
- The `plugin-export-dxf` package is not part of FreeSewing v3.
|
- The `plugin-export-dxf` package is not part of FreeSewing v3.
|
||||||
While v2 versions remain available, this package is no longer supported.
|
While v2 versions remain available, this package is no longer supported.
|
||||||
|
- The `@freesewing/i18n` package is not part of FreeSewing v3.
|
||||||
|
While v2 versions remain available, this package is no longer supported.
|
||||||
- The `remark-jargon` package is not part of FreeSewing v3.
|
- The `remark-jargon` package is not part of FreeSewing v3.
|
||||||
While v2 versions remain available, this package is no longer supported.
|
While v2 versions remain available, this package is no longer supported.
|
||||||
Use `rehype-jargon` instead.
|
Use `rehype-jargon` instead.
|
||||||
|
|
|
@ -1,20 +1,10 @@
|
||||||
noNamespace:
|
noNamespace:
|
||||||
- create-freesewing-pattern
|
|
||||||
- rehype-jargon
|
- rehype-jargon
|
||||||
- remark-jargon
|
|
||||||
- gatsby-remark-jargon
|
|
||||||
customBuild:
|
customBuild:
|
||||||
- components
|
|
||||||
- create-freesewing-pattern
|
|
||||||
- css-theme
|
|
||||||
- gatsby-remark-jargon
|
|
||||||
- i18n
|
- i18n
|
||||||
- models
|
|
||||||
- new-design
|
- new-design
|
||||||
- prettier-config
|
- prettier-config
|
||||||
- remark-jargon
|
|
||||||
- plugin-bundle
|
- plugin-bundle
|
||||||
- utils
|
|
||||||
- rehype-jargon
|
- rehype-jargon
|
||||||
skipTests:
|
skipTests:
|
||||||
- theo
|
- theo
|
||||||
|
@ -66,8 +56,8 @@ packageJson:
|
||||||
holmes:
|
holmes:
|
||||||
author: AlfaLyr (https://github.com/alfalyr)
|
author: AlfaLyr (https://github.com/alfalyr)
|
||||||
i18n:
|
i18n:
|
||||||
# react-scripts doesn't handle .mjs files correctly
|
# we no longer publish this
|
||||||
module: '!'
|
private: true
|
||||||
gatsby-remark-jargon:
|
gatsby-remark-jargon:
|
||||||
keywords:
|
keywords:
|
||||||
- remark
|
- remark
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
_:
|
_:
|
||||||
build: 'node build.js'
|
build: 'node --experimental-json-modules build.mjs'
|
||||||
clean: 'rimraf dist'
|
clean: 'rimraf dist'
|
||||||
mbuild: 'NO_MINIFY=1 node build.js'
|
mbuild: 'NO_MINIFY=1 node --experimental-json-modules build.mjs'
|
||||||
symlink: 'mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -'
|
symlink: 'mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -'
|
||||||
test: ¬ests 'echo "{{name}}: No tests configured. Perhaps you''d like to do this?" && exit 0'
|
test: ¬ests 'echo "{{name}}: No tests configured. Perhaps you''d like to do this?" && exit 0'
|
||||||
vbuild: 'VERBOSE=1 node build.js'
|
vbuild: 'VERBOSE=1 node --experimental-json-modules build.mjs'
|
||||||
lab: "cd ../../sites/lab && yarn start"
|
lab: "cd ../../sites/lab && yarn start"
|
||||||
tips: "node ../../scripts/help.mjs"
|
tips: "node ../../scripts/help.mjs"
|
||||||
_types:
|
_types:
|
||||||
|
@ -16,32 +16,22 @@ _types:
|
||||||
prettier: "npx prettier --write 'src/*.js' 'tests/*.mjs'"
|
prettier: "npx prettier --write 'src/*.js' 'tests/*.mjs'"
|
||||||
test: *test
|
test: *test
|
||||||
testci: *testci
|
testci: *testci
|
||||||
css-theme:
|
|
||||||
build: 'npx node-sass --output-style compressed src/theme.scss dist/theme.css'
|
|
||||||
watch: 'npx node-sass --watch --output-style compressed src/theme.scss dist/theme.css'
|
|
||||||
components:
|
|
||||||
clean: 'rimraf Blockquote && rimraf Draft && rimraf DraftConfigurator && rimraf Emblem && rimraf Example && rimraf Footer && rimraf Icon && rimraf Legend && rimraf LineDrawing && rimraf Logo && rimraf Navbar && rimraf Ogol && rimraf Robot && rimraf SampleConfigurator && rimraf Spinner && rimraf withGist && rimraf withLanguage && rimraf withStorage && rimraf Workbench'
|
|
||||||
storybook: 'start-storybook -p 6663'
|
|
||||||
test: *notests
|
|
||||||
core:
|
core:
|
||||||
report: 'nyc report --reporter=html'
|
report: 'nyc report --reporter=html'
|
||||||
test: 'nyc -x node_modules -x tests -x bin-pack npx mocha tests/*.test.js'
|
test: 'nyc -x node_modules -x tests -x bin-pack npx mocha tests/*.test.js'
|
||||||
testci: "nyc --silent npx mocha tests/*.test.js --reporter ../../tests/reporters/terse.js && nyc report --reporter=json"
|
testci: "nyc --silent npx mocha tests/*.test.js --reporter ../../tests/reporters/terse.js && nyc report --reporter=json"
|
||||||
testonly: 'npx mocha tests/*.test.js'
|
testonly: 'npx mocha tests/*.test.js'
|
||||||
i18n:
|
i18n:
|
||||||
# react-scripts doesn't handle .mjs files correctly
|
|
||||||
prebuild: 'node scripts/prebuilder.mjs'
|
prebuild: 'node scripts/prebuilder.mjs'
|
||||||
test: *test
|
test: *test
|
||||||
testci: *testci
|
testci: *testci
|
||||||
new-design:
|
new-design:
|
||||||
build: "SITE=new-design/shared node ../../sites/shared/prebuild/i18n-only.mjs && cp ../../scripts/banner.mjs ./lib && node build.js"
|
build: "SITE=new-design/shared node ../../sites/shared/prebuild/i18n-only.mjs && cp ../../scripts/banner.mjs ./lib && node --experimental-json-modules build.mjs"
|
||||||
mbuild: '!'
|
mbuild: '!'
|
||||||
test: '!'
|
test: '!'
|
||||||
testci: '!'
|
testci: '!'
|
||||||
vbuild: '!'
|
vbuild: '!'
|
||||||
pattern-info:
|
pattern-info:
|
||||||
cibuild_step1: '!'
|
cibuild_step1: '!'
|
||||||
build: 'node build.js'
|
build: 'node --experimental-json-modules build.mjs'
|
||||||
prebuild: 'node src/prebuild.js'
|
prebuild: 'node --experimental-json-modules src/prebuild.js'
|
||||||
utils:
|
|
||||||
clean: "rimraf backend && rimraf camelCase && rimraf capitalize && rimraf cloneObject && rimraf convertSize && rimraf defaultGist && rimraf defaultSa && rimraf formatImperial && rimraf formatMm && rimraf isDegMeasurement && rimraf measurementAsMm && rimraf measurementDiffers && rimraf neckstimate && rimraf optionDefault && rimraf optionType && rimraf roundMm && rimraf roundMmDown && rimraf roundMmUp && rimraf sliderStep && rimraf smallestImperialStep && rimraf storage && rimraf tiler && rimraf validateEmail && rimraf validateTld"
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue