Skip to content

Commit cadd38b

Browse files
authored
build: update prepare script (#10017)
* test: update * build: update prepare script for precommit * Revert "test: update" This reverts commit 8289ff7.
1 parent 2c78b73 commit cadd38b

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

package.json

+4-7
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"watch": "pnpm --parallel -r run watch",
99
"build": "pnpm -r run --filter=!@microsoft/teamsfx-react build && pnpm run --filter=@microsoft/teamsfx-react build",
1010
"precommit": "lint-staged",
11-
"clean": "pnpm -r exec rimraf node_modules"
11+
"clean": "pnpm -r exec rimraf node_modules",
12+
"prepare": "husky install"
1213
},
1314
"devDependencies": {
1415
"@commitlint/cli": "^17.7.1",
@@ -18,6 +19,7 @@
1819
"dotenv": "^10.0.0",
1920
"husky": "^6.0.0",
2021
"lerna": "^6.6.2",
22+
"pnpm": "^8.6.12",
2123
"rimraf": "^5.0.1",
2224
"ts-node": "^10.2.1"
2325
},
@@ -26,10 +28,5 @@
2628
"node": ">=18",
2729
"pnpm": ">=8"
2830
},
29-
"packageManager": "[email protected]",
30-
"config": {
31-
"commitizen": {
32-
"path": "./node_modules/cz-conventional-changelog"
33-
}
34-
}
31+
"packageManager": "[email protected]"
3532
}

pnpm-lock.yaml

+9
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)