Skip to content

Commit 837e572

Browse files
committed
chore(templatizer): use pnpm in module boilerplate scripts
Update boilerplates/module/package.json to use pnpm run instead of npm run for consistency with the project's pnpm workspace setup.
1 parent eb12a99 commit 837e572

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

boilerplates/module/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@
2222
"scripts": {
2323
"copy": "copyfiles -f ../../LICENSE README.md package.json dist",
2424
"clean": "rimraf dist/**",
25-
"prepare": "npm run build",
26-
"build": "npm run clean; tsc -p tsconfig.json; tsc -p tsconfig.esm.json; npm run copy",
27-
"build:dev": "npm run clean; tsc -p tsconfig.json --declarationMap; tsc -p tsconfig.esm.json; npm run copy",
25+
"prepare": "pnpm run build",
26+
"build": "pnpm run clean; tsc -p tsconfig.json; tsc -p tsconfig.esm.json; pnpm run copy",
27+
"build:dev": "pnpm run clean; tsc -p tsconfig.json --declarationMap; tsc -p tsconfig.esm.json; pnpm run copy",
2828
"lint": "eslint . --fix",
2929
"test": "jest",
3030
"test:watch": "jest --watch"

packages/templatizer/src/generated/module.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ export default [
5757
"scripts": {
5858
"copy": "copyfiles -f ../../LICENSE README.md package.json dist",
5959
"clean": "rimraf dist/**",
60-
"prepare": "npm run build",
61-
"build": "npm run clean; tsc -p tsconfig.json; tsc -p tsconfig.esm.json; npm run copy",
62-
"build:dev": "npm run clean; tsc -p tsconfig.json --declarationMap; tsc -p tsconfig.esm.json; npm run copy",
60+
"prepare": "pnpm run build",
61+
"build": "pnpm run clean; tsc -p tsconfig.json; tsc -p tsconfig.esm.json; pnpm run copy",
62+
"build:dev": "pnpm run clean; tsc -p tsconfig.json --declarationMap; tsc -p tsconfig.esm.json; pnpm run copy",
6363
"lint": "eslint . --fix",
6464
"test": "jest",
6565
"test:watch": "jest --watch"

0 commit comments

Comments
 (0)