@donotdev/cli 0.3.0 → 0.3.2

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.
Files changed (104) hide show
  1. package/dependencies-matrix.json +51 -27
  2. package/dist/bin/commands/agent-setup.js +28 -18
  3. package/dist/bin/commands/build.js +1086 -58
  4. package/dist/bin/commands/bump.js +337 -53
  5. package/dist/bin/commands/cacheout.js +28 -18
  6. package/dist/bin/commands/coach.js +33 -25
  7. package/dist/bin/commands/create-app.js +597 -244
  8. package/dist/bin/commands/create-project.js +607 -254
  9. package/dist/bin/commands/db-check.js +37 -28
  10. package/dist/bin/commands/db.js +37 -28
  11. package/dist/bin/commands/deploy.js +13758 -11807
  12. package/dist/bin/commands/dev.js +50 -34
  13. package/dist/bin/commands/doctor.js +33 -25
  14. package/dist/bin/commands/emu.js +65 -43
  15. package/dist/bin/commands/format.js +28 -18
  16. package/dist/bin/commands/get-demo.js +81 -46
  17. package/dist/bin/commands/make-admin.js +966 -896
  18. package/dist/bin/commands/preview.js +50 -34
  19. package/dist/bin/commands/seed.js +37 -28
  20. package/dist/bin/commands/setup-cicd.js +1286 -87
  21. package/dist/bin/commands/setup.js +152 -138
  22. package/dist/bin/commands/staging.js +13758 -11807
  23. package/dist/bin/commands/sync-secrets.js +152 -132
  24. package/dist/bin/commands/type-check.js +1086 -39
  25. package/dist/bin/commands/wai.js +28 -18
  26. package/dist/bin/dndev.js +513 -30
  27. package/dist/bin/donotdev.js +33 -8
  28. package/dist/index.js +14568 -12497
  29. package/package.json +1 -1
  30. package/templates/app-demo/index.html.example +0 -1
  31. package/templates/app-demo/src/pages/ConditionalFormPage.tsx.example +2 -2
  32. package/templates/app-demo/src/pages/ShowcaseDetailPage.tsx.example +1 -0
  33. package/templates/app-demo/tsconfig.json.example +1 -1
  34. package/templates/app-dndev/index.html.example +1 -3
  35. package/templates/app-dndev/src/pages/NotFoundPage.tsx.example +1 -0
  36. package/templates/app-expo/app/_layout.tsx.example +1 -1
  37. package/templates/app-expo/app/form.tsx.example +10 -3
  38. package/templates/app-expo/app/index.tsx.example +3 -3
  39. package/templates/app-expo/app/list.tsx.example +2 -2
  40. package/templates/app-expo/app/profile.tsx.example +4 -3
  41. package/templates/app-expo/app/signin.tsx.example +2 -2
  42. package/templates/app-expo/babel.config.js.example +23 -6
  43. package/templates/app-expo/metro.config.js.example +7 -17
  44. package/templates/app-expo/tsconfig.json.example +2 -1
  45. package/templates/app-next/src/app/AppDocument.tsx.example +2 -3
  46. package/templates/app-vite/index.html.example +1 -3
  47. package/templates/app-vite/src/locales/home_en.json.example +6 -6
  48. package/templates/app-vite/src/pages/FormPageExample.tsx.example +1 -1
  49. package/templates/app-vite/src/pages/HomePage.tsx.example +3 -3
  50. package/templates/app-vite/src/pages/NotFoundPage.tsx.example +1 -0
  51. package/templates/deploy-config/firebase.json.example +6 -5
  52. package/templates/deploy-config/tsconfig.functions.json.example +2 -7
  53. package/templates/deploy-config/vercel.json.example +6 -420
  54. package/templates/functions-firebase/README.md.example +8 -8
  55. package/templates/functions-firebase/functions.config.js.example +2 -1
  56. package/templates/functions-firebase/src/index.ts.example +4 -3
  57. package/templates/functions-firebase/src/oauth/exchangeToken.ts.example +8 -6
  58. package/templates/functions-firebase/src/oauth/refreshToken.ts.example +8 -6
  59. package/templates/functions-firebase/tsconfig.json.example +3 -5
  60. package/templates/functions-supabase/supabase/config.toml.example +2 -1
  61. package/templates/functions-supabase/supabase/functions/change-plan/index.ts.example +2 -3
  62. package/templates/functions-supabase/supabase/functions/create-checkout-session/index.ts.example +2 -3
  63. package/templates/functions-supabase/supabase/functions/stripe-webhook/index.ts.example +2 -3
  64. package/templates/functions-vercel/README.md.example +15 -25
  65. package/templates/functions-vercel/build.mjs.example +4 -46
  66. package/templates/functions-vercel/src/api/auth/setCustomClaims.ts.example +6 -11
  67. package/templates/functions-vercel/src/api/billing/handleStripeWebhook.ts.example +2 -3
  68. package/templates/functions-vercel/src/api/oauth/checkGitHubAccess.ts.example +5 -11
  69. package/templates/functions-vercel/src/api/oauth/exchangeToken.ts.example +5 -11
  70. package/templates/functions-vercel/src/api/oauth/grantGitHubAccess.ts.example +5 -11
  71. package/templates/functions-vercel/tsconfig.json.example +5 -6
  72. package/templates/github/workflows/firebase-deploy.yml.example +1 -1
  73. package/templates/preset-admin/src/pages/DashboardPage.tsx.example +3 -2
  74. package/templates/preset-admin/src/pages/ReportsPage.tsx.example +13 -12
  75. package/templates/preset-admin/src/pages/SettingsPage.tsx.example +5 -5
  76. package/templates/preset-admin/src/pages/UsersPage.tsx.example +13 -12
  77. package/templates/preset-ecommerce/src/pages/CartPage.tsx.example +5 -5
  78. package/templates/preset-ecommerce/src/pages/CatalogPage.tsx.example +1 -4
  79. package/templates/preset-ecommerce/src/pages/CheckoutPage.tsx.example +10 -12
  80. package/templates/preset-ecommerce/src/pages/ProductPage.tsx.example +7 -4
  81. package/templates/preset-landing/src/pages/AboutPage.tsx.example +11 -9
  82. package/templates/preset-landing/src/pages/ContactPage.tsx.example +13 -7
  83. package/templates/preset-landing/src/pages/HomePage.tsx.example +50 -32
  84. package/templates/preset-saas/src/pages/DashboardPage.tsx.example +1 -1
  85. package/templates/preset-saas/src/pages/HomePage.tsx.example +3 -2
  86. package/templates/preset-saas/src/pages/PricingPage.tsx.example +4 -3
  87. package/templates/preset-saas/src/pages/ProfilePage.tsx.example +7 -7
  88. package/templates/preset-saas/src/pages/SettingsPage.tsx.example +3 -3
  89. package/templates/root-consumer/.claude/hooks/guard-bash.sh.example +101 -10
  90. package/templates/root-consumer/.claude/rules/definition-of-done.md.example +2 -2
  91. package/templates/root-consumer/.claude/rules/framework.md.example +1 -1
  92. package/templates/root-consumer/.claude/settings.json.example +0 -11
  93. package/templates/root-consumer/.claude/skills/build/SKILL.md.example +1 -1
  94. package/templates/root-consumer/.dndev/args.json.example +2 -2
  95. package/templates/root-consumer/.env.example +1 -1
  96. package/templates/root-consumer/.gitignore.example +2 -0
  97. package/templates/root-consumer/AGENTS.md.example +3 -3
  98. package/templates/root-consumer/README.md.example +1 -1
  99. package/templates/app-vite/csp.example.json +0 -44
  100. package/templates/functions-vercel/src/api/oauth/disconnect.ts.example +0 -20
  101. package/templates/functions-vercel/src/api/oauth/getConnections.ts.example +0 -20
  102. package/templates/functions-vercel/src/api/oauth/refreshToken.ts.example +0 -20
  103. package/templates/functions-vercel/vercel.json.example +0 -14
  104. package/templates/root-consumer/.claude/hooks/typecheck-stop.sh.example +0 -18
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@donotdev/cli",
3
- "version": "0.3.0",
3
+ "version": "0.3.2",
4
4
  "description": "Command-line interface for DoNotDev Framework",
5
5
  "type": "module",
6
6
  "private": false,
@@ -3,7 +3,6 @@
3
3
 
4
4
  <head>
5
5
  <meta charset="UTF-8" />
6
- <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
7
6
 
8
7
  <!-- Meta tags -->
9
8
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
@@ -50,7 +50,7 @@ export default function ConditionalFormPage() {
50
50
  }}
51
51
  submitText="Get Quote"
52
52
  cancelText={null}
53
- warnOnUnsavedChanges={false}
53
+ successPath={null}
54
54
  hideVisibilityInfo
55
55
  />
56
56
  </Card>
@@ -74,7 +74,7 @@ export default function ConditionalFormPage() {
74
74
  }}
75
75
  submitText="Book Now"
76
76
  cancelText={null}
77
- warnOnUnsavedChanges={false}
77
+ successPath={null}
78
78
  hideVisibilityInfo
79
79
  />
80
80
  </Card>
@@ -18,6 +18,7 @@ export const meta: PageMeta = {
18
18
  route: '/showcase/:id',
19
19
  hideFromMenu: true,
20
20
  preset: 'admin',
21
+ seo: { noindex: true },
21
22
  };
22
23
 
23
24
  export default function ShowcaseDetailPage() {
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": "../../tsconfig.vite.json",
2
+ "extends": "../../tsconfig.json",
3
3
  "compilerOptions": {
4
4
  "baseUrl": ".",
5
5
  "types": ["node", "vite/client"]
@@ -5,10 +5,8 @@
5
5
 
6
6
  <!-- ✅ CORE: Performance-critical meta tags first -->
7
7
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
8
- <meta name="color-scheme" content="light dark" />
9
8
 
10
- <!-- ✅ DnDev: Framework will inject FaviconHead here -->
11
- <!-- All favicon links will be added by FaviconHead component -->
9
+ <!-- ✅ DnDev: the build adds the favicon tags (icons, theme-color, color-scheme) to <head> -->
12
10
 
13
11
  <!-- ✅ DnDev: Asset manifest injection point -->
14
12
  <!-- window.__DNDEV_ASSETS__ and __DNDEV_ASSET_MANIFEST__ injected here -->
@@ -28,6 +28,7 @@ export const meta: PageMeta = {
28
28
  namespace: NAMESPACE,
29
29
  route: '/404',
30
30
  hideFromMenu: true,
31
+ seo: { noindex: true },
31
32
  };
32
33
 
33
34
  export { NotFoundPage as default } from '@donotdev/ui';
@@ -16,7 +16,7 @@ import { useAuth } from '@donotdev/auth';
16
16
  * Inner layout — rendered inside ExpoAppProviders so useAuth() has context.
17
17
  */
18
18
  function AppStack() {
19
- const { user } = useAuth();
19
+ const user = useAuth('user');
20
20
 
21
21
  return (
22
22
  <Stack
@@ -14,7 +14,7 @@ import { SafeAreaView } from 'react-native-safe-area-context';
14
14
  import { useLocalSearchParams, useRouter } from 'expo-router';
15
15
 
16
16
  import { EntityFormRenderer, Stack, Text } from '@donotdev/expo';
17
- import { useCrud } from '@donotdev/crud';
17
+ import { useCrud, useCrudDoc } from '@donotdev/crud';
18
18
 
19
19
  // import { productEntity } from '../entities/Product';
20
20
  const productEntity = null as any; // replace with your entity
@@ -26,6 +26,8 @@ export default function FormPage() {
26
26
  const router = useRouter();
27
27
  const { id } = useLocalSearchParams<{ id?: string }>();
28
28
  const { add, update } = useCrud(productEntity);
29
+ // Existing record (edit mode): read through the CRUD cache
30
+ const { data: record } = useCrudDoc(productEntity, id ?? null);
29
31
  const [submitting, setSubmitting] = useState(false);
30
32
 
31
33
  const handleSubmit = async (data: unknown) => {
@@ -43,9 +45,14 @@ export default function FormPage() {
43
45
 
44
46
  return (
45
47
  <SafeAreaView style={{ flex: 1 }}>
46
- <Stack spacing={16} style={{ flex: 1, padding: 16 }}>
48
+ <Stack gap={16} style={{ flex: 1, padding: 16 }}>
47
49
  <Text level="h2">{id ? 'Edit' : 'Create'}</Text>
48
- <EntityFormRenderer entity={productEntity} entityId={id} onSubmit={handleSubmit} />
50
+ <EntityFormRenderer
51
+ entity={productEntity}
52
+ operation={id ? 'edit' : 'create'}
53
+ defaultValues={record ?? undefined}
54
+ onSubmit={handleSubmit}
55
+ />
49
56
  </Stack>
50
57
  </SafeAreaView>
51
58
  );
@@ -17,11 +17,11 @@ import { useAuth } from '@donotdev/auth';
17
17
  */
18
18
  export default function HomePage() {
19
19
  const navigate = useNavigate();
20
- const { user } = useAuth();
20
+ const user = useAuth('user');
21
21
 
22
22
  return (
23
23
  <View style={styles.container}>
24
- <Stack spacing={24} style={styles.content}>
24
+ <Stack gap={24} style={styles.content}>
25
25
  <Text level="h1">Welcome to {{appName}}</Text>
26
26
 
27
27
  <Card title="Getting Started">
@@ -29,7 +29,7 @@ export default function HomePage() {
29
29
  Your Expo app is running! Follow these steps to get started:
30
30
  </Text>
31
31
 
32
- <Stack spacing={16} style={styles.steps}>
32
+ <Stack gap={16} style={styles.steps}>
33
33
  <View>
34
34
  <Text level="h3">1. Backend Setup</Text>
35
35
  <Text level="small">
@@ -19,11 +19,11 @@ const productEntity = null as any; // replace with your entity
19
19
  * List page component — shows all records for an entity
20
20
  */
21
21
  export default function ListPage() {
22
- const { user } = useAuth();
22
+ const user = useAuth('user');
23
23
 
24
24
  return (
25
25
  <SafeAreaView style={{ flex: 1 }}>
26
- <Stack spacing={16} style={{ flex: 1, padding: 16 }}>
26
+ <Stack gap={16} style={{ flex: 1, padding: 16 }}>
27
27
  <Text level="h2">Products</Text>
28
28
  <EntityCardList entity={productEntity} userRole={user?.role} />
29
29
  </Stack>
@@ -16,7 +16,8 @@ import { useNavigate } from '@donotdev/expo';
16
16
  * Profile page component
17
17
  */
18
18
  export default function ProfilePage() {
19
- const { user, signOut } = useAuth();
19
+ const user = useAuth('user');
20
+ const signOut = useAuth('signOut');
20
21
  const navigate = useNavigate();
21
22
 
22
23
  if (!user) {
@@ -31,11 +32,11 @@ export default function ProfilePage() {
31
32
 
32
33
  return (
33
34
  <View style={styles.container}>
34
- <Stack spacing={24} style={styles.content}>
35
+ <Stack gap={24} style={styles.content}>
35
36
  <Text level="h1">Profile</Text>
36
37
 
37
38
  <Card title="Account Information">
38
- <Stack spacing={12}>
39
+ <Stack gap={12}>
39
40
  <View>
40
41
  <Text level="small" style={styles.label}>Email</Text>
41
42
  <Text level="body">{user.email}</Text>
@@ -9,7 +9,7 @@
9
9
 
10
10
  import { View, StyleSheet } from 'react-native';
11
11
  import { Text, Card, Stack, Button } from '@donotdev/expo';
12
- import { MultipleAuthProviders } from '@donotdev/expo';
12
+ import { MultipleAuthProviders } from '@donotdev/expo/features';
13
13
  import { useNavigate } from '@donotdev/expo';
14
14
 
15
15
  /**
@@ -20,7 +20,7 @@ export default function SignInPage() {
20
20
 
21
21
  return (
22
22
  <View style={styles.container}>
23
- <Stack spacing={24} style={styles.content}>
23
+ <Stack gap={24} style={styles.content}>
24
24
  <Text level="h1">Sign In</Text>
25
25
 
26
26
  <Card title="Welcome Back">
@@ -1,10 +1,27 @@
1
- module.exports = function (api) {
1
+ // Learn more https://docs.expo.dev/versions/latest/config/babel/
2
+ // ESM: the app package.json is "type": "module". Keep the name babel.config.js:
3
+ // Expo only detects that name and otherwise adds its default preset a second time.
4
+ import { createRequire } from 'node:module';
5
+ import path from 'node:path';
6
+
7
+ const require = createRequire(import.meta.url);
8
+
9
+ // The preset Expo itself uses, resolved through `expo` (its dependency): the app needs
10
+ // no babel-preset-expo dependency, isolated installs do not hoist it.
11
+ const babelPresetExpo = require.resolve('babel-preset-expo', {
12
+ paths: [path.dirname(require.resolve('expo/package.json'))],
13
+ });
14
+
15
+ export default function (api) {
2
16
  api.cache(true);
3
17
  return {
4
- presets: ['babel-preset-expo'],
5
- plugins: [
6
- // Required for expo-router
7
- 'expo-router/babel',
18
+ presets: [
19
+ [
20
+ babelPresetExpo,
21
+ // @donotdev packages read import.meta.env (Vite/Next builds). Hermes has no
22
+ // import.meta: the preset polyfills it on native too.
23
+ { unstable_transformImportMeta: true },
24
+ ],
8
25
  ],
9
26
  };
10
- };
27
+ }
@@ -1,20 +1,10 @@
1
1
  // Learn more https://docs.expo.dev/guides/customizing-metro
2
- const { getDefaultConfig } = require('expo/metro-config');
3
- const path = require('path');
2
+ // ESM: the app package.json is "type": "module".
3
+ // Expo configures Metro for monorepos itself (SDK 52+): do not set watchFolders or
4
+ // node_modules paths here, they replace Expo's and hide the workspace node_modules.
5
+ import { getDefaultConfig } from 'expo/metro-config.js';
4
6
 
5
- const projectRoot = __dirname;
6
- const workspaceRoot = path.resolve(projectRoot, '../..');
7
+ /** @type {import('expo/metro-config.js').MetroConfig} */
8
+ const config = getDefaultConfig(import.meta.dirname);
7
9
 
8
- /** @type {import('expo/metro-config').MetroConfig} */
9
- const config = getDefaultConfig(projectRoot);
10
-
11
- // Watch workspace packages (not the entire root — avoids churning on unrelated changes)
12
- config.watchFolders = [path.resolve(workspaceRoot, 'packages')];
13
-
14
- // Let Metro resolve from both the app's own node_modules and the workspace root
15
- config.resolver.nodeModulesDirs = [
16
- path.resolve(projectRoot, 'node_modules'),
17
- path.resolve(workspaceRoot, 'node_modules'),
18
- ];
19
-
20
- module.exports = config;
10
+ export default config;
@@ -14,6 +14,7 @@
14
14
  "expo-env.d.ts"
15
15
  ],
16
16
  "exclude": [
17
- "node_modules"
17
+ "node_modules",
18
+ "supabase"
18
19
  ]
19
20
  }
@@ -13,8 +13,8 @@ import '../globals.css';
13
13
 
14
14
  /**
15
15
  * Site-level metadata only. Page title, description, canonical, Open Graph and JSON-LD
16
- * come from the framework's AutoMetaTags (PageMeta + i18n) and from <Seo> on pages
17
- * that render a record. Do not set `title` or `description` here: they would ship as
16
+ * come from the framework's AutoMetaTags (PageMeta + i18n), and on entity pages from
17
+ * the generated page's server metadata. Do not set `title` or `description` here: they would ship as
18
18
  * a second <title>/<meta name="description"> in every page's HTML.
19
19
  */
20
20
  const appUrl = process.env.NEXT_PUBLIC_APP_URL;
@@ -49,7 +49,6 @@ export function AppDocument({
49
49
  suppressHydrationWarning
50
50
  >
51
51
  <head>
52
- <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
53
52
  <FontPreloadLinks />
54
53
  </head>
55
54
  <body className="light">{children}</body>
@@ -5,10 +5,8 @@
5
5
 
6
6
  <!-- ✅ CORE: Performance-critical meta tags first -->
7
7
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
8
- <meta name="color-scheme" content="light dark" />
9
8
 
10
- <!-- ✅ DnDev: Framework will inject FaviconHead here -->
11
- <!-- All favicon links will be added by FaviconHead component -->
9
+ <!-- ✅ DnDev: the build adds the favicon tags (icons, theme-color, color-scheme) to <head> -->
12
10
 
13
11
  <!-- ✅ DnDev: Asset manifest injection point -->
14
12
  <!-- window.__DNDEV_ASSETS__ and __DNDEV_ASSET_MANIFEST__ injected here -->
@@ -1,6 +1,6 @@
1
- {
2
- "hero": {
3
- "title": "Welcome to DnDev",
4
- "subtitle": "Your app is ready. Explore the framework patterns below."
5
- }
6
- }
1
+ {
2
+ "hero": {
3
+ "title": "Welcome to DnDev",
4
+ "subtitle": "Your app is ready. Explore the framework patterns below."
5
+ }
6
+ }
@@ -133,7 +133,7 @@ export default function ProductPage() {
133
133
  entity={productEntity}
134
134
  operation="edit"
135
135
  onSubmit={handleSubmit}
136
- defaultValues={formData} // Loaded data
136
+ defaultValues={formData ?? undefined} // Loaded data
137
137
  submitText={t('update')}
138
138
  // Cancel automatically navigates to /products (or cancelPath if provided)
139
139
  cancelPath="/products"
@@ -136,9 +136,9 @@ export default function HomePage() {
136
136
  title="Secrets (Stripe, OAuth, etc.)"
137
137
  subtitle="Server-side API keys for Cloud Functions"
138
138
  content={[
139
- 'Add secrets to functions/.env (not the app .env)',
139
+ 'Add secrets to .dndev.secrets at the project root (not the app .env)',
140
140
  'Run: dndev sync-secrets to push to Firebase Secret Manager',
141
- 'Secrets are auto-loaded by Cloud Functions at runtime',
141
+ 'Each function gets the secrets it declares (defineSecret)',
142
142
  'Never put server secrets in VITE_ variables',
143
143
  ]}
144
144
  />
@@ -149,7 +149,7 @@ export default function HomePage() {
149
149
  content={[
150
150
  'Go to dashboard.stripe.com → create account',
151
151
  'Get API keys from Developers → API Keys',
152
- 'Add to functions/.env: STRIPE_SECRET_KEY=sk_test_...',
152
+ 'Add to .dndev.secrets: STRIPE_SECRET_KEY=sk_test_...',
153
153
  'Add to .env: VITE_STRIPE_PUBLISHABLE_KEY=pk_test_...',
154
154
  'Set up webhook: Developers → Webhooks → Add endpoint',
155
155
  'Webhook URL: https://<your-functions-url>/stripeWebhook',
@@ -28,6 +28,7 @@ export const meta: PageMeta = {
28
28
  namespace: NAMESPACE,
29
29
  route: '/404',
30
30
  hideFromMenu: true,
31
+ seo: { noindex: true },
31
32
  };
32
33
 
33
34
  export { NotFoundPage as default } from '@donotdev/ui';
@@ -2,6 +2,7 @@
2
2
  "hosting": {
3
3
  "public": "dist",
4
4
  "site": "{{YOUR_FIREBASE_PROJECT_ID}}",
5
+ "cleanUrls": true,
5
6
  "ignore": [
6
7
  "firebase.json",
7
8
  "**/.*",
@@ -18,7 +19,7 @@
18
19
  },
19
20
  {
20
21
  "source": "**",
21
- "destination": "/index.html"
22
+ "destination": "/_shell.html"
22
23
  }
23
24
  ],
24
25
  "headers": [
@@ -300,7 +301,7 @@
300
301
  ]
301
302
  }
302
303
  ]
303
- }{{#includeFunctions}},
304
+ }{{#includeFirebaseFunctions}},
304
305
  "functions": [
305
306
  {
306
307
  "source": "functions",
@@ -316,7 +317,7 @@
316
317
  ],
317
318
  "runtime": "nodejs22"
318
319
  }
319
- ],
320
+ ]{{/includeFirebaseFunctions}}{{#includeFunctions}},
320
321
  "firestore": {
321
322
  "rules": "firestore.rules",
322
323
  "indexes": "firestore.indexes.json"
@@ -327,10 +328,10 @@
327
328
  "emulators": {
328
329
  "auth": {
329
330
  "port": 9099
330
- }{{#includeFunctions}},
331
+ }{{#includeFirebaseFunctions}},
331
332
  "functions": {
332
333
  "port": 5001
333
- },
334
+ }{{/includeFirebaseFunctions}}{{#includeFunctions}},
334
335
  "firestore": {
335
336
  "port": 8080
336
337
  },
@@ -5,11 +5,6 @@
5
5
  "moduleResolution": "NodeNext",
6
6
  "lib": ["ES2022"],
7
7
  "types": ["node"],
8
- "noEmit": false,
9
- "outDir": "./functions/lib",
10
- "rootDir": "./functions/src"
11
- },
12
- "include": ["functions/src/**/*", "entities/**/*"],
13
- "exclude": ["node_modules", "**/node_modules", "**/dist", "**/.next", "**/lib"]
8
+ "noEmit": true
9
+ }
14
10
  }
15
-