managarten/apps/manadeck/apps/web
Till JS e01b740dba refactor(analytics): centralize Umami tracking via env vars and shared utility
Move Umami analytics from hardcoded script tags in app.html to
server-side injection via hooks.server.ts. Website IDs are now
managed centrally in .env.development and distributed via
generate-env.mjs as PUBLIC_UMAMI_WEBSITE_ID.

- Add @manacore/shared-utils/analytics-server with injectUmamiAnalytics()
- Add UMAMI_WEBSITE_ID_* for all 17 web apps to .env.development
- Add PUBLIC_UMAMI_WEBSITE_ID mapping in generate-env.mjs for all web apps
- Update 10 existing hooks.server.ts to use shared utility
- Create 7 new hooks.server.ts (picture, planta, presi, photos, clock,
  questions, manadeck)
- Remove hardcoded Umami scripts from all 17 app.html files
- Add missing Umami tracking to Mukke and Questions
- Add shared-utils dependency to 6 web apps that lacked it
- Update ANALYTICS.md with architecture docs and "add new app" guide

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 18:27:31 +01:00
..
src refactor(analytics): centralize Umami tracking via env vars and shared utility 2026-03-22 18:27:31 +01:00
static refactor: restructure 2025-11-26 03:03:24 +01:00
.env.example refactor: restructure 2025-11-26 03:03:24 +01:00
.gitignore refactor: restructure 2025-11-26 03:03:24 +01:00
.npmrc refactor: restructure 2025-11-26 03:03:24 +01:00
eslint.config.js improve code quality 2025-12-03 23:42:37 +01:00
package.json feat(whopixels): major refactor with 20 improvements across architecture, gameplay, UX, security, and i18n 2026-03-21 15:26:40 +01:00
README.md refactor: restructure 2025-11-26 03:03:24 +01:00
svelte.config.js style: auto-format codebase with Prettier 2025-11-27 18:33:16 +01:00
tailwind.config.js.bak chore: archive inactive projects to apps-archived/ 2025-11-29 07:03:59 +01:00
tsconfig.json refactor: restructure 2025-11-26 03:03:24 +01:00
vite.config.ts feat: show build date/time on login screen across all apps 2026-03-21 12:40:57 +01:00

sv

Everything you need to build a Svelte project, powered by sv.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npx sv create

# create a new project in my-app
npx sv create my-app

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.