@williamthorsen/toolbelt.packaging 0.6.3 → 0.6.4

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.
@@ -1,6 +1,6 @@
1
1
  /** @noformat -- @generated. Do not edit. Compiled by rdy. */
2
2
  /* eslint-disable */
3
- export const __readyupVersion = "0.40.0";
3
+ export const __readyupVersion = "0.43.0";
4
4
 
5
5
 
6
6
  // ../adoption/src/conventions/path-predicates.ts
@@ -71,10 +71,9 @@ function defineAdoptionKit(spec) {
71
71
  if (seen.has(id)) duplicated.add(id);
72
72
  seen.add(id);
73
73
  }
74
- if (duplicated.size > 0) {
75
- const ids = [...duplicated].toSorted().join(", ");
76
- throw new Error(`${spec.packageName}'s kit gives one id to more than one check: ${ids}`);
77
- }
74
+ if (duplicated.size === 0) return;
75
+ const ids = [...duplicated].toSorted().join(", ");
76
+ throw new Error(`${spec.packageName}'s kit gives one id to more than one check: ${ids}`);
78
77
  }
79
78
  function isSweptPath(path) {
80
79
  return sweptPathFilters.some((pathFilter) => pathFilter(path));
@@ -2,6 +2,14 @@
2
2
  "version": 1,
3
3
  "kits": [
4
4
  {
5
+ "checklistChecks": [
6
+ {
7
+ "checklist": "adoption",
8
+ "checks": [
9
+ "No source searches the directory chain for package.json by hand"
10
+ ]
11
+ }
12
+ ],
5
13
  "checklists": [
6
14
  "adoption"
7
15
  ],
@@ -19,7 +27,7 @@
19
27
  "path": "../../adoption/src/conventions/site-handoffs.ts"
20
28
  },
21
29
  {
22
- "hash": "e6e87602",
30
+ "hash": "7b9002b8",
23
31
  "kind": "module",
24
32
  "path": "../../adoption/src/kits/defineAdoptionKit.ts"
25
33
  },
@@ -44,7 +52,7 @@
44
52
  "path": "../../adoption/src/portable/listFunctionBodies.ts"
45
53
  },
46
54
  {
47
- "hash": "ce2e063d",
55
+ "hash": "1e9b8276",
48
56
  "kind": "module",
49
57
  "path": "../../adoption/src/portable/listTemplateLiterals.ts"
50
58
  },
@@ -81,10 +89,10 @@
81
89
  ],
82
90
  "name": "default",
83
91
  "path": "kits/default.js",
84
- "readyupVersion": "0.40.0",
92
+ "readyupVersion": "0.43.0",
85
93
  "source": "kits/default.ts",
86
94
  "sourceHash": "9b6938d1",
87
- "targetHash": "7ee14db9"
95
+ "targetHash": "ec65dcf4"
88
96
  }
89
97
  ]
90
98
  }
package/CHANGELOG.md CHANGED
@@ -2,8 +2,22 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
+ ## 0.6.4 — 2026-10-24
6
+
7
+ ### 📦 Dependencies
8
+
9
+ - Upgrade dependencies to latest compatible versions (#391)
10
+
11
+ Upgrades Node.js, pnpm, and the repository's dependencies to their latest compatible releases, which clears the three dev advisories that failed `nmr audit`. The upgrade to `@williamthorsen/eslint-config-typescript` 20.1.3 adds unicorn lint rules, and the code is adapted to them in the same change.
12
+
5
13
  ## 0.6.3 — 2026-10-09
6
14
 
15
+ ### 🎉 Features
16
+
17
+ - Add a ReadyUp kit recommending toolbelt.cli over hand-rolled argument parsing (#367)
18
+
19
+ Adds a ReadyUp adoption kit to `@williamthorsen/toolbelt.cli` that reports, through `rdy run --packages`, each call to `node:util`'s `parseArgs` and each function that compares arguments against flag names by hand. Includes `bin/` and `src/bin/` in the kit's sweep, which the other toolbelt kits exempt, because a command-line runner usually lives there.
20
+
7
21
  ### 📚 Documentation
8
22
 
9
23
  - Updates each kit README to show `rdy run --sources` and a `sources: ['npm:…']` config example, and states that this spelling needs readyup 0.40.0 or later. (#371)
@@ -12,6 +26,10 @@ All notable changes to this project will be documented in this file.
12
26
 
13
27
  ### 📚 Documentation
14
28
 
29
+ - Sweep the repository's comments against the comment discipline (#353)
30
+
31
+ Sweeps the comments in every authored source file against the comment discipline. The sweep cuts comments that restate the code or narrate history, corrects descriptions that contradicted the code, and adds descriptions to declarations that lacked one. It also tags the exported tier functions and classes that lacked `@category` and `@stage`, and corrects test titles that misstated their tests.
32
+
15
33
  - Revises READMEs, doc comments, and test names across the repository to follow the current `plain-speech` and writing-preference rules. (#354)
16
34
  - Rewords the help text and messages printed by `tb-jira`, `tb-node`, and `tb-secret`, and the advice and skip reasons reported by the adoption kits, to follow the same writing conventions. (#354)
17
35
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@williamthorsen/toolbelt.packaging",
3
- "version": "0.6.3",
3
+ "version": "0.6.4",
4
4
  "description": "Package and project layout utilities: where a package or project boundary begins, and what its manifest declares",
5
5
  "keywords": [
6
6
  "esm",
@@ -45,13 +45,13 @@
45
45
  "CHANGELOG.md"
46
46
  ],
47
47
  "dependencies": {
48
- "@williamthorsen/toolbelt.filesystem": "0.9.3"
48
+ "@williamthorsen/toolbelt.filesystem": "0.9.4"
49
49
  },
50
50
  "devDependencies": {
51
51
  "@williamthorsen/toolbelt.adoption": "0.1.0",
52
- "@williamthorsen/toolbelt.testing": "0.6.3",
52
+ "@williamthorsen/toolbelt.testing": "0.7.0",
53
53
  "esbuild": "0.28.2",
54
- "readyup": "0.40.0"
54
+ "readyup": "0.43.0"
55
55
  },
56
56
  "engines": {
57
57
  "node": ">=24.0.0"