Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
194 lines (194 loc) · 10.8 KB
/
Copy pathpackage.json
File metadata and controls
194 lines (194 loc) · 10.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
{
"name": "@cluesurf/term",
"main": "./host/line.js",
"type": "module",
"version": "2.10.2",
"description": "A reactive modeling language Ψ",
"license": "Apache-2.0",
"repository": "github:cluesurf/term",
"keywords": [
"programming language",
"modeling language",
"compiler",
"tree"
],
"archive": {
"identifier": "term-code",
"title": "Term",
"cover": "view/term.svg"
},
"bin": {
"term": "./host/line.js"
},
"scripts": {
"make": "pnpm run make:line",
"scan": "concurrently --kill-others \"tsc -w\" \"tsc-alias -w\"",
"test": "vitest run",
"lint": "bash task/lint.sh",
"lint:check": "bash task/lint.sh --check",
"format": "prettier --write \"deck/**/code/**/*.ts\" \"test/**/*.ts\" \"*.ts\"",
"host": "pnpm run make && pnpm publish --access public",
"install:all": "pnpm install && (cd deck/deck && pnpm install) && (cd deck/mill && pnpm install) && (cd deck/base && pnpm install) && (cd deck/flow && pnpm install --ignore-workspace)",
"make:port": "pnpm exec tsx task/port-build.ts --units",
"stage0:pin": "pnpm exec tsx task/stage0.ts pin",
"stage0:show": "pnpm exec tsx task/stage0.ts show",
"make:load": "pnpm run make:port && node host/line.js boot task/make-load.tree -- write",
"bind": "node host/line.js bind",
"release": "node host/line.js boot task/release.tree -- release",
"make:line": "node --experimental-strip-types --disable-warning=ExperimentalWarning task/term/line-lock.ts run --script make:line:steps",
"make:line:steps": "pnpm run make:port && pnpm exec esbuild deck/call/host/port/code/line/base-run.ts --bundle --platform=node --format=esm --packages=external --tsconfig=tsconfig.json --outfile=host/line.js --metafile=.base/@term/code/line-meta.json --banner:js='#!/usr/bin/env node' && pnpm exec esbuild deck/call/host/port/code/work/hook/running.ts --bundle --platform=node --format=esm --packages=external --tsconfig=tsconfig.json --outfile=host/dock.mjs --metafile=.base/@term/code/dock-meta.json &&pnpm exec esbuild deck/call/host/port/code/work/need/version-dispatch.ts --bundle --platform=node --format=esm --packages=external --tsconfig=tsconfig.json --outfile=host/need.mjs --metafile=.base/@term/code/need-meta.json &&pnpm exec esbuild deck/call/host/port/code/work/need/choice-report.ts --bundle --platform=node --format=esm --packages=external --tsconfig=tsconfig.json --outfile=host/need-hand.mjs --metafile=.base/@term/code/need-hand-meta.json &&pnpm exec esbuild deck/call/host/port/code/work/workers/file-worker.ts --bundle --platform=node --format=esm --packages=external --tsconfig=tsconfig.json --outfile=host/build-worker.mjs --metafile=.base/@term/code/build-worker-meta.json &&pnpm exec esbuild deck/call/host/port/code/work/workers/unit-worker.ts --bundle --platform=node --format=esm --packages=external --tsconfig=tsconfig.json --outfile=host/separate-worker.mjs --metafile=.base/@term/code/separate-worker-meta.json &&node host/line.js boot task/line-imports.tree -- check",
"prepublishOnly": "pnpm run make",
"term:test": "pnpm run make:port && tsx task/term/test.ts",
"term:bench": "node host/line.js boot task/bench.tree -- time",
"term:idiom": "node host/line.js boot task/idiom.tree -- count",
"term:mark": "node host/line.js mark",
"term:release": "node host/line.js boot task/release.tree -- release",
"term:distro": "node host/line.js boot task/distro.tree -- pack",
"term:index-revoke": "node host/line.js boot task/index-revoke.tree -- revoke",
"term:laziness": "node host/line.js boot task/laziness.tree -- check",
"term:mill-forms": "tsx task/term/mill-forms.ts",
"term:asset-declarations": "node --experimental-strip-types --disable-warning=ExperimentalWarning --disable-warning=MODULE_TYPELESS_PACKAGE_JSON task/term/asset-declarations.ts",
"term:unknown-types": "tsx task/term/unknown-types.ts",
"term:rust": "bash deck/base/code/native/toolchain/rust.sh",
"term:swift": "bash deck/base/code/native/toolchain/swift.sh",
"term:kotlin": "bash deck/base/code/native/toolchain/kotlin.sh",
"term:cache-hit": "tsx task/term/cache-hit.ts",
"term:cache-scope": "tsx task/term/cache-scope.ts",
"term:separate-diff": "tsx task/term/separate-diff.ts",
"term:edit-replay": "tsx task/term/edit-replay.ts",
"term:edit-replay-callers": "tsx task/term/edit-replay-callers.ts",
"term:incremental-bench": "tsx task/term/incremental-bench.ts",
"term:trace-measure": "tsx task/term/trace-measure.ts",
"term:roll-fast": "tsx task/term/roll-fast.ts",
"term:roll-cover": "tsx task/term/roll-cover.ts",
"term:roll-units": "tsx task/term/roll-units.ts",
"term:native-gate": "tsx task/term/native-gate.ts",
"term:base-gate": "tsx task/term/base-gate.ts",
"term:regex-differential": "PATTERN_COUNT=2000 PATTERN_SEED=7 PATTERN_NATIVE=node,rust,swift,kotlin tsx test/compile/pattern.ts",
"term:pattern-unicode": "tsx task/term/pattern-unicode.ts",
"term:pattern-bench": "tsx task/term/pattern-bench.ts",
"term:base-marks": "tsx task/term/base-marks.ts",
"term:guide-gaps": "tsx task/term/guide-gaps.ts",
"term:generalize-bench": "tsx task/term/generalize-bench.ts",
"term:inference-census": "tsx task/term/inference-census.ts",
"term:length-migrate": "tsx task/term/length-migrate.ts",
"term:param-type-migrate": "tsx task/term/param-type-migrate.ts",
"term:decimal-migrate": "tsx task/term/decimal-migrate.ts",
"term:guard-migrate": "tsx task/term/guard-migrate.ts",
"term:kink-migrate": "tsx task/term/kink-migrate.ts",
"term:like-nest-migrate": "tsx task/term/like-nest-migrate.ts",
"term:step-census": "tsx task/term/step-census.ts",
"term:digits-table": "tsx task/term/digits-table.ts",
"term:sorted-map-bench": "tsx task/term/sorted-map-bench.ts",
"term:base-reference": "tsx task/term/base-reference.ts",
"term:cask-bench": "tsx task/term/cask/bench.ts",
"term:device": "tsx task/term/cask/device.ts",
"term:cask-generate": "tsx task/term/cask/generate.ts",
"term:cask-mac": "tsx task/term/cask-mac.ts",
"term:native-emit": "tsx task/term/native-emit.ts",
"term:native-entry": "tsx task/term/native-entry.ts",
"term:native-render": "sh task/term/native-render.sh",
"term:native-surface": "tsx task/term/native-surface.ts",
"make:native": "tsx task/term/native-build.ts",
"term:native-verbs": "tsx task/term/native-verbs.ts",
"term:emit-check": "tsx task/term/check-emitted-types.ts",
"term:name-clash": "tsx task/term/name-clash.ts",
"term:lean-port": "tsx task/term/lean-port.ts",
"term:mill-coverage": "tsx task/term/mill-coverage.ts",
"term:cache": "tsx task/term/cache.ts",
"term:mint-parity": "tsx task/term/mint-parity.ts",
"term:call-arity": "tsx task/term/call-arity.ts deck",
"term:bind": "node host/line.js bind",
"term:build-all": "tsx task/term/build-all.ts",
"term:cli-coverage": "tsx task/term/cli-coverage.ts",
"term:cli-drift": "tsx task/term/cli-drift.ts",
"term:need-bench": "tsx task/term/need-bench.ts",
"term:prior-art": "tsx task/term/prior-art.ts",
"term:install-bench": "tsx task/term/install-bench.ts",
"term:publish-decks": "tsx task/term/publish-decks.ts",
"term:cli-port": "tsx task/term/cli-port.ts",
"term:self-host": "tsx task/term/self-host.ts",
"term:left": "tsx task/term/self-host-left.ts",
"term:fixpoint": "tsx task/term/fixpoint.ts",
"term:boot": "tsx task/term/boot.ts",
"term:prelude-names": "tsx task/term/prelude-names.ts",
"term:line-lock": "node --experimental-strip-types --disable-warning=ExperimentalWarning task/term/line-lock.ts",
"term:builder-closure": "tsx task/term/builder-closure.ts",
"term:collection-writes": "tsx task/term/collection-writes.ts",
"term:port-native": "tsx task/term/port-native.ts",
"term:startup": "tsx task/term/startup.ts",
"term:port-order": "tsx task/term/port-order.ts",
"term:floor": "tsx task/term/floor.ts",
"term:host-text": "tsx task/term/host-text.ts",
"term:alias-count": "tsx task/term/alias-count.ts",
"term:dock-aliases": "tsx task/term/dock-aliases.ts",
"term:type-shapes": "tsx task/term/type-shapes.ts",
"term:lean-convert": "tsx task/term/lean-convert.ts",
"term:lean-equal": "tsx task/term/lean-equal.ts",
"term:comma-migrate": "tsx task/term/comma-migrate.ts",
"term:short-loads": "tsx task/term/short-loads.ts",
"term:manifest-mark": "tsx task/term/manifest-mark.ts",
"term:await-migrate": "tsx task/term/await-migrate.ts",
"term:mark-metadata": "tsx task/term/mark-metadata.ts",
"term:seat-migrate": "tsx task/term/seat-migrate.ts",
"term:mill-move": "tsx task/term/mill-move.ts",
"term:grammar-bundle": "tsx task/term/grammar-bundle.ts",
"term:latex-table": "tsx task/term/latex-table.ts",
"term:latex-katex": "tsx task/term/latex-katex.ts",
"term:grammar-compile": "tsx task/term/grammar-compile.ts",
"term:feed-move": "tsx task/term/feed-move.ts",
"term:view-census": "tsx task/term/view-census.ts",
"term:scope-census": "tsx task/term/scope-census.ts",
"term:find-migrate": "tsx task/term/find-migrate.ts",
"term:view-conformance": "tsx task/term/view-conformance.ts",
"term:text-golden": "tsx test/compile/text-golden.ts",
"term:terminal-smoke": "tsx test/view/terminal-pty.ts",
"term:one-parser": "tsx task/term/one-parser.ts",
"term:stream-memory": "NODE_OPTIONS=\"--expose-gc --max-old-space-size=32\" tsx test/parser/stream-memory.ts",
"term:build-memory": "NODE_OPTIONS=\"--expose-gc --max-old-space-size=8192\" tsx test/compile/build-memory.ts",
"term:mint-scaffold": "tsx task/term/mint-scaffold.ts",
"term:mill-bundle": "tsx task/term/mill-bundle.ts",
"term:find-linux": "tsx task/term/cask/find-linux.ts",
"term:cask-droplet": "tsx task/term/cask/droplet.ts",
"term:cask-windows-check": "tsx task/term/cask/windows-check.ts",
"term:self-contained": "node --experimental-strip-types --no-warnings task/term/self-contained.ts"
},
"prettier": "@cluesurf/wash/flow.json",
"dependencies": {
"@hono/node-server": "^2.1.6",
"chalk": "^5.4.1",
"esbuild": "^0.28.1",
"hono": "^4.13.16"
},
"devDependencies": {
"@cluesurf/wash": "^0.9.0",
"@types/node": "^22.19.13",
"@types/pg": "^8.11.10",
"concurrently": "^10.0.3",
"eslint": "^9.39.4",
"jiti": "^2.7.0",
"js-yaml": "^4.3.0",
"prettier": "^3.8.4",
"tsc-alias": "^1.8.17",
"tsx": "^4.11.0",
"typescript": "^5.9.3",
"vite": "^7.3.5",
"vitest": "^4.1.12",
"yargs": "^18.0.0",
"z3-solver": "^4.16.0"
},
"types": "./host/line.d.ts",
"exports": {
".": {
"types": "./host/line.d.ts",
"default": "./host/line.js"
}
},
"files": [
"host",
"deck/base/code",
"!deck/base/code/native/*/.build",
"!deck/base/code/native/*/target",
"!**/*.tsbuildinfo*"
]
}