|
30 | 30 | },
|
31 | 31 | "types": "./types/index.d.ts",
|
32 | 32 | "scripts": {
|
33 |
| - "bootstrap": "", |
| 33 | + "bootstrap": "lerna bootstrap", |
34 | 34 | "prestart": "yarn prebuild",
|
35 | 35 | "start": "yarn prestart && yarn build:tokens && concurrently \"yarn:start:tokens\" \"yarn:start:storybook\"",
|
36 | 36 | "start:all": "yarn build:tokens && concurrently \"yarn:start:tokens\" \"yarn:start:storybook:quiet\" \"yarn:start:website\"",
|
|
43 | 43 | "start:nextjs-template": "yarn workspace @twilio-paste/nextjs-template dev",
|
44 | 44 | "start:contrast-checking": "concurrently \"yarn:start:tokens\" \"yarn:start:token-contrast-checker\"",
|
45 | 45 | "prebuild": "node ./tools/build/pre-build.js && yarn packages:check",
|
46 |
| - "build": "yarn prebuild && yarn workspaces foreach -pviR --topological-dev --no-private --from @twilio-paste/core run build && yarn build:codemods", |
| 46 | + "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", |
| 47 | + "build:js": "yarn prebuild && lerna run build:js --ignore @twilio-paste/website --ignore @twilio-paste/theme-designer", |
47 | 48 | "build:codemods": "yarn workspace @twilio-paste/codemods run build",
|
48 |
| - "build:js": "yarn prebuild && yarn workspaces foreach -pviR --topological-dev --no-private --from @twilio-paste/core run build:js", |
49 | 49 | "build:tokens": "yarn workspace @twilio-paste/design-tokens tokens",
|
50 | 50 | "build:icons": "yarn workspace @twilio-paste/icons build",
|
51 | 51 | "build:storybook": "build-storybook -c .storybook -o ./docs -s .storybook/static",
|
52 | 52 | "build:website": "yarn workspace @twilio-paste/website build",
|
53 | 53 | "build:theme-designer": "yarn workspace @twilio-paste/theme-designer build",
|
54 | 54 | "build:nextjs-template": "yarn workspace @twilio-paste/nextjs-template build",
|
55 |
| - "build:props": "yarn workspaces foreach -pviR --topological-dev --no-private --from @twilio-paste/core run build:props", |
| 55 | + "build:props": "lerna run build:props --ignore @twilio-paste/website --concurrency 2", |
56 | 56 | "pre-push": "concurrently \"yarn:lint\" \"yarn:test\" \"yarn:prettier\" \"yarn:type-check\"",
|
57 | 57 | "prerelease": "yarn build && yarn lint && yarn test",
|
58 | 58 | "release": "yarn prerelease && yarn changeset publish",
|
| 59 | + "release:next": "yarn lerna publish -m 'chore(release): pre release' --conventional-commits --canary --preid beta --dist-tag next", |
59 | 60 | "version": "node ./tools/build/version.js",
|
60 |
| - "clean": "node ./tools/build/clean-repo.js && yarn workspaces foreach -pvi run clean && yarn", |
61 |
| - "clean:full": "node ./tools/build/clean-repo.js && yarn workspaces foreach -pvi run clean && rm -rf node_modules/ && yarn", |
| 61 | + "clean": "node ./tools/build/clean-repo.js && lerna clean --yes && lerna run clean && yarn", |
| 62 | + "clean:full": "node ./tools/build/clean-repo.js && lerna clean --yes && lerna run clean && rm -rf node_modules/ && yarn", |
62 | 63 | "clean:core": "yarn workspace @twilio-paste/core clean",
|
63 | 64 | "pre-test": "node ./tools/build/pre-test.js",
|
64 | 65 | "test": "yarn pre-test && concurrently \"yarn:test:packages\" \"yarn:test:tools\"",
|
|
72 | 73 | "prettier": "prettier --list-different '{.storybook,packages}/**/*.{ts,tsx}'",
|
73 | 74 | "prettier-clean": "prettier --write '{.storybook,packages}/**/*.{ts,tsx}'",
|
74 | 75 | "lint": "yarn pre-test && eslint --ext .tsx,.ts ./packages",
|
75 |
| - "type-check": "yarn workspaces foreach -pviR --topological-dev --no-private --from @twilio-paste/core run tsc", |
| 76 | + "type-check": "lerna run tsc", |
76 | 77 | "tsc": "echo Did you mean to run yarn type-check?",
|
77 | 78 | "chromatic": "chromatic",
|
78 | 79 | "packages:check": "manypkg check",
|
|
0 commit comments