Skip to content

Commit c49e1eb

Browse files
committed
Use more pnpm run
1 parent e021cd3 commit c49e1eb

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
"sideEffects": false,
3131
"scripts": {
3232
"check": "run-p -c --aggregate-output check:*",
33-
"check-ci": "pnpm check:lint",
33+
"check-ci": "pnpm run check:lint",
3434
"check:lint": "eslint --report-unused-disable-directives .",
35-
"check:lint:fix": "pnpm check:lint --fix",
35+
"check:lint:fix": "pnpm run check:lint --fix",
3636
"build": "pnpm run clean:dist && pnpm run build:cjs",
3737
"build:cjs": "tsc",
3838
"check:tsc": "tsc --noEmit",
@@ -42,7 +42,7 @@
4242
"clean:coverage": "del-cli 'coverage'",
4343
"clean:node_modules": "del-cli '**/node_modules'",
4444
"coverage": "run-s coverage:*",
45-
"coverage:test": "pnpm test:unit:coverage",
45+
"coverage:test": "pnpm run test:unit:coverage",
4646
"coverage:percent": "node scripts/get-coverage-percentage.mjs",
4747
"coverage:type": "dotenvx -q run -f .env.local -- type-coverage --detail",
4848
"fix": "run-s lint:fix check:lint:fix",
@@ -57,7 +57,7 @@
5757
"precommit": "lint-staged",
5858
"prepare": "husky",
5959
"test": "run-s check test:*",
60-
"pretest:unit": "pnpm build:cjs",
60+
"pretest:unit": "pnpm run build",
6161
"test:unit": "dotenvx -q run -f .env.test -- vitest --run",
6262
"test:unit:coverage": "dotenvx -q run -f .env.test -- vitest run --coverage",
6363
"test:unit:update": "dotenvx -q run -f .env.test -- vitest --run --update",
@@ -115,8 +115,8 @@
115115
],
116116
"lint-staged": {
117117
"*.{cjs,js,json,md,mjs,mts,ts}": [
118-
"pnpm lint:fix:oxlint",
119-
"pnpm lint:fix:biome -- --no-errors-on-unmatched --files-ignore-unknown=true --colors=off"
118+
"pnpm run lint:fix:oxlint",
119+
"pnpm run lint:fix:biome -- --no-errors-on-unmatched --files-ignore-unknown=true --colors=off"
120120
]
121121
},
122122
"pnpm": {

0 commit comments

Comments
 (0)