dev: dev:full + cards-dev-Alias + lokale mana-auth-Pipeline
Some checks are pending
CI / validate (push) Waiting to run
Some checks are pending
CI / validate (push) Waiting to run
- pnpm dev:full chained: docker:up --wait → db:push → concurrently dev + dev:auth
- vite.config: ssr.noExternal + optimizeDeps.exclude für @mana/* aus Verdaccio
(Raw-.ts-Sourcen brechen Node-22-Type-Stripping in node_modules)
- README + STATUS auf neuen Setup-Umfang aktualisiert (mana-auth läuft mit)
- concurrently als devDep, dev:auth/docker🆙auth/db:push:auth Sub-Scripts
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
f11df63e7b
commit
e596199ba0
5 changed files with 463 additions and 5 deletions
|
|
@ -8,4 +8,17 @@ export default defineConfig({
|
|||
port: Number(process.env.CARDS_WEB_PORT ?? 3082),
|
||||
host: true,
|
||||
},
|
||||
// @mana/* aus Verdaccio publishen Raw-.ts (main: src/index.ts).
|
||||
// Node 22 verweigert Type-Stripping in node_modules → Vite muss
|
||||
// die Pakete im SSR selbst transformieren statt extern an Node
|
||||
// weiterzureichen. Plus client-side: optimizeDeps mit esbuild
|
||||
// erstickt an .svelte.ts-Files, die `import type {}`/`export type`
|
||||
// enthalten — also vom Pre-Bundling ausnehmen, dann übernimmt der
|
||||
// reguläre Vite-Transform den TS-Strip.
|
||||
ssr: {
|
||||
noExternal: [/^@mana\//],
|
||||
},
|
||||
optimizeDeps: {
|
||||
exclude: ['@mana/shared-ui', '@mana/shared-theme', '@mana/shared-icons'],
|
||||
},
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue