@orkestrel/guide 0.0.1

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 ADDED
@@ -0,0 +1,74 @@
1
+ {
2
+ "name": "@orkestrel/guide",
3
+ "version": "0.0.1",
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
+ "keywords": [
6
+ "bijection",
7
+ "documentation",
8
+ "guides",
9
+ "markdown",
10
+ "parity",
11
+ "testing",
12
+ "typescript",
13
+ "vitest"
14
+ ],
15
+ "homepage": "https://github.com/orkestrel/guide#readme",
16
+ "bugs": "https://github.com/orkestrel/guide/issues",
17
+ "license": "MIT",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/orkestrel/guide.git"
21
+ },
22
+ "files": [
23
+ "dist",
24
+ "README.md"
25
+ ],
26
+ "type": "module",
27
+ "sideEffects": false,
28
+ "main": "./dist/src/core/index.js",
29
+ "types": "./dist/src/core/index.d.ts",
30
+ "exports": {
31
+ ".": {
32
+ "types": "./dist/src/core/index.d.ts",
33
+ "import": "./dist/src/core/index.js",
34
+ "default": "./dist/src/core/index.js"
35
+ },
36
+ "./package.json": "./package.json"
37
+ },
38
+ "publishConfig": {
39
+ "access": "public"
40
+ },
41
+ "scripts": {
42
+ "clean": "node -e \"try{require('node:fs').rmSync('dist',{recursive:true,force:true})}catch{}\"",
43
+ "copy": "node -e \"const fs=require('node:fs'),p=require('node:path'),a=process.argv[1],b=process.argv[2];fs.mkdirSync(p.dirname(b),{recursive:true});fs.cpSync(a,b,{force:true});console.log('Copied: '+a+' to '+b)\"",
44
+ "tmp:txt": "node -e \"const fs=require('node:fs'),p=require('node:path');function walk(d){for(const e of fs.readdirSync(d,{withFileTypes:true})){const f=p.join(d,e.name);if(e.isDirectory()){walk(f)}else if(!e.name.endsWith('.md')&&!e.name.endsWith('.txt')){const t=f+'.txt';if(!fs.existsSync(t)){fs.renameSync(f,t)}else{console.warn('Skipping '+f+' — target exists: '+t)}}}}try{walk('tmp')}catch(e){if(e.code!=='ENOENT')throw e}\"",
45
+ "lint": "oxlint --config .oxlintrc.json --fix .",
46
+ "check": "tsc --noEmit --project tsconfig.json",
47
+ "check:src": "npm run check:src:core",
48
+ "check:src:core": "tsc --noEmit -p configs/src/tsconfig.core.json",
49
+ "format": "oxfmt --config .oxfmtrc.json --write .",
50
+ "format:check": "oxfmt --config .oxfmtrc.json --check .",
51
+ "lint:check": "oxlint --config .oxlintrc.json .",
52
+ "test": "npm run test:src && npm run test:guides",
53
+ "test:src": "vitest run --config vite.config.ts --reporter=dot --project src:core",
54
+ "test:guides": "vitest run --config vite.config.ts --reporter=dot --project guides",
55
+ "build": "npm run clean && npm run build:src",
56
+ "build:src": "vite build --config configs/src/vite.core.config.ts && tsc -p configs/src/tsconfig.core.json",
57
+ "prepublishOnly": "npm run format:check && npm run lint:check && npm run check && npm run check:src && npm run build && npm test"
58
+ },
59
+ "dependencies": {
60
+ "@orkestrel/contract": "^0.0.1",
61
+ "@orkestrel/markdown": "^0.0.1"
62
+ },
63
+ "devDependencies": {
64
+ "@types/node": "^26.1.1",
65
+ "oxfmt": "^0.58.0",
66
+ "oxlint": "^1.73.0",
67
+ "typescript": "^6.0.3",
68
+ "vite": "^8.1.4",
69
+ "vitest": "^4.1.10"
70
+ },
71
+ "engines": {
72
+ "node": ">=24"
73
+ }
74
+ }