diff --git a/.gitignore b/.gitignore index 9de4b1a498d..8c2a1513c2a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,8 +2,21 @@ # Specifics packages/plugin-theme/src/bundle.css.js -**/example/ -!packages/create-freesewing-pattern/temlate/default/example +packages/components/Blockquote +packages/components/Draft +packages/components/DraftConfigurator +packages/components/Emblem +packages/components/Example +packages/components/Footer +packages/components/Icon +packages/components/Logo +packages/components/Navbar +packages/components/Ogol +packages/components/Robot +packages/components/SampleConfigurator +packages/components/withGist +packages/components/withLanguage +packages/components/Workbench # dependencies node_modules diff --git a/config/exceptions.yaml b/config/exceptions.yaml index 19f357305bb..198958c555d 100644 --- a/config/exceptions.yaml +++ b/config/exceptions.yaml @@ -9,6 +9,23 @@ packageJson: components: # react-scripts doesn't handle .mjs files correctly module: '!' + files: + - "Blockquote/*", + - "Draft/*", + - "DraftConfigurator/*", + - "Emblem/*", + - "Example/*", + - "Footer/*", + - "Icon/*", + - "Logo/*", + - "Navbar/*", + - "Ogol/*", + - "Robot/*", + - "SampleConfigurator/*", + - "withGist/*", + - "withLanguage/*", + - "Workbench/*", + create-freesewing-pattern: bin: create-freesewing-pattern: index.js diff --git a/config/scripts.yaml b/config/scripts.yaml index 92873ac9031..734fe00178f 100644 --- a/config/scripts.yaml +++ b/config/scripts.yaml @@ -23,6 +23,7 @@ components: storybook: "start-storybook -p 6663" # react-scripts doesn't handle .mjs files correctly modulebuild: '!' + clean: "rimraf Blockquote && rimraf Draft && rimraf DraftConfigurator && rimraf Emblem && rimraf Example && rimraf Footer && rimraf Icon && rimraf Logo && rimraf Navbar && rimraf Ogol && rimraf Robot && rimraf SampleConfigurator && rimraf withGist && rimraf withLanguage && rimraf Workbench", build: "npm run clean && npm run nodebuild" watch: "BABEL_ENV=production rollup -c -w -o dist/index.js -f cjs" core: