@fungi.computer/whistle 0.0.0-stage → 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/LICENSE +21 -0
- package/README.md +373 -2
- package/dist/catalog.d.ts +459 -0
- package/dist/catalog.js +147 -0
- package/dist/html.d.ts +14 -0
- package/dist/html.js +11 -0
- package/dist/index.d.ts +253 -0
- package/dist/index.js +694 -0
- package/dist/interaction.d.ts +59 -0
- package/dist/interaction.js +131 -0
- package/dist/keymap.d.ts +34 -0
- package/dist/keymap.js +36 -0
- package/dist/wire.d.ts +380 -0
- package/dist/wire.js +299 -0
- package/docs/api/README.md +17 -0
- package/docs/api/catalog.md +498 -0
- package/docs/api/html.md +45 -0
- package/docs/api/index.md +675 -0
- package/docs/api/interaction.md +124 -0
- package/docs/api/wire.md +1033 -0
- package/package.json +87 -3
package/package.json
CHANGED
|
@@ -1,6 +1,90 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fungi.computer/whistle",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"description": "
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"author": "Levi <levi@technomancy.dev>",
|
|
5
|
+
"description": "Semantic command graph, projections and wire parsing",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"sideEffects": false,
|
|
8
|
+
"main": "./dist/index.js",
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js"
|
|
14
|
+
},
|
|
15
|
+
"./wire": {
|
|
16
|
+
"types": "./dist/wire.d.ts",
|
|
17
|
+
"import": "./dist/wire.js"
|
|
18
|
+
},
|
|
19
|
+
"./interaction": {
|
|
20
|
+
"types": "./dist/interaction.d.ts",
|
|
21
|
+
"import": "./dist/interaction.js"
|
|
22
|
+
},
|
|
23
|
+
"./catalog": {
|
|
24
|
+
"types": "./dist/catalog.d.ts",
|
|
25
|
+
"import": "./dist/catalog.js"
|
|
26
|
+
},
|
|
27
|
+
"./html": {
|
|
28
|
+
"types": "./dist/html.d.ts",
|
|
29
|
+
"import": "./dist/html.js"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"files": [
|
|
33
|
+
"dist",
|
|
34
|
+
"docs/api",
|
|
35
|
+
"README.md",
|
|
36
|
+
"LICENSE"
|
|
37
|
+
],
|
|
38
|
+
"dependencies": {
|
|
39
|
+
"zod": "4.4.3"
|
|
40
|
+
},
|
|
41
|
+
"devDependencies": {
|
|
42
|
+
"@types/node": "24.13.3",
|
|
43
|
+
"typescript": "5.9.3",
|
|
44
|
+
"vitest": "4.1.11",
|
|
45
|
+
"@opentui/keymap": "0.5.10",
|
|
46
|
+
"esbuild": "0.28.2",
|
|
47
|
+
"playwright": "1.62.1"
|
|
48
|
+
},
|
|
49
|
+
"botanical": {
|
|
50
|
+
"role": "package",
|
|
51
|
+
"operations": {
|
|
52
|
+
"lint": "required",
|
|
53
|
+
"typecheck": "required",
|
|
54
|
+
"build": "required",
|
|
55
|
+
"test": "required",
|
|
56
|
+
"docs": "required",
|
|
57
|
+
"pack": "required",
|
|
58
|
+
"smoke": "required",
|
|
59
|
+
"stranger": "required"
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
"license": "MIT",
|
|
63
|
+
"peerDependencies": {
|
|
64
|
+
"@opentui/keymap": "0.5.10"
|
|
65
|
+
},
|
|
66
|
+
"peerDependenciesMeta": {
|
|
67
|
+
"@opentui/keymap": {
|
|
68
|
+
"optional": true
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
"repository": {
|
|
72
|
+
"type": "git",
|
|
73
|
+
"url": "git+https://github.com/fungi-computer/whistle.git"
|
|
74
|
+
},
|
|
75
|
+
"scripts": {
|
|
76
|
+
"lint": "eslint src test --max-warnings=0 && ../../node_modules/.bin/oxlint --config ../../oxlint.config.ts --deny-warnings src test",
|
|
77
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
78
|
+
"build": "pnpm run clean && tsc -p tsconfig.build.json",
|
|
79
|
+
"clean": "node --input-type=module --eval \"import { rm } from 'node:fs/promises'; await rm('dist', { recursive: true, force: true });\"",
|
|
80
|
+
"test": "vitest run",
|
|
81
|
+
"docs": "tsx ../../tooling/repository/src/docs/cli.ts check --root ../..",
|
|
82
|
+
"docs:write": "tsx ../../tooling/repository/src/docs/cli.ts write --root ../..",
|
|
83
|
+
"pack": "mkdir -p ../../.botanical/whistle-pack && pnpm pack --pack-destination ../../.botanical/whistle-pack",
|
|
84
|
+
"smoke": "node --input-type=module -e \"import('./dist/index.js').then(({ createWhistle }) => { if (typeof createWhistle !== 'function') process.exit(1); })\"",
|
|
85
|
+
"stranger": "tsx ../../tooling/repository/src/artifacts/cli.ts --repo-root ../.. .",
|
|
86
|
+
"format:check": "node ../../tooling/repository/scripts/format-package-check.mjs",
|
|
87
|
+
"lint:anti-slop": "node ../../tooling/repository/scripts/lint-package-anti-slop.mjs",
|
|
88
|
+
"test:html": "node test/html.browser.mjs"
|
|
89
|
+
}
|
|
6
90
|
}
|