@batijs/cli 0.0.260 → 0.0.262

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 (53) hide show
  1. package/dist/boilerplates/@batijs/aws/files/$README.md.js +109 -0
  2. package/dist/boilerplates/@batijs/aws/files/$package.json.js +138 -0
  3. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +15 -0
  4. package/dist/boilerplates/@batijs/aws/files/cdk/$stack-name-suffix.json.js +19 -0
  5. package/dist/boilerplates/@batijs/aws/files/cdk/bin/infrastructure.ts +85 -0
  6. package/dist/boilerplates/@batijs/aws/files/cdk/lib/vike-stack.ts +186 -0
  7. package/dist/boilerplates/@batijs/aws/files/cdk.json +72 -0
  8. package/dist/boilerplates/@batijs/aws/files/tests/aws_handler.spec.ts +116 -0
  9. package/dist/boilerplates/@batijs/aws/files/vitest.config.ts +8 -0
  10. package/dist/boilerplates/@batijs/aws/types/cdk/bin/infrastructure.d.ts +11 -0
  11. package/dist/boilerplates/@batijs/aws/types/cdk/lib/vike-stack.d.ts +13 -0
  12. package/dist/boilerplates/@batijs/aws/types/tests/aws_handler.spec.d.ts +1 -0
  13. package/dist/boilerplates/@batijs/aws/types/vitest.config.d.ts +2 -0
  14. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +12 -1
  15. package/dist/boilerplates/@batijs/hattip/files/entry_aws_lambda.ts +37 -0
  16. package/dist/boilerplates/@batijs/hattip/types/entry_aws_lambda.d.ts +2 -0
  17. package/dist/boilerplates/@batijs/hono/files/$package.json.js +8 -1
  18. package/dist/boilerplates/@batijs/hono/files/entry_aws_lambda.ts +37 -0
  19. package/dist/boilerplates/@batijs/hono/types/entry_aws_lambda.d.ts +3 -0
  20. package/dist/boilerplates/@batijs/plain-sentry/files/$package.json.js +117 -0
  21. package/dist/boilerplates/@batijs/plain-sentry/files/pages/sentry/+Page.js +19 -0
  22. package/dist/boilerplates/@batijs/plain-sentry/files/pages/sentry/+client.js +37 -0
  23. package/dist/boilerplates/@batijs/plain-sentry/files/sentry.browser.config.ts +25 -0
  24. package/dist/boilerplates/@batijs/plain-sentry/files/vite-env.d.ts +1 -0
  25. package/dist/boilerplates/@batijs/plain-sentry/types/pages/sentry/+Page.d.ts +1 -0
  26. package/dist/boilerplates/@batijs/plain-sentry/types/pages/sentry/+client.d.ts +6 -0
  27. package/dist/boilerplates/@batijs/plain-sentry/types/sentry.browser.config.d.ts +1 -0
  28. package/dist/boilerplates/@batijs/prettier/files/.prettierignore +3 -0
  29. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +101 -0
  30. package/dist/boilerplates/@batijs/react-sentry/files/pages/sentry/+Page.tsx +43 -0
  31. package/dist/boilerplates/@batijs/react-sentry/files/sentry.browser.config.ts +22 -0
  32. package/dist/boilerplates/@batijs/react-sentry/types/pages/sentry/+Page.d.ts +1 -0
  33. package/dist/boilerplates/@batijs/react-sentry/types/sentry.browser.config.d.ts +1 -0
  34. package/dist/boilerplates/@batijs/sentry/files/$.env.js +22 -0
  35. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +31 -0
  36. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +86 -0
  37. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +18 -0
  38. package/dist/boilerplates/@batijs/sentry/files/.env.sentry-build-plugin +8 -0
  39. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +23 -0
  40. package/dist/boilerplates/@batijs/shared/files/.gitignore +3 -0
  41. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +99 -0
  42. package/dist/boilerplates/@batijs/solid-sentry/files/pages/sentry/+Page.tsx +47 -0
  43. package/dist/boilerplates/@batijs/solid-sentry/files/sentry.browser.config.ts +22 -0
  44. package/dist/boilerplates/@batijs/solid-sentry/types/pages/sentry/+Page.d.ts +1 -0
  45. package/dist/boilerplates/@batijs/solid-sentry/types/sentry.browser.config.d.ts +1 -0
  46. package/dist/boilerplates/@batijs/vue/files/layouts/LayoutDefault.vue +3 -0
  47. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +93 -0
  48. package/dist/boilerplates/@batijs/vue-sentry/files/pages/sentry/+Page.vue +33 -0
  49. package/dist/boilerplates/@batijs/vue-sentry/files/sentry.browser.config.ts +25 -0
  50. package/dist/boilerplates/@batijs/vue-sentry/types/sentry.browser.config.d.ts +1 -0
  51. package/dist/boilerplates/boilerplates.json +99 -0
  52. package/dist/index.js +5 -1
  53. package/package.json +5 -5
@@ -26,6 +26,17 @@
26
26
  "files"
27
27
  ]
28
28
  },
29
+ {
30
+ "config": {
31
+ "if": {
32
+ "flag": "aws"
33
+ }
34
+ },
35
+ "folder": "@batijs/aws",
36
+ "subfolders": [
37
+ "files"
38
+ ]
39
+ },
29
40
  {
30
41
  "config": {
31
42
  "if": {
@@ -232,6 +243,35 @@
232
243
  "files"
233
244
  ]
234
245
  },
246
+ {
247
+ "config": {
248
+ "if": {
249
+ "$and": [
250
+ {
251
+ "flag": "sentry"
252
+ },
253
+ {
254
+ "flag": {
255
+ "$not": {
256
+ "$in": [
257
+ "react",
258
+ "vue",
259
+ "solid",
260
+ "svelte",
261
+ "preact",
262
+ "angular"
263
+ ]
264
+ }
265
+ }
266
+ }
267
+ ]
268
+ }
269
+ },
270
+ "folder": "@batijs/plain-sentry",
271
+ "subfolders": [
272
+ "files"
273
+ ]
274
+ },
235
275
  {
236
276
  "config": {
237
277
  "if": {
@@ -297,6 +337,33 @@
297
337
  "files"
298
338
  ]
299
339
  },
340
+ {
341
+ "config": {
342
+ "if": {
343
+ "flag": {
344
+ "$all": [
345
+ "react",
346
+ "sentry"
347
+ ]
348
+ }
349
+ }
350
+ },
351
+ "folder": "@batijs/react-sentry",
352
+ "subfolders": [
353
+ "files"
354
+ ]
355
+ },
356
+ {
357
+ "config": {
358
+ "if": {
359
+ "flag": "sentry"
360
+ }
361
+ },
362
+ "folder": "@batijs/sentry",
363
+ "subfolders": [
364
+ "files"
365
+ ]
366
+ },
300
367
  {
301
368
  "config": {
302
369
  "enforce": "pre"
@@ -435,6 +502,22 @@
435
502
  "files"
436
503
  ]
437
504
  },
505
+ {
506
+ "config": {
507
+ "if": {
508
+ "flag": {
509
+ "$all": [
510
+ "solid",
511
+ "sentry"
512
+ ]
513
+ }
514
+ }
515
+ },
516
+ "folder": "@batijs/solid-sentry",
517
+ "subfolders": [
518
+ "files"
519
+ ]
520
+ },
438
521
  {
439
522
  "config": {
440
523
  "if": {
@@ -552,5 +635,21 @@
552
635
  "subfolders": [
553
636
  "files"
554
637
  ]
638
+ },
639
+ {
640
+ "config": {
641
+ "if": {
642
+ "flag": {
643
+ "$all": [
644
+ "vue",
645
+ "sentry"
646
+ ]
647
+ }
648
+ }
649
+ },
650
+ "folder": "@batijs/vue-sentry",
651
+ "subfolders": [
652
+ "files"
653
+ ]
555
654
  }
556
655
  ]
package/dist/index.js CHANGED
@@ -1677,7 +1677,7 @@ var createDefaultQueryTester = function(query, options) {
1677
1677
  // package.json
1678
1678
  var package_default = {
1679
1679
  name: "@batijs/cli",
1680
- version: "0.0.260",
1680
+ version: "0.0.262",
1681
1681
  type: "module",
1682
1682
  scripts: {
1683
1683
  "check-types": "tsc --noEmit",
@@ -1760,6 +1760,10 @@ Choose one of them, or simply remove selected Server`
1760
1760
  [RulesMessage.ERROR_LUCIA_R_COMPAT_DATABASE]: error(
1761
1761
  `${inverse(bold("Lucia"))} requires a ${inverse(bold("Database"))}, and is only compatible with ${inverse(bold("SQLite"))} or ${inverse(bold("Drizzle"))}`
1762
1762
  ),
1763
+ [RulesMessage.ERROR_AWS_R_COMPAT_SERVER]: error(
1764
+ `${inverse(bold("AWS"))} is only compatible with ${inverse(bold("Hono"))} or ${inverse(bold("HatTip"))}.
1765
+ Choose one of them, or simply remove selected Server`
1766
+ ),
1763
1767
  [RulesMessage.INFO_DRIZZLE_STACKBLITZ]: null
1764
1768
  };
1765
1769
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@batijs/cli",
3
- "version": "0.0.260",
3
+ "version": "0.0.262",
4
4
  "type": "module",
5
5
  "keywords": [],
6
6
  "description": "Next-gen scaffolder. Get started with fully-functional apps, and choose any tool you want",
@@ -20,12 +20,12 @@
20
20
  "typescript": "^5.5.4",
21
21
  "unplugin-purge-polyfills": "^0.0.5",
22
22
  "vite": "^5.4.2",
23
- "@batijs/build": "0.0.260",
24
- "@batijs/compile": "0.0.260"
23
+ "@batijs/build": "0.0.262",
24
+ "@batijs/compile": "0.0.262"
25
25
  },
26
26
  "dependencies": {
27
- "@batijs/features": "0.0.260",
28
- "@batijs/core": "0.0.260"
27
+ "@batijs/core": "0.0.262",
28
+ "@batijs/features": "0.0.262"
29
29
  },
30
30
  "bin": "./dist/index.js",
31
31
  "exports": {