|
28 | 28 | ], |
29 | 29 | "scripts": { |
30 | 30 | "dev": "node ./utils/scripts/dev.js", |
31 | | - "build": "npm run build --workspaces --if-present", |
32 | | - "commit": "echo 'This command has been replaced with \"npm run changeset\"'", |
| 31 | + "build": "pnpm run --recursive --if-present build", |
| 32 | + "commit": "echo 'This command has been replaced with \"pnpm run changeset\"'", |
33 | 33 | "changeset": "changeset add", |
34 | | - "postinstall": "npm run build", |
35 | 34 | "lint": "eslint --cache --cache-location=node_modules/.cache/ './**/*.{js,jsx,ts,tsx,mjs}'", |
36 | 35 | "prepare": "husky", |
37 | | - "release": "npm run release:prepare && npm run release:push", |
38 | | - "release:prepare": "npm run check:uncommited:changes && changeset version && npm i --package-lock-only --ignore-scripts", |
39 | | - "release:push": "git add .changeset package-lock.json packages/*/CHANGELOG.md packages/*/package.json && git commit -m 'Publish' && changeset tag && git push --follow-tags", |
40 | | - "release:devtools": "npm run publish-webstore --prefix ./packages/devtools", |
41 | | - "release:graduate": "npm run check:uncommited:changes && changeset pre exit && node utils/changesets/config-base-branch-replace.js master && changeset version && npm i --package-lock-only --ignore-scripts && npm run release:push", |
| 36 | + "release": "pnpm run release:prepare && pnpm run release:push", |
| 37 | + "release:prepare": "pnpm run check:uncommited:changes && changeset version && pnpm i --lockfile-only --ignore-scripts", |
| 38 | + "release:push": "git add .changeset pnpm-lock.yaml packages/*/CHANGELOG.md packages/*/package.json && git commit -m 'Publish' && changeset tag && git push --follow-tags", |
| 39 | + "release:devtools": "pnpm run --filter ./packages/devtools publish-webstore", |
| 40 | + "release:graduate": "pnpm run check:uncommited:changes && changeset pre exit && node utils/changesets/config-base-branch-replace.js master && changeset version && pnpm i --lockfile-only --ignore-scripts && pnpm run release:push", |
42 | 41 | "release:next:init": "changeset pre enter rc && node utils/changesets/config-base-branch-replace.js next", |
43 | 42 | "release:publish": "changeset publish --no-git-tag", |
44 | 43 | "stylelint": "stylelint --cache --cache-location=node_modules/.cache/ './**/*.{css,less}'", |
45 | 44 | "test": "jest --changedSince `test -f '.changeset/pre.json' && echo 'next' || echo 'master'`", |
46 | 45 | "test:all": "jest --colors", |
47 | 46 | "test:create-ima-app": "utils/tests/testRunner.sh", |
48 | | - "test:size": "npm run test:size --workspaces --if-present", |
49 | | - "version": "npm run doc && node utils/version/create-ima-app-versions.js && git add docs packages/create-ima-app/template/common/package.json", |
| 47 | + "test:size": "pnpm run --recursive --if-present test:size", |
| 48 | + "version": "pnpm run doc && node utils/version/create-ima-app-versions.js && git add docs packages/create-ima-app/template/common/package.json", |
50 | 49 | "check:uncommited:changes": "test \"`git status . --porcelain`\" && echo 'There are uncommitted changes. Aborting release.' && exit 1 || exit 0" |
51 | 50 | }, |
52 | 51 | "lint-staged": { |
|
88 | 87 | "eslint-import-resolver-typescript": "^4.4.4", |
89 | 88 | "eslint-plugin-import": "^2.32.0", |
90 | 89 | "eslint-plugin-jest": "^29.1.0", |
91 | | - "eslint-plugin-prettier": "^5.5.4", |
| 90 | + "eslint-plugin-prettier": "5.5.4", |
92 | 91 | "eslint-plugin-react": "^7.37.5", |
93 | 92 | "fork-ts-checker-webpack-plugin": "^9.1.0", |
94 | 93 | "fs-extra": "^11.3.2", |
|
107 | 106 | "postcss-less": "6.0.0", |
108 | 107 | "postcss-loader": "^8.2.0", |
109 | 108 | "postcss-preset-env": "^10.4.0", |
110 | | - "prettier": "^3.6.2", |
| 109 | + "prettier": "3.6.2", |
111 | 110 | "react": "^18.3.1", |
112 | 111 | "react-dom": "^18.3.1", |
113 | 112 | "rollup": "^4.53.2", |
|
126 | 125 | "webpack-cli": "^6.0.1", |
127 | 126 | "yargs": "^18.0.0" |
128 | 127 | }, |
129 | | - "overrides": { |
130 | | - "enzyme": { |
| 128 | + "pnpm": { |
| 129 | + "overrides": { |
131 | 130 | "cheerio": "1.0.0-rc.12" |
132 | 131 | } |
133 | 132 | } |
|
0 commit comments