chore: configure npm version

This commit is contained in:
Munckenh 2025-10-10 16:28:41 +08:00
parent 637a9d0f19
commit b5f2f44788
No known key found for this signature in database
GPG key ID: 7ECEFB9149BE15D1
2 changed files with 2 additions and 1 deletions

1
.npmrc Normal file
View file

@ -0,0 +1 @@
git-tag-version=false

View file

@ -6,7 +6,7 @@
"scripts": {
"dev": "node esbuild.config.mjs",
"build": "tsc -noEmit -skipLibCheck && node esbuild.config.mjs production",
"version": "node version-bump.mjs && git add manifest.json versions.json",
"version": "node version-bump.mjs && git add manifest.json versions.json package.json package-lock.json && git commit -m \"chore: $npm_package_version\" && git tag $npm_package_version -m \"\"",
"lint": "eslint src/**/*.ts",
"lint:fix": "eslint src/**/*.ts --fix"
},