@donotdev/cli 0.2.0 → 0.2.1

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.
@@ -1,6 +1,6 @@
1
1
  {{#isNextjs}}{
2
2
  "framework": "nextjs",
3
- "installCommand": "bun install",{{#includeFunctions}}
3
+ "installCommand": "bun install",{{#includeVercelFunctions}}
4
4
  "functions": {
5
5
  "functions/src/api/**/*.ts": {
6
6
  "runtime": "@vercel/node@3"
@@ -11,7 +11,7 @@
11
11
  "source": "/api/(.*)",
12
12
  "destination": "/functions/src/api/$1"
13
13
  }
14
- ],{{/includeFunctions}}
14
+ ],{{/includeVercelFunctions}}
15
15
  "headers": [
16
16
  {
17
17
  "source": "/(.*)",
@@ -171,7 +171,7 @@
171
171
  "value": "application/json; charset=utf-8"
172
172
  }
173
173
  ]
174
- }{{#includeFunctions}},
174
+ }{{#includeVercelFunctions}},
175
175
  {
176
176
  "source": "/api/(.*)",
177
177
  "headers": [
@@ -196,8 +196,8 @@
196
196
  "value": "86400"
197
197
  }
198
198
  ]
199
- }{{/includeFunctions}}
200
- ]{{#includeFunctions}},
199
+ }{{/includeVercelFunctions}}
200
+ ]{{#includeVercelFunctions}},
201
201
  "env": {
202
202
  "STRIPE_SECRET_KEY": "@stripe-secret-key",
203
203
  "STRIPE_WEBHOOK_SECRET": "@stripe-webhook-secret",
@@ -210,11 +210,11 @@
210
210
  "GITHUB_PERSONAL_ACCESS_TOKEN": "@github-token",
211
211
  "GITHUB_REPO_OWNER": "@github-repo-owner",
212
212
  "GITHUB_REPO_NAME": "@github-repo-name"{{/needsOAuth}}
213
- }{{/includeFunctions}}
213
+ }{{/includeVercelFunctions}}
214
214
  }{{/isNextjs}}{{^isNextjs}}{
215
215
  "buildCommand": "bun run build",
216
216
  "outputDirectory": "dist",
217
- "installCommand": "bun install",{{#includeFunctions}}
217
+ "installCommand": "bun install",{{#includeVercelFunctions}}
218
218
  "functions": {
219
219
  "functions/src/api/**/*.ts": {
220
220
  "runtime": "@vercel/node@3"
@@ -229,13 +229,13 @@
229
229
  "source": "/(.*)",
230
230
  "destination": "/index.html"
231
231
  }
232
- ],{{/includeFunctions}}{{^includeFunctions}}
232
+ ],{{/includeVercelFunctions}}{{^includeVercelFunctions}}
233
233
  "rewrites": [
234
234
  {
235
235
  "source": "/(.*)",
236
236
  "destination": "/index.html"
237
237
  }
238
- ],{{/includeFunctions}}
238
+ ],{{/includeVercelFunctions}}
239
239
  "headers": [
240
240
  {
241
241
  "source": "/(.*)",
@@ -386,7 +386,7 @@
386
386
  "value": "application/json; charset=utf-8"
387
387
  }
388
388
  ]
389
- }{{#includeFunctions}},
389
+ }{{#includeVercelFunctions}},
390
390
  {
391
391
  "source": "/api/(.*)",
392
392
  "headers": [
@@ -411,8 +411,8 @@
411
411
  "value": "86400"
412
412
  }
413
413
  ]
414
- }{{/includeFunctions}}
415
- ]{{#includeFunctions}},
414
+ }{{/includeVercelFunctions}}
415
+ ]{{#includeVercelFunctions}},
416
416
  "env": {
417
417
  "STRIPE_SECRET_KEY": "@stripe-secret-key",
418
418
  "STRIPE_WEBHOOK_SECRET": "@stripe-webhook-secret",
@@ -425,5 +425,5 @@
425
425
  "GITHUB_PERSONAL_ACCESS_TOKEN": "@github-token",
426
426
  "GITHUB_REPO_OWNER": "@github-repo-owner",
427
427
  "GITHUB_REPO_NAME": "@github-repo-name"{{/needsOAuth}}
428
- }{{/includeFunctions}}
428
+ }{{/includeVercelFunctions}}
429
429
  }{{/isNextjs}}