@donotdev/cli 0.1.1 → 0.1.44
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.
- package/LICENSE.md +1 -1
- package/README.md +0 -0
- package/dependencies-matrix.json +93 -40
- package/dist/bin/commands/agent-setup.js +695 -420
- package/dist/bin/commands/build.js +1181 -832
- package/dist/bin/commands/bump.js +1065 -771
- package/dist/bin/commands/cacheout.js +253 -355
- package/dist/bin/commands/coach.js +275 -375
- package/dist/bin/commands/create-app.js +1085 -790
- package/dist/bin/commands/create-project.js +1117 -819
- package/dist/bin/commands/db.js +17045 -16542
- package/dist/bin/commands/deploy.js +1999 -1367
- package/dist/bin/commands/dev.js +879 -627
- package/dist/bin/commands/doctor.js +696 -425
- package/dist/bin/commands/emu.js +1001 -712
- package/dist/bin/commands/format.js +253 -355
- package/dist/bin/commands/get-demo.js +979 -706
- package/dist/bin/commands/make-admin.js +6279 -5746
- package/dist/bin/commands/preview.js +883 -628
- package/dist/bin/commands/seed.js +17058 -16555
- package/dist/bin/commands/setup-cicd.js +1024 -749
- package/dist/bin/commands/setup.js +1162 -844
- package/dist/bin/commands/staging.js +2000 -1368
- package/dist/bin/commands/sync-secrets.js +1181 -667
- package/dist/bin/commands/type-check.js +735 -461
- package/dist/bin/commands/wai.js +258 -360
- package/dist/bin/dndev.js +31 -16
- package/dist/bin/donotdev.js +31 -16
- package/dist/index.js +2200 -1513
- package/guidelines/DEPENDENCIES.md +155 -0
- package/guidelines/VERSION_CONTROL.md +0 -0
- package/package.json +1 -1
- package/templates/app-demo/.env.example +1 -1
- package/templates/app-demo/entities/Contact.ts.example +0 -0
- package/templates/app-demo/entities/ExampleEntity.ts.example +0 -0
- package/templates/app-demo/entities/demo.ts.example +0 -0
- package/templates/app-demo/index.html.example +0 -0
- package/templates/app-demo/public/apple-touch-icon.png.example +0 -0
- package/templates/app-demo/public/fonts/fonts.css.example +0 -0
- package/templates/app-demo/public/icon-192x192.png.example +0 -0
- package/templates/app-demo/public/icon-512x512.png.example +0 -0
- package/templates/app-demo/src/App.tsx.example +0 -0
- package/templates/app-demo/src/config/app.ts.example +0 -0
- package/templates/app-demo/src/entities/booking.ts.example +0 -0
- package/templates/app-demo/src/entities/onboarding.ts.example +0 -0
- package/templates/app-demo/src/entities/product.ts.example +0 -0
- package/templates/app-demo/src/entities/quote.ts.example +0 -0
- package/templates/app-demo/src/globals.css.example +0 -0
- package/templates/app-demo/src/main.tsx.example +0 -0
- package/templates/app-demo/src/pages/ChangelogPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/ConditionalFormPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/DashboardPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/HomePage.tsx.example +0 -0
- package/templates/app-demo/src/pages/OnboardingPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/PricingPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/ProductsPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/ProfilePage.tsx.example +0 -0
- package/templates/app-demo/src/pages/SettingsPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/ShowcaseDetailPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/ShowcasePage.tsx.example +0 -0
- package/templates/app-demo/src/pages/components/ComponentRenderer.tsx.example +0 -0
- package/templates/app-demo/src/pages/components/ComponentsData.tsx.example +0 -0
- package/templates/app-demo/src/pages/components/componentConfig.ts.example +0 -0
- package/templates/app-demo/src/pages/legal/LegalPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/legal/PrivacyPage.tsx.example +0 -0
- package/templates/app-demo/src/pages/legal/TermsPage.tsx.example +0 -0
- package/templates/app-demo/src/themes.css.example +6 -0
- package/templates/app-demo/tsconfig.json.example +0 -0
- package/templates/app-demo/vite.config.ts.example +0 -0
- package/templates/app-dndev/index.html.example +0 -0
- package/templates/app-dndev/src/App.tsx.example +0 -0
- package/templates/app-dndev/src/components/CockpitLayout.css.example +0 -0
- package/templates/app-dndev/src/components/CockpitLayout.tsx.example +0 -0
- package/templates/app-dndev/src/components/Kanban.css.example +0 -0
- package/templates/app-dndev/src/components/ModeToggle.tsx.example +0 -0
- package/templates/app-dndev/src/components/OverlaySlot.tsx.example +0 -0
- package/templates/app-dndev/src/components/TerminalPanel.css.example +0 -0
- package/templates/app-dndev/src/components/TerminalPanel.tsx.example +0 -0
- package/templates/app-dndev/src/components/markdown-prose.css.example +0 -0
- package/templates/app-dndev/src/components/phases/CaptainLog.tsx.example +0 -0
- package/templates/app-dndev/src/components/phases/ContextTabs.tsx.example +0 -0
- package/templates/app-dndev/src/components/phases/PhaseCard.tsx.example +0 -0
- package/templates/app-dndev/src/components/phases/PhaseDetail.tsx.example +0 -0
- package/templates/app-dndev/src/components/phases/ReviewPanel.tsx.example +0 -0
- package/templates/app-dndev/src/components/phases/phaseData.ts.example +0 -0
- package/templates/app-dndev/src/config/app.ts.example +1 -1
- package/templates/app-dndev/src/config/commands.ts.example +0 -0
- package/templates/app-dndev/src/config/legal.ts.example +0 -0
- package/templates/app-dndev/src/config/providers.ts.example +1 -1
- package/templates/app-dndev/src/globals.css.example +0 -0
- package/templates/app-dndev/src/hooks/useDndevFile.ts.example +0 -0
- package/templates/app-dndev/src/main.tsx.example +0 -0
- package/templates/app-dndev/src/pages/BoardPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/GrillPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/HomePage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/NotFoundPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/PhasesPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/SettingsPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/legal/LegalNoticePage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/legal/PrivacyPage.tsx.example +0 -0
- package/templates/app-dndev/src/pages/legal/TermsPage.tsx.example +0 -0
- package/templates/app-dndev/src/stores/dndevStore.ts.example +0 -0
- package/templates/app-dndev/src/themes.css.example +5 -0
- package/templates/app-dndev/terminal-sidecar.cjs.example +0 -0
- package/templates/app-dndev/vite.config.ts.example +0 -0
- package/templates/app-expo/.env.example +0 -32
- package/templates/app-expo/.expo/README.md.example +0 -0
- package/templates/app-expo/.gitignore.example +0 -0
- package/templates/app-expo/README.md.example +1 -1
- package/templates/app-expo/app/.gitkeep +0 -0
- package/templates/app-expo/app/_layout.tsx.example +0 -0
- package/templates/app-expo/app/form.tsx.example +0 -0
- package/templates/app-expo/app/index.tsx.example +0 -0
- package/templates/app-expo/app/list.tsx.example +0 -0
- package/templates/app-expo/app/profile.tsx.example +0 -0
- package/templates/app-expo/app/signin.tsx.example +0 -0
- package/templates/app-expo/app.json.example +0 -0
- package/templates/app-expo/assets/adaptive-icon.png +0 -0
- package/templates/app-expo/assets/favicon.png +0 -0
- package/templates/app-expo/assets/icon.png +0 -0
- package/templates/app-expo/assets/splash.png +0 -0
- package/templates/app-expo/babel.config.js.example +0 -0
- package/templates/app-expo/eas.json.example +0 -0
- package/templates/app-expo/expo-env.d.ts.example +0 -0
- package/templates/app-expo/metro.config.js.example +0 -0
- package/templates/app-expo/service-account-key.json.example +1 -1
- package/templates/app-expo/src/config/app.ts.example +0 -0
- package/templates/app-expo/src/config/providers.ts.example +1 -1
- package/templates/app-expo/tsconfig.json.example +0 -0
- package/templates/app-next/.env.example +0 -33
- package/templates/app-next/next.config.ts.example +0 -2
- package/templates/app-next/postcss.config.js.example +0 -0
- package/templates/app-next/service-account-key.json.example +0 -0
- package/templates/app-next/src/app/ClientLayout.tsx.example +0 -0
- package/templates/app-next/src/app/not-found.tsx.example +14 -1
- package/templates/app-next/src/config/app.ts.example +1 -1
- package/templates/app-next/src/config/legal.ts.example +0 -0
- package/templates/app-next/src/config/providers.ts.example +1 -1
- package/templates/app-next/src/globals.css.example +0 -0
- package/templates/app-next/src/locales/dndev_en.json.example +0 -0
- package/templates/app-next/src/locales/home_en.json.example +6 -6
- package/templates/app-next/src/pages/HomePage.tsx.example +0 -0
- package/templates/app-next/src/pages/legal/LegalNoticePage.tsx.example +0 -0
- package/templates/app-next/src/pages/legal/PrivacyPage.tsx.example +0 -0
- package/templates/app-next/src/pages/legal/TermsPage.tsx.example +0 -0
- package/templates/app-next/src/pages/locales/example_en.json.example +0 -0
- package/templates/app-next/src/themes.css.example +7 -1
- package/templates/app-vite/.env.example +0 -33
- package/templates/app-vite/csp.example.json +0 -0
- package/templates/app-vite/index.html.example +0 -0
- package/templates/app-vite/service-account-key.json.example +0 -0
- package/templates/app-vite/src/App.tsx.example +0 -0
- package/templates/app-vite/src/config/app.ts.example +1 -1
- package/templates/app-vite/src/config/legal.ts.example +0 -0
- package/templates/app-vite/src/config/providers.ts.example +1 -1
- package/templates/app-vite/src/globals.css.example +0 -0
- package/templates/app-vite/src/locales/dndev_en.json.example +0 -0
- package/templates/app-vite/src/locales/home_en.json.example +6 -6
- package/templates/app-vite/src/main.tsx.example +0 -0
- package/templates/app-vite/src/pages/FormPageExample.tsx.example +0 -0
- package/templates/app-vite/src/pages/HomePage.tsx.example +1 -1
- package/templates/app-vite/src/pages/ListPageExample.tsx.example +0 -0
- package/templates/app-vite/src/pages/NotFoundPage.tsx.example +0 -0
- package/templates/app-vite/src/pages/legal/LegalNoticePage.tsx.example +0 -0
- package/templates/app-vite/src/pages/legal/PrivacyPage.tsx.example +0 -0
- package/templates/app-vite/src/pages/legal/TermsPage.tsx.example +0 -0
- package/templates/app-vite/src/pages/locales/example_en.json.example +0 -0
- package/templates/app-vite/src/themes.css.example +5 -0
- package/templates/deploy-config/.firebaserc.example +0 -0
- package/templates/deploy-config/firestore.indexes.json.example +0 -0
- package/templates/deploy-config/firestore.rules.example +0 -0
- package/templates/deploy-config/storage.rules.example +0 -0
- package/templates/deploy-config/tsconfig.functions.json.example +0 -0
- package/templates/deploy-config/vercel.json.example +2 -2
- package/templates/functions-firebase/.env.example +2 -2
- package/templates/functions-firebase/README.md.example +3 -3
- package/templates/functions-firebase/build.mjs.example +0 -0
- package/templates/functions-firebase/functions.config.js.example +0 -0
- package/templates/functions-firebase/functions.yaml.example +0 -0
- package/templates/functions-firebase/src/auth/getCustomClaims.ts.example +0 -0
- package/templates/functions-firebase/src/auth/getUserAuthStatus.ts.example +0 -0
- package/templates/functions-firebase/src/auth/index.ts.example +0 -0
- package/templates/functions-firebase/src/auth/removeCustomClaims.ts.example +0 -0
- package/templates/functions-firebase/src/auth/setCustomClaims.ts.example +0 -0
- package/templates/functions-firebase/src/billing/handleStripeWebhook.ts.example +0 -0
- package/templates/functions-firebase/src/billing/index.ts.example +0 -0
- package/templates/functions-firebase/src/billing/processPaymentSuccess.ts.example +0 -0
- package/templates/functions-firebase/src/billing/refreshSubscriptionStatus.ts.example +0 -0
- package/templates/functions-firebase/src/crud/createEntity.ts.example +0 -0
- package/templates/functions-firebase/src/crud/deleteEntity.ts.example +0 -0
- package/templates/functions-firebase/src/crud/getEntity.ts.example +0 -0
- package/templates/functions-firebase/src/crud/index.ts.example +0 -0
- package/templates/functions-firebase/src/crud/listEntities.ts.example +0 -0
- package/templates/functions-firebase/src/crud/updateEntity.ts.example +0 -0
- package/templates/functions-firebase/src/index.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/checkGitHubAccess.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/disconnect.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/exchangeToken.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/getConnections.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/grantGitHubAccess.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/index.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/refreshToken.ts.example +0 -0
- package/templates/functions-firebase/src/oauth/revokeGitHubAccess.ts.example +0 -0
- package/templates/functions-firebase/tsconfig.json.example +0 -0
- package/templates/functions-supabase/supabase/config.toml.example +0 -0
- package/templates/functions-supabase/supabase/functions/.env.example +0 -0
- package/templates/functions-supabase/supabase/functions/cancel-subscription/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/change-plan/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/create-checkout-session/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/create-customer-portal/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/crud/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/delete-account/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/deno.json.example +0 -0
- package/templates/functions-supabase/supabase/functions/disconnect-oauth/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/exchange-token/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/get-connections/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/get-custom-claims/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/get-user-auth-status/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/refresh-subscription-status/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/refresh-token/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/remove-custom-claims/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/functions/set-custom-claims/index.ts.example +0 -0
- package/templates/functions-supabase/supabase/migrations/20250101000000_idempotency.sql +0 -0
- package/templates/functions-supabase/supabase/migrations/20250101000001_rate_limits.sql +0 -0
- package/templates/functions-supabase/supabase/migrations/20250101000002_cleanup_jobs.sql +0 -0
- package/templates/functions-supabase/supabase/migrations/20250101000003_operation_metrics.sql +0 -0
- package/templates/functions-supabase/supabase/migrations/20250101000004_crud_bulk.sql +192 -0
- package/templates/functions-vercel/.env.example +3 -3
- package/templates/functions-vercel/README.md.example +2 -2
- package/templates/functions-vercel/build.mjs.example +0 -0
- package/templates/functions-vercel/src/api/auth/getCustomClaims.ts.example +0 -0
- package/templates/functions-vercel/src/api/auth/getUserAuthStatus.ts.example +0 -0
- package/templates/functions-vercel/src/api/auth/removeCustomClaims.ts.example +0 -0
- package/templates/functions-vercel/src/api/auth/setCustomClaims.ts.example +0 -0
- package/templates/functions-vercel/src/api/billing/handleStripeWebhook.ts.example +0 -0
- package/templates/functions-vercel/src/api/billing/processPaymentSuccess.ts.example +0 -0
- package/templates/functions-vercel/src/api/billing/refreshSubscriptionStatus.ts.example +0 -0
- package/templates/functions-vercel/src/api/crud/createEntity.ts.example +0 -0
- package/templates/functions-vercel/src/api/crud/deleteEntity.ts.example +0 -0
- package/templates/functions-vercel/src/api/crud/getEntity.ts.example +0 -0
- package/templates/functions-vercel/src/api/crud/listEntities.ts.example +0 -0
- package/templates/functions-vercel/src/api/crud/updateEntity.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/checkGitHubAccess.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/disconnect.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/exchangeToken.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/getConnections.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/grantGitHubAccess.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/refreshToken.ts.example +0 -0
- package/templates/functions-vercel/src/api/oauth/revokeGitHubAccess.ts.example +0 -0
- package/templates/functions-vercel/tsconfig.json.example +0 -0
- package/templates/functions-vercel/vercel.json.example +0 -0
- package/templates/github-consumer/.github/workflows/ci.yml.example +0 -0
- package/templates/overlay-firebase/env.fragment.example +0 -0
- package/templates/overlay-firebase/env.fragment.expo.example +0 -0
- package/templates/overlay-firebase/env.fragment.nextjs.example +0 -0
- package/templates/overlay-firebase/src/config/providers.expo.ts.example +0 -0
- package/templates/overlay-firebase/src/config/providers.ts.example +0 -0
- package/templates/overlay-supabase/env.fragment.example +0 -0
- package/templates/overlay-supabase/env.fragment.expo.example +0 -0
- package/templates/overlay-supabase/env.fragment.nextjs.example +0 -0
- package/templates/overlay-supabase/src/config/providers.expo.ts.example +1 -1
- package/templates/overlay-supabase/src/config/providers.ts.example +1 -1
- package/templates/overlay-vercel/env.fragment.example +0 -0
- package/templates/overlay-vercel/env.fragment.nextjs.example +0 -0
- package/templates/overlay-vercel/src/config/providers.ts.example +0 -0
- package/templates/preset-admin/src/pages/DashboardPage.tsx.example +0 -0
- package/templates/preset-admin/src/pages/EntityPage.tsx.example +0 -0
- package/templates/preset-admin/src/pages/ReportsPage.tsx.example +0 -0
- package/templates/preset-admin/src/pages/SettingsPage.tsx.example +0 -0
- package/templates/preset-admin/src/pages/UsersPage.tsx.example +0 -0
- package/templates/preset-ecommerce/src/pages/CartPage.tsx.example +0 -0
- package/templates/preset-ecommerce/src/pages/CatalogPage.tsx.example +0 -0
- package/templates/preset-ecommerce/src/pages/CheckoutPage.tsx.example +0 -0
- package/templates/preset-ecommerce/src/pages/HomePage.tsx.example +0 -0
- package/templates/preset-ecommerce/src/pages/ProductPage.tsx.example +0 -0
- package/templates/preset-landing/src/pages/AboutPage.tsx.example +0 -0
- package/templates/preset-landing/src/pages/ContactPage.tsx.example +0 -0
- package/templates/preset-landing/src/pages/HomePage.tsx.example +0 -0
- package/templates/preset-saas/src/pages/DashboardPage.tsx.example +0 -0
- package/templates/preset-saas/src/pages/HomePage.tsx.example +0 -0
- package/templates/preset-saas/src/pages/PricingPage.tsx.example +0 -0
- package/templates/preset-saas/src/pages/ProfilePage.tsx.example +0 -0
- package/templates/preset-saas/src/pages/SettingsPage.tsx.example +0 -0
- package/templates/root-consumer/.claude/agents/architect.md.example +0 -0
- package/templates/root-consumer/.claude/agents/builder.md.example +0 -0
- package/templates/root-consumer/.claude/agents/coder.md.example +0 -0
- package/templates/root-consumer/.claude/agents/extractor.md.example +0 -0
- package/templates/root-consumer/.claude/agents/polisher.md.example +0 -0
- package/templates/root-consumer/.claude/agents/prompt-engineer.md.example +0 -0
- package/templates/root-consumer/.claude/hooks/guard-bash.sh.example +0 -0
- package/templates/root-consumer/.claude/hooks/guard-write.sh.example +2 -35
- package/templates/root-consumer/.claude/hooks/session-start.sh.example +1 -1
- package/templates/root-consumer/.claude/hooks/typecheck-stop.sh.example +0 -0
- package/templates/root-consumer/.claude/rules/consumer-ux.md.example +1 -1
- package/templates/root-consumer/.claude/rules/definition-of-done.md.example +0 -0
- package/templates/root-consumer/.claude/rules/framework.md.example +0 -0
- package/templates/root-consumer/.claude/rules/git.md.example +0 -0
- package/templates/root-consumer/.claude/rules/security.md.example +0 -0
- package/templates/root-consumer/.claude/settings.json.example +1 -27
- package/templates/root-consumer/.claude/skills/brainstorm/SKILL.md.example +0 -0
- package/templates/root-consumer/.claude/skills/build/SKILL.md.example +23 -106
- package/templates/root-consumer/.claude/skills/design/SKILL.md.example +0 -0
- package/templates/root-consumer/.claude/skills/design/output-template.md +0 -0
- package/templates/root-consumer/.claude/skills/grill/SKILL.md.example +0 -0
- package/templates/root-consumer/.claude/skills/polish/SKILL.md.example +0 -0
- package/templates/root-consumer/.claude/skills/techdebt/SKILL.md.example +0 -0
- package/templates/root-consumer/.cursor/mcp.json.example +0 -0
- package/templates/root-consumer/.cursor/rules/no-docs.mdc.example +5 -1
- package/templates/root-consumer/.dndev/args.json.example +0 -0
- package/templates/root-consumer/.dndev.secrets.example +0 -0
- package/templates/root-consumer/.env.example +0 -1
- package/templates/root-consumer/.gemini/settings.json.example +0 -0
- package/templates/root-consumer/.gitignore.example +1 -0
- package/templates/root-consumer/.mcp.json.example +0 -0
- package/templates/root-consumer/.prettierrc.cjs.example +0 -0
- package/templates/root-consumer/AGENTS.md.example +63 -0
- package/templates/root-consumer/CLAUDE.md.example +1 -33
- package/templates/root-consumer/README.md.example +11 -33
- package/templates/root-consumer/entities/index.ts.example +0 -0
- package/templates/root-consumer/eslint.config.js.example +0 -0
- package/templates/root-consumer/tsconfig.json.example +0 -0
- package/templates/root-consumer/.claude/hooks/framework-compliance.sh.example +0 -56
- package/templates/root-consumer/.claude/hooks/guard-files.sh.example +0 -46
- package/templates/root-consumer/.claude/hooks/guard-mcp.sh.example +0 -91
- package/templates/root-consumer/.claude/hooks/guard-secrets.sh.example +0 -67
- package/templates/root-consumer/.claude/hooks/track-mcp-lookup.sh.example +0 -20
- package/templates/root-consumer/.claude/statusline.py.example +0 -79
- package/templates/root-consumer/.clinerules.example +0 -1
- package/templates/root-consumer/.cursorrules.example +0 -1
- package/templates/root-consumer/.github/copilot-instructions.md.example +0 -1
- package/templates/root-consumer/.windsurfrules.example +0 -1
- package/templates/root-consumer/AI.md.example +0 -108
- package/templates/root-consumer/CONVENTIONS.md.example +0 -1
- package/templates/root-consumer/GEMINI.md.example +0 -1
- package/templates/root-consumer/guides/dndev/AGENT_START_HERE.md.example +0 -135
- package/templates/root-consumer/guides/dndev/COMPONENTS_ADV.md.example +0 -276
- package/templates/root-consumer/guides/dndev/INDEX.md.example +0 -56
- package/templates/root-consumer/guides/dndev/SETUP_AUTH.md.example +0 -134
- package/templates/root-consumer/guides/dndev/SETUP_BILLING.md.example +0 -114
- package/templates/root-consumer/guides/dndev/SETUP_FIREBASE.md.example +0 -231
- package/templates/root-consumer/guides/dndev/SETUP_OAUTH.md.example +0 -59
- package/templates/root-consumer/guides/dndev/SETUP_OAUTH_PROVIDERS.md.example +0 -60
- package/templates/root-consumer/guides/dndev/SETUP_SOC2.md.example +0 -234
- package/templates/root-consumer/guides/dndev/SETUP_STRIPE.md.example +0 -62
- package/templates/root-consumer/guides/dndev/SETUP_SUPABASE.md.example +0 -262
- package/templates/root-consumer/guides/dndev/advanced/APP_CHECK.md.example +0 -111
- package/templates/root-consumer/guides/dndev/advanced/COOKIE_REFERENCE.md.example +0 -252
- package/templates/root-consumer/guides/dndev/advanced/EMULATORS.md.example +0 -48
- package/templates/root-consumer/guides/wai-way/WAI_WAY_CLI.md.example +0 -402
- package/templates/root-consumer/guides/wai-way/agents/architect.md.example +0 -78
- package/templates/root-consumer/guides/wai-way/agents/builder.md.example +0 -97
- package/templates/root-consumer/guides/wai-way/agents/extractor.md.example +0 -363
- package/templates/root-consumer/guides/wai-way/agents/polisher.md.example +0 -133
- package/templates/root-consumer/guides/wai-way/blueprints/0_brainstorm.md.example +0 -315
- package/templates/root-consumer/guides/wai-way/blueprints/1_scaffold.md.example +0 -133
- package/templates/root-consumer/guides/wai-way/blueprints/2_entities.md.example +0 -111
- package/templates/root-consumer/guides/wai-way/blueprints/3_compose.md.example +0 -148
- package/templates/root-consumer/guides/wai-way/blueprints/4_configure.md.example +0 -238
- package/templates/root-consumer/guides/wai-way/context_map.json.example +0 -127
- package/templates/root-consumer/guides/wai-way/entity_patterns.md.example +0 -839
- package/templates/root-consumer/guides/wai-way/hld_template.md.example +0 -138
- package/templates/root-consumer/guides/wai-way/lld_template.md.example +0 -103
- package/templates/root-consumer/guides/wai-way/page_patterns.md.example +0 -722
- package/templates/root-consumer/guides/wai-way/prd_template.md.example +0 -140
- package/templates/root-consumer/guides/wai-way/presets_guide.md.example +0 -217
- package/templates/root-consumer/guides/wai-way/spec_template.md.example +0 -313
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
# Dependencies
|
|
2
|
+
|
|
3
|
+
How packages are organized in a DoNotDev consumer project — what goes where, what's global, what's conditional, what's deprecated.
|
|
4
|
+
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
## Source of Truth
|
|
8
|
+
|
|
9
|
+
**`packages/cli/dependencies-matrix.json`** controls every version and placement. Never hardcode versions — the matrix resolves them via `dndev init` and `dndev bump`.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## Global Installs
|
|
14
|
+
|
|
15
|
+
| Package | Install | Notes |
|
|
16
|
+
|---------|---------|-------|
|
|
17
|
+
| `@donotdev/cli` | `npm i -g @donotdev/cli` | **Never in package.json.** Global binary only. |
|
|
18
|
+
| `bun` | System install | Runtime + package manager. Pinned in `packageManager` field. |
|
|
19
|
+
|
|
20
|
+
---
|
|
21
|
+
|
|
22
|
+
## Root vs App
|
|
23
|
+
|
|
24
|
+
### Root `package.json` (workspace root)
|
|
25
|
+
|
|
26
|
+
| Category | Packages |
|
|
27
|
+
|----------|----------|
|
|
28
|
+
| **dependencies** | `@donotdev/*` (core, auth, billing, components, crud, oauth, templates, ui), `react`, `react-dom`, `zustand`, `valibot`, `lucide-react` |
|
|
29
|
+
| **devDependencies** | Root tooling group (ESLint, TypeScript, Prettier) |
|
|
30
|
+
| **workspaces** | `["apps/*", "entities"]` |
|
|
31
|
+
|
|
32
|
+
**Rules:**
|
|
33
|
+
- All `@donotdev/*` packages live at root — hoisted, shared across apps
|
|
34
|
+
- React and its runtime peers (`zustand`, `valibot`, `lucide-react`) at root — one version for the monorepo
|
|
35
|
+
- No bundler at root. Vite, PostCSS, Rollup plugins belong in apps
|
|
36
|
+
|
|
37
|
+
### App `package.json` (e.g., `apps/my-app/`)
|
|
38
|
+
|
|
39
|
+
| Category | Packages | Why |
|
|
40
|
+
|----------|----------|-----|
|
|
41
|
+
| **dependencies** | App-specific runtime deps not hoisted to root | Rare — most come from root |
|
|
42
|
+
| **devDependencies** | `vite`, `@vitejs/plugin-react`, `postcss`, `core-vite-config` group, `typescript`, `i18n` tooling, `react-query` | Externalized by the Vite config — not bundled, provided by the dev environment |
|
|
43
|
+
|
|
44
|
+
**Rule:** If the Vite config externalizes it, it's a devDependency in the app.
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Dependency Categories
|
|
49
|
+
|
|
50
|
+
### Always at root (runtime)
|
|
51
|
+
|
|
52
|
+
These are imported in bundled code. Consumers need them at runtime.
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
react, react-dom, zustand, valibot, lucide-react
|
|
56
|
+
@donotdev/core, @donotdev/ui, @donotdev/components, @donotdev/auth
|
|
57
|
+
@donotdev/crud, @donotdev/billing, @donotdev/oauth, @donotdev/templates
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
### Always in app devDependencies (build tooling)
|
|
61
|
+
|
|
62
|
+
Externalized by `defineViteConfig`. Not shipped in the bundle.
|
|
63
|
+
|
|
64
|
+
```
|
|
65
|
+
vite, @vitejs/plugin-react, @vitejs/plugin-basic-ssl
|
|
66
|
+
@rollup/plugin-strip, rollup-plugin-visualizer
|
|
67
|
+
vite-plugin-pwa, vite-tsconfig-paths
|
|
68
|
+
postcss, autoprefixer
|
|
69
|
+
typescript, @types/react, @types/react-dom
|
|
70
|
+
i18next, react-i18next, i18next-browser-languagedetector
|
|
71
|
+
@tanstack/react-query
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## Platform Conditionals
|
|
77
|
+
|
|
78
|
+
Added only when the matching platform is selected during `dndev init`.
|
|
79
|
+
|
|
80
|
+
| Platform | Root dependencies | Root devDependencies |
|
|
81
|
+
|----------|------------------|---------------------|
|
|
82
|
+
| **Firebase** | `firebase` (client SDK) | — |
|
|
83
|
+
| **Supabase** | `@supabase/supabase-js`, `@supabase/ssr` | `supabase` (CLI) |
|
|
84
|
+
|
|
85
|
+
**Rule:** Never add both. One platform per project.
|
|
86
|
+
|
|
87
|
+
---
|
|
88
|
+
|
|
89
|
+
## Opt-In Packages
|
|
90
|
+
|
|
91
|
+
**Not installed by default.** Only add when the feature is actively used.
|
|
92
|
+
|
|
93
|
+
| Package | When to add | Where |
|
|
94
|
+
|---------|------------|-------|
|
|
95
|
+
| `shiki` | Code syntax highlighting (CodeBlock component) | Root dependencies |
|
|
96
|
+
| `@tiptap/*` | Rich text editor | Root dependencies |
|
|
97
|
+
| `@sentry/*` | Error monitoring | App dependencies |
|
|
98
|
+
| `stripe` | Server-side Stripe (Edge Functions) | Functions package |
|
|
99
|
+
|
|
100
|
+
These are declared as optional peers (`peerDependenciesMeta: { optional: true }`) in the framework — no warnings if absent.
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## Deprecated / Removed
|
|
105
|
+
|
|
106
|
+
| Package | Status | Replacement |
|
|
107
|
+
|---------|--------|-------------|
|
|
108
|
+
| `puppeteer` | **Removed** | Use Playwright or headless browser tooling outside the framework |
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## Functions Packages
|
|
113
|
+
|
|
114
|
+
Backend functions (`functions-firebase`, `functions-supabase`, `functions-vercel`) have their own dependency set, isolated from the frontend workspace.
|
|
115
|
+
|
|
116
|
+
**Rule:** Server-only packages (Stripe server SDK, admin SDKs, server utilities) go in the functions package, never at root.
|
|
117
|
+
|
|
118
|
+
---
|
|
119
|
+
|
|
120
|
+
## Overrides
|
|
121
|
+
|
|
122
|
+
Consumer projects get an `overrides` field in root `package.json` to pin transitive dependency versions. Managed automatically by `dndev bump` — never edit manually.
|
|
123
|
+
|
|
124
|
+
```json
|
|
125
|
+
{
|
|
126
|
+
"overrides": {
|
|
127
|
+
"@donotdev/core": "0.1.1",
|
|
128
|
+
"path-to-regexp": "^0.1.7"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
## Upgrading
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
dndev bump --check # See available updates
|
|
139
|
+
dndev bump --dry-run # Preview changes
|
|
140
|
+
dndev bump # Apply safe updates (minor/patch)
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
See the **Version Control** guideline for the full upgrade process.
|
|
144
|
+
|
|
145
|
+
---
|
|
146
|
+
|
|
147
|
+
## Anti-Patterns
|
|
148
|
+
|
|
149
|
+
- **`@donotdev/cli` in package.json** — global only, never a project dependency
|
|
150
|
+
- **Bundler at root** — Vite/Rollup/PostCSS belong in app devDependencies
|
|
151
|
+
- **Both Firebase and Supabase** — pick one platform
|
|
152
|
+
- **Opt-in packages installed by default** — shiki, tiptap, sentry add weight; only when needed
|
|
153
|
+
- **Manual version edits** — use `dndev bump`, not hand-editing
|
|
154
|
+
- **`bun install` for @donotdev packages** — use `dndev bump` to stay in sync with the matrix
|
|
155
|
+
- **Custom workspace entries** — workspaces must be `["apps/*", "entities"]` only. Adding local path entries (e.g., `../some-path/packages/*`) will resolve packages from disk instead of npm, breaking your install
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
VITE_AUTH_PARTNERS=password, google, github, apple, discord, facebook, linkedin, reddit, twitch, twitter, microsoft, spotify, yahoo
|
|
1
|
+
VITE_AUTH_PARTNERS=password, google, github, apple, discord, facebook, linkedin, reddit, twitch, twitter, microsoft, spotify, yahoo
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -29,6 +29,12 @@
|
|
|
29
29
|
--ring: var(--primary);
|
|
30
30
|
/* --placeholder: rgb(from var(--muted-foreground) r g b / 0.6); */
|
|
31
31
|
|
|
32
|
+
/* Interactive surface — background for inputs (.dndev-input) and outline
|
|
33
|
+
buttons (.dndev-interactive[data-variant='outline']). Parallel to --card
|
|
34
|
+
for containers. Defaults to transparent (see variables.css). Uncomment
|
|
35
|
+
to tint. */
|
|
36
|
+
/* --interactive: var(--muted); */
|
|
37
|
+
|
|
32
38
|
/* Brand colors */
|
|
33
39
|
--primary: #0ea5e9;
|
|
34
40
|
--primary-foreground: #ffffff;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -35,9 +35,9 @@ export const appConfig: AppConfig = {
|
|
|
35
35
|
footer: {
|
|
36
36
|
legalLinks: [
|
|
37
37
|
{ path: '#cookie-settings', label: 'footer.legal.cookieSettings' },
|
|
38
|
+
{ path: '/legal/legal-notice', label: 'footer.legal.legalNotice' },
|
|
38
39
|
{ path: '/legal/privacy', label: 'footer.legal.privacyPolicy' },
|
|
39
40
|
{ path: '/legal/terms', label: 'footer.legal.termsOfService' },
|
|
40
|
-
// { path: '/legal/notice', label: 'footer.legal.legalNotice' },
|
|
41
41
|
],
|
|
42
42
|
},
|
|
43
43
|
},
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/config/providers.ts — Provider bootstrap
|
|
2
2
|
// Auto-generated by DoNotDev scaffolding. Edit freely.
|
|
3
3
|
// When you add a backend (Firebase, Supabase), replace this file with the appropriate provider setup.
|
|
4
|
-
// See:
|
|
4
|
+
// See: get_guideline("ENV_SETUP") / @donotdev/core guidelines
|
|
5
5
|
|
|
6
6
|
// No backend configured — nothing to register.
|
|
7
7
|
// To add a backend later, run: dndev create-app (in an existing project, it merges)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -30,6 +30,11 @@
|
|
|
30
30
|
--input: #e4e4e7;
|
|
31
31
|
--ring: var(--primary);
|
|
32
32
|
/* --placeholder: rgb(from var(--muted-foreground) r g b / 0.6); */
|
|
33
|
+
|
|
34
|
+
/* Interactive surface — background for inputs + outline buttons.
|
|
35
|
+
Defaults to transparent (see variables.css). Uncomment to tint. */
|
|
36
|
+
/* --interactive: var(--muted); */
|
|
37
|
+
|
|
33
38
|
--card: #ffffff;
|
|
34
39
|
--card-foreground: #09090b;
|
|
35
40
|
--popover: #ffffff;
|
|
File without changes
|
|
File without changes
|
|
@@ -3,38 +3,6 @@
|
|
|
3
3
|
# =============================================================================
|
|
4
4
|
# Copy this file to .env and update with your values
|
|
5
5
|
|
|
6
|
-
# =============================================================================
|
|
7
|
-
# DoNotDev License Key
|
|
8
|
-
# =============================================================================
|
|
9
|
-
# Get your license key from: https://donotdev.com/pricing
|
|
10
|
-
# Removes watermark and enables all features
|
|
11
|
-
EXPO_PUBLIC_DONOTDEV_LICENSE_KEY=dndev_your_key_here
|
|
12
|
-
|
|
13
|
-
# =============================================================================
|
|
14
|
-
# Authentication & OAuth Providers
|
|
15
|
-
# =============================================================================
|
|
16
|
-
# Comma-separated list of enabled auth providers
|
|
17
|
-
# Available: github (required for framework), google, facebook, discord, twitter, microsoft, spotify, linkedin, reddit, twitch, yahoo, apple
|
|
18
|
-
# Uncomment when Firebase is configured
|
|
19
|
-
# EXPO_PUBLIC_AUTH_PARTNERS=github
|
|
20
|
-
|
|
21
|
-
# Comma-separated list of enabled OAuth partners for API access
|
|
22
|
-
# Available: google, github, facebook, discord, twitter, microsoft, spotify, linkedin, reddit, twitch, yahoo, apple
|
|
23
|
-
# EXPO_PUBLIC_OAUTH_PARTNERS=google,spotify
|
|
24
|
-
|
|
25
|
-
# Individual OAuth client IDs (only needed for OAuth partners)
|
|
26
|
-
# EXPO_PUBLIC_GOOGLE_CLIENT_ID=your_google_client_id
|
|
27
|
-
# EXPO_PUBLIC_GITHUB_CLIENT_ID=your_github_client_id
|
|
28
|
-
# EXPO_PUBLIC_SPOTIFY_CLIENT_ID=your_spotify_client_id
|
|
29
|
-
|
|
30
|
-
# =============================================================================
|
|
31
|
-
# Backend-specific vars are appended below by your backend choice
|
|
32
|
-
# (Firebase, Supabase, etc.) — see overlay templates
|
|
33
|
-
# =============================================================================
|
|
34
|
-
|
|
35
|
-
# =============================================================================
|
|
36
|
-
# Stripe Configuration (if using billing)
|
|
37
|
-
# =============================================================================
|
|
38
6
|
EXPO_PUBLIC_STRIPE_PUBLISHABLE_KEY=
|
|
39
7
|
|
|
40
8
|
# =============================================================================
|
|
File without changes
|
|
File without changes
|
|
@@ -55,4 +55,4 @@ eas.json # EAS Build configuration
|
|
|
55
55
|
|
|
56
56
|
- [Expo Router Docs](https://docs.expo.dev/router/introduction/)
|
|
57
57
|
- [DoNotDev Expo Package](../../../docs/development/EXPO_QUICK_START.md)
|
|
58
|
-
-
|
|
58
|
+
- WAI-WAY: MCP `get_guideline("WAI_WAY_CLI")` (shipped with `@donotdev/mcp-server`)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"type": "service_account",
|
|
3
3
|
"project_id": "{{YOUR_FIREBASE_PROJECT_ID}}",
|
|
4
4
|
"private_key_id": "your_private_key_id",
|
|
5
|
-
"private_key": "
|
|
5
|
+
"private_key": "<firebase_private_key>",
|
|
6
6
|
"client_email": "firebase-adminsdk-xxxxx@{{YOUR_FIREBASE_PROJECT_ID}}.iam.gserviceaccount.com",
|
|
7
7
|
"client_id": "your_client_id",
|
|
8
8
|
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/config/providers.ts — Provider bootstrap
|
|
2
2
|
// Auto-generated by DoNotDev scaffolding. Edit freely.
|
|
3
3
|
// When you add a backend (Firebase, Supabase), replace this file with the appropriate provider setup.
|
|
4
|
-
// See:
|
|
4
|
+
// See: get_guideline("ENV_SETUP") / @donotdev/core guidelines
|
|
5
5
|
|
|
6
6
|
// No backend configured — nothing to register.
|
|
7
7
|
// To add a backend later, run: dndev create-app (in an existing project, it merges)
|
|
File without changes
|
|
@@ -23,39 +23,6 @@
|
|
|
23
23
|
# =============================================================================
|
|
24
24
|
NEXT_PUBLIC_APP_URL=http://localhost:3000
|
|
25
25
|
|
|
26
|
-
# =============================================================================
|
|
27
|
-
# DoNotDev License Key
|
|
28
|
-
# =============================================================================
|
|
29
|
-
# Get your license key from: https://donotdev.com/pricing
|
|
30
|
-
# Removes watermark and enables all features
|
|
31
|
-
# Can be the same key as in root .env if sharing across apps
|
|
32
|
-
NEXT_PUBLIC_DONOTDEV_LICENSE_KEY=dndev_your_key_here
|
|
33
|
-
|
|
34
|
-
# =============================================================================
|
|
35
|
-
# Authentication & OAuth Providers
|
|
36
|
-
# =============================================================================
|
|
37
|
-
# Comma-separated list of enabled auth providers
|
|
38
|
-
# Available: github (required for framework), google, facebook, discord, twitter, microsoft, spotify, linkedin, reddit, twitch, yahoo, apple
|
|
39
|
-
# Uncomment when your backend is configured
|
|
40
|
-
# NEXT_PUBLIC_AUTH_PARTNERS=google,github
|
|
41
|
-
|
|
42
|
-
# Comma-separated list of enabled OAuth partners for API access
|
|
43
|
-
# Available: google, github, facebook, discord, twitter, microsoft, spotify, linkedin, reddit, twitch, yahoo, apple
|
|
44
|
-
# NEXT_PUBLIC_OAUTH_PARTNERS=google,spotify
|
|
45
|
-
|
|
46
|
-
# Individual OAuth client IDs (only needed for OAuth partners)
|
|
47
|
-
# NEXT_PUBLIC_GOOGLE_CLIENT_ID=your_google_client_id
|
|
48
|
-
# NEXT_PUBLIC_GITHUB_CLIENT_ID=your_github_client_id
|
|
49
|
-
# NEXT_PUBLIC_SPOTIFY_CLIENT_ID=your_spotify_client_id
|
|
50
|
-
|
|
51
|
-
# =============================================================================
|
|
52
|
-
# Backend-specific vars are appended below by your backend choice
|
|
53
|
-
# (Firebase, Supabase, etc.) — see overlay templates
|
|
54
|
-
# =============================================================================
|
|
55
|
-
|
|
56
|
-
# =============================================================================
|
|
57
|
-
# Stripe Configuration (if using billing)
|
|
58
|
-
# =============================================================================
|
|
59
26
|
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=
|
|
60
27
|
|
|
61
28
|
# =============================================================================
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -7,6 +7,8 @@
|
|
|
7
7
|
* @author AMBROISE PARK Consulting
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
+
import { Suspense } from 'react';
|
|
11
|
+
|
|
10
12
|
import { NotFoundPage } from '@donotdev/ui';
|
|
11
13
|
|
|
12
14
|
/**
|
|
@@ -16,6 +18,17 @@ import { NotFoundPage } from '@donotdev/ui';
|
|
|
16
18
|
* - i18n translation support
|
|
17
19
|
* - Dynamic route suggestions
|
|
18
20
|
* - Accessible navigation buttons
|
|
21
|
+
*
|
|
22
|
+
* NotFoundPage uses the routing hooks (useLocation/useNavigate), whose Next
|
|
23
|
+
* adapter calls useSearchParams(). In the App Router that forces a client-side
|
|
24
|
+
* bailout that throws during static prerender of /_not-found unless wrapped in
|
|
25
|
+
* a Suspense boundary.
|
|
19
26
|
*/
|
|
20
|
-
export default
|
|
27
|
+
export default function NotFound() {
|
|
28
|
+
return (
|
|
29
|
+
<Suspense fallback={null}>
|
|
30
|
+
<NotFoundPage />
|
|
31
|
+
</Suspense>
|
|
32
|
+
);
|
|
33
|
+
}
|
|
21
34
|
|
|
@@ -35,9 +35,9 @@ export const appConfig: AppConfig = {
|
|
|
35
35
|
footer: {
|
|
36
36
|
legalLinks: [
|
|
37
37
|
{ path: '#cookie-settings', label: 'footer.legal.cookieSettings' },
|
|
38
|
+
{ path: '/legal/legal-notice', label: 'footer.legal.legalNotice' },
|
|
38
39
|
{ path: '/legal/privacy', label: 'footer.legal.privacyPolicy' },
|
|
39
40
|
{ path: '/legal/terms', label: 'footer.legal.termsOfService' },
|
|
40
|
-
// { path: '/legal/notice', label: 'footer.legal.legalNotice' },
|
|
41
41
|
],
|
|
42
42
|
},
|
|
43
43
|
},
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/config/providers.ts — Provider bootstrap
|
|
2
2
|
// Auto-generated by DoNotDev scaffolding. Edit freely.
|
|
3
3
|
// When you add a backend (Firebase, Supabase), replace this file with the appropriate provider setup.
|
|
4
|
-
// See:
|
|
4
|
+
// See: get_guideline("ENV_SETUP") / @donotdev/core guidelines
|
|
5
5
|
|
|
6
6
|
// No backend configured — nothing to register.
|
|
7
7
|
// To add a backend later, run: dndev create-app (in an existing project, it merges)
|
|
File without changes
|
|
File without changes
|