feat: add standalone tasks PWA build
Adds a standalone tasks PWA at tasks.${domain}, built from the
existing src/modules/tasks plugin (Nostr calendar events, kind
31922/31925). Same standalone pattern as the other modules:
- tasks.html entry, vite.tasks.config.ts (outDir: dist-tasks,
manifest id: tasks-app, theme: indigo #4338ca — Ajna chakra)
- src/tasks-app/{main.ts, app.ts, app.config.ts, App.vue} bootstraps
base + tasks only, with acceptTokenFromUrl for shared auth from hub
- npm run dev:tasks / build:tasks / preview:tasks
- main app SW denylist extended with /tasks/
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f4d5594bef
commit
3f88ea731e
8 changed files with 388 additions and 1 deletions
|
|
@ -15,6 +15,9 @@
|
|||
"dev:castle": "vite --host --config vite.castle.config.ts",
|
||||
"build:castle": "vue-tsc -b && vite build --config vite.castle.config.ts",
|
||||
"preview:castle": "vite preview --host --config vite.castle.config.ts",
|
||||
"dev:tasks": "vite --host --config vite.tasks.config.ts",
|
||||
"build:tasks": "vue-tsc -b && vite build --config vite.tasks.config.ts",
|
||||
"preview:tasks": "vite preview --host --config vite.tasks.config.ts",
|
||||
"electron:dev": "concurrently \"vite --host\" \"electron-forge start\"",
|
||||
"electron:build": "vue-tsc -b && vite build && electron-builder",
|
||||
"electron:package": "electron-builder",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue