v11y-check 0.19.0 → 0.19.2
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/.meta/changelog.json +28 -0
- package/.readyup/kits/default.js +2 -2
- package/.readyup/manifest.json +3 -3
- package/CHANGELOG.md +12 -0
- package/README.md +6 -16
- package/dist/esm/bin/route.js +2 -2
- package/dist/esm/init/templates.js +2 -2
- package/package.json +7 -7
package/.meta/changelog.json
CHANGED
|
@@ -1,4 +1,32 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "0.19.2",
|
|
4
|
+
"date": "2026-10-12",
|
|
5
|
+
"sections": [
|
|
6
|
+
{
|
|
7
|
+
"title": "📦 Dependencies",
|
|
8
|
+
"audience": "dev",
|
|
9
|
+
"items": [{ "description": "Bumped `@williamthorsen/nmr-core` to 0.13.3" }]
|
|
10
|
+
}
|
|
11
|
+
]
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"version": "0.19.1",
|
|
15
|
+
"date": "2026-10-08",
|
|
16
|
+
"sections": [
|
|
17
|
+
{
|
|
18
|
+
"title": "📚 Documentation",
|
|
19
|
+
"audience": "dev",
|
|
20
|
+
"items": [
|
|
21
|
+
{
|
|
22
|
+
"description": "Updates the readyup examples in the `nmr`, `release-kit`, and `v11y-check` READMEs and the `nmr` rulebook to use the `sources` key and `rdy run --sources`, and states that `--sources` needs readyup 0.40 or later. (#977)",
|
|
23
|
+
"hash": "41177f8f562d59a4cf0aff9d24199dbd370bb1a1",
|
|
24
|
+
"entry": 4
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
},
|
|
2
30
|
{
|
|
3
31
|
"version": "0.19.0",
|
|
4
32
|
"date": "2026-10-01",
|
package/.readyup/kits/default.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/** @noformat -- @generated. Do not edit. Compiled by rdy. */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
export const __readyupVersion = "0.
|
|
3
|
+
export const __readyupVersion = "0.40.0";
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
// .readyup/kits/default.ts
|
|
@@ -63,7 +63,7 @@ var default_default = defineRdyKit({
|
|
|
63
63
|
]
|
|
64
64
|
});
|
|
65
65
|
function getMinVersion() {
|
|
66
|
-
const picked = { "version": "0.19.
|
|
66
|
+
const picked = { "version": "0.19.2" };
|
|
67
67
|
if (typeof picked["version"] !== "string") {
|
|
68
68
|
throw new TypeError("v11y-check/package.json: 'version' must be a string");
|
|
69
69
|
}
|
package/.readyup/manifest.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"path": "kits/default.ts"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
|
-
"hash": "
|
|
16
|
+
"hash": "d4e975bf",
|
|
17
17
|
"kind": "inline",
|
|
18
18
|
"path": "../package.json",
|
|
19
19
|
"paths": [
|
|
@@ -23,10 +23,10 @@
|
|
|
23
23
|
],
|
|
24
24
|
"name": "default",
|
|
25
25
|
"path": "kits/default.js",
|
|
26
|
-
"readyupVersion": "0.
|
|
26
|
+
"readyupVersion": "0.40.0",
|
|
27
27
|
"source": "kits/default.ts",
|
|
28
28
|
"sourceHash": "3ca06efb",
|
|
29
|
-
"targetHash": "
|
|
29
|
+
"targetHash": "8455f437"
|
|
30
30
|
}
|
|
31
31
|
]
|
|
32
32
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## 0.19.2 — 2026-10-12
|
|
6
|
+
|
|
7
|
+
### 📦 Dependencies
|
|
8
|
+
|
|
9
|
+
- Bumped `@williamthorsen/nmr-core` to 0.13.3
|
|
10
|
+
|
|
11
|
+
## 0.19.1 — 2026-10-08
|
|
12
|
+
|
|
13
|
+
### 📚 Documentation
|
|
14
|
+
|
|
15
|
+
- Updates the readyup examples in the `nmr`, `release-kit`, and `v11y-check` READMEs and the `nmr` rulebook to use the `sources` key and `rdy run --sources`, and states that `--sources` needs readyup 0.40 or later. (#977)
|
|
16
|
+
|
|
5
17
|
## 0.19.0 — 2026-10-01
|
|
6
18
|
|
|
7
19
|
### 🎉 Features
|
package/README.md
CHANGED
|
@@ -4,19 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
Wraps [audit-ci](https://github.com/IBM/audit-ci) with a richer config model, typed JSON source of truth, and a sync workflow that automates allowlist management.
|
|
6
6
|
|
|
7
|
-
<!-- section:release-notes -->
|
|
8
|
-
## Release notes — v0.19.0 (2026-10-01)
|
|
9
|
-
|
|
10
|
-
### 🎉 Features
|
|
11
|
-
|
|
12
|
-
- Adds `v11y update-templates`, which writes `.github/workflows/audit.yaml` when it is missing or differs from the installed template, prints a diff of the update, and never reads or writes the config file. (#952)
|
|
13
|
-
- Changes the readyup kits' fix messages for a workflow that differs from its template, or that references a deprecated tag, to recommend `update-templates` rather than `init --force`. (#952)
|
|
14
|
-
|
|
15
|
-
### 🐛 Bug fixes
|
|
16
|
-
|
|
17
|
-
- Rewords the `v11y-check` README and the message that `v11y` prints for missing build output, which addressed the reader in the second person and used em-dashes and figurative verbs. (#939)
|
|
18
|
-
- Fixes the issue that two comments in the `audit.yaml` workflow generated by `v11y init` did not follow the project's writing rules; the v11y-check kit check reports a previously generated `audit.yaml` as stale until `v11y init --force` regenerates it. (#946)
|
|
19
|
-
<!-- /section:release-notes -->
|
|
7
|
+
<!-- section:release-notes --><!-- /section:release-notes -->
|
|
20
8
|
|
|
21
9
|
## Installation
|
|
22
10
|
|
|
@@ -159,6 +147,8 @@ The scaffolded workflow triggers on pull requests to `main`/`next`, on a daily s
|
|
|
159
147
|
|
|
160
148
|
The reusable workflow installs pnpm with [`pnpm/setup`](https://github.com/pnpm/setup), which installs pnpm 11 or newer only and reads the version from the repository's `devEngines.packageManager` or `packageManager` field. A repository pinned below that cannot run it.
|
|
161
149
|
|
|
150
|
+
The reusable workflow runs on `ubuntu-latest` unless the repository's `CI_RUNS_ON` variable names another runner; see [Runner selection](https://github.com/williamthorsen/node-monorepo-tools/blob/main/.github/workflows/README.md#runner-selection).
|
|
151
|
+
|
|
162
152
|
## Readiness checks
|
|
163
153
|
|
|
164
154
|
v11y-check publishes a [readyup](https://www.npmjs.com/package/readyup) kit that checks a consuming repo against the release that it has installed: that v11y-check is a devDependency at or above the current version, that audit-ci configs are under `.config/audit-ci/`, and that `.github/workflows/audit.yaml` matches the template scaffolded by this package. The kit is included in the package, so it checks against the installed version rather than whatever a repository ref happens to point at.
|
|
@@ -170,17 +160,17 @@ Add `readyup` as a devDependency, then name v11y-check in its config:
|
|
|
170
160
|
import { defineRdyConfig } from 'readyup';
|
|
171
161
|
|
|
172
162
|
export default defineRdyConfig({
|
|
173
|
-
|
|
163
|
+
sources: ['npm:v11y-check'],
|
|
174
164
|
});
|
|
175
165
|
```
|
|
176
166
|
|
|
177
167
|
```bash
|
|
178
|
-
rdy run --
|
|
168
|
+
rdy run --sources # every kit that each listed package publishes
|
|
179
169
|
rdy run --from npm:v11y-check # v11y-check's kit alone, without the config entry
|
|
180
170
|
rdy list --from npm:v11y-check # what v11y-check publishes
|
|
181
171
|
```
|
|
182
172
|
|
|
183
|
-
`--
|
|
173
|
+
`--sources` is the form that keeps working if v11y-check publishes further kits. `--sources` needs `readyup` 0.40 or later and `--from` needs 0.23 or later, and every form needs `v11y-check` as a _direct_ devDependency: A strict pnpm layout links only direct dependencies into the project, which leaves a transitive copy unreachable.
|
|
184
174
|
|
|
185
175
|
The kit is no longer reachable through `rdy run --from github:williamthorsen/node-monorepo-tools`. Repos still using that form should switch to one of the invocations above.
|
|
186
176
|
|
package/dist/esm/bin/route.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import process from 'node:process';
|
|
2
|
-
import { parseArgs,
|
|
2
|
+
import { parseArgs, reportError, resolveSelfVersion } from '@williamthorsen/nmr-core';
|
|
3
3
|
import { describeError } from '@williamthorsen/toolbelt.errors';
|
|
4
4
|
import { auditCommand, checkCommand, syncCommand } from "../cli.js";
|
|
5
5
|
import { initCommand } from "../init/initCommand.js";
|
|
6
6
|
import { updateTemplatesCommand } from "../init/updateTemplatesCommand.js";
|
|
7
7
|
import { OUTPUT_STYLE_ENV_VAR, resolveStyles } from "../resolveStyles.js";
|
|
8
|
-
const VERSION =
|
|
8
|
+
const VERSION = resolveSelfVersion(import.meta.url);
|
|
9
9
|
const SUBCOMMANDS = ['check', 'init', 'sync', 'update-templates'];
|
|
10
10
|
const MIN_PREFIX_LENGTH = 3;
|
|
11
11
|
function showHelp() {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const VERSION =
|
|
1
|
+
import { resolveSelfVersion } from '@williamthorsen/nmr-core';
|
|
2
|
+
const VERSION = resolveSelfVersion(import.meta.url);
|
|
3
3
|
function buildSchemaUrl() {
|
|
4
4
|
return `https://github.com/williamthorsen/node-monorepo-tools/raw/v11y-check-v${VERSION}/packages/v11y-check/schemas/config.json`;
|
|
5
5
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "v11y-check",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Wrap audit-ci with a richer config model, typed JSON source of truth, and sync workflow",
|
|
6
6
|
"keywords": [
|
|
@@ -45,17 +45,17 @@
|
|
|
45
45
|
"templates"
|
|
46
46
|
],
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@williamthorsen/nmr-core": "0.13.
|
|
49
|
-
"@williamthorsen/toolbelt.errors": "0.8.
|
|
48
|
+
"@williamthorsen/nmr-core": "0.13.3",
|
|
49
|
+
"@williamthorsen/toolbelt.errors": "0.8.3",
|
|
50
50
|
"audit-ci": "7.1.0",
|
|
51
51
|
"zod": "4.6.5"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@williamthorsen/toolbelt.filesystem": "0.9.
|
|
55
|
-
"@williamthorsen/toolbelt.testing": "0.6.
|
|
56
|
-
"@williamthorsen/toolbelt.vitest": "0.10.
|
|
54
|
+
"@williamthorsen/toolbelt.filesystem": "0.9.3",
|
|
55
|
+
"@williamthorsen/toolbelt.testing": "0.6.3",
|
|
56
|
+
"@williamthorsen/toolbelt.vitest": "0.10.3",
|
|
57
57
|
"esbuild": "0.28.2",
|
|
58
|
-
"readyup": "0.
|
|
58
|
+
"readyup": "0.40.0",
|
|
59
59
|
"vitest": "4.1.11"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|