✨ Add pubv-based release.sh and npm run release
Release front-door: pubv runs preflight + the interactive semver heuristic and graduates CHANGELOG.md [Unreleased] -> dated; npm version syncs package.json + lockfile; git commit --amend folds them into pubv's single release commit; the tag is created AFTER the amend so it marks the exact commit on main that gets published; then push. Tags are v-less (--tag-prefix=none) to match the changelog compare refs. @runwisp/pubv added as a devDependency. The short "how we got here / what was rejected" note lives as a comment atop the script; the docs/ exploration was removed as too much to read.
This commit is contained in:
1 parent
b9fb054176
commit
09c5b129bb
5 files changed
+106
-1
No files matched your search
@@ -21,6 +21,7 @@
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
"CHANGELOG.md",
|
||||
"README.md",
|
||||
"LICENSE"
|
||||
],
|
||||
@@ -48,6 +49,7 @@
|
||||
"fix": "npm run fix:oxlint && npm run fix:oxfmt",
|
||||
"fix:oxfmt": "oxfmt ${LEFTHOOK_FILES:-.}",
|
||||
"fix:oxlint": "oxlint --fix src",
|
||||
"release": "./scripts/release.sh",
|
||||
"maintain": "npm run maintain:knip; npm run maintain:outdated",
|
||||
"maintain:knip": "knip --include dependencies,exports,files",
|
||||
"maintain:outdated": "check-outdated --ignore-pre-releases",
|
||||
@@ -63,6 +65,7 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@arethetypeswrong/cli": "^0.18.5",
|
||||
"@runwisp/pubv": "^1.5.1",
|
||||
"@tsconfig/node26": "^26.0.1",
|
||||
"@tsconfig/strictest": "^2.0.8",
|
||||
"@types/node": "^26.4.1",
|
||||
|
||||
Reference in new issue
Block a user