diff --git a/config/dependencies.yaml b/config/dependencies.yaml index 387c1d01d5d..1ce20a74cb5 100644 --- a/config/dependencies.yaml +++ b/config/dependencies.yaml @@ -56,6 +56,9 @@ create-freesewing-pattern: "parse-git-config": "^3.0.0" "validate-npm-package-name": "^3.0.0" "which": "^1.3.1" +i18n: + peer: + "@freesewing/pattern-info": "^{{version}}" mui-theme: peer: "@material-ui/core": "^3.9.3" @@ -80,6 +83,9 @@ patterns: "@freesewing/tamiko": "^{{version}}" "@freesewing/trayvon": "^{{version}}" "@freesewing/wahid": "^{{version}}" + peer: + "@freesewing/core": "^{{version}}" + "@freesewing/plugin-bundle": "^{{version}}" simon: peer: "@freesewing/brian": "^{{version}}" diff --git a/config/descriptions.yaml b/config/descriptions.yaml index 209bbb6583d..61ff33833db 100644 --- a/config/descriptions.yaml +++ b/config/descriptions.yaml @@ -18,6 +18,7 @@ jaeger: "A FreeSewing pattern for a sport coat style jacket" models: "Body measurements data for a range of default sizes" mui-theme: "A Material-UI theme for FreeSewing web UIs" patterns: "An umbrella package for all FreeSewing patterns" +pattern-info: "Information about available freesewing patterns" plugin-banner: "A FreeSewing plugin to repeat text on a path" plugin-bundle: "An umbrella package of 8 essential FreeSewing build-time plugins" plugin-bust: "A FreeSewing plugin that helps with bust-adjusting menswear patterns" diff --git a/config/scripts.yaml b/config/scripts.yaml index 1603a1bef72..d292f11b42b 100644 --- a/config/scripts.yaml +++ b/config/scripts.yaml @@ -5,7 +5,8 @@ _: 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" + pubforce: "npm publish" + symlink: "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" _types: patterns: plugins: @@ -24,6 +25,8 @@ core: test: "BABEL_ENV=production nyc mocha tests/*.test.js" 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" +pattern-info: + prebuild: "node src/prebuild.js" workbench: test: "cross-env CI=1 react-scripts test --env=jsdom" test:watch: "react-scripts test --env=jsdom" diff --git a/packages/aaron/package.json b/packages/aaron/package.json index 0a565de34a4..15ea50be5e8 100644 --- a/packages/aaron/package.json +++ b/packages/aaron/package.json @@ -29,12 +29,13 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/brian": "^2.0.0-alpha.2", - "@freesewing/core": "^2.0.0-alpha.2", - "@freesewing/plugin-bundle": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3", + "@freesewing/plugin-bundle": "^2.0.0-alpha.3", + "@freesewing/brian": "^2.0.0-alpha.3" }, "files": [ "dist/*", diff --git a/packages/aaron/src/index.js b/packages/aaron/src/index.js index 3bb6565f0d9..fca99bdca28 100644 --- a/packages/aaron/src/index.js +++ b/packages/aaron/src/index.js @@ -1,7 +1,7 @@ import freesewing from "@freesewing/core"; import Brian from "@freesewing/brian"; import plugins from "@freesewing/plugin-bundle"; -import config from "../config"; +import config from "./config"; // Parts import draftBack from "./back"; import draftFront from "./front"; diff --git a/packages/bent/package.json b/packages/bent/package.json index b2fa8615b8d..56bc0dd9090 100644 --- a/packages/bent/package.json +++ b/packages/bent/package.json @@ -29,12 +29,13 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/brian": "^2.0.0-alpha.2", - "@freesewing/core": "^2.0.0-alpha.2", - "@freesewing/plugin-bundle": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3", + "@freesewing/plugin-bundle": "^2.0.0-alpha.3", + "@freesewing/brian": "^2.0.0-alpha.3" }, "files": [ "dist/*", diff --git a/packages/brian/package.json b/packages/brian/package.json index ba12360c805..27301592ed8 100644 --- a/packages/brian/package.json +++ b/packages/brian/package.json @@ -29,12 +29,15 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2", - "@freesewing/plugin-bundle": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3", + "@freesewing/plugin-bundle": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/bruce/package.json b/packages/bruce/package.json index 4bd7295a843..8aeb9dcbeab 100644 --- a/packages/bruce/package.json +++ b/packages/bruce/package.json @@ -29,12 +29,15 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2", - "@freesewing/plugin-bundle": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3", + "@freesewing/plugin-bundle": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/carlita/package.json b/packages/carlita/package.json index 7da16d094ea..021e6f64b66 100644 --- a/packages/carlita/package.json +++ b/packages/carlita/package.json @@ -29,15 +29,16 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/bent": "^2.0.0-alpha.2", - "@freesewing/carlton": "^2.0.0-alpha.2", - "@freesewing/core": "^2.0.0-alpha.2", - "@freesewing/plugin-bundle": "^2.0.0-alpha.2", - "@freesewing/plugin-bust": "^2.0.0-alpha.2", - "@freesewing/plugin-buttons": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3", + "@freesewing/plugin-bundle": "^2.0.0-alpha.3", + "@freesewing/bent": "^2.0.0-alpha.3", + "@freesewing/carlton": "^2.0.0-alpha.3", + "@freesewing/plugin-bust": "^2.0.0-alpha.3", + "@freesewing/plugin-buttons": "^2.0.0-alpha.3" }, "files": [ "dist/*", diff --git a/packages/carlton/package.json b/packages/carlton/package.json index e8f01eef690..fb2c0ee3220 100644 --- a/packages/carlton/package.json +++ b/packages/carlton/package.json @@ -29,13 +29,14 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/bent": "^2.0.0-alpha.2", - "@freesewing/core": "^2.0.0-alpha.2", - "@freesewing/plugin-bundle": "^2.0.0-alpha.2", - "@freesewing/plugin-buttons": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3", + "@freesewing/plugin-bundle": "^2.0.0-alpha.3", + "@freesewing/bent": "^2.0.0-alpha.3", + "@freesewing/plugin-buttons": "^2.0.0-alpha.3" }, "files": [ "dist/*", diff --git a/packages/cathrin/package.json b/packages/cathrin/package.json index 01a2cc7a082..1ab616eeeda 100644 --- a/packages/cathrin/package.json +++ b/packages/cathrin/package.json @@ -29,12 +29,15 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2", - "@freesewing/plugin-bundle": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3", + "@freesewing/plugin-bundle": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/components/package.json b/packages/components/package.json index b69a502ed0b..c502d22d705 100644 --- a/packages/components/package.json +++ b/packages/components/package.json @@ -19,18 +19,19 @@ "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", - "SKIPbuild": "npm run clean && npm run nodebuild && npm run modulebuild", + "build": "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", - "publish": "npm build && npm publish --access=public --tag=alpha", + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -", "storybook": "start-storybook -p 6663" }, "peerDependencies": { - "@freesewing/i18n": "^2.0.0-alpha.2", - "@freesewing/patterns": "^2.0.0-alpha.2", - "@freesewing/utils": "^2.0.0-alpha.2", - "prop-types": "15.7.2", "react": "^16.4.1", + "prop-types": "15.7.2", + "@freesewing/patterns": "^2.0.0-alpha.3", + "@freesewing/i18n": "^2.0.0-alpha.3", + "@freesewing/utils": "^2.0.0-alpha.3", "react-intl": "^2.8.0" }, "files": [ @@ -45,14 +46,5 @@ "engines": { "node": ">=8.0.0", "npm": ">=5" - }, - "dependencies": { - "@freesewing/i18n": "^2.0.0-alpha.3", - "@freesewing/utils": "^2.0.0-alpha.3", - "@material-ui/core": "^3.9.3", - "@material-ui/lab": "^3.0.0-alpha.30", - "@material-ui/styles": "^3.0.0-alpha.10", - "react": "^16.8.6", - "react-intl": "^2.8.0" } } diff --git a/packages/core/package.json b/packages/core/package.json index 030dd62def0..769894a26f7 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -30,7 +30,8 @@ "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", + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -", "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" }, diff --git a/packages/create-freesewing-pattern/lib/cli.js b/packages/create-freesewing-pattern/lib/cli.js index 2d6f7a296c7..5f160c922f1 100755 --- a/packages/create-freesewing-pattern/lib/cli.js +++ b/packages/create-freesewing-pattern/lib/cli.js @@ -1,32 +1,45 @@ #!/usr/bin/env node -'use strict' +"use strict"; -const path = require('path') -const chalk = require('chalk') -const program = require('commander') -const { version } = require('../package') +const path = require("path"); +const chalk = require("chalk"); +const program = require("commander"); +const { version } = require("../package"); -const getDefaultLibraryParams = require('./get-default-library-params') -const createLibrary = require('./create-library') -const promptLibraryParams = require('./prompt-library-params') +const getDefaultLibraryParams = require("./get-default-library-params"); +const createLibrary = require("./create-library"); +const promptLibraryParams = require("./prompt-library-params"); module.exports = async () => { - const defaults = await getDefaultLibraryParams() + const defaults = await getDefaultLibraryParams(); program - .name('create-freesewing-pattern') + .name("create-freesewing-pattern") .version(version) - .usage('[options] [package-name]') - .option('-d, --desc ', 'package description') - .option('-a, --author ', 'author\'s github handle', defaults.author) - .option('-l, --license ', 'package license', defaults.license) - .option('-r, --repo ', 'package repo path') - .option('-g, --no-git', 'generate without git init') - .option('-m, --manager ', 'package manager to use', /^(npm|yarn)$/, defaults.manager) - .option('-t, --template ', 'package template to use', /^(default|custom)$/, defaults.template) - .option('-p, --template-path ', 'custom package template path') - .option('-s, --skip-prompts', 'skip all prompts (must provide package-name via cli)') - .parse(process.argv) + .usage("[options] [package-name]") + .option("-d, --desc ", "package description") + .option("-a, --author ", "author's github handle", defaults.author) + .option("-l, --license ", "package license", defaults.license) + .option("-r, --repo ", "package repo path") + .option("-g, --no-git", "generate without git init") + .option( + "-m, --manager ", + "package manager to use", + /^(npm|yarn)$/, + defaults.manager + ) + .option( + "-t, --template ", + "package template to use", + /^(default|custom)$/, + defaults.template + ) + .option("-p, --template-path ", "custom package template path") + .option( + "-s, --skip-prompts", + "skip all prompts (must provide package-name via cli)" + ) + .parse(process.argv); const opts = { description: program.desc, @@ -38,24 +51,24 @@ module.exports = async () => { templatePath: program.templatePath, skipPrompts: program.skipPrompts, git: program.git - } + }; - Object.keys(opts).forEach((key) => { + Object.keys(opts).forEach(key => { if (!opts[key] && defaults[key]) { - opts[key] = defaults[key] + opts[key] = defaults[key]; } - }) + }); if (program.args.length === 1) { - opts.name = program.args[0] + opts.name = program.args[0]; } else if (program.args.length > 1) { - console.error('invalid arguments') - program.help() - process.exit(1) + console.error("invalid arguments"); + program.help(); + process.exit(1); } - const params = await promptLibraryParams(opts) - const dest = await createLibrary(params) + const params = await promptLibraryParams(opts); + const dest = await createLibrary(params); console.log(` @@ -67,14 +80,15 @@ In one terminal, start the rollup bundler in watch mode: $ ${chalk.cyan(`cd ${params.shortName} && ${params.manager} start`)} And in another terminal, run the dev server: -$ ${chalk.cyan(`cd ${path.join(params.shortName, 'example')} && ${params.manager} start`)} -`) +$ ${chalk.cyan( + `cd ${path.join(params.shortName, "example")} && ${params.manager} start` + )} +`); - return dest -} + return dest; +}; -module.exports() - .catch((err) => { - console.error(err) - process.exit(1) - }) +module.exports().catch(err => { + console.error(err); + process.exit(1); +}); diff --git a/packages/create-freesewing-pattern/lib/get-default-library-params.js b/packages/create-freesewing-pattern/lib/get-default-library-params.js index 4b2697eb7fa..fe139dd45e3 100644 --- a/packages/create-freesewing-pattern/lib/get-default-library-params.js +++ b/packages/create-freesewing-pattern/lib/get-default-library-params.js @@ -1,54 +1,54 @@ -'use strict' +"use strict"; -const getGitConfigPath = require('git-config-path') -const githubUsername = require('github-username') -const parseGitConfig = require('parse-git-config') -const which = require('which') +const getGitConfigPath = require("git-config-path"); +const githubUsername = require("github-username"); +const parseGitConfig = require("parse-git-config"); +const which = require("which"); -const config = require('./config') +const config = require("./config"); module.exports = async () => { const defaults = { - name: '', - description: '', - author: config.get('author'), - repo: (info) => `${info.author}/${info.name}`, - license: config.get('license', 'MIT'), - manager: config.get('manager', 'npm'), - template: config.get('template', 'default') - } + name: "", + description: "", + author: config.get("author"), + repo: info => `${info.author}/${info.name}`, + license: config.get("license", "MIT"), + manager: config.get("manager", "npm"), + template: config.get("template", "default") + }; try { - if (!config.get('author')) { - const gitConfigPath = getGitConfigPath('global') + if (!config.get("author")) { + const gitConfigPath = getGitConfigPath("global"); if (gitConfigPath) { - const gitConfig = parseGitConfig.sync({ path: gitConfigPath }) + const gitConfig = parseGitConfig.sync({ path: gitConfigPath }); if (gitConfig.github && gitConfig.github.user) { - defaults.author = gitConfig.github.user + defaults.author = gitConfig.github.user; } else if (gitConfig.user && gitConfig.user.email) { - defaults.author = await githubUsername(gitConfig.user.email) + defaults.author = await githubUsername(gitConfig.user.email); } } if (defaults.author) { - config.set('author', defaults.author) + config.set("author", defaults.author); } } - if (!config.get('manager')) { - if (which.sync('yarn', { nothrow: true })) { - defaults.manager = 'yarn' + if (!config.get("manager")) { + if (which.sync("yarn", { nothrow: true })) { + defaults.manager = "yarn"; } - config.set('manager', defaults.manager) + config.set("manager", defaults.manager); } - if (!config.get('template')) { - config.set('template', defaults.template) + if (!config.get("template")) { + config.set("template", defaults.template); } - } catch (err) { } + } catch (err) {} - return defaults -} + return defaults; +}; diff --git a/packages/create-freesewing-pattern/lib/prompt-library-params.js b/packages/create-freesewing-pattern/lib/prompt-library-params.js index ff1f34b90ef..17168fa6cac 100644 --- a/packages/create-freesewing-pattern/lib/prompt-library-params.js +++ b/packages/create-freesewing-pattern/lib/prompt-library-params.js @@ -1,14 +1,14 @@ -'use strict' +"use strict"; -const path = require('path') -const fs = require('fs') -const inquirer = require('inquirer') -const validateNpmName = require('validate-npm-package-name') -const languages = require('@freesewing/i18n').languages; -const strings = require('@freesewing/i18n').strings; -const config = require('./config') +const path = require("path"); +const fs = require("fs"); +const inquirer = require("inquirer"); +const validateNpmName = require("validate-npm-package-name"); +const languages = require("@freesewing/i18n").languages; +const strings = require("@freesewing/i18n").strings; +const config = require("./config"); -let languageChoices = [] +let languageChoices = []; for (let l of Object.keys(languages)) { languageChoices.push({ name: languages[l], @@ -17,99 +17,113 @@ for (let l of Object.keys(languages)) { }); } -module.exports = async (opts) => { +module.exports = async opts => { if (opts.name && !validateNpmName(opts.name).validForNewPackages) { - throw new Error(`invalid package name "${opts.name}"`) + throw new Error(`invalid package name "${opts.name}"`); } if (opts.skipPrompts) { if (!opts.name) { - throw new Error('invalid input; you must pass a package name with --skip-prompts') + throw new Error( + "invalid input; you must pass a package name with --skip-prompts" + ); } - Object.keys(opts).forEach((key) => { - const value = opts[key] - if (typeof value === 'function') { - opts[key] = value(opts) + Object.keys(opts).forEach(key => { + const value = opts[key]; + if (typeof value === "function") { + opts[key] = value(opts); } - }) + }); - return opts + return opts; } else { const info = await inquirer.prompt([ { - type: 'list', - name: 'language', - message: 'Language', + type: "list", + name: "language", + message: "Language", choices: languageChoices, - default: 'en' + default: "en" }, { - type: 'input', - name: 'name', - message: info => strings[info.language]['cfp.patternName'], + type: "input", + name: "name", + message: info => strings[info.language]["cfp.patternName"], validate: name => { - return name && validateNpmName(name).validForNewPackages + return name && validateNpmName(name).validForNewPackages; }, default: opts.name }, { - type: 'input', - name: 'description', - message: info => strings[info.language]['cfp.patternDescription'], + type: "input", + name: "description", + message: info => strings[info.language]["cfp.patternDescription"], default: opts.description }, { - type: 'list', - name: 'type', - message: info => strings[info.language]['cfp.patternType'], + type: "list", + name: "type", + message: info => strings[info.language]["cfp.patternType"], choices: info => [ - { name: strings[info.language]['filter.type.pattern'], value: 'pattern'}, - { name: strings[info.language]['filter.type.block'], value: 'block'}, + { + name: strings[info.language]["filter.type.pattern"], + value: "pattern" + }, + { name: strings[info.language]["filter.type.block"], value: "block" } ], - default: 'pattern', + default: "pattern" }, { - type: 'list', - name: 'department', - message: info => strings[info.language]['filter.department.title'], + type: "list", + name: "department", + message: info => strings[info.language]["filter.department.title"], choices: info => [ - { name: strings[info.language]['filter.department.menswear'], value: 'menswear'}, - { name: strings[info.language]['filter.department.womenswear'], value: 'womenswear'}, - { name: strings[info.language]['filter.department.accessories'], value: 'accessories'}, + { + name: strings[info.language]["filter.department.menswear"], + value: "menswear" + }, + { + name: strings[info.language]["filter.department.womenswear"], + value: "womenswear" + }, + { + name: strings[info.language]["filter.department.accessories"], + value: "accessories" + } ], - default: 'womenswear', + default: "womenswear" }, { - type: 'input', - name: 'author', - message: info => strings[info.language]['cfp.author'], + type: "input", + name: "author", + message: info => strings[info.language]["cfp.author"], default: opts.author }, { - type: 'input', - name: 'repo', - message: info => strings[info.language]['cfp.githubRepo'], + type: "input", + name: "repo", + message: info => strings[info.language]["cfp.githubRepo"], default: opts.repo }, { - type: 'list', - name: 'manager', - message: info => strings[info.language]['cfp.packageManager'], - choices: [ 'npm', 'yarn' ], + type: "list", + name: "manager", + message: info => strings[info.language]["cfp.packageManager"], + choices: ["npm", "yarn"], default: opts.manager - }, - ]) + } + ]); - config.set('author', info.author) - config.set('manager', info.manager) - config.set('template', 'default') - config.set('license', 'MIT') - info.template = 'default'; + config.set("author", info.author); + config.set("manager", info.manager); + config.set("template", "default"); + config.set("license", "MIT"); + info.template = "default"; return { ...info, git: opts.git - } + }; } -} +}; diff --git a/packages/create-freesewing-pattern/template/default/example/src/App.js b/packages/create-freesewing-pattern/template/default/example/src/App.js index 299c0d257f2..328f684daff 100644 --- a/packages/create-freesewing-pattern/template/default/example/src/App.js +++ b/packages/create-freesewing-pattern/template/default/example/src/App.js @@ -1,14 +1,14 @@ -import React, { Component } from 'react'; +import React, { Component } from "react"; import freesewing from "freesewing"; -import './App.css'; +import "./App.css"; -import ExampleComponent from '{{name}}'; +import ExampleComponent from "{{name}}"; class App extends Component { render() { console.log(freesewing); - console.log({ExampleComponent}); - return (

hi there

) + console.log({ ExampleComponent }); + return

hi there

; } } diff --git a/packages/create-freesewing-pattern/template/default/example/src/App.test.js b/packages/create-freesewing-pattern/template/default/example/src/App.test.js index a754b201bf9..23c181f0276 100644 --- a/packages/create-freesewing-pattern/template/default/example/src/App.test.js +++ b/packages/create-freesewing-pattern/template/default/example/src/App.test.js @@ -1,9 +1,9 @@ -import React from 'react'; -import ReactDOM from 'react-dom'; -import App from './App'; +import React from "react"; +import ReactDOM from "react-dom"; +import App from "./App"; -it('renders without crashing', () => { - const div = document.createElement('div'); +it("renders without crashing", () => { + const div = document.createElement("div"); ReactDOM.render(, div); ReactDOM.unmountComponentAtNode(div); }); diff --git a/packages/create-freesewing-pattern/template/default/example/src/index.js b/packages/create-freesewing-pattern/template/default/example/src/index.js index 0c5e75da1cd..781cb802063 100644 --- a/packages/create-freesewing-pattern/template/default/example/src/index.js +++ b/packages/create-freesewing-pattern/template/default/example/src/index.js @@ -1,10 +1,10 @@ -import React from 'react'; -import ReactDOM from 'react-dom'; -import './index.css'; -import App from './App'; -import * as serviceWorker from './serviceWorker'; +import React from "react"; +import ReactDOM from "react-dom"; +import "./index.css"; +import App from "./App"; +import * as serviceWorker from "./serviceWorker"; -ReactDOM.render(, document.getElementById('root')); +ReactDOM.render(, document.getElementById("root")); // If you want your app to work offline and load faster, you can change // unregister() to register() below. Note this comes with some pitfalls. diff --git a/packages/create-freesewing-pattern/template/default/example/src/serviceWorker.js b/packages/create-freesewing-pattern/template/default/example/src/serviceWorker.js index 8859a0c6b20..68fda5a0eb6 100644 --- a/packages/create-freesewing-pattern/template/default/example/src/serviceWorker.js +++ b/packages/create-freesewing-pattern/template/default/example/src/serviceWorker.js @@ -9,9 +9,9 @@ // This link also includes instructions on opting out of this behavior. const isLocalhost = Boolean( - window.location.hostname === 'localhost' || + window.location.hostname === "localhost" || // [::1] is the IPv6 localhost address. - window.location.hostname === '[::1]' || + window.location.hostname === "[::1]" || // 127.0.0.1/8 is considered localhost for IPv4. window.location.hostname.match( /^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/ @@ -19,7 +19,7 @@ const isLocalhost = Boolean( ); export function register(config) { - if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) { + if (process.env.NODE_ENV === "production" && "serviceWorker" in navigator) { // The URL constructor is available in all browsers that support SW. const publicUrl = new URL(process.env.PUBLIC_URL, window.location); if (publicUrl.origin !== window.location.origin) { @@ -29,7 +29,7 @@ export function register(config) { return; } - window.addEventListener('load', () => { + window.addEventListener("load", () => { const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`; if (isLocalhost) { @@ -40,8 +40,8 @@ export function register(config) { // service worker/PWA documentation. navigator.serviceWorker.ready.then(() => { console.log( - 'This web app is being served cache-first by a service ' + - 'worker. To learn more, visit https://goo.gl/SC7cgQ' + "This web app is being served cache-first by a service " + + "worker. To learn more, visit https://goo.gl/SC7cgQ" ); }); } else { @@ -59,13 +59,13 @@ function registerValidSW(swUrl, config) { registration.onupdatefound = () => { const installingWorker = registration.installing; installingWorker.onstatechange = () => { - if (installingWorker.state === 'installed') { + if (installingWorker.state === "installed") { if (navigator.serviceWorker.controller) { // At this point, the old content will have been purged and // the fresh content will have been added to the cache. // It's the perfect time to display a "New content is // available; please refresh." message in your web app. - console.log('New content is available; please refresh.'); + console.log("New content is available; please refresh."); // Execute callback if (config.onUpdate) { @@ -75,7 +75,7 @@ function registerValidSW(swUrl, config) { // At this point, everything has been precached. // It's the perfect time to display a // "Content is cached for offline use." message. - console.log('Content is cached for offline use.'); + console.log("Content is cached for offline use."); // Execute callback if (config.onSuccess) { @@ -87,7 +87,7 @@ function registerValidSW(swUrl, config) { }; }) .catch(error => { - console.error('Error during service worker registration:', error); + console.error("Error during service worker registration:", error); }); } @@ -98,7 +98,7 @@ function checkValidServiceWorker(swUrl, config) { // Ensure service worker exists, and that we really are getting a JS file. if ( response.status === 404 || - response.headers.get('content-type').indexOf('javascript') === -1 + response.headers.get("content-type").indexOf("javascript") === -1 ) { // No service worker found. Probably a different app. Reload the page. navigator.serviceWorker.ready.then(registration => { @@ -113,13 +113,13 @@ function checkValidServiceWorker(swUrl, config) { }) .catch(() => { console.log( - 'No internet connection found. App is running in offline mode.' + "No internet connection found. App is running in offline mode." ); }); } export function unregister() { - if ('serviceWorker' in navigator) { + if ("serviceWorker" in navigator) { navigator.serviceWorker.ready.then(registration => { registration.unregister(); }); diff --git a/packages/create-freesewing-pattern/template/default/rollup.config.js b/packages/create-freesewing-pattern/template/default/rollup.config.js index 24e68a76947..611486b67b3 100644 --- a/packages/create-freesewing-pattern/template/default/rollup.config.js +++ b/packages/create-freesewing-pattern/template/default/rollup.config.js @@ -1,27 +1,27 @@ -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 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 json from "rollup-plugin-json"; -import resolve from 'rollup-plugin-node-resolve' -import url from 'rollup-plugin-url' -import svgr from '@svgr/rollup' +import resolve from "rollup-plugin-node-resolve"; +import url from "rollup-plugin-url"; +import svgr from "@svgr/rollup"; import minify from "rollup-plugin-babel-minify"; import { name, version, description, author, license } from "./package.json"; -import pkg from './package.json' +import pkg from "./package.json"; export default { - input: 'src/index.js', + input: "src/index.js", output: [ { file: pkg.main, - format: 'cjs', + format: "cjs", sourcemap: true }, { file: pkg.module, - format: 'es', + format: "es", sourcemap: true } ], @@ -30,14 +30,14 @@ export default { postcss({ modules: true }), - url({ exclude: ['**/*.svg'] }), + url({ exclude: ["**/*.svg"] }), svgr(), babel({ - exclude: 'node_modules/**', - plugins: [ '@babel/external-helpers' ] + exclude: "node_modules/**", + plugins: ["@babel/external-helpers"] }), resolve({ browser: true }), json(), commonjs() ] -} +}; diff --git a/packages/css-theme/package.json b/packages/css-theme/package.json index 7d81607732d..022627b3c57 100644 --- a/packages/css-theme/package.json +++ b/packages/css-theme/package.json @@ -25,7 +25,8 @@ "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", + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -", "watch": "npx node-sass --watch --output-style compressed src/theme.scss dist/theme.css" }, "dependencies": { diff --git a/packages/examples/package.json b/packages/examples/package.json index 0cc437c370f..92b7dcbf734 100644 --- a/packages/examples/package.json +++ b/packages/examples/package.json @@ -24,12 +24,15 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2", - "@freesewing/plugin-bundle": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3", + "@freesewing/plugin-bundle": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/florent/package.json b/packages/florent/package.json index 45daef6005b..b7da60db390 100644 --- a/packages/florent/package.json +++ b/packages/florent/package.json @@ -29,12 +29,15 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2", - "@freesewing/plugin-bundle": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3", + "@freesewing/plugin-bundle": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/huey/config/index.js b/packages/huey/config/index.js index c14f9b8450a..8f5226e6c59 100644 --- a/packages/huey/config/index.js +++ b/packages/huey/config/index.js @@ -14,7 +14,6 @@ export default { "chestEase", "cuffEase", "collarEase", - "ribbingStretchFactor", "shoulderEase", "waistEase", "hipsEase", @@ -25,7 +24,7 @@ export default { "sleeveLengthBonus", "ribbing", "pocket", - "ribbingWidth", + "ribbingHeight", "pocketHeight", "pocketWidth", "hoodHeight", diff --git a/packages/huey/package.json b/packages/huey/package.json index e9ef0dad81c..0b70ff62b63 100644 --- a/packages/huey/package.json +++ b/packages/huey/package.json @@ -29,12 +29,15 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2", - "@freesewing/plugin-bundle": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3", + "@freesewing/plugin-bundle": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/hugo/config/index.js b/packages/hugo/config/index.js index 5fa822395d3..61a82704583 100644 --- a/packages/hugo/config/index.js +++ b/packages/hugo/config/index.js @@ -9,8 +9,8 @@ export default { difficulty: 3, tags: ["top", "basics"], optionGroups: { - fit: ["bicepsEase", "chestEase", "cuffEase", "ribbingStretchFactor"], - style: ["lengthBonus", "sleeveLengthBonus", "ribbingWidth"], + fit: ["bicepsEase", "chestEase", "cuffEase", "ribbingStretch"], + style: ["lengthBonus", "sleeveLengthBonus", "ribbingHeight"], advanced: ["acrossBackFactor", "backNeckCutout"] }, measurements: [ @@ -86,7 +86,7 @@ export default { cuffEase: { pct: 20, min: 0, max: 200 }, lengthBonus: { pct: 10, min: 0, max: 20 }, sleeveLengthBonus: { pct: 0, min: -40, max: 10 }, - ribbingStretchFactor: { pct: 5, min: 0, max: 10 }, - ribbingWidth: { pct: 10, min: 4, max: 20 } + ribbingStretch: { pct: 5, min: 0, max: 10 }, + ribbingHeight: { pct: 10, min: 4, max: 20 } } }; diff --git a/packages/hugo/package.json b/packages/hugo/package.json index f501c463a7f..07cc67430d4 100644 --- a/packages/hugo/package.json +++ b/packages/hugo/package.json @@ -29,12 +29,15 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2", - "@freesewing/plugin-bundle": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3", + "@freesewing/plugin-bundle": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/hugo/src/cuff.js b/packages/hugo/src/cuff.js index d8a1c6357bf..5c429b83e19 100644 --- a/packages/hugo/src/cuff.js +++ b/packages/hugo/src/cuff.js @@ -4,12 +4,12 @@ export default function(part) { let width = (measurements.centerBackNeckToWaist + measurements.naturalWaistToHip) * - options.ribbingWidth * + options.ribbingHeight * 2; let length = measurements.wristCircumference * (1 + options.cuffEase) * - (1 - options.ribbingStretchFactor); + (1 - options.ribbingStretch); points.topLeft = new Point(0, 0); points.bottomLeft = new Point(0, width); @@ -30,10 +30,7 @@ export default function(part) { if (sa) { paths.sa = paths.seam.offset(sa); } - points.title = points.bottomLeft.shiftFractionTowards( - points.topRight, - 0.5 - ); + points.title = points.bottomLeft.shiftFractionTowards(points.topRight, 0.5); macro("title", { at: points.title, nr: 9, title: "cuff" }); macro("grainline", { from: points.bottomLeft.shift(0, 20), @@ -56,4 +53,4 @@ export default function(part) { } return part; -}; +} diff --git a/packages/hugo/src/front.js b/packages/hugo/src/front.js index 18c2ff45c3a..a24ffb9c148 100644 --- a/packages/hugo/src/front.js +++ b/packages/hugo/src/front.js @@ -16,7 +16,7 @@ export default function(part) { store.set( "ribbing", (measurements.centerBackNeckToWaist + measurements.naturalWaistToHip) * - options.ribbingWidth + options.ribbingHeight ); // Hem is more descripting than hips in this case @@ -35,11 +35,11 @@ export default function(part) { let neckOpeningParts = neckOpening.split(points.raglanTipFront); // Pocket - points.pocketHem = points.cfRibbing.shiftFractionTowards( - points.ribbing, - 0.6 + points.pocketHem = points.cfRibbing.shiftFractionTowards(points.ribbing, 0.6); + points.pocketCf = points.cfHem.shift( + 90, + measurements.centerBackNeckToWaist * 0.33 + store.get("ribbing") ); - points.pocketCf = points.cfHem.shift(90, measurements.centerBackNeckToWaist*0.33 + store.get("ribbing")); points.pocketTop = new Point(points.pocketHem.x, points.pocketCf.y); points.pocketTip = points.pocketHem .shift(90, points.pocketHem.x / 3) @@ -171,4 +171,4 @@ export default function(part) { } return part; -}; +} diff --git a/packages/hugo/src/sleeve.js b/packages/hugo/src/sleeve.js index 1012e514f1f..fe61cbbe005 100644 --- a/packages/hugo/src/sleeve.js +++ b/packages/hugo/src/sleeve.js @@ -83,10 +83,7 @@ export default function(part) { let slope = store.get("shoulderSlopeDeltaY"); let angleFront = points.raglanTipFront.angle(points.capQ4Base); let angleBack = points.raglanTipBack.angle(points.capQ1Base); - points.slopeFront = points.raglanMidFront.shift( - angleFront + 90, - slope / 2 - ); + points.slopeFront = points.raglanMidFront.shift(angleFront + 90, slope / 2); points.slopeBack = points.raglanMidBack.shift(angleBack - 90, slope / 2); points.slopeFrontCp1 = points.raglanFrontCp1.shift( angleFront + 90, @@ -96,14 +93,8 @@ export default function(part) { angleFront + 90, slope / 2 ); - points.slopeBackCp1 = points.raglanBackCp1.shift( - angleBack - 90, - slope / 2 - ); - points.slopeBackCp2 = points.raglanBackCp2.shift( - angleBack - 90, - slope / 2 - ); + points.slopeBackCp1 = points.raglanBackCp1.shift(angleBack - 90, slope / 2); + points.slopeBackCp2 = points.raglanBackCp2.shift(angleBack - 90, slope / 2); points.capQ4BaseCp = utils.beamsIntersect( points.slopeFrontCp2, points.capQ4Base, @@ -144,22 +135,17 @@ export default function(part) { let lenTotal = store.get("shoulderLength") + measurements.shoulderToWrist * (1 + options.sleeveLengthBonus) - - options.ribbingWidth; + options.ribbingHeight; let lenDelta = points.raglanTop.dist(points.centerWrist) - lenTotal; let wristPoints = ["wristLeft", "centerWrist", "wristRight"]; - for (let pid of wristPoints) - points[pid] = points[pid].shift(90, lenDelta); + for (let pid of wristPoints) points[pid] = points[pid].shift(90, lenDelta); runs++; } while (Math.abs(ragDiff) > 5 && runs < 10); paths.seam = new Path() .move(points.raglanTipBack) .curve(points.raglanTipBackCp2, points.raglanTopCp1, points.raglanTop) - .curve( - points.raglanTopCp2, - points.raglanTipFrontCp1, - points.raglanTipFront - ) + .curve(points.raglanTopCp2, points.raglanTipFrontCp1, points.raglanTipFront) .curve(points.raglanTipFront, points.slopeFrontCp1, points.slopeFront) .curve(points.slopeFrontCp2, points.capQ4Cp2, points.bicepsLeft) .line(points.wristLeft) @@ -251,4 +237,4 @@ export default function(part) { }); } return part; -}; +} diff --git a/packages/hugo/src/waistband.js b/packages/hugo/src/waistband.js index a8646f7d579..9aa7b9a8f44 100644 --- a/packages/hugo/src/waistband.js +++ b/packages/hugo/src/waistband.js @@ -4,7 +4,7 @@ export default function(part) { let width = (measurements.centerBackNeckToWaist + measurements.naturalWaistToHip) * - options.ribbingWidth * + options.ribbingHeight * 2; points.topLeft = new Point(0, 0); @@ -38,10 +38,7 @@ export default function(part) { if (sa) { paths.sa = paths.seam.offset(sa); } - points.title = points.bottomLeft.shiftFractionTowards( - points.topRight, - 0.5 - ); + points.title = points.bottomLeft.shiftFractionTowards(points.topRight, 0.5); macro("title", { at: points.title, nr: 8, title: "waistband" }); macro("grainline", { from: points.bottomMidLeft, @@ -63,10 +60,10 @@ export default function(part) { text: units( measurements.chestCircumference * (1 + options.chestEase) * - (1 - options.ribbingStretchFactor) + (1 - options.ribbingStretch) ) }); } return part; -}; +} diff --git a/packages/jaeger/package.json b/packages/jaeger/package.json index b38bf5eec09..c1da2f47843 100644 --- a/packages/jaeger/package.json +++ b/packages/jaeger/package.json @@ -29,12 +29,15 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2", - "@freesewing/plugin-bundle": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3", + "@freesewing/plugin-bundle": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/models/package.json b/packages/models/package.json index 6c92e87ca7b..672bec1136a 100644 --- a/packages/models/package.json +++ b/packages/models/package.json @@ -26,8 +26,12 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, + "peerDependencies": {}, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/mui-theme/package.json b/packages/mui-theme/package.json index 250dca8887f..d3c368ddc09 100644 --- a/packages/mui-theme/package.json +++ b/packages/mui-theme/package.json @@ -24,8 +24,8 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha", - "watch": "rollup -c -w -o dist/index.mjs -f es" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { "@material-ui/core": "^3.9.3", diff --git a/packages/plugin-banner/package.json b/packages/plugin-banner/package.json index 5d8db6f0936..7f71d5858d5 100644 --- a/packages/plugin-banner/package.json +++ b/packages/plugin-banner/package.json @@ -29,11 +29,14 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/plugin-bundle/package.json b/packages/plugin-bundle/package.json index 46521b89621..7ff9ca7d12d 100644 --- a/packages/plugin-bundle/package.json +++ b/packages/plugin-bundle/package.json @@ -30,11 +30,14 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/plugin-bust/package.json b/packages/plugin-bust/package.json index b8041ea9cf4..2ed66344e5a 100644 --- a/packages/plugin-bust/package.json +++ b/packages/plugin-bust/package.json @@ -29,11 +29,14 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/plugin-buttons/package.json b/packages/plugin-buttons/package.json index b455af7950b..3ddf92c24c9 100644 --- a/packages/plugin-buttons/package.json +++ b/packages/plugin-buttons/package.json @@ -29,11 +29,14 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/plugin-cutonfold/package.json b/packages/plugin-cutonfold/package.json index 562795ffca5..861ff5a37bf 100644 --- a/packages/plugin-cutonfold/package.json +++ b/packages/plugin-cutonfold/package.json @@ -29,11 +29,14 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/plugin-debug/package.json b/packages/plugin-debug/package.json index 36c4b7997c7..150f5e5353a 100644 --- a/packages/plugin-debug/package.json +++ b/packages/plugin-debug/package.json @@ -29,11 +29,14 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/plugin-designer/package.json b/packages/plugin-designer/package.json index 42ec505e3d1..516db253216 100644 --- a/packages/plugin-designer/package.json +++ b/packages/plugin-designer/package.json @@ -29,11 +29,14 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/plugin-dimension/package.json b/packages/plugin-dimension/package.json index e343347e37d..2e597ecd52b 100644 --- a/packages/plugin-dimension/package.json +++ b/packages/plugin-dimension/package.json @@ -29,11 +29,14 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/plugin-flip/package.json b/packages/plugin-flip/package.json index 02eacaa8b6b..375632848f3 100644 --- a/packages/plugin-flip/package.json +++ b/packages/plugin-flip/package.json @@ -29,11 +29,14 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/plugin-grainline/package.json b/packages/plugin-grainline/package.json index f1b88966dfd..35bc64ddf6f 100644 --- a/packages/plugin-grainline/package.json +++ b/packages/plugin-grainline/package.json @@ -29,11 +29,14 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/plugin-i18n/package.json b/packages/plugin-i18n/package.json index b120e4c92f6..ebf3565389b 100644 --- a/packages/plugin-i18n/package.json +++ b/packages/plugin-i18n/package.json @@ -29,11 +29,14 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/plugin-logo/package.json b/packages/plugin-logo/package.json index 6ce27e1b23f..f8cb8b694a5 100644 --- a/packages/plugin-logo/package.json +++ b/packages/plugin-logo/package.json @@ -29,11 +29,14 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/plugin-round/package.json b/packages/plugin-round/package.json index 6ad011cf34f..2c906561e94 100644 --- a/packages/plugin-round/package.json +++ b/packages/plugin-round/package.json @@ -29,11 +29,14 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/plugin-scalebox/package.json b/packages/plugin-scalebox/package.json index 93eb3f82697..8471ba559e1 100644 --- a/packages/plugin-scalebox/package.json +++ b/packages/plugin-scalebox/package.json @@ -29,11 +29,14 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/plugin-sprinkle/package.json b/packages/plugin-sprinkle/package.json index cb6ade5d6de..1535e9e2679 100644 --- a/packages/plugin-sprinkle/package.json +++ b/packages/plugin-sprinkle/package.json @@ -29,11 +29,14 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/plugin-svgattr/package.json b/packages/plugin-svgattr/package.json index 78d2ebb672b..62a4af9db7a 100644 --- a/packages/plugin-svgattr/package.json +++ b/packages/plugin-svgattr/package.json @@ -29,11 +29,14 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/plugin-theme/package.json b/packages/plugin-theme/package.json index 9db148f4487..35aac68e499 100644 --- a/packages/plugin-theme/package.json +++ b/packages/plugin-theme/package.json @@ -29,11 +29,14 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/plugin-title/package.json b/packages/plugin-title/package.json index 5a9bce0ab8f..f0eee59b483 100644 --- a/packages/plugin-title/package.json +++ b/packages/plugin-title/package.json @@ -29,11 +29,14 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/plugin-validate/package.json b/packages/plugin-validate/package.json index 4d919006458..8bf2c55e4ae 100644 --- a/packages/plugin-validate/package.json +++ b/packages/plugin-validate/package.json @@ -29,11 +29,14 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/shin/package.json b/packages/shin/package.json index 0826fed6e40..35a7c95ec1d 100644 --- a/packages/shin/package.json +++ b/packages/shin/package.json @@ -29,12 +29,15 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2", - "@freesewing/plugin-bundle": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3", + "@freesewing/plugin-bundle": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/simon/package.json b/packages/simon/package.json index caea434cc5a..48915fe06b7 100644 --- a/packages/simon/package.json +++ b/packages/simon/package.json @@ -29,14 +29,15 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/brian": "^2.0.0-alpha.2", - "@freesewing/core": "^2.0.0-alpha.2", - "@freesewing/plugin-bundle": "^2.0.0-alpha.2", - "@freesewing/plugin-buttons": "^2.0.0-alpha.2", - "@freesewing/plugin-flip": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3", + "@freesewing/plugin-bundle": "^2.0.0-alpha.3", + "@freesewing/brian": "^2.0.0-alpha.3", + "@freesewing/plugin-buttons": "^2.0.0-alpha.3", + "@freesewing/plugin-flip": "^2.0.0-alpha.3" }, "files": [ "dist/*", diff --git a/packages/sven/package.json b/packages/sven/package.json index 5a650aaf9b0..043aabebc34 100644 --- a/packages/sven/package.json +++ b/packages/sven/package.json @@ -29,12 +29,15 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2", - "@freesewing/plugin-bundle": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3", + "@freesewing/plugin-bundle": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/tamiko/package.json b/packages/tamiko/package.json index 5911c755c46..1902c6cc990 100644 --- a/packages/tamiko/package.json +++ b/packages/tamiko/package.json @@ -29,12 +29,15 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2", - "@freesewing/plugin-bundle": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3", + "@freesewing/plugin-bundle": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/trayvon/package.json b/packages/trayvon/package.json index 0afe49545ac..6a15e6d2936 100644 --- a/packages/trayvon/package.json +++ b/packages/trayvon/package.json @@ -29,12 +29,15 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2", - "@freesewing/plugin-bundle": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3", + "@freesewing/plugin-bundle": "^2.0.0-alpha.3" }, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/utils/package.json b/packages/utils/package.json index 9caf7785358..2a9538caf12 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -27,8 +27,12 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, + "peerDependencies": {}, + "dependencies": {}, + "devDependencies": {}, "files": [ "dist/*", "README.md", diff --git a/packages/wahid/package.json b/packages/wahid/package.json index aac496f038b..a685249264e 100644 --- a/packages/wahid/package.json +++ b/packages/wahid/package.json @@ -29,14 +29,15 @@ "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", - "publish": "npm build && npm publish --access=public --tag=alpha" + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -" }, "peerDependencies": { - "@freesewing/brian": "^2.0.0-alpha.2", - "@freesewing/core": "^2.0.0-alpha.2", - "@freesewing/plugin-bundle": "^2.0.0-alpha.2", - "@freesewing/plugin-buttons": "^2.0.0-alpha.2", - "@freesewing/plugin-round": "^2.0.0-alpha.2" + "@freesewing/core": "^2.0.0-alpha.3", + "@freesewing/plugin-bundle": "^2.0.0-alpha.3", + "@freesewing/brian": "^2.0.0-alpha.3", + "@freesewing/plugin-buttons": "^2.0.0-alpha.3", + "@freesewing/plugin-round": "^2.0.0-alpha.3" }, "files": [ "dist/*", diff --git a/packages/workbench/package.json b/packages/workbench/package.json index 6a737af4a0b..117dc03fdd9 100644 --- a/packages/workbench/package.json +++ b/packages/workbench/package.json @@ -20,25 +20,26 @@ "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", - "SKIPbuild": "npm run clean && npm run nodebuild && npm run modulebuild", + "build": "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", - "publish": "npm build && npm publish --access=public --tag=alpha", + "pubforce": "npm publish", + "symlink": "mkdir -p ./node_modules/@freesewing && cd ./node_modules/@freesewing && ln -s -f ../../../* . && cd -", "test:watch": "react-scripts test --env=jsdom", "start": "rollup -c -w" }, "peerDependencies": { - "@freesewing/core": "^2.0.0-alpha.2", - "@freesewing/i18n": "^2.0.0-alpha.2", - "@freesewing/plugin-theme": "^2.0.0-alpha.2", - "@freesewing/utils": "^2.0.0-alpha.2", + "@freesewing/core": "^2.0.0-alpha.3", + "@freesewing/i18n": "^2.0.0-alpha.3", + "@freesewing/utils": "^2.0.0-alpha.3", + "@freesewing/plugin-theme": "^2.0.0-alpha.3", "react-intl": "^2.8.0" }, "dependencies": { "@freesewing/components": "^2.0.0-alpha.3", "@freesewing/css-theme": "^2.0.0-alpha.3", - "@freesewing/mui-theme": "^2.0.0-alpha.3", - "@freesewing/utils": "^2.0.0-alpha.3" + "@freesewing/utils": "^2.0.0-alpha.3", + "@freesewing/mui-theme": "^2.0.0-alpha.3" }, "files": [ "dist/*",