Skip to content

Commit

Permalink
chore(yarn3): revert back to lerna for perf
Browse files Browse the repository at this point in the history
  • Loading branch information
Jade Pennig committed Oct 21, 2021
1 parent 6fd8ee5 commit 3ff9d81
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
},
"types": "./types/index.d.ts",
"scripts": {
"bootstrap": "",
"bootstrap": "lerna bootstrap",
"prestart": "yarn prebuild",
"start": "yarn prestart && yarn build:tokens && concurrently \"yarn:start:tokens\" \"yarn:start:storybook\"",
"start:all": "yarn build:tokens && concurrently \"yarn:start:tokens\" \"yarn:start:storybook:quiet\" \"yarn:start:website\"",
Expand All @@ -43,22 +43,23 @@
"start:nextjs-template": "yarn workspace @twilio-paste/nextjs-template dev",
"start:contrast-checking": "concurrently \"yarn:start:tokens\" \"yarn:start:token-contrast-checker\"",
"prebuild": "node ./tools/build/pre-build.js && yarn packages:check",
"build": "yarn prebuild && yarn workspaces foreach -pviR --topological-dev --no-private --from @twilio-paste/core run build && yarn build:codemods",
"build": "yarn prebuild && lerna run build --ignore @twilio-paste/website --ignore @twilio-paste/theme-designer --ignore @twilio-paste/nextjs-template --ignore @twilio-paste/token-contrast-checker",
"build:js": "yarn prebuild && lerna run build:js --ignore @twilio-paste/website --ignore @twilio-paste/theme-designer",
"build:codemods": "yarn workspace @twilio-paste/codemods run build",
"build:js": "yarn prebuild && yarn workspaces foreach -pviR --topological-dev --no-private --from @twilio-paste/core run build:js",
"build:tokens": "yarn workspace @twilio-paste/design-tokens tokens",
"build:icons": "yarn workspace @twilio-paste/icons build",
"build:storybook": "build-storybook -c .storybook -o ./docs -s .storybook/static",
"build:website": "yarn workspace @twilio-paste/website build",
"build:theme-designer": "yarn workspace @twilio-paste/theme-designer build",
"build:nextjs-template": "yarn workspace @twilio-paste/nextjs-template build",
"build:props": "yarn workspaces foreach -pviR --topological-dev --no-private --from @twilio-paste/core run build:props",
"build:props": "lerna run build:props --ignore @twilio-paste/website --concurrency 2",
"pre-push": "concurrently \"yarn:lint\" \"yarn:test\" \"yarn:prettier\" \"yarn:type-check\"",
"prerelease": "yarn build && yarn lint && yarn test",
"release": "yarn prerelease && yarn changeset publish",
"release:next": "yarn lerna publish -m 'chore(release): pre release' --conventional-commits --canary --preid beta --dist-tag next",
"version": "node ./tools/build/version.js",
"clean": "node ./tools/build/clean-repo.js && yarn workspaces foreach -pvi run clean && yarn",
"clean:full": "node ./tools/build/clean-repo.js && yarn workspaces foreach -pvi run clean && rm -rf node_modules/ && yarn",
"clean": "node ./tools/build/clean-repo.js && lerna clean --yes && lerna run clean && yarn",
"clean:full": "node ./tools/build/clean-repo.js && lerna clean --yes && lerna run clean && rm -rf node_modules/ && yarn",
"clean:core": "yarn workspace @twilio-paste/core clean",
"pre-test": "node ./tools/build/pre-test.js",
"test": "yarn pre-test && concurrently \"yarn:test:packages\" \"yarn:test:tools\"",
Expand All @@ -72,7 +73,7 @@
"prettier": "prettier --list-different '{.storybook,packages}/**/*.{ts,tsx}'",
"prettier-clean": "prettier --write '{.storybook,packages}/**/*.{ts,tsx}'",
"lint": "yarn pre-test && eslint --ext .tsx,.ts ./packages",
"type-check": "yarn workspaces foreach -pviR --topological-dev --no-private --from @twilio-paste/core run tsc",
"type-check": "lerna run tsc",
"tsc": "echo Did you mean to run yarn type-check?",
"chromatic": "chromatic",
"packages:check": "manypkg check",
Expand Down

0 comments on commit 3ff9d81

Please sign in to comment.