diff --git a/config/scripts.yaml b/config/scripts.yaml index 3d86d2e2d7f..1603a1bef72 100644 --- a/config/scripts.yaml +++ b/config/scripts.yaml @@ -5,6 +5,7 @@ _: build: "npm run clean && npm run nodebuild && npm run modulebuild" test: "echo \"{{name}}: No tests configured. Perhaps you'd like to do this?\" && exit 0" pubtest: "npm publish --registry http://localhost:6662" + publish: "npm build && npm publish --access=public --tag=alpha" _types: patterns: plugins: diff --git a/config/templates/package.dflt.json b/config/templates/package.dflt.json index 0cbf5f8fa54..3b27d43e360 100644 --- a/config/templates/package.dflt.json +++ b/config/templates/package.dflt.json @@ -13,14 +13,16 @@ "clean": "rimraf dist", "nodebuild": "rollup -c -o dist/index.js -f cjs", "modulebuild": "rollup -c -o dist/index.mjs -f es", - "build": "npm run clean && npm run nodebuild && npm run modulebuild" + "build": "npm run clean && npm run nodebuild && npm run modulebuild", + "publish": "npm run build && npm publish --access public" }, "peerDependencies": {}, "dependencies": {}, "devDependencies": {}, "files": ["dist/*", "README.md", "package.json"], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/aaron/package.json b/packages/aaron/package.json index c7fcd406adc..2892f163acf 100644 --- a/packages/aaron/package.json +++ b/packages/aaron/package.json @@ -28,12 +28,13 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"aaron: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/brian": "^0.32.4", - "@freesewing/core": "^0.32.4", - "@freesewing/plugin-bundle": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0", + "@freesewing/plugin-bundle": "^2.0.0-alpha.0", + "@freesewing/brian": "^2.0.0-alpha.0" }, "files": [ "dist/*", @@ -41,7 +42,8 @@ "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/bent/package.json b/packages/bent/package.json index 20e1e97abcc..78cb1593bfe 100644 --- a/packages/bent/package.json +++ b/packages/bent/package.json @@ -28,12 +28,13 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"bent: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/brian": "^0.32.4", - "@freesewing/core": "^0.32.4", - "@freesewing/plugin-bundle": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0", + "@freesewing/plugin-bundle": "^2.0.0-alpha.0", + "@freesewing/brian": "^2.0.0-alpha.0" }, "files": [ "dist/*", @@ -41,7 +42,8 @@ "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/brian/package.json b/packages/brian/package.json index 22c26695b08..8b903220329 100644 --- a/packages/brian/package.json +++ b/packages/brian/package.json @@ -28,19 +28,23 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"brian: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4", - "@freesewing/plugin-bundle": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0", + "@freesewing/plugin-bundle": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/bruce/package.json b/packages/bruce/package.json index 852d1d4292f..abfc71280b7 100644 --- a/packages/bruce/package.json +++ b/packages/bruce/package.json @@ -28,19 +28,23 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"bruce: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4", - "@freesewing/plugin-bundle": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0", + "@freesewing/plugin-bundle": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/carlita/package.json b/packages/carlita/package.json index f4e4ca52eab..cc27b873d1b 100644 --- a/packages/carlita/package.json +++ b/packages/carlita/package.json @@ -28,15 +28,16 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"carlita: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/bent": "^0.32.4", - "@freesewing/carlton": "^0.32.4", - "@freesewing/core": "^0.32.4", - "@freesewing/plugin-bundle": "^0.32.4", - "@freesewing/plugin-bust": "^0.32.4", - "@freesewing/plugin-buttons": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0", + "@freesewing/plugin-bundle": "^2.0.0-alpha.0", + "@freesewing/bent": "^2.0.0-alpha.0", + "@freesewing/carlton": "^2.0.0-alpha.0", + "@freesewing/plugin-bust": "^2.0.0-alpha.0", + "@freesewing/plugin-buttons": "^2.0.0-alpha.0" }, "files": [ "dist/*", @@ -44,7 +45,8 @@ "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/carlton/package.json b/packages/carlton/package.json index 53263308dcd..20438ec9b76 100644 --- a/packages/carlton/package.json +++ b/packages/carlton/package.json @@ -28,13 +28,14 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"carlton: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/bent": "^0.32.4", - "@freesewing/core": "^0.32.4", - "@freesewing/plugin-bundle": "^0.32.4", - "@freesewing/plugin-buttons": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0", + "@freesewing/plugin-bundle": "^2.0.0-alpha.0", + "@freesewing/bent": "^2.0.0-alpha.0", + "@freesewing/plugin-buttons": "^2.0.0-alpha.0" }, "files": [ "dist/*", @@ -42,7 +43,8 @@ "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/cathrin/package.json b/packages/cathrin/package.json index 291a35c0ee0..87c9c8447f1 100644 --- a/packages/cathrin/package.json +++ b/packages/cathrin/package.json @@ -28,19 +28,23 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"cathrin: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4", - "@freesewing/plugin-bundle": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0", + "@freesewing/plugin-bundle": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/components/package.json b/packages/components/package.json index 12bd407fa74..ba9481f3af5 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -19,17 +19,18 @@ "clean": "rimraf dist", "nodebuild": "BABEL_ENV=production rollup -c -o dist/index.js -f cjs", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", - "FIXMEbuild": "npm run clean && npm run nodebuild && npm run modulebuild", + "SKIPbuild": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"components: No tests configured. Perhaps you'd like to do this?\" && exit 0", "pubtest": "npm publish --registry http://localhost:6662", + "SKIPpublish": "npm build && npm publish --access=public --tag=alpha", "storybook": "start-storybook -p 6663" }, "peerDependencies": { - "@freesewing/i18n": "^0.32.4", - "@freesewing/patterns": "^0.32.4", - "@freesewing/utils": "^0.32.4", - "prop-types": "15.7.2", "react": "^16.4.1", + "prop-types": "15.7.2", + "@freesewing/patterns": "^2.0.0-alpha.0", + "@freesewing/i18n": "^2.0.0-alpha.0", + "@freesewing/utils": "^2.0.0-alpha.0", "react-intl": "^2.8.0" }, "files": [ @@ -38,13 +39,11 @@ "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", "npm": ">=5" - }, - "dependencies": { - "@freesewing/patterns": "0.18.6" } } diff --git a/packages/core/package.json b/packages/core/package.json index f6a5164344e..ab736fe1077 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -30,6 +30,7 @@ "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "BABEL_ENV=production nyc mocha tests/*.test.js", "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha", "report": "BABEL_ENV=production nyc report --reporter=html mocha --compilers js:babel-core/register tests/*.test.js", "coverage": "BABEL_ENV=production nyc npm test && nyc report --reporter=text-lcov > coverage.lcov && ./node_modules/.bin/codecov" }, @@ -44,7 +45,8 @@ "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/create-freesewing-pattern/package.json b/packages/create-freesewing-pattern/package.json index c840fd109ad..2129bcf8703 100644 --- a/packages/create-freesewing-pattern/package.json +++ b/packages/create-freesewing-pattern/package.json @@ -24,6 +24,7 @@ "build": "npm run clean && npm run mkdist && npm run copyfiles", "test": "ava -v && standard *.js lib/*.js", "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha", "mkdist": "mkdir -p dist", "copyfiles": "cp -R index.js package.json README.md lib template dist/" }, @@ -51,7 +52,8 @@ "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/css-theme/package.json b/packages/css-theme/package.json index 7b81736a1cf..3e2de978c6e 100644 --- a/packages/css-theme/package.json +++ b/packages/css-theme/package.json @@ -25,6 +25,7 @@ "build": "npx node-sass --output-style compressed src/theme.scss dist/theme.css", "test": "echo \"css-theme: No tests configured. Perhaps you'd like to do this?\" && exit 0", "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha", "watch": "npx node-sass --watch --output-style compressed src/theme.scss dist/theme.css" }, "dependencies": { @@ -36,7 +37,8 @@ "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/examples/package.json b/packages/examples/package.json index 466bf635dfd..c4b49ead9f6 100644 --- a/packages/examples/package.json +++ b/packages/examples/package.json @@ -23,19 +23,23 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"examples: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4", - "@freesewing/plugin-bundle": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0", + "@freesewing/plugin-bundle": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/florent/package.json b/packages/florent/package.json index 1008d5ea54a..0fb40ccc81c 100644 --- a/packages/florent/package.json +++ b/packages/florent/package.json @@ -28,19 +28,23 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"florent: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4", - "@freesewing/plugin-bundle": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0", + "@freesewing/plugin-bundle": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/huey/package.json b/packages/huey/package.json index 745174173f5..a9048148e7b 100644 --- a/packages/huey/package.json +++ b/packages/huey/package.json @@ -28,19 +28,23 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"huey: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4", - "@freesewing/plugin-bundle": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0", + "@freesewing/plugin-bundle": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/hugo/package.json b/packages/hugo/package.json index 9304b216728..79f24c8866a 100644 --- a/packages/hugo/package.json +++ b/packages/hugo/package.json @@ -28,19 +28,23 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"hugo: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4", - "@freesewing/plugin-bundle": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0", + "@freesewing/plugin-bundle": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/i18n/package.json b/packages/i18n/package.json index b150c37c756..f8a5616d569 100644 --- a/packages/i18n/package.json +++ b/packages/i18n/package.json @@ -25,15 +25,20 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"i18n: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, + "peerDependencies": {}, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/jaeger/package.json b/packages/jaeger/package.json index 54bb21d61b7..8ee92a64e02 100644 --- a/packages/jaeger/package.json +++ b/packages/jaeger/package.json @@ -28,19 +28,23 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"jaeger: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4", - "@freesewing/plugin-bundle": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0", + "@freesewing/plugin-bundle": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/models/package.json b/packages/models/package.json index 1d03646613e..1fdad526719 100644 --- a/packages/models/package.json +++ b/packages/models/package.json @@ -25,15 +25,20 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"models: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, + "peerDependencies": {}, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/mui-theme/package.json b/packages/mui-theme/package.json index 346fb4e5a84..33afc7d5a47 100644 --- a/packages/mui-theme/package.json +++ b/packages/mui-theme/package.json @@ -23,7 +23,8 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"mui-theme: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { "@material-ui/core": "^3.9.3", @@ -36,7 +37,8 @@ "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/patterns/README.md b/packages/patterns/README.md index c4ebe7c7441..1ed1a29eed1 100644 --- a/packages/patterns/README.md +++ b/packages/patterns/README.md @@ -47,6 +47,56 @@ An umbrella package for all FreeSewing patterns +## Included patterns + +### Blocks + +Blocks or slopers are basic patterns shapes that you can extend into fully detailed patterns. + + - [brian](https://github.com/freesewing/brian) : A basic body block for menswear, and the basis for many of our menswear patterns. + - [bent](https://github.com/freesewing/bent) : A version of [brian](https://github.com/freesewing/brian) with a two-part sleeve, and the and the basis of our menswear coat and jacket patterns. + +### Menswear + + - [aaron](https://github.com/freesewing/aaron) : A tank top or A-shirt + - [bruce](https://github.com/freesewing/bruce) : Boxer briefs + - [carlton](https://github.com/freesewing/carlton) : A long coat, perfect for Sherlock Holmes cosplay + - [huey](https://github.com/freesewing/huey) : A zip-up hoodie + - [hugo](https://github.com/freesewing/hugo) : A hooded sweatshirt with raglan sleeves + - [jaeger](https://github.com/freesewing/jaeger) : A sportscoat + - [simon](https://github.com/freesewing/simon) : A versatile button-down shirt + - [sven](https://github.com/freesewing/sven) : A straightforward sweater + - [wahid](https://github.com/freesewing/wahid) : A classic waistcoat + + +### Womenswear + + - [cathrin](https://github.com/freesewing/cathrin) : An underbust corset or waist trainer + - [tamiko](https://github.com/freesewing/tamiko) : A zero-waste top + +### Accessories + + - [trayvon](https://github.com/freesewing/trayvon) : A (neck) tie + +> #### Note: menswear/womenswear has nothing to do with gender +> +> Freesewing is gender-neutral. When we use the terms **menswear** or **womenswear** +> we are not talking about clothes for men or women. It is merely a category of clothing +> much like **accessories** or **shoes** are categories. +> +> The category gives you an idea what to expect, and is there to help you find things. +> It is not a limitation, or even a suggestion, of what you can or should wear or make. +> +> Wear whatever you want, and be proud of the things you make. + +## Usage + +This package has 2 exports: + + - `patterns` : (the default export) An object holding pattern constructors + - `patternList` : An array of pattern names + + ## About FreeSewing 🤔 diff --git a/packages/patterns/package.json b/packages/patterns/package.json index 3e0a738f364..eb2915f20b4 100644 --- a/packages/patterns/package.json +++ b/packages/patterns/package.json @@ -28,7 +28,8 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"patterns: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "dependencies": { "@freesewing/aaron": "^2.0.0-alpha.0", @@ -55,7 +56,8 @@ "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/plugin-banner/package.json b/packages/plugin-banner/package.json index 725ec33ea9d..c6ff1414cea 100644 --- a/packages/plugin-banner/package.json +++ b/packages/plugin-banner/package.json @@ -28,18 +28,22 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"plugin-banner: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/plugin-bundle/package.json b/packages/plugin-bundle/package.json index 7bbf7b5f49e..601bc9b6f6c 100644 --- a/packages/plugin-bundle/package.json +++ b/packages/plugin-bundle/package.json @@ -29,18 +29,22 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"plugin-bundle: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/plugin-bust/package.json b/packages/plugin-bust/package.json index 70e96e0e7ea..d91440e6196 100644 --- a/packages/plugin-bust/package.json +++ b/packages/plugin-bust/package.json @@ -28,18 +28,22 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"plugin-bust: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/plugin-buttons/package.json b/packages/plugin-buttons/package.json index b54ab373b76..f5fc53a48e7 100644 --- a/packages/plugin-buttons/package.json +++ b/packages/plugin-buttons/package.json @@ -28,18 +28,22 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"plugin-buttons: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/plugin-cutonfold/package.json b/packages/plugin-cutonfold/package.json index 08ffff2a100..70cb1c66660 100644 --- a/packages/plugin-cutonfold/package.json +++ b/packages/plugin-cutonfold/package.json @@ -28,18 +28,22 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"plugin-cutonfold: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/plugin-debug/package.json b/packages/plugin-debug/package.json index 8e599088029..4f6fdaff275 100644 --- a/packages/plugin-debug/package.json +++ b/packages/plugin-debug/package.json @@ -28,18 +28,22 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"plugin-debug: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/plugin-designer/package.json b/packages/plugin-designer/package.json index 8ddcc59f08e..e469351c885 100644 --- a/packages/plugin-designer/package.json +++ b/packages/plugin-designer/package.json @@ -28,18 +28,22 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"plugin-designer: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/plugin-dimension/package.json b/packages/plugin-dimension/package.json index 3cfb2870efc..28c238a6bbf 100644 --- a/packages/plugin-dimension/package.json +++ b/packages/plugin-dimension/package.json @@ -28,18 +28,22 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"plugin-dimension: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/plugin-flip/package.json b/packages/plugin-flip/package.json index f1da3506fd0..eeefa8bcc1d 100644 --- a/packages/plugin-flip/package.json +++ b/packages/plugin-flip/package.json @@ -28,18 +28,22 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"plugin-flip: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/plugin-grainline/package.json b/packages/plugin-grainline/package.json index 2a18020c53a..e4bf0d3d671 100644 --- a/packages/plugin-grainline/package.json +++ b/packages/plugin-grainline/package.json @@ -28,18 +28,22 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"plugin-grainline: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/plugin-i18n/package.json b/packages/plugin-i18n/package.json index 19933d5c22d..fb93664e545 100644 --- a/packages/plugin-i18n/package.json +++ b/packages/plugin-i18n/package.json @@ -28,18 +28,22 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"plugin-i18n: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/plugin-logo/package.json b/packages/plugin-logo/package.json index 9f966b547e7..9a843f3b958 100644 --- a/packages/plugin-logo/package.json +++ b/packages/plugin-logo/package.json @@ -28,18 +28,22 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"plugin-logo: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/plugin-round/package.json b/packages/plugin-round/package.json index 57729f41573..797ceab13c3 100644 --- a/packages/plugin-round/package.json +++ b/packages/plugin-round/package.json @@ -28,18 +28,22 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"plugin-round: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/plugin-scalebox/package.json b/packages/plugin-scalebox/package.json index 20093328281..f1adc17ef4e 100644 --- a/packages/plugin-scalebox/package.json +++ b/packages/plugin-scalebox/package.json @@ -28,18 +28,22 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"plugin-scalebox: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/plugin-sprinkle/package.json b/packages/plugin-sprinkle/package.json index 95420809c9c..bc6de6ca2d3 100644 --- a/packages/plugin-sprinkle/package.json +++ b/packages/plugin-sprinkle/package.json @@ -28,18 +28,22 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"plugin-sprinkle: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/plugin-svgattr/package.json b/packages/plugin-svgattr/package.json index 44b5586a83e..f4ce34d2351 100644 --- a/packages/plugin-svgattr/package.json +++ b/packages/plugin-svgattr/package.json @@ -28,18 +28,22 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"plugin-svgattr: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/plugin-theme/package.json b/packages/plugin-theme/package.json index de4c497b913..9f921ecd4fe 100644 --- a/packages/plugin-theme/package.json +++ b/packages/plugin-theme/package.json @@ -28,18 +28,22 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"plugin-theme: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/plugin-title/package.json b/packages/plugin-title/package.json index 36f6a47d60e..1f058e7cdec 100644 --- a/packages/plugin-title/package.json +++ b/packages/plugin-title/package.json @@ -28,18 +28,22 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"plugin-title: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/plugin-validate/package.json b/packages/plugin-validate/package.json index ea640c22627..05d3e4f7e04 100644 --- a/packages/plugin-validate/package.json +++ b/packages/plugin-validate/package.json @@ -28,18 +28,22 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"plugin-validate: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/shin/package.json b/packages/shin/package.json index f383393e170..476405de6d2 100644 --- a/packages/shin/package.json +++ b/packages/shin/package.json @@ -28,19 +28,23 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"shin: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4", - "@freesewing/plugin-bundle": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0", + "@freesewing/plugin-bundle": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/simon/package.json b/packages/simon/package.json index b6b06e3b0b8..5efe0b49aed 100644 --- a/packages/simon/package.json +++ b/packages/simon/package.json @@ -28,14 +28,15 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"simon: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/brian": "^0.32.4", - "@freesewing/core": "^0.32.4", - "@freesewing/plugin-bundle": "^0.32.4", - "@freesewing/plugin-buttons": "^0.32.4", - "@freesewing/plugin-flip": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0", + "@freesewing/plugin-bundle": "^2.0.0-alpha.0", + "@freesewing/brian": "^2.0.0-alpha.0", + "@freesewing/plugin-buttons": "^2.0.0-alpha.0", + "@freesewing/plugin-flip": "^2.0.0-alpha.0" }, "files": [ "dist/*", @@ -43,7 +44,8 @@ "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/sven/package.json b/packages/sven/package.json index 91a645e65b9..175c223dda3 100644 --- a/packages/sven/package.json +++ b/packages/sven/package.json @@ -28,19 +28,23 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"sven: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4", - "@freesewing/plugin-bundle": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0", + "@freesewing/plugin-bundle": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/tamiko/package.json b/packages/tamiko/package.json index 85f4984b889..bb099c560b1 100644 --- a/packages/tamiko/package.json +++ b/packages/tamiko/package.json @@ -28,19 +28,23 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"tamiko: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4", - "@freesewing/plugin-bundle": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0", + "@freesewing/plugin-bundle": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/trayvon/package.json b/packages/trayvon/package.json index 1dae6d51ab5..fb992c8f5a7 100644 --- a/packages/trayvon/package.json +++ b/packages/trayvon/package.json @@ -28,19 +28,23 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"trayvon: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/core": "^0.32.4", - "@freesewing/plugin-bundle": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0", + "@freesewing/plugin-bundle": "^2.0.0-alpha.0" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/utils/package.json b/packages/utils/package.json index 035ad7b118d..6c1d974fbb7 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -26,15 +26,20 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"utils: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, + "peerDependencies": {}, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/wahid/package.json b/packages/wahid/package.json index cb913b577b5..dc2d618479c 100644 --- a/packages/wahid/package.json +++ b/packages/wahid/package.json @@ -28,14 +28,15 @@ "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", "build": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "echo \"wahid: No tests configured. Perhaps you'd like to do this?\" && exit 0", - "pubtest": "npm publish --registry http://localhost:6662" + "pubtest": "npm publish --registry http://localhost:6662", + "publish": "npm build && npm publish --access=public --tag=alpha" }, "peerDependencies": { - "@freesewing/brian": "^0.32.4", - "@freesewing/core": "^0.32.4", - "@freesewing/plugin-bundle": "^0.32.4", - "@freesewing/plugin-buttons": "^0.32.4", - "@freesewing/plugin-round": "^0.32.4" + "@freesewing/core": "^2.0.0-alpha.0", + "@freesewing/plugin-bundle": "^2.0.0-alpha.0", + "@freesewing/brian": "^2.0.0-alpha.0", + "@freesewing/plugin-buttons": "^2.0.0-alpha.0", + "@freesewing/plugin-round": "^2.0.0-alpha.0" }, "files": [ "dist/*", @@ -43,7 +44,8 @@ "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", diff --git a/packages/workbench/package.json b/packages/workbench/package.json index c2f91330fb1..4a113d024cc 100644 --- a/packages/workbench/package.json +++ b/packages/workbench/package.json @@ -20,27 +20,25 @@ "clean": "rimraf dist", "nodebuild": "BABEL_ENV=production rollup -c -o dist/index.js -f cjs", "modulebuild": "BABEL_ENV=production rollup -c -o dist/index.mjs -f es", - "FIXMEbuild": "npm run clean && npm run nodebuild && npm run modulebuild", + "SKIPbuild": "npm run clean && npm run nodebuild && npm run modulebuild", "test": "cross-env CI=1 react-scripts test --env=jsdom", "pubtest": "npm publish --registry http://localhost:6662", + "SKIPpublish": "npm build && npm publish --access=public --tag=alpha", "test:watch": "react-scripts test --env=jsdom", "start": "rollup -c -w" }, "peerDependencies": { - "@freesewing/core": "^0.32.4", - "@freesewing/plugin-theme": "^0.32.4", - "@freesewing/utils": "^0.32.4", + "@freesewing/core": "^2.0.0-alpha.0", + "@freesewing/i18n": "^2.0.0-alpha.0", + "@freesewing/utils": "^2.0.0-alpha.0", + "@freesewing/plugin-theme": "^2.0.0-alpha.0", "react-intl": "^2.8.0" }, "dependencies": { - "@freesewing/components": "file:../components", - "@freesewing/css-theme": "file:../css-theme", - "@freesewing/i18n": "file:../i18n", - "@freesewing/utils": "file:../utils", - "@material-ui/core": "3.9.3", - "@material-ui/icons": "3.0.2", - "@material-ui/lab": "3.0.0-alpha.30", - "@material-ui/styles": "3.0.0-alpha.10" + "@freesewing/components": "^2.0.0-alpha.0", + "@freesewing/css-theme": "^2.0.0-alpha.0", + "@freesewing/utils": "^2.0.0-alpha.0", + "@freesewing/mui-theme": "^2.0.0-alpha.0" }, "files": [ "dist/*", @@ -48,14 +46,11 @@ "package.json" ], "publishConfig": { - "access": "public" + "access": "public", + "tag": "alpha" }, "engines": { "node": ">=8.0.0", "npm": ">=5" - }, - "devDependencies": { - "@babel/plugin-external-helpers": "7.2.0", - "@babel/plugin-transform-react-jsx": "7.3.0" } } diff --git a/packages/workbench/rollup.config.js b/packages/workbench/rollup.config.js index 7bbb17f1f3f..dbee92ea2c2 100644 --- a/packages/workbench/rollup.config.js +++ b/packages/workbench/rollup.config.js @@ -1,39 +1,48 @@ import babel from "rollup-plugin-babel"; -import commonjs from "rollup-plugin-commonjs"; -import external from "rollup-plugin-peer-deps-external"; -import postcss from "rollup-plugin-postcss"; import resolve from "rollup-plugin-node-resolve"; +import commonjs from "rollup-plugin-commonjs"; +import json from "rollup-plugin-json"; +import minify from "rollup-plugin-babel-minify"; +import yaml from "rollup-plugin-yaml"; import url from "rollup-plugin-url"; +import postcss from "rollup-plugin-postcss"; import svgr from "@svgr/rollup"; - -import pkg from "./package.json"; +import peerDepsExternal from "rollup-plugin-peer-deps-external"; +import { name, version, description, author, license } from "./package.json"; export default { input: "src/index.js", output: [ { - file: pkg.main, + file: "dist/index.js", format: "cjs", sourcemap: true }, { - file: pkg.module, + file: "dist/index.mjs", format: "es", sourcemap: true } ], plugins: [ - external(), + peerDepsExternal(), + resolve({ modulesOnly: true }), + url(), + commonjs(), + json(), + yaml(), + svgr(), postcss({ modules: true }), - url(), - svgr(), babel({ exclude: "node_modules/**", - plugins: ["@babel/external-helpers"] + plugins: ["@babel/plugin-proposal-object-rest-spread"] }), - resolve(), - commonjs() + minify({ + comments: false, + sourceMap: true, + banner: `/**\n * ${name} | v${version}\n * ${description}\n * (c) ${new Date().getFullYear()} ${author}\n * @license ${license}\n */` + }) ] };