-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.json
More file actions
161 lines (161 loc) · 11.5 KB
/
Copy pathdeno.json
File metadata and controls
161 lines (161 loc) · 11.5 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
{
"$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/assert": "jsr:@std/assert@^1.0.0",
"hono": "npm:hono@^4.12",
"@hono/vite-dev-server": "npm:@hono/vite-dev-server@^0.25.3",
"vite": "npm:vite@8.0.10",
"@mdx-js/mdx": "npm:@mdx-js/mdx@^3.1.1",
"@mdx-js/rollup": "npm:@mdx-js/rollup@^3.1.1",
"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-render-to-string": "npm:preact-render-to-string@^6.5.0",
"@preact/signals-core": "npm:@preact/signals-core@^1.12.1",
"@preact/signals": "npm:@preact/signals@^2.9.0",
"flexsearch": "npm:flexsearch@^0.7",
"@shoelace-style/shoelace": "npm:@shoelace-style/shoelace@^2.19.0",
"@material/web/checkbox/checkbox.js": "npm:@material/web@^2.0.0/checkbox/checkbox.js",
"nitro": "npm:nitro@3.0.0",
"@rollup/plugin-terser": "npm:@rollup/plugin-terser@1.0.0"
},
"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",
"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:check-artifact-truth",
"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",
"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-public-docs-integrity.ts",
"docs:check-strategy": "deno run --allow-read tools/check-strategic-docs.ts",
"docs:check-current": "deno run --allow-read tools/check-current-docs-no-legacy.ts",
"release:evidence:check": "deno run --allow-read --allow-run=git tools/check-release-evidence-consistency.ts",
"docs:check-version-anchors": "deno run --allow-read tools/check-version-anchors.ts",
"docs:truth": "deno task docs:check-public && deno task docs:check-current && deno task docs:check-strategy && deno task docs:check-version-anchors && deno task release:evidence:check && deno task www:check-current-truth",
"www:check-current-truth": "deno run --allow-read tools/check-www-current-truth.ts",
"www:check-artifact-truth": "deno run --allow-read tools/check-www-current-truth.ts --artifacts",
"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",
"arch:check": "deno run --allow-read --allow-run tools/check-architecture-contract.ts",
"type-safety:check": "deno run --allow-read tools/check-type-safety.ts",
"deno-api:check": "deno run --allow-read --allow-env tools/check-deno-api-free.ts",
"text-integrity:check": "deno run --allow-read --allow-run=git tools/check-text-integrity.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 task pack:dry-run && 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-smoke.ts",
"examples:check": "cd examples/deno-desktop-reader && deno task check && deno task smoke && cd ../deno-desktop-mastodon && deno task check && deno task smoke",
"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",
"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 test --allow-read --allow-write --allow-env --allow-net --allow-run --allow-ffi --allow-sys",
"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",
"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",
"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:firefox-smoke": "deno run -A npm:@playwright/test@1.59.1 test --config www/e2e/playwright.config.ts --project=firefox --grep \"DSD Layers|Layout Island Shell|Island Script Loading|Theme Toggle|Theme initialization|data-signal bindings|SSR/hydration mismatch degradation|router guards on browser history traversal|reflect: true static props\"",
"test:e2e:webkit-smoke": "deno run -A npm:@playwright/test@1.59.1 test --config www/e2e/playwright.config.ts --project=webkit --grep \"DSD Layers|Layout Island Shell|Island Script Loading|Theme Toggle|Theme initialization|data-signal bindings|SSR/hydration mismatch degradation|router guards on browser history traversal|reflect: true static props\"",
"test:e2e:browsers:install": "deno run -A npm:playwright@1.59.1 install chromium firefox webkit",
"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 73 --branch-threshold 82 --function-threshold 77",
"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",
"hooks:uninstall": "git config core.hooksPath",
"autoflow:dev": "deno run --allow-read --allow-run --allow-env tools/autoflow/mod3.ts dev",
"autoflow:push": "deno run --allow-read --allow-run --allow-env tools/autoflow/mod3.ts push",
"autoflow:ci": "deno run --allow-read --allow-run --allow-env tools/autoflow/mod3.ts ci",
"autoflow:patch-release": "deno run --allow-read --allow-write --allow-run --allow-env tools/autoflow/mod3.ts patch-release",
"autoflow:release": "deno run --allow-read --allow-write --allow-run --allow-env tools/autoflow/mod3.ts release",
"autoflow:release-dispatch": "deno run --allow-read --allow-write --allow-run --allow-env tools/autoflow/mod3.ts release-dispatch",
"autoflow:release-prepare": "deno run --allow-read --allow-write --allow-run --allow-env tools/autoflow/mod3.ts release-prepare",
"autoflow:publish-existing": "deno run --allow-read --allow-write --allow-run --allow-env tools/autoflow/mod3.ts publish-existing",
"autoflow:test": "deno test --allow-read --allow-write --allow-run --allow-env tools/autoflow/__tests__/",
"verify:configs": "deno run --allow-read --allow-env tools/verify-package-configs.ts",
"verify:configs:fix": "deno run --allow-read --allow-write --allow-env tools/verify-package-configs.ts --fix"
},
"fmt": {
"useTabs": false,
"lineWidth": 100,
"indentWidth": 2,
"semiColons": true,
"singleQuote": true,
"proseWrap": "preserve",
"exclude": [
"www/content/blog/",
"www/app/data/",
"www/public/assets/",
"custom-dist/",
"dist-test-ssg-render/",
"**/.nitro/"
]
},
"lint": {
"rules": {
"tags": ["recommended"],
"exclude": ["no-sloppy-imports"]
},
"exclude": [
"www/content/blog/",
"www/app/data/",
"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"
]
}