Skip to content

Commit 34fc589

Browse files
committed
Update package.json scripts for unified approach
1 parent 94fdefb commit 34fc589

File tree

1 file changed

+16
-15
lines changed

1 file changed

+16
-15
lines changed

package.json

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -29,23 +29,24 @@
2929
},
3030
"sideEffects": false,
3131
"scripts": {
32-
"check": "node scripts/check.mjs",
33-
"lint-ci": "pnpm run check:lint",
34-
"check:lint": "node scripts/lint.mjs --all",
3532
"build": "node scripts/build.mjs",
36-
"check:tsc": "tsgo --noEmit -p .config/tsconfig.check.json",
33+
"bump": "node scripts/bump.mjs",
34+
"check": "node scripts/check.mjs",
35+
"check-ci": "pnpm run check --all",
3736
"clean": "node scripts/clean.mjs",
3837
"cover": "node scripts/cover.mjs",
38+
"fix": "node scripts/fix.mjs",
3939
"lint": "node scripts/lint.mjs",
40-
"fix": "node scripts/lint.mjs --fix",
40+
"lint-ci": "pnpm run lint --all",
41+
"precommit": "pnpm run check --lint --staged",
4142
"prepare": "husky",
4243
"prepublishOnly": "echo 'ERROR: Use GitHub Actions workflow for publishing' && exit 1",
44+
"publish": "node scripts/publish.mjs",
4345
"test": "node scripts/test.mjs",
44-
"test-ci": "dotenvx -q run -f .env.test -- vitest --config .config/vitest.config.mts --run",
45-
"type-ci": "pnpm run check:tsc",
46-
"update": "run-p --aggregate-output update:* && run-s update:data:npm",
47-
"update:deps": "node scripts/taze.mjs",
48-
"update:socket": "pnpm -r update '@socketsecurity/*' '@socketregistry/*' --latest",
46+
"test-ci": "pnpm run test --all",
47+
"type": "tsgo --noEmit -p .config/tsconfig.check.json",
48+
"type-ci": "pnpm run type",
49+
"update": "node scripts/update.mjs",
4950
"update:data:npm": "node ./scripts/update-data-npm.mjs"
5051
},
5152
"devDependencies": {
@@ -59,7 +60,7 @@
5960
"@vitest/coverage-v8": "3.2.4",
6061
"all-the-package-names": "2.0.0",
6162
"all-the-package-names-v1.3905.0": "npm:[email protected]",
62-
"del-cli": "6.0.0",
63+
"del": "8.0.1",
6364
"dev-null-cli": "2.0.0",
6465
"esbuild": "0.25.10",
6566
"eslint": "9.35.0",
@@ -92,13 +93,13 @@
9293
"CHANGELOG.md"
9394
],
9495
"pnpm": {
95-
"overrides": {
96-
"vite": "7.1.7"
97-
},
9896
"ignoredBuiltDependencies": [
9997
"esbuild",
10098
"unrs-resolver"
101-
]
99+
],
100+
"overrides": {
101+
"vite": "7.1.7"
102+
}
102103
},
103104
"socket": {
104105
"categories": [

0 commit comments

Comments
 (0)