-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.json
More file actions
219 lines (219 loc) · 17.4 KB
/
Copy pathdeno.json
File metadata and controls
219 lines (219 loc) · 17.4 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
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
{
"$schema": "https://deno.land/x/deno/cli/schemas/config-file.v1.json",
"workspace": [
"./packages/element",
"./packages/ui",
"./packages/adapter-vite",
"./packages/create",
"./packages/app",
"./www",
"./examples/deno-desktop-reader",
"./examples/deno-desktop-mastodon"
],
"imports": {
"@std/fs/walk": "jsr:@std/fs@^1.0.0/walk",
"@std/fs": "jsr:@std/fs@^1.0.0",
"@std/path": "jsr:@std/path@^1.0.0",
"@std/semver": "jsr:@std/semver@^1.0.0",
"@std/assert": "jsr:@std/assert@^1.0.0",
"hono": "npm:hono@^4.12",
"vite": "npm:vite@8.0.16",
"typescript": "npm:typescript@^5.9.0",
"yaml": "npm:yaml@^2.8.1",
"@playwright/test": "npm:@playwright/test@1.59.1",
"preact": "npm:preact@^10.28.0",
"@preact/signals-core": "npm:@preact/signals-core@^1.12.1",
"@lit/context": "npm:@lit/context@1.1.6",
"urlpattern-polyfill": "npm:urlpattern-polyfill@10.1.0",
"@zag-js/combobox": "npm:@zag-js/combobox@1.43.3",
"@zag-js/vanilla": "npm:@zag-js/vanilla@1.43.3",
"pagefind": "npm:pagefind@1.5.2",
"nitro": "npm:nitro@3.0.0",
"@rollup/plugin-terser": "npm:@rollup/plugin-terser@1.0.0",
"zod": "npm:zod@^3.25",
"valibot": "npm:valibot@^1.1"
},
"vendor": true,
"nodeModulesDir": "manual",
"tasks": {
"dev": "cd www && deno run --allow-read --allow-write --allow-net --allow-env --allow-ffi --allow-sys npm:vite --config vite.config.ts",
"www:dev-smoke": "deno run --allow-net --allow-run tools/smoke-www-dev.ts",
"build": "deno task generate:ui-manifest && (cd www && deno run --config ../deno.json --allow-read --allow-write --allow-net --allow-env --allow-ffi --allow-sys --allow-run ../packages/adapter-vite/src/cli/build.ts) && deno task www:apply-seo && deno task www:pagefind && deno task www:check-artifact-truth && deno task www:check-links",
"www:apply-seo": "deno run --allow-read --allow-write tools/apply-www-seo.ts",
"www:pagefind": "cd www && deno run --config ../deno.json --allow-read --allow-write --allow-run --allow-env --allow-net --allow-ffi --allow-sys build-pagefind.ts",
"preview": "cd www && deno run --allow-read --allow-write --allow-net --allow-env --allow-ffi npm:vite preview --config vite.config.ts",
"workflow:check": "deno run --allow-read --allow-run=git tools/check-project-workflow.ts && deno task v044:orchestration:check",
"v044:orchestration:check": "deno run --allow-read tools/check-v044-orchestration.ts",
"v044:executor:check": "deno run --allow-read --allow-run=kimi tools/check-v044-executor.ts",
"v044:role": "deno run --allow-read --allow-run tools/run-v044-role.ts",
"docs:check-role-neutral": "deno run --allow-read tools/check-role-neutral-docs.ts",
"workflow:check-slimming": "deno run --allow-read tools/check-workflow-slimming.ts",
"actions:check-pins": "deno run --allow-read --allow-env tools/check-action-pins.ts",
"repo:hygiene": "deno run --allow-read --allow-run=git tools/check-repo-hygiene.ts",
"docs:check-public": "deno run --allow-read tools/check-docs-truth.ts --check=public",
"docs:check-strategy": "deno run --allow-read tools/check-docs-truth.ts --check=strategic",
"docs:check-current": "deno run --allow-read tools/check-docs-truth.ts --check=current",
"docs:check-claims": "deno run --allow-read tools/check-docs-truth.ts --check=claims",
"docs:check-recipe-parity": "deno run --allow-read tools/check-supabase-recipe-parity.ts",
"release:evidence:check": "deno run --allow-read --allow-run=git tools/check-docs-truth.ts --check=evidence",
"release:truth:check": "deno run --allow-read tools/check-release-truth.ts",
"release:state-machine:check": "deno run --allow-read --allow-run=git tools/check-release-state-machine.ts",
"docs:check-version-anchors": "deno run --allow-read tools/check-version-anchors.ts",
"docs:truth": "deno run --allow-read --allow-run=git tools/check-docs-truth.ts && deno task release:truth:check && deno task docs:check-version-anchors && deno task docs:check-recipe-parity",
"www:check-current-truth": "deno run --allow-read tools/check-docs-truth.ts --check=www",
"www:check-theme-tokens": "deno run --allow-read tools/check-www-theme-tokens.ts",
"www:check-artifact-truth": "deno run --allow-read tools/check-docs-truth.ts --check=www --artifacts",
"www:check-links": "deno run --allow-read tools/check-www-links.ts",
"www:check-truth": "deno run --allow-read --allow-env tools/check-www-truth.ts",
"content:examples-check": "deno run --allow-read --allow-write --allow-env tools/check-content-examples.ts",
"package-surface:check": "deno run --allow-read --allow-env tools/check-package-surface.ts",
"interface:snapshot": "deno run --allow-read --allow-env tools/check-public-interface-snapshot.ts",
"interface:snapshot:write": "deno run --allow-read --allow-write --allow-env tools/check-public-interface-snapshot.ts --write",
"export-files:generate": "deno run --allow-read --allow-write --allow-run tools/generate-openelement-export-files.ts",
"export-files:check": "deno run --allow-read --allow-write --allow-run tools/generate-openelement-export-files.ts --check",
"signals:check-protocol-boundary": "deno run --allow-read --allow-env tools/check-signal-protocol-boundary.ts",
"fullstack:boundary-check": "deno run --allow-read --allow-run tools/check-fullstack-boundary.ts",
"fullstack:migrations-check": "deno run --allow-read tools/check-supabase-migrations.ts",
"fullstack:workspace-qualification": "deno task --cwd examples/supabase-cloudflare-starter build && deno task --cwd examples/supabase-cloudflare-starter nitro:build && deno run --allow-read --allow-write --allow-env --allow-sys --allow-net=127.0.0.1,localhost --allow-run=node,deno tools/qualify-workspace-runtime.ts",
"fullstack:evidence-freshness": "deno run --allow-env --allow-net=api.github.com tools/check-evidence-freshness.ts",
"fullstack:cloudflare-config-check": "deno test --allow-read tools/render-cloudflare-async-config.test.ts && deno task --cwd examples/supabase-cloudflare-starter build && deno task --cwd examples/supabase-cloudflare-starter nitro:build && deno run --allow-read --allow-write tools/render-cloudflare-async-config.ts examples/supabase-cloudflare-starter/wrangler.jsonc examples/supabase-cloudflare-starter/.wrangler-async.generated.json && deno run --allow-run=deno tools/run-wrangler-dry-run.ts examples/supabase-cloudflare-starter/.wrangler-async.generated.json && rm examples/supabase-cloudflare-starter/.wrangler-async.generated.json",
"arch:check": "deno run --allow-read --allow-run tools/check-architecture-contract.ts",
"lint:markdown": "deno run -A npm:markdownlint-cli2@0.23.2 \"**/*.md\"",
"deno-api:check": "deno run --allow-read --allow-env tools/check-deno-api-free.ts",
"validation:boundary-check": "deno run --allow-read --allow-env tools/check-validation-boundary.ts",
"text-integrity:check": "deno run --allow-read --allow-run=git tools/check-docs-truth.ts --check=text",
"audit:citations:check": "deno run --allow-read --allow-run=git tools/check-audit-citations.ts",
"graph:check": "deno run --allow-read --allow-env tools/check-package-graph.ts",
"consumer:local": "deno run --allow-read --allow-write --allow-run --allow-env --allow-net tools/consumer-local.ts",
"consumer:packaged": "deno run --allow-read --allow-write --allow-run --allow-env --allow-net tools/consumer-packaged-starter.ts && deno run --allow-read --allow-write --allow-run --allow-env --allow-net tools/consumer-local.ts --packaged-import-map-check",
"third-party-wc:smoke": "deno run --allow-read --allow-write --allow-run --allow-env --allow-net --allow-sys tools/third-party-wc-corpus.ts",
"examples:check": "cd examples/deno-desktop-reader && deno task check && deno task smoke && cd ../deno-desktop-mastodon && deno task check && deno task smoke && cd ../open-element-in-fresh && deno task check && cd ../supabase-cloudflare-starter && deno task check && deno task test",
"stress:dogfood": "deno run --allow-read --allow-run --allow-env tools/run-dogfood-stress.ts",
"dogfood:evidence": "deno run --allow-read --allow-write --allow-run tools/run-dogfood-evidence.ts",
"package-artifacts:check": "deno run --allow-read --allow-write --allow-run --allow-net --allow-env tools/check-package-artifacts.ts",
"consumer:packaged-ui": "deno run --allow-read --allow-write --allow-run --allow-env --allow-net tools/consumer-packaged-ui.ts",
"pack": "deno task generate:ui-manifest && deno run --allow-read --allow-write --allow-run --allow-env tools/publish-npm.ts pack",
"pack:dry-run": "deno task generate:ui-manifest && deno run --allow-read --allow-write --allow-run --allow-env tools/publish-npm.ts pack:dry-run",
"publish:npm": "deno task generate:ui-manifest && deno run --allow-read --allow-write --allow-run --allow-env --allow-net tools/publish-npm.ts publish:npm",
"publish:npm:dry-run": "deno task generate:ui-manifest && deno run --allow-read --allow-write --allow-run --allow-env --allow-net tools/publish-npm.ts publish:npm:dry-run",
"test": "deno task generate:ui-manifest && deno task generate:www-content-data && deno test --ignore=examples/supabase-cloudflare-starter --allow-read --allow-write --allow-env --allow-net --allow-run --allow-ffi --allow-sys && deno task --cwd examples/supabase-cloudflare-starter test",
"generate:ui-tokens": "deno run --allow-read --allow-write tools/generate-ui-token-module.ts",
"generate:ui-tokens:check": "deno run --allow-read tools/generate-ui-token-module.ts --check",
"generate:ui-manifest": "deno task generate:ui-tokens && deno run --allow-read --allow-write --allow-env tools/generate-ui-manifest.ts",
"generate:www-content-data": "deno run --allow-read --allow-write tools/generate-www-content-data.ts",
"generate:content-graph": "deno run --allow-read --allow-write --allow-env tools/generate-content-graph.ts",
"content-graph:check": "deno run --allow-read --allow-env tools/generate-content-graph.ts --check",
"generate:api-reference": "deno run --allow-read --allow-write --allow-env tools/generate-api-reference.ts",
"api-reference:check": "deno run --allow-read --allow-env tools/generate-api-reference.ts --check",
"test:coverage": "deno test --coverage=.coverage --allow-read --allow-write --allow-env --allow-net --allow-run --allow-ffi --allow-sys && deno coverage .coverage --html && deno coverage .coverage --lcov > .coverage/lcov.info",
"test:watch": "deno test --allow-read --allow-write --allow-env --allow-net --allow-run --watch",
"test:e2e": "deno run -A npm:@playwright/test@1.59.1 test --config www/e2e/playwright.config.ts --project=chromium",
"test:visual-smoke": "deno task build && cd examples/deno-desktop-reader && deno run -A --config ../../deno.json npm:vite build && cd ../.. && deno run -A tools/visual-smoke.ts",
"test:visual-baselines": "OPEN_VISUAL_REGRESSION=1 deno run -A npm:@playwright/test@1.59.1 test www/e2e/visual-baselines.spec.ts --config www/e2e/playwright.config.ts --project=chromium",
"check:visual-baselines": "deno run --allow-read tools/check-visual-baseline-duplicates.ts",
"test:e2e:browsers": "deno run -A npm:@playwright/test@1.59.1 test --config www/e2e/playwright.config.ts",
"test:e2e:install": "deno run -A npm:playwright@1.59.1 install chromium",
"test:e2e:browser-smoke": "deno run -A npm:@playwright/test@1.59.1 test --config www/e2e/playwright.config.ts --grep \"DSD Layers|Layout Island Shell|Island Script Loading|Theme Toggle|Theme initialization|data-signal bindings|SSR/hydration mismatch degradation|light-mode in-place activation|router guards on browser history traversal|reflect: true static props|Public IA route coverage\" --project",
"test:e2e:browsers:install": "deno run -A npm:playwright@1.59.1 install chromium firefox webkit",
"fixture:request-time:build": "cd packages/adapter-vite/__fixtures__/request-time && deno run --config ../../../../deno.json --allow-read --allow-write --allow-net --allow-env --allow-ffi --allow-sys --allow-run ../../src/cli/build.ts",
"fixture:static-only:build": "cd packages/adapter-vite/__fixtures__/static-only && rm -rf dist && deno run --config ../../../../deno.json --allow-read --allow-write --allow-net --allow-env --allow-ffi --allow-sys --allow-run ../../src/cli/build.ts",
"fixture:request-time:e2e": "cd packages/adapter-vite/__fixtures__/request-time && deno run -A npm:@playwright/test@1.59.1 test --config e2e/playwright.config.ts --project=chromium",
"fixture:request-time:e2e:browsers": "cd packages/adapter-vite/__fixtures__/request-time && deno run -A npm:@playwright/test@1.59.1 test --config e2e/playwright.config.ts",
"fixture:request-time:gate": "deno task fixture:request-time:build && deno task fixture:request-time:e2e:browsers",
"fixture:ui-dogfood:build": "cd packages/adapter-vite/__fixtures__/ui-dogfood && rm -rf dist && deno run --config ../../../../deno.json --allow-read --allow-write --allow-net --allow-env --allow-ffi --allow-sys --allow-run ../../src/cli/build.ts",
"fixture:ui-dogfood:e2e": "cd packages/adapter-vite/__fixtures__/ui-dogfood && deno run -A npm:@playwright/test@1.59.1 test --config e2e/playwright.config.ts --project=chromium",
"fixture:ui-dogfood:e2e:browsers": "cd packages/adapter-vite/__fixtures__/ui-dogfood && deno run -A npm:@playwright/test@1.59.1 test --config e2e/playwright.config.ts",
"fixture:ui-dogfood:gate": "deno task fixture:ui-dogfood:build && deno task fixture:ui-dogfood:e2e:browsers",
"starter-smoke:setup": "deno run -A e2e/starter-smoke/setup.ts",
"test:starter-smoke": "deno task starter-smoke:setup && deno run -A npm:@playwright/test@1.59.1 test --config e2e/starter-smoke/playwright.config.ts",
"test:starter-smoke:dev": "deno task starter-smoke:setup && deno run -A npm:@playwright/test@1.59.1 test --config e2e/starter-smoke/playwright.dev.config.ts",
"nitro:proof:node": "deno run --allow-read --allow-write --allow-run --allow-env --allow-net tools/nitro-proof.ts node",
"nitro:proof:workers": "deno run --allow-read --allow-write --allow-run --allow-env --allow-net tools/nitro-proof.ts workers",
"test:coverage:check": "deno run --allow-read --allow-run --allow-write --allow-env --allow-net --allow-ffi --allow-sys tools/check-coverage.ts --threshold 80 --branch-threshold 84 --function-threshold 86",
"test:critical-paths": "deno run --allow-read --allow-run --allow-env tools/check-critical-path-tests.ts",
"consumer:element-smoke": "deno run -A tools/consumer-smoke.ts --local",
"typecheck": "deno task generate:ui-manifest && deno run --allow-read --allow-run --allow-env tools/run-package-graph-task.ts typecheck",
"lint": "deno lint",
"fmt": "deno fmt",
"fmt:check": "deno fmt --check",
"clean": "rm -rf packages/*/dist www/dist packages/*/*.tgz dist custom-dist dist-test-* playwright-report test-results .openElement www/.openElement",
"hooks:install": "git config core.hooksPath .githooks && chmod +x .githooks/pre-commit .githooks/pre-push",
"hooks:uninstall": "git config --unset core.hooksPath",
"autoflow:dev": "deno run --allow-read --allow-run --allow-env tools/autoflow/cli.ts dev",
"autoflow:push": "deno run --allow-read --allow-run --allow-env tools/autoflow/cli.ts push",
"autoflow:ci": "deno run --allow-read --allow-run --allow-env tools/autoflow/cli.ts ci",
"autoflow:patch-release": "deno run --allow-read --allow-write --allow-run --allow-env tools/autoflow/cli.ts patch-release",
"autoflow:release": "deno run --allow-read --allow-write --allow-run --allow-env tools/autoflow/cli.ts release",
"autoflow:release-prepare": "deno run --allow-read --allow-write --allow-run --allow-env tools/autoflow/cli.ts release-prepare",
"autoflow:publish-existing": "deno run --allow-read --allow-write --allow-run --allow-env tools/autoflow/cli.ts publish-existing",
"autoflow:release-record": "deno run --allow-read --allow-write --allow-run --allow-env tools/autoflow/cli.ts release-record",
"check:static-output-freeze": "deno run --allow-read --allow-write --allow-run --allow-env --allow-net --allow-ffi --allow-sys tools/check-static-output-freeze.ts",
"freeze:semantics:check": "deno run --allow-read --allow-run=git --allow-env tools/check-frozen-semantics.ts",
"verify:configs": "deno run --allow-read --allow-env tools/verify-package-configs.ts"
},
"fmt": {
"useTabs": false,
"lineWidth": 100,
"indentWidth": 2,
"semiColons": true,
"singleQuote": true,
"proseWrap": "preserve",
"exclude": [
"www/content/blog/",
"www/content/guide/",
"www/app/data/",
"www/public/assets/",
"custom-dist/",
"dist-test-ssg-render/",
".tmp*",
"**/.nitro/"
]
},
"lint": {
"rules": {
"tags": [
"recommended"
],
"include": [
"no-explicit-any"
],
"exclude": [
"no-sloppy-imports"
]
},
"exclude": [
"www/content/blog/",
"www/content/guide/",
"www/app/data/",
"www/public/assets/vendor/",
"custom-dist/",
"dist-test-ssg-render/",
"**/.nitro/"
]
},
"compilerOptions": {
"module": "ESNext",
"moduleResolution": "bundler",
"lib": [
"ES2022",
"DOM",
"DOM.Iterable",
"deno.ns"
],
"strict": true,
"skipLibCheck": true,
"jsx": "react-jsx",
"jsxImportSource": "@openelement/element"
},
"exclude": [
"node_modules",
"dist",
"**/dist/**",
"**/node_modules/**",
".deno",
"custom-dist",
"dist-test-ssg-render",
"vendor",
"**/.nitro"
]
}