diff --git a/config/changelog.yaml b/config/changelog.yaml index 513ce430e09..a4f6da46683 100644 --- a/config/changelog.yaml +++ b/config/changelog.yaml @@ -22,6 +22,8 @@ Unreleased: While v2 versions remain available, this package is no longer supported. - The `plugin-export-dxf` package is not part of FreeSewing v3. 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. While v2 versions remain available, this package is no longer supported. Use `rehype-jargon` instead. diff --git a/config/exceptions.yaml b/config/exceptions.yaml index c953f6334cc..424b5afb803 100644 --- a/config/exceptions.yaml +++ b/config/exceptions.yaml @@ -1,20 +1,10 @@ noNamespace: - - create-freesewing-pattern - rehype-jargon - - remark-jargon - - gatsby-remark-jargon customBuild: - - components - - create-freesewing-pattern - - css-theme - - gatsby-remark-jargon - i18n - - models - new-design - prettier-config - - remark-jargon - plugin-bundle - - utils - rehype-jargon skipTests: - theo @@ -66,8 +56,8 @@ packageJson: holmes: author: AlfaLyr (https://github.com/alfalyr) i18n: - # react-scripts doesn't handle .mjs files correctly - module: '!' + # we no longer publish this + private: true gatsby-remark-jargon: keywords: - remark diff --git a/config/scripts.yaml b/config/scripts.yaml index 7ff69749c2d..948e388dcee 100644 --- a/config/scripts.yaml +++ b/config/scripts.yaml @@ -1,10 +1,10 @@ _: - build: 'node build.js' + build: 'node --experimental-json-modules build.mjs' 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 -' 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" tips: "node ../../scripts/help.mjs" _types: @@ -16,32 +16,22 @@ _types: prettier: "npx prettier --write 'src/*.js' 'tests/*.mjs'" test: *test 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: report: 'nyc report --reporter=html' 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" testonly: 'npx mocha tests/*.test.js' i18n: - # react-scripts doesn't handle .mjs files correctly prebuild: 'node scripts/prebuilder.mjs' test: *test testci: *testci 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: '!' test: '!' testci: '!' vbuild: '!' pattern-info: cibuild_step1: '!' - build: 'node build.js' - prebuild: 'node 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" + build: 'node --experimental-json-modules build.mjs' + prebuild: 'node --experimental-json-modules src/prebuild.js'