feat(app): application on the canonical sheet — report v3 store with v2 draft migration, bundled SheetProvider (SHEET_BUNDLE), annotation layer rendered from the document, zone interaction service, pickers and cards on the sheet index, PDF v3 export with v2 archive import; legacy registry, matchers, editors and assets removed

This commit is contained in:
bchanot committed 2026-10-10 11:36:14 +02:00
1 parent 0a17e390cf
commit ce2ec26112
114 files changed
+3560 -14637

No files matched your search

+20 -3
View File
@@ -2,9 +2,26 @@ import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react-swc'
import tailwindcss from '@tailwindcss/vite'
import { resolve } from 'path'
import {
faunosteoSheetBundle,
resolveSheetBundleMode,
} from './vite/sheet-bundle'
export default defineConfig({
plugins: [tailwindcss(), react()],
/** Generated seed of the reference equine sheet (pnpm import:equine). */
export const EQUINE_SEED_DIR = resolve(
__dirname,
'../../supabase/seed/anatomical-sheets/equine/draft',
)
export default defineConfig(({ command }) => ({
plugins: [
tailwindcss(),
react(),
faunosteoSheetBundle({
mode: resolveSheetBundleMode(process.env, command),
seedDir: EQUINE_SEED_DIR,
}),
],
resolve: {
alias: {
'@': resolve(__dirname, 'src'),
@@ -19,4 +36,4 @@ export default defineConfig({
emptyOutDir: true,
sourcemap: false,
},
})
}))