@batijs/cli 0.0.306 → 0.0.308

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 (111) hide show
  1. package/dist/boilerplates/@batijs/auth0/files/$.env.js +5 -5
  2. package/dist/boilerplates/@batijs/auth0/files/$README.md.js +3 -3
  3. package/dist/boilerplates/@batijs/authjs/files/$package.json.js +4 -4
  4. package/dist/boilerplates/@batijs/aws/files/$README.md.js +3 -3
  5. package/dist/boilerplates/@batijs/aws/files/$package.json.js +7 -7
  6. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
  7. package/dist/boilerplates/@batijs/biome/files/$package.json.js +3 -3
  8. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +5 -5
  9. package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +3 -3
  10. package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +5 -5
  11. package/dist/boilerplates/@batijs/compiled/files/$package.json.js +4 -4
  12. package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +5 -5
  13. package/dist/boilerplates/@batijs/d1/files/$README.md.js +3 -3
  14. package/dist/boilerplates/@batijs/d1/files/$package.json.js +6 -6
  15. package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +3 -3
  16. package/dist/boilerplates/@batijs/d1/files/$wrangler.toml.js +1 -1
  17. package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +5 -5
  18. package/dist/boilerplates/@batijs/drizzle/files/$.env.js +3 -3
  19. package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +3 -3
  20. package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +5 -5
  21. package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +3 -3
  22. package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +3 -3
  23. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +8 -8
  24. package/dist/boilerplates/@batijs/eslint/files/eslint.config.js +2 -0
  25. package/dist/boilerplates/@batijs/express/files/$package.json.js +6 -6
  26. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +6 -6
  27. package/dist/boilerplates/@batijs/firebase-auth/files/$.env.js +3 -3
  28. package/dist/boilerplates/@batijs/firebase-auth/files/$README.md.js +3 -3
  29. package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +6 -6
  30. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
  31. package/dist/boilerplates/@batijs/h3/files/$package.json.js +6 -6
  32. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +7 -7
  33. package/dist/boilerplates/@batijs/hono/files/$package.json.js +9 -9
  34. package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +5 -5
  35. package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +4 -4
  36. package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +3 -3
  37. package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +7 -7
  38. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
  39. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +7 -7
  40. package/dist/boilerplates/@batijs/panda-css/files/$package.json.js +95 -0
  41. package/dist/boilerplates/@batijs/panda-css/files/layouts/panda.css +1 -0
  42. package/dist/boilerplates/@batijs/panda-css/files/panda.config.ts +32 -0
  43. package/dist/boilerplates/@batijs/panda-css/files/postcss.config.js +5 -0
  44. package/dist/boilerplates/@batijs/panda-css/types/panda.config.d.ts +4 -0
  45. package/dist/boilerplates/@batijs/panda-css/types/postcss.config.d.ts +6 -0
  46. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +3 -3
  47. package/dist/boilerplates/@batijs/prettier/files/.prettierignore +4 -0
  48. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  49. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +3 -3
  50. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +3 -3
  51. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  52. package/dist/boilerplates/@batijs/react/files/$package.json.js +9 -7
  53. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  54. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
  55. package/dist/boilerplates/@batijs/react/files/layouts/LayoutDefault.tsx +26 -12
  56. package/dist/boilerplates/@batijs/react/files/pages/index/+Page.tsx +7 -2
  57. package/dist/boilerplates/@batijs/react/files/pages/index/Counter.tsx +17 -2
  58. package/dist/boilerplates/@batijs/react/files/pages/todo/TodoList.tsx +50 -2
  59. package/dist/boilerplates/@batijs/react/types/layouts/LayoutDefault.d.ts +1 -0
  60. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +5 -5
  61. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  62. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -3
  63. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +4 -4
  64. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
  65. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +9 -9
  66. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
  67. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +6 -6
  68. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
  69. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
  70. package/dist/boilerplates/@batijs/shared/files/$README.md.js +9 -9
  71. package/dist/boilerplates/@batijs/shared/files/.gitignore +4 -0
  72. package/dist/boilerplates/@batijs/shared/files/package.json +2 -2
  73. package/dist/boilerplates/@batijs/shared/files/tsconfig.json +1 -1
  74. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +6 -6
  75. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  76. package/dist/boilerplates/@batijs/solid/files/$package.json.js +8 -6
  77. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  78. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  79. package/dist/boilerplates/@batijs/solid/files/layouts/LayoutDefault.tsx +26 -12
  80. package/dist/boilerplates/@batijs/solid/files/pages/index/+Page.tsx +7 -2
  81. package/dist/boilerplates/@batijs/solid/files/pages/index/Counter.tsx +17 -2
  82. package/dist/boilerplates/@batijs/solid/files/pages/todo/TodoList.tsx +50 -2
  83. package/dist/boilerplates/@batijs/solid/types/layouts/LayoutDefault.d.ts +1 -0
  84. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +5 -5
  85. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  86. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +3 -3
  87. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +3 -3
  88. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +7 -7
  89. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +6 -6
  90. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  91. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +5 -5
  92. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +4 -4
  93. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +5 -5
  94. package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +3 -3
  95. package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +5 -5
  96. package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
  97. package/dist/boilerplates/@batijs/vue/files/$package.json.js +12 -10
  98. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
  99. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
  100. package/dist/boilerplates/@batijs/vue/files/components/Content.vue +8 -2
  101. package/dist/boilerplates/@batijs/vue/files/components/Counter.vue +24 -10
  102. package/dist/boilerplates/@batijs/vue/files/components/Logo.vue +10 -2
  103. package/dist/boilerplates/@batijs/vue/files/components/Sidebar.vue +20 -2
  104. package/dist/boilerplates/@batijs/vue/files/layouts/LayoutDefault.vue +2 -0
  105. package/dist/boilerplates/@batijs/vue/files/pages/index/+Page.vue +5 -5
  106. package/dist/boilerplates/@batijs/vue/files/pages/todo/TodoList.vue +45 -2
  107. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +6 -6
  108. package/dist/boilerplates/boilerplates.json +11 -0
  109. package/dist/{chunk-R2K4MHLU.js → chunk-O2DQVJZQ.js} +90260 -89070
  110. package/dist/index.js +34 -19
  111. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -4,13 +4,13 @@ import {
4
4
  consola
5
5
  } from "./chunk-FWD3UPBV.js";
6
6
  import {
7
- Hnt,
8
- LHr,
9
- Ocs,
7
+ B5e,
8
+ Rps,
9
+ WTs,
10
+ XXr,
10
11
  export_which,
11
- q0s,
12
- y5e
13
- } from "./chunk-R2K4MHLU.js";
12
+ git
13
+ } from "./chunk-O2DQVJZQ.js";
14
14
  import "./chunk-LU7IBQI7.js";
15
15
 
16
16
  // index.ts
@@ -34,8 +34,8 @@ async function mergeDts({
34
34
  filepath,
35
35
  meta
36
36
  }) {
37
- const previousAst = y5e(previousContent);
38
- const currentAst = y5e(fileContent);
37
+ const previousAst = B5e(previousContent);
38
+ const currentAst = B5e(fileContent);
39
39
  for (const imp of previousAst.imports.$items) {
40
40
  currentAst.imports[imp.local] = imp;
41
41
  }
@@ -52,7 +52,7 @@ async function mergeDts({
52
52
  currentAst.$ast.body.splice(index, 0, node);
53
53
  }
54
54
  }
55
- const res = await Ocs(currentAst.generate().code, meta, {
55
+ const res = await Rps(currentAst.generate().code, meta, {
56
56
  filepath
57
57
  });
58
58
  return res.code;
@@ -63,7 +63,7 @@ async function executeOperationFile(op, {
63
63
  }) {
64
64
  const code = await readFile(op.sourceAbsolute, { encoding: "utf-8" });
65
65
  const filepath = relative(op.source, op.sourceAbsolute);
66
- const result = await Ocs(code, meta, {
66
+ const result = await Rps(code, meta, {
67
67
  filepath
68
68
  });
69
69
  let fileContent = result.code;
@@ -97,7 +97,7 @@ async function transformFileAfterExec(filepath, fileContent) {
97
97
  case ".js":
98
98
  case ".tsx":
99
99
  case ".jsx":
100
- return Hnt(fileContent, {
100
+ return git(fileContent, {
101
101
  filepath
102
102
  });
103
103
  case ".env":
@@ -388,7 +388,7 @@ Please report this issue to https://github.com/vikejs/bati`
388
388
  }
389
389
  }
390
390
 
391
- // ../features/dist/chunk-BYAQKFAS.js
391
+ // ../features/dist/chunk-3C57PNCJ.js
392
392
  var features = [
393
393
  // Vike
394
394
  {
@@ -513,6 +513,21 @@ var features = [
513
513
  }
514
514
  ]
515
515
  },
516
+ {
517
+ category: "CSS",
518
+ label: "PandaCSS",
519
+ flag: "panda-css",
520
+ image: "data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHNoYXBlLXJlbmRlcmluZz0nZ2VvbWV0cmljUHJlY2lzaW9uJyB0ZXh0LXJlbmRlcmluZz0nZ2VvbWV0cmljUHJlY2lzaW9uJyBpbWFnZS1yZW5kZXJpbmc9J29wdGltaXplUXVhbGl0eScgZmlsbC1ydWxlPSdldmVub2RkJyBjbGlwLXJ1bGU9J2V2ZW5vZGQnIHZpZXdCb3g9JzAgMCA1MDcgNTEyLjMzJz48ZyBmaWxsLXJ1bGU9J25vbnplcm8nPjxwYXRoIGZpbGw9JyNGNkU0NTgnIGQ9J00wIDU4LjdDMCAyNi4yOCAyNi4yOCAwIDU4LjcxIDBoMzg5LjU4QzQ4MC43MiAwIDUwNyAyNi4yOCA1MDcgNTguN3YzOTQuOTNjMCAzMi40Mi0yNi4yOCA1OC43LTU4LjcxIDU4LjdINTguNzFDMjYuMjggNTEyLjMzIDAgNDg2LjA1IDAgNDUzLjYzVjU4Ljd6Jy8+PHBhdGggZD0nTTMyNC45MSAxMTQuNTJjLTI3Ljk4LTguMDQtNTYuNTEtOS4xMy04NS41OC02LjUyLTE2LjI3IDEuNjgtMzEuOT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A0LjU1IDE3LjQ1IDMuNDkgMTEuMjcgNy41NSAyMi4yNSAxMi4xNiAzMi45OCAzMi44Mi0yLjU2IDYzLjA2LTEwLjcyIDk1LjE1LTI5Ljk4LjQ4LS4zLjkyLS41OCAxLjM2LS44NSAxMy43OS04LjU5IDI0Ljk0LTE5LjcyIDMyLjY0LTM0LjA5IDEyLjQ2LTIzLjI4IDE0Ljg5LTQ4LjE3IDExLjE4LTczLjg3LTMuODItMjYuNTItMTUuNzItNDguNzgtMzYuMi02Ni4yNC0xNC4yMS0xMi4xMS0zMC42NC0yMC4wNC00OC40Ny0yNS4xNnonLz48L2c+PC9zdmc+",
521
+ url: "https://panda-css.com/",
522
+ tagline: "Write type-safe styles with ease using panda",
523
+ repo: "chakra-ui/panda",
524
+ links: [
525
+ {
526
+ label: "Docs",
527
+ href: "https://panda-css.com/docs/overview/getting-started"
528
+ }
529
+ ]
530
+ },
516
531
  // UI Component Libraries
517
532
  {
518
533
  category: "UI Component Libraries",
@@ -2542,7 +2557,7 @@ var createDefaultQueryTester = function(query, options) {
2542
2557
  // package.json
2543
2558
  var package_default = {
2544
2559
  name: "@batijs/cli",
2545
- version: "0.0.306",
2560
+ version: "0.0.308",
2546
2561
  type: "module",
2547
2562
  scripts: {
2548
2563
  "check-types": "tsc --noEmit",
@@ -2569,7 +2584,7 @@ var package_default = {
2569
2584
  tsup: "^8.3.5",
2570
2585
  typescript: "^5.6.3",
2571
2586
  "unplugin-purge-polyfills": "^0.0.7",
2572
- vite: "^5.4.10"
2587
+ vite: "^5.4.11"
2573
2588
  },
2574
2589
  dependencies: {
2575
2590
  "@batijs/core": "workspace:*",
@@ -2646,7 +2661,7 @@ Choose one of them, or simply remove selected Server`
2646
2661
  var __filename = fileURLToPath(import.meta.url);
2647
2662
  var __dirname = dirname(__filename);
2648
2663
  var isWin2 = process.platform === "win32";
2649
- var pm = q0s();
2664
+ var pm = WTs();
2650
2665
  function boilerplatesDir() {
2651
2666
  if (existsSync2(join(__dirname, "boilerplates", "boilerplates.json"))) {
2652
2667
  return join(__dirname, "boilerplates");
@@ -2680,10 +2695,10 @@ function findDescription(key) {
2680
2695
  }
2681
2696
  }
2682
2697
  function printOK(dist, flags2) {
2683
- const arrow0 = LHr("\u2192", blueBright);
2684
- const book0 = LHr("\u{1F4DA}", blueBright);
2685
- const list3 = LHr("-", void 0, 3);
2686
- const cmd3 = LHr("$", gray, 3);
2698
+ const arrow0 = XXr("\u2192", blueBright);
2699
+ const book0 = XXr("\u{1F4DA}", blueBright);
2700
+ const list3 = XXr("-", void 0, 3);
2701
+ const cmd3 = XXr("$", gray, 3);
2687
2702
  console.log(bold(`${green("\u2713")} Project created at ${cyan(dist)} with:`));
2688
2703
  console.log(list3(green("Vike")));
2689
2704
  for (const key of flags2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@batijs/cli",
3
- "version": "0.0.306",
3
+ "version": "0.0.308",
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",
@@ -19,13 +19,13 @@
19
19
  "tsup": "^8.3.5",
20
20
  "typescript": "^5.6.3",
21
21
  "unplugin-purge-polyfills": "^0.0.7",
22
- "vite": "^5.4.10",
23
- "@batijs/build": "0.0.306",
24
- "@batijs/compile": "0.0.306"
22
+ "vite": "^5.4.11",
23
+ "@batijs/compile": "0.0.308",
24
+ "@batijs/build": "0.0.308"
25
25
  },
26
26
  "dependencies": {
27
- "@batijs/features": "0.0.306",
28
- "@batijs/core": "0.0.306"
27
+ "@batijs/core": "0.0.308",
28
+ "@batijs/features": "0.0.308"
29
29
  },
30
30
  "bin": "./dist/index.js",
31
31
  "exports": {