@houserules/payload 0.2.0 → 0.2.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@houserules/payload",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "houserules: shared payload libraries, copied into .claude/scripts/lib and executed on bare node with zero runtime dependencies.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"command": "tsc -p tsconfig.payload.json && publint",
|
|
22
22
|
"files": [
|
|
23
23
|
"payload/**",
|
|
24
|
-
"!payload/**/
|
|
24
|
+
"!payload/**/__tests__/**",
|
|
25
25
|
"tsconfig.payload.json"
|
|
26
26
|
],
|
|
27
27
|
"output": [
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
],
|
|
36
36
|
"files": [
|
|
37
37
|
"payload/**/*.mts",
|
|
38
|
-
"payload/**/
|
|
38
|
+
"payload/**/__tests__/**/*.ts",
|
|
39
39
|
"tsconfig.json",
|
|
40
40
|
"tsconfig.payload.json"
|
|
41
41
|
],
|
|
@@ -71,14 +71,17 @@
|
|
|
71
71
|
"hooks"
|
|
72
72
|
],
|
|
73
73
|
"devDependencies": {
|
|
74
|
-
"@types/node": "
|
|
75
|
-
"publint": "^0.3.
|
|
74
|
+
"@types/node": "26.2.0",
|
|
75
|
+
"publint": "^0.3.24",
|
|
76
76
|
"type-fest": "^5.8.0",
|
|
77
77
|
"typescript": "^6.0.3",
|
|
78
|
-
"vitest": "^4.1.
|
|
78
|
+
"vitest": "^4.1.11",
|
|
79
79
|
"wireit": "^0.14.13",
|
|
80
|
-
"@houserules/test": "0.1.
|
|
80
|
+
"@houserules/test": "0.1.2"
|
|
81
81
|
},
|
|
82
|
+
"dependencies": {},
|
|
83
|
+
"peerDependencies": {},
|
|
84
|
+
"optionalDependencies": {},
|
|
82
85
|
"scripts": {
|
|
83
86
|
"build": "wireit",
|
|
84
87
|
"check": "wireit",
|
|
@@ -6,8 +6,8 @@ export type LedgerKind = 'backlog' | 'decisions';
|
|
|
6
6
|
* The shape every reader works in, whichever half it came from. It lives here rather than beside
|
|
7
7
|
* the code that fetches it because three packages consume it and none of them is the one that
|
|
8
8
|
* talks to GitHub: `decision-log`, `backlog-log`, and this package's own `ledger-inject`. Core
|
|
9
|
-
* owning the FORMAT is core owning an interface,
|
|
10
|
-
*
|
|
9
|
+
* owning the FORMAT is core owning an interface, and the dependency arrow still points from
|
|
10
|
+
* plugin to core.
|
|
11
11
|
*
|
|
12
12
|
* A backlog entry leaves `scope`, `under`, `supersedes`, and `supersededBy` empty. A decision
|
|
13
13
|
* leaves `issue` null. `itemId` and `status` are empty for an entry that has not reached a board.
|
|
@@ -17,7 +17,7 @@ export declare function readJson<T = PackageJson>(path: string): T | null;
|
|
|
17
17
|
* Extracts the `packages:` list from pnpm-workspace.yaml. Hand-rolled on purpose: the
|
|
18
18
|
* payload ships into user repos and runs on bare node, so it cannot import a YAML
|
|
19
19
|
* library. This is not a YAML parser. It reads one key in the shapes real workspace files
|
|
20
|
-
* use, and never throws. `
|
|
20
|
+
* use, and never throws. `__tests__/workspaces.test.ts` pins that contract case by case.
|
|
21
21
|
*
|
|
22
22
|
* Sibling top-level blocks such as `catalog:` and `catalogMode:` must not confuse it, so
|
|
23
23
|
* only lines inside the packages block are read and the block ends at the next
|
|
@@ -49,7 +49,7 @@ function splitFlow(inner) {
|
|
|
49
49
|
* Extracts the `packages:` list from pnpm-workspace.yaml. Hand-rolled on purpose: the
|
|
50
50
|
* payload ships into user repos and runs on bare node, so it cannot import a YAML
|
|
51
51
|
* library. This is not a YAML parser. It reads one key in the shapes real workspace files
|
|
52
|
-
* use, and never throws. `
|
|
52
|
+
* use, and never throws. `__tests__/workspaces.test.ts` pins that contract case by case.
|
|
53
53
|
*
|
|
54
54
|
* Sibling top-level blocks such as `catalog:` and `catalogMode:` must not confuse it, so
|
|
55
55
|
* only lines inside the packages block are read and the block ends at the next
|