@justindfuller/ban-code-comments 1.0.2 → 1.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/package.json +9 -2
- package/src/version.js +1 -1
package/README.md
CHANGED
|
@@ -127,4 +127,8 @@ npm run build:plugins
|
|
|
127
127
|
|
|
128
128
|
CI runs the Node test suite, enforces at least 90 percent aggregate JavaScript line coverage, validates both Codex plugins, rebuilds generated distributions, runs the package CLI, and validates OpenSpec.
|
|
129
129
|
|
|
130
|
-
|
|
130
|
+
## Releases
|
|
131
|
+
|
|
132
|
+
Releases are manual administrator actions. To publish a version, an administrator creates the protected `vMAJOR.MINOR.PATCH` tag on the current `main` commit, selects that tag when manually dispatching the `Release` workflow, and waits for the `npm-publish` environment approval from `JustinDFuller`. The workflow validates the tag, source commit, and package version before publishing through the repository's npm trusted publisher with GitHub Actions OIDC.
|
|
133
|
+
|
|
134
|
+
After npm publication succeeds, an administrator manually advances the protected floating Action tag, such as `v1`, to the released commit. The release workflow never creates or updates floating tags. Use an exact version such as `@v1.0.0` or a full commit SHA when reproducibility is required.
|
package/package.json
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justindfuller/ban-code-comments",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Detect and ban code comments across source and configuration files",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=24"
|
|
8
8
|
},
|
|
9
|
-
"bin":
|
|
9
|
+
"bin": {
|
|
10
|
+
"ban-code-comments": "./bin/ban-code-comments.js"
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/JustinDFuller-org/ban-code-comments"
|
|
15
|
+
},
|
|
10
16
|
"exports": {
|
|
11
17
|
".": "./src/api.js",
|
|
12
18
|
"./model": "./src/model.js",
|
|
@@ -24,6 +30,7 @@
|
|
|
24
30
|
"scripts": {
|
|
25
31
|
"build": "ncc build src/index.js --minify --source-map --license licenses.txt -o dist",
|
|
26
32
|
"build:plugins": "node scripts/build-plugins.mjs",
|
|
33
|
+
"version": "node scripts/sync-version.mjs && npm run build && npm run build:plugins",
|
|
27
34
|
"smoke:codex": "node scripts/codex-smoke.mjs",
|
|
28
35
|
"validate:plugins": "node scripts/validate-plugins.mjs",
|
|
29
36
|
"test": "node --test test/*.test.js",
|
package/src/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const CLI_VERSION = "1.0.
|
|
1
|
+
export const CLI_VERSION = "1.0.5";
|