@williamthorsen/toolbelt.packaging 0.7.1 → 0.7.3
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 +61 -0
- package/.readyup/kits/default.js +1 -1
- package/.readyup/manifest.json +18 -3
- package/CHANGELOG.md +28 -0
- package/package.json +6 -6
package/.meta/changelog.json
CHANGED
|
@@ -1,4 +1,65 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"version": "0.7.3",
|
|
4
|
+
"date": "2026-11-12",
|
|
5
|
+
"sections": [
|
|
6
|
+
{
|
|
7
|
+
"title": "♻️ Refactoring",
|
|
8
|
+
"audience": "dev",
|
|
9
|
+
"items": [
|
|
10
|
+
{
|
|
11
|
+
"description": "Move the top-level comma splitter into adoption (#551)",
|
|
12
|
+
"body": "Adds `listTopLevelSpans` to `packages/adoption`, which splits a range of text at its top-level commas and returns each item as a `TextSpan` of offsets into the text, and builds `listTopLevelArguments` and the `strings` kit's `listElementSpans` on it in place of the bracket-depth loop that each kept.",
|
|
13
|
+
"hash": "c71219c67120d52411552a0262858f7dcb332145"
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
17
|
+
]
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"version": "0.7.2",
|
|
21
|
+
"date": "2026-11-12",
|
|
22
|
+
"sections": [
|
|
23
|
+
{
|
|
24
|
+
"title": "🐛 Bug fixes",
|
|
25
|
+
"audience": "all",
|
|
26
|
+
"items": [
|
|
27
|
+
{
|
|
28
|
+
"description": "Share one function-literal reader across the readiness kits (#470)",
|
|
29
|
+
"body": "Fixes the issue that the biased-shuffle check in the `@williamthorsen/toolbelt.arrays` ReadyUp kit missed an inline `function` comparator whose parameter list contains braces, such as `function (a: { n: number }, b: { n: number }) { return Math.random() - 0.5; }`. The change moves the function-literal parsing of the `arrays`, `async`, and `vitest` kits into one shared reader in `adoption`, which finds a `function` expression's body past the braces in its parameter list.",
|
|
30
|
+
"hash": "4a68ebf4d8baeac202267ac3c245a1b0d9e4dc51"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"description": "Claim a trailing-comma setTimeout as a hand-rolled sleep (#487)",
|
|
34
|
+
"body": "Fixes the issue that the `@williamthorsen/toolbelt.async` ReadyUp kit did not report a hand-rolled sleep whose `setTimeout` call ends in a trailing comma, such as `setTimeout(resolve, 50,)`, as a candidate for `delay`. Replaces the two private copies of the argument splitter, which disagreed on the trailing comma, with one splitter in `packages/adoption` that the async and numbers kits both import.",
|
|
35
|
+
"hash": "db112149e3d49fc681053081af06e391f87ef1f1"
|
|
36
|
+
}
|
|
37
|
+
]
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"title": "🧪 Tests",
|
|
41
|
+
"audience": "dev",
|
|
42
|
+
"items": [
|
|
43
|
+
{
|
|
44
|
+
"description": "Adds `createKitFixture`, which creates a tracked repo, points `process.cwd()` at it, and lists a kit's checks imported afresh, and `runEveryCheck`, which returns every check's report in order, to `@williamthorsen/toolbelt.adoption/test-utils`, and rewrites the kit tests in `src/readiness/__tests__/kit.tool.test.ts` to replace the repeated `createTrackedRepo`, `pointCwdAt`, and `listFreshKitChecks` calls with them. (#469)",
|
|
45
|
+
"hash": "5f71996e7e3137192e24c5936de1bfa1595af760",
|
|
46
|
+
"entry": 1
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"title": "📦 Dependencies",
|
|
52
|
+
"audience": "dev",
|
|
53
|
+
"items": [
|
|
54
|
+
{
|
|
55
|
+
"description": "Upgrades the catalog's `readyup` from 0.45.1 to 0.46.0 and recompiles each package's `.readyup/kits/default.js` and `.readyup/manifest.json`, because the bundled check utilities changed: `readFile` no longer throws `EISDIR` for a directory path. (#537)",
|
|
56
|
+
"hash": "14d6595f23ea08f7218fc9a4f127039a1a4e6c16",
|
|
57
|
+
"entry": 1
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
]
|
|
62
|
+
},
|
|
2
63
|
{
|
|
3
64
|
"version": "0.7.1",
|
|
4
65
|
"date": "2026-11-09",
|
package/.readyup/kits/default.js
CHANGED
package/.readyup/manifest.json
CHANGED
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"path": "../../adoption/src/kits/defineAdoptionKit.ts"
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
|
-
"hash": "
|
|
35
|
+
"hash": "a8c9ffb5",
|
|
36
36
|
"kind": "module",
|
|
37
37
|
"path": "../../adoption/src/mod.ts"
|
|
38
38
|
},
|
|
@@ -56,6 +56,16 @@
|
|
|
56
56
|
"kind": "module",
|
|
57
57
|
"path": "../../adoption/src/portable/listTemplateLiterals.ts"
|
|
58
58
|
},
|
|
59
|
+
{
|
|
60
|
+
"hash": "7964ec20",
|
|
61
|
+
"kind": "module",
|
|
62
|
+
"path": "../../adoption/src/portable/listTopLevelArguments.ts"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"hash": "d4160914",
|
|
66
|
+
"kind": "module",
|
|
67
|
+
"path": "../../adoption/src/portable/listTopLevelSpans.ts"
|
|
68
|
+
},
|
|
59
69
|
{
|
|
60
70
|
"hash": "a5dc0993",
|
|
61
71
|
"kind": "module",
|
|
@@ -66,6 +76,11 @@
|
|
|
66
76
|
"kind": "module",
|
|
67
77
|
"path": "../../adoption/src/portable/readBalancedGroup.ts"
|
|
68
78
|
},
|
|
79
|
+
{
|
|
80
|
+
"hash": "d20d533a",
|
|
81
|
+
"kind": "module",
|
|
82
|
+
"path": "../../adoption/src/portable/readFunctionLiteral.ts"
|
|
83
|
+
},
|
|
69
84
|
{
|
|
70
85
|
"hash": "81846f1a",
|
|
71
86
|
"kind": "module",
|
|
@@ -94,10 +109,10 @@
|
|
|
94
109
|
],
|
|
95
110
|
"name": "default",
|
|
96
111
|
"path": "kits/default.js",
|
|
97
|
-
"readyupVersion": "0.
|
|
112
|
+
"readyupVersion": "0.46.2",
|
|
98
113
|
"source": "kits/default.ts",
|
|
99
114
|
"sourceHash": "9b6938d1",
|
|
100
|
-
"targetHash": "
|
|
115
|
+
"targetHash": "37fb1466"
|
|
101
116
|
}
|
|
102
117
|
]
|
|
103
118
|
}
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,34 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
|
|
5
|
+
## 0.7.3 — 2026-11-12
|
|
6
|
+
|
|
7
|
+
### ♻️ Refactoring
|
|
8
|
+
|
|
9
|
+
- Move the top-level comma splitter into adoption (#551)
|
|
10
|
+
|
|
11
|
+
Adds `listTopLevelSpans` to `packages/adoption`, which splits a range of text at its top-level commas and returns each item as a `TextSpan` of offsets into the text, and builds `listTopLevelArguments` and the `strings` kit's `listElementSpans` on it in place of the bracket-depth loop that each kept.
|
|
12
|
+
|
|
13
|
+
## 0.7.2 — 2026-11-12
|
|
14
|
+
|
|
15
|
+
### 🐛 Bug fixes
|
|
16
|
+
|
|
17
|
+
- Share one function-literal reader across the readiness kits (#470)
|
|
18
|
+
|
|
19
|
+
Fixes the issue that the biased-shuffle check in the `@williamthorsen/toolbelt.arrays` ReadyUp kit missed an inline `function` comparator whose parameter list contains braces, such as `function (a: { n: number }, b: { n: number }) { return Math.random() - 0.5; }`. The change moves the function-literal parsing of the `arrays`, `async`, and `vitest` kits into one shared reader in `adoption`, which finds a `function` expression's body past the braces in its parameter list.
|
|
20
|
+
|
|
21
|
+
- Claim a trailing-comma setTimeout as a hand-rolled sleep (#487)
|
|
22
|
+
|
|
23
|
+
Fixes the issue that the `@williamthorsen/toolbelt.async` ReadyUp kit did not report a hand-rolled sleep whose `setTimeout` call ends in a trailing comma, such as `setTimeout(resolve, 50,)`, as a candidate for `delay`. Replaces the two private copies of the argument splitter, which disagreed on the trailing comma, with one splitter in `packages/adoption` that the async and numbers kits both import.
|
|
24
|
+
|
|
25
|
+
### 🧪 Tests
|
|
26
|
+
|
|
27
|
+
- Adds `createKitFixture`, which creates a tracked repo, points `process.cwd()` at it, and lists a kit's checks imported afresh, and `runEveryCheck`, which returns every check's report in order, to `@williamthorsen/toolbelt.adoption/test-utils`, and rewrites the kit tests in `src/readiness/__tests__/kit.tool.test.ts` to replace the repeated `createTrackedRepo`, `pointCwdAt`, and `listFreshKitChecks` calls with them. (#469)
|
|
28
|
+
|
|
29
|
+
### 📦 Dependencies
|
|
30
|
+
|
|
31
|
+
- Upgrades the catalog's `readyup` from 0.45.1 to 0.46.0 and recompiles each package's `.readyup/kits/default.js` and `.readyup/manifest.json`, because the bundled check utilities changed: `readFile` no longer throws `EISDIR` for a directory path. (#537)
|
|
32
|
+
|
|
5
33
|
## 0.7.1 — 2026-11-09
|
|
6
34
|
|
|
7
35
|
### ♻️ Refactoring
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@williamthorsen/toolbelt.packaging",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.3",
|
|
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",
|
|
@@ -46,15 +46,15 @@
|
|
|
46
46
|
".meta/changelog.json"
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@williamthorsen/toolbelt.filesystem": "0.10.
|
|
50
|
-
"@williamthorsen/toolbelt.objects": "4.4.
|
|
49
|
+
"@williamthorsen/toolbelt.filesystem": "0.10.3",
|
|
50
|
+
"@williamthorsen/toolbelt.objects": "4.4.3"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@williamthorsen/toolbelt.adoption": "0.1.0",
|
|
54
|
-
"@williamthorsen/toolbelt.strings": "8.2.
|
|
55
|
-
"@williamthorsen/toolbelt.testing": "0.8.
|
|
54
|
+
"@williamthorsen/toolbelt.strings": "8.2.4",
|
|
55
|
+
"@williamthorsen/toolbelt.testing": "0.8.3",
|
|
56
56
|
"esbuild": "0.28.2",
|
|
57
|
-
"readyup": "0.
|
|
57
|
+
"readyup": "0.46.2"
|
|
58
58
|
},
|
|
59
59
|
"engines": {
|
|
60
60
|
"node": ">=24.0.0"
|