-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
199 lines (199 loc) · 9.2 KB
/
Copy pathpackage.json
File metadata and controls
199 lines (199 loc) · 9.2 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
195
196
197
198
199
{
"name": "@git-stunts/git-warp",
"version": "19.0.1",
"description": "Git-native causal history runtime for intent writes, timeline reads, and receipts.",
"type": "module",
"license": "Apache-2.0",
"author": "James Ross <james@flyingrobots.dev>",
"repository": {
"type": "git",
"url": "git+https://github.com/git-stunts/git-warp.git"
},
"homepage": "https://github.com/git-stunts/git-warp#readme",
"bugs": {
"url": "https://github.com/git-stunts/git-warp/issues"
},
"engines": {
"node": ">=22.0.0"
},
"sideEffects": false,
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"bin": {
"git-warp": "./bin/git-warp",
"git-warp-v18-to-v19": "./dist/scripts/v18-to-v19/migrate.js"
},
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js"
},
"./advanced": {
"types": "./dist/advanced.d.ts",
"import": "./dist/advanced.js",
"default": "./dist/advanced.js"
},
"./diagnostics": {
"types": "./dist/diagnostics.d.ts",
"import": "./dist/diagnostics.js",
"default": "./dist/diagnostics.js"
},
"./charts": {
"types": "./dist/charts.d.ts",
"import": "./dist/charts.js",
"default": "./dist/charts.js"
},
"./testing": {
"types": "./dist/testing.d.ts",
"import": "./dist/testing.js",
"default": "./dist/testing.js"
},
"./package.json": "./package.json"
},
"files": [
"dist",
"bin/git-warp",
"docs",
"README.md",
"CHANGELOG.md",
"LICENSE",
"NOTICE",
"scripts/hooks/post-merge.sh",
"scripts/install-git-warp.sh",
"scripts/uninstall-git-warp.sh"
],
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "node -e \"require('node:fs').rmSync('dist', { recursive: true, force: true })\" && tsc -p tsconfig.publish.json",
"generate:vocabulary-ir": "node scripts/GenerateV19VocabularyIr.ts",
"check:vocabulary-ir": "node scripts/GenerateV19VocabularyIr.ts --check",
"generate:capabilities": "node scripts/GenerateV19CapabilityContract.ts",
"check:capabilities": "node scripts/GenerateV19CapabilityContract.ts --check",
"generate:sdk-fixture": "node scripts/generated-sdk/GenerateUsersSdkFixture.ts",
"check:sdk-fixture": "node scripts/generated-sdk/GenerateUsersSdkFixture.ts --check",
"lint": "sh -c 'eslint . \"$@\" && npm run lint:test-law && npm run lint:source-size && npm run lint:cas-invariants' --",
"lint:ratchet": "sh scripts/lint-ratchet.sh",
"lint:md": "markdownlint \"**/*.md\" --ignore node_modules --ignore \"**/node_modules/**\" && npm run lint:mermaid",
"lint:mermaid": "node scripts/validate-mermaid.ts",
"lint:md:code": "node scripts/lint-markdown-code-samples.ts",
"lint:docs-topology": "bash scripts/check-docs-topology.sh && npm run lint:source-backed-reference",
"lint:links": "lychee --config .lychee.toml --include-fragments '**/*.md'",
"lint:semgrep": "node scripts/lint-semgrep-with-quarantines.ts",
"lint:sludge": "bash scripts/check-anti-sludge.sh",
"lint:test-law": "node scripts/lint-test-vacuous-returns.ts",
"lint:cas-invariants": "node scripts/check-storage-ownership.ts",
"lint:source-size": "node scripts/source-size-gate.ts",
"lint:source-backed-reference": "node scripts/check-source-backed-reference.ts",
"lint:source-version-names": "node scripts/source-version-name-policy.ts",
"lint:contamination": "node scripts/contamination-map.ts",
"lint:quarantine-graduate": "node scripts/quarantine-graduate-check.ts",
"format": "prettier --write .",
"test": "sh -c 'if [ \"$GIT_STUNTS_DOCKER\" = \"1\" ]; then vitest run test/unit \"$@\"; else docker compose -f docker/docker-compose.yml run --build --rm test npm run test:local -- \"$@\"; fi' --",
"test:local": "node scripts/run-stable-unit-tests.ts",
"test:local:raw": "vitest run test/unit",
"test:watch": "vitest",
"test:coverage": "GIT_WARP_UPDATE_COVERAGE_RATCHET=1 vitest run --coverage test/unit test/conformance/v18*Optic*.test.ts",
"test:coverage:ci": "vitest run --coverage test/unit test/conformance/v18*Optic*.test.ts",
"test:v19-acceptance": "node scripts/RunV19AcceptanceGates.ts",
"test:sdk-fixture": "bash scripts/smoke-generated-sdk.sh",
"benchmark": "sh -c 'if [ \"$GIT_STUNTS_DOCKER\" = \"1\" ]; then vitest bench --run test/benchmark \"$@\"; else docker compose -f docker/docker-compose.yml run --build --rm test npm run benchmark:local -- \"$@\"; fi' --",
"benchmark:local": "vitest bench --run test/benchmark",
"benchmark:merge-conflicts": "vitest run test/benchmark/MergeConflictCorpus.benchmark.ts",
"benchmark:detached-reads": "vitest run test/benchmark/DetachedReadBoundary.benchmark.ts",
"benchmark:trie-geometry": "GIT_WARP_PROFILE=1 vitest run test/unit/benchmark/TrieGeometryProfile.profile.test.ts",
"performance:measure": "npm run build --silent && node dist/scripts/performance/RunPerformance.js",
"performance:compare": "npm run build --silent && node dist/scripts/performance/RunPerformanceComparison.js",
"performance:gate": "npm run build --silent && node dist/scripts/performance/GatePerformance.js",
"performance:streaming": "npm run build --silent && node dist/scripts/performance/RunStreamingPerformance.js",
"performance:migrated-read": "npm ci --prefix fixtures/v18/retained-substrate-medium --ignore-scripts && npm run build --silent && node dist/scripts/v18-to-v19/performance/RunMigratedReadPerformance.js",
"migrate:v18-to-v19": "npm run build --silent && node dist/scripts/v18-to-v19/migrate.js",
"setup:hooks": "node scripts/setup-hooks.ts",
"prepare": "patch-package && node scripts/setup-hooks.ts",
"prepack": "npm run build && npm run lint && npm run test:local && npm run typecheck:consumer",
"release:guard": "bash scripts/release-guard.sh",
"release:prep": "bash scripts/release-preflight.sh --stage prep-pr",
"release:preflight": "bash scripts/release-preflight.sh --stage final-local",
"issue:triage": "node scripts/issue-triage-report.ts",
"issue:dead-exports": "node scripts/dead-export-report.ts",
"upgrade": "npm run build --silent && node dist/scripts/upgrade-v16-to-v17.js",
"install:git-warp": "bash scripts/install-git-warp.sh",
"uninstall:git-warp": "bash scripts/uninstall-git-warp.sh",
"test:node20": "docker compose -f docker/docker-compose.test.yml --profile node20 run --build --rm test-node20",
"test:node22": "docker compose -f docker/docker-compose.test.yml --profile node22 run --build --rm test-node22",
"test:integration:ci": "vitest run test/integration --exclude test/integration/api/content-attachment.test.ts --maxWorkers=2 && vitest run test/integration/api/content-attachment.test.ts --maxWorkers=1",
"test:node22:ci": "GIT_STUNTS_DOCKER=1 sh -c 'npm run test:local && npm run test:integration:ci && bats test/bats/'",
"test:bun": "docker compose -f docker/docker-compose.test.yml --profile bun run --build --rm test-bun",
"test:deno": "docker compose -f docker/docker-compose.test.yml --profile deno run --build --rm test-deno",
"test:matrix": "docker compose -f docker/docker-compose.test.yml --profile full up --build --abort-on-container-exit",
"typecheck": "tsc --noEmit -p tsconfig.src.json && tsc --noEmit -p tsconfig.test.json",
"typecheck:src": "tsc --noEmit -p tsconfig.src.json",
"typecheck:test": "tsc --noEmit -p tsconfig.test.json",
"typecheck:consumer": "tsc --noEmit -p test/type-check/tsconfig.json",
"typecheck:policy": "node scripts/ts-policy-check.ts",
"typecheck:surface": "npm run build --silent && node scripts/check-dts-surface.ts",
"ratchet:snapshot": "node scripts/ratchet-snapshot.ts",
"ratchet:delta": "node scripts/ratchet-delta.ts"
},
"dependencies": {
"@flyingrobots/bijou": "^7.2.0",
"@flyingrobots/bijou-node": "^7.2.0",
"@flyingrobots/bijou-tui": "^7.2.0",
"@git-stunts/alfred": "^0.10.4",
"@git-stunts/git-cas": "^6.5.5",
"@git-stunts/plumbing": "^3.2.0",
"@git-stunts/trailer-codec": "^2.1.1",
"@noble/hashes": "^2.2.0",
"boxen": "^7.1.1",
"cbor-x": "^1.6.0",
"chalk": "^5.3.0",
"cli-table3": "^0.6.3",
"elkjs": "^0.11.0",
"figures": "^6.0.1",
"roaring-wasm": "^1.1.0",
"string-width": "^7.1.0",
"wrap-ansi": "^9.0.0",
"zod": "^3.24.1"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@git-stunts/docker-guard": "^0.1.0",
"@mermaid-js/mermaid-cli": "^11.16.0",
"@types/node": "^22.15.29",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
"@vitest/coverage-v8": "^4.1.2",
"eslint": "^9.17.0",
"eslint-plugin-jsdoc": "^62.8.1",
"fast-check": "^4.5.3",
"jiti": "^2.6.1",
"markdownlint-cli": "^0.49.0",
"patch-package": "^8.0.0",
"prettier": "^3.4.2",
"typescript": "^5.9.3",
"typescript-eslint": "^8.54.0",
"vitest": "^4.0.18",
"yaml": "^2.9.0"
},
"keywords": [
"git",
"git-stunts",
"warp",
"local-first",
"crdt",
"dag",
"merkle",
"commit-graph",
"content-addressable",
"hexagonal",
"ddd",
"invisible-storage",
"empty-tree"
],
"packageManager": "npm@10",
"workspaces": [
"packages/*"
]
}