create-hollware 0.2.0 → 0.4.0

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.
@@ -0,0 +1,53 @@
1
+ {
2
+ "$schema": "node_modules/wrangler/config-schema.json",
3
+ "name": "my-hollware",
4
+ "main": "src/worker.ts",
5
+ // The latest compatibility date the workerd bundled with wrangler supports.
6
+ "compatibility_date": "2026-10-06",
7
+ // From the 2026-08-04 compatibility date Workers turn Node.js compatibility on by default.
8
+ // Hollware runs and is tested without it. Remove both flags only if your own code needs
9
+ // Node.js APIs.
10
+ // global_fetch_strictly_public: the OAuth server fetches the metadata documents of clients
11
+ // (CIMD) over the public internet only, never through the zone (ADR-026).
12
+ "compatibility_flags": [
13
+ "no_nodejs_compat",
14
+ "no_nodejs_compat_v2",
15
+ "global_fetch_strictly_public",
16
+ ],
17
+ // Every minute: publishes the scheduled entries whose time has come.
18
+ "triggers": { "crons": ["* * * * *"] },
19
+ // The publication events (ADR-025): the Worker sends them, consumes them, and keeps the ones it
20
+ // could not deliver after five tries in the dead-letter queue.
21
+ "queues": {
22
+ "producers": [{ "binding": "EVENTS", "queue": "hollware-events" }],
23
+ "consumers": [
24
+ { "queue": "hollware-events", "max_retries": 5, "dead_letter_queue": "hollware-events-dlq" },
25
+ ],
26
+ },
27
+ // The admin, at /admin/: its hashed files go straight to the browser, and every other request
28
+ // reaches the Worker first, which serves the admin's page with its security policy.
29
+ "assets": {
30
+ "directory": "node_modules/@hollware/admin/dist/client",
31
+ "binding": "ASSETS",
32
+ "run_worker_first": ["/*", "!/admin/assets/*"],
33
+ },
34
+ "vars": {
35
+ // The only Host and Origin your Hollware answers; any other request is refused. This is the
36
+ // URL `pnpm dev` serves. `hollware deploy` sets it to the workers.dev URL of the Worker, or to
37
+ // the one its --url names, such as https://cms.example.com.
38
+ "HOLLWARE_PUBLIC_URL": "http://localhost:5199",
39
+ },
40
+ // The OAuth server's clients, grants and tokens (ADR-026). No id: the first `hollware deploy`
41
+ // creates the namespace and writes its id here.
42
+ "kv_namespaces": [{ "binding": "OAUTH_KV" }],
43
+ "d1_databases": [
44
+ {
45
+ "binding": "DB",
46
+ // No id: the first `hollware deploy` creates the database by this name and writes its id
47
+ // here. Local development needs none.
48
+ "database_name": "my-hollware",
49
+ // The server package ships its migrations; the project applies them as they are.
50
+ "migrations_dir": "node_modules/@hollware/server/migrations",
51
+ },
52
+ ],
53
+ }