@orkestrel/guide 0.0.9 → 0.0.10
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 +3 -3
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# @orkestrel/guide
|
|
2
2
|
|
|
3
3
|
A guides-parity **test helper** for `@orkestrel` packages. Add it as a
|
|
4
|
-
devDependency, drop one short test file into `tests/guides
|
|
4
|
+
devDependency, drop one short test file into `tests/guides.test.ts`,
|
|
5
5
|
wire a vitest `guides` project, and thereafter every guide is proven —
|
|
6
6
|
mechanically, in CI, as ordinary vitest assertions — to be in **bijection**
|
|
7
7
|
with the code it documents: every documented export exists in source and
|
|
@@ -24,12 +24,12 @@ npm install -D @orkestrel/guide
|
|
|
24
24
|
## Usage
|
|
25
25
|
|
|
26
26
|
The entire consumer-side footprint is one short test file. An excerpt of the
|
|
27
|
-
drop-in pattern (`tests/guides
|
|
27
|
+
drop-in pattern (`tests/guides.test.ts`):
|
|
28
28
|
|
|
29
29
|
The consumer supplies the file inventory `Source` reflects over. The inventory
|
|
30
30
|
below is an illustrative, non-runnable placeholder until the consumer supplies
|
|
31
31
|
real workspace text; the complete runnable implementation is
|
|
32
|
-
[`tests/guides
|
|
32
|
+
[`tests/guides.test.ts`](tests/guides.test.ts).
|
|
33
33
|
|
|
34
34
|
```ts
|
|
35
35
|
import { expect, it } from 'vitest'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@orkestrel/guide",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "Guides-parity test helpers — prove a package's guides are in bijection with the code they document: surface and methods bijection, link integrity, and non-vacuous extraction, built on @orkestrel/markdown. Part of the @orkestrel line.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"bijection",
|
|
@@ -66,13 +66,13 @@
|
|
|
66
66
|
"prepublishOnly": "npm run format:check && npm run lint:check && npm run check && npm run build && npm test"
|
|
67
67
|
},
|
|
68
68
|
"dependencies": {
|
|
69
|
-
"@orkestrel/contract": "^0.0.
|
|
70
|
-
"@orkestrel/markdown": "^0.0.
|
|
69
|
+
"@orkestrel/contract": "^0.0.11",
|
|
70
|
+
"@orkestrel/markdown": "^0.0.8"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
73
|
"@microsoft/api-extractor": "^7.58.12",
|
|
74
|
-
"@orkestrel/guide": "^0.0.
|
|
75
|
-
"@orkestrel/scaffold": "^0.0.
|
|
74
|
+
"@orkestrel/guide": "^0.0.9",
|
|
75
|
+
"@orkestrel/scaffold": "^0.0.26",
|
|
76
76
|
"@types/node": "^26.1.2",
|
|
77
77
|
"@vitest/browser-playwright": "^4.1.10",
|
|
78
78
|
"oxfmt": "^0.62.0",
|