Skip to content

Commit 5330736

Browse files
committed
chore: add release:lint script
1 parent a4bb123 commit 5330736

File tree

2 files changed

+63
-2
lines changed

2 files changed

+63
-2
lines changed

package.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"files": [
3030
"dist/",
3131
"README.md",
32-
"LICENSE.MD"
32+
"LICENSE.md"
3333
],
3434
"scripts": {
3535
"build": "node build.js",
@@ -38,15 +38,18 @@
3838
"lint:js:fix": "npm run lint:js -- --fix",
3939
"lint:all": "npm run lint:ts && npm run lint:js",
4040
"test": "vitest --run",
41-
"release": "npm run lint:all && npm run test && commit-and-tag-version"
41+
"release:lint": "cross-env NODE_ENV=production npm run lint:all && npm run test && npm run build && publint",
42+
"release": "npm run release:lint && commit-and-tag-version"
4243
},
4344
"devDependencies": {
4445
"@types/node": "^24.7.0",
4546
"commit-and-tag-version": "^12.6.0",
47+
"cross-env": "^10.1.0",
4648
"dotenv-cli": "^10.0.0",
4749
"esbuild": "^0.25.10",
4850
"eslint": "^9.37.0",
4951
"neostandard": "^0.12.2",
52+
"publint": "^0.3.14",
5053
"typescript": "^5.9.3",
5154
"vitest": "^3.2.4"
5255
},

pnpm-lock.yaml

Lines changed: 58 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)