@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
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- bGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ OXs
4
+ } from "../../../../chunk-O2DQVJZQ.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/react/dist/files/$package.json.js
@@ -39,6 +39,7 @@ var require_package = __commonJS({
39
39
  description: "",
40
40
  type: "module",
41
41
  scripts: {
42
+ prepare: "panda codegen --silent",
42
43
  "check-types": "tsc --noEmit",
43
44
  build: "bati-compile-boilerplate"
44
45
  },
@@ -50,18 +51,19 @@ var require_package = __commonJS({
50
51
  "@babel/plugin-syntax-flow": "^7.26.0",
51
52
  "@babel/plugin-transform-react-jsx": "^7.25.9",
52
53
  "@batijs/compile": "workspace:*",
53
- "@mantine/core": "^7.13.5",
54
+ "@mantine/core": "^7.14.1",
55
+ "@pandacss/dev": "^0.47.1",
54
56
  "@types/node": "^18.19.64",
55
57
  "@types/react": "^18.3.12",
56
58
  "@types/react-dom": "^18.3.1",
57
59
  "@vitejs/plugin-react": "^4.3.3",
58
60
  react: "^18.3.1",
59
61
  "react-dom": "^18.3.1",
60
- tailwindcss: "^3.4.14",
62
+ tailwindcss: "^3.4.15",
61
63
  typescript: "^5.6.3",
62
- vike: "^0.4.201",
64
+ vike: "^0.4.203",
63
65
  "vike-react": "^0.5.7",
64
- vite: "^5.4.10",
66
+ vite: "^5.4.11",
65
67
  "vite-plugin-compiled-react": "^1.1.3"
66
68
  },
67
69
  dependencies: {
@@ -181,7 +183,7 @@ var require_package = __commonJS({
181
183
  }
182
184
  });
183
185
  async function getPackageJson(props) {
184
- const packageJson = await bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
186
+ const packageJson = await OXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
185
187
  return packageJson.addDevDependencies(["vite", "@types/react", "@types/react-dom"]).addDependencies(["@vitejs/plugin-react", "react", "react-dom", "vike", "vike-react"]);
186
188
  }
187
189
  export {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- yGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ IXs
4
+ } from "../../../../chunk-O2DQVJZQ.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/react/dist/files/$tsconfig.json.js
8
8
  async function getTsConfig(props) {
9
- const tsConfig = await yGs(props);
9
+ const tsConfig = await IXs(props);
10
10
  tsConfig.compilerOptions.jsx = "preserve";
11
11
  tsConfig.compilerOptions.jsxImportSource = "react";
12
12
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vike-react"];
@@ -1,15 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- g0s,
4
- vGs
5
- } from "../../../../chunk-R2K4MHLU.js";
3
+ LXs,
4
+ vTs
5
+ } from "../../../../chunk-O2DQVJZQ.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/react/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await vGs(props);
10
+ const mod = await LXs(props);
11
11
  const reactOptions = props.meta.BATI.has("vercel") && props.meta.BATI.has("hattip") ? { jsxRuntime: "classic" } : {};
12
- g0s(mod, {
12
+ vTs(mod, {
13
13
  from: "@vitejs/plugin-react",
14
14
  constructor: "react",
15
15
  options: reactOptions
@@ -1,22 +1,25 @@
1
1
  import "./style.css";
2
2
  //# BATI.has("tailwindcss")
3
3
  import "./tailwind.css";
4
+ //# BATI.has("panda-css")
5
+ import "./panda.css";
4
6
  import React from "react";
5
7
  import logoUrl from "../assets/logo.svg";
6
8
  import { Link } from "../components/Link.js";
9
+ import { css } from "../styled-system/css";
7
10
 
8
11
  export default function LayoutDefault({ children }: { children: React.ReactNode }) {
9
12
  return (
10
13
  <div
11
- //# BATI.has("tailwindcss")
12
- className="flex max-w-5xl m-auto"
14
+ //# BATI.has("tailwindcss") || BATI.has("panda-css")
15
+ className={BATI.has("tailwindcss") ? "flex max-w-5xl m-auto" : css({ display: "flex", maxW: "900px", m: "auto" })}
13
16
  //# BATI.has("compiled-css")
14
17
  css={{
15
18
  display: "flex",
16
19
  maxWidth: 1024,
17
20
  margin: "auto",
18
21
  }}
19
- //# !BATI.has("tailwindcss") && !BATI.has("compiled-css")
22
+ //# !BATI.has("tailwindcss") && !BATI.has("compiled-css") && !BATI.has("panda-css")
20
23
  style={{
21
24
  display: "flex",
22
25
  maxWidth: 900,
@@ -39,8 +42,19 @@ function Sidebar({ children }: { children: React.ReactNode }) {
39
42
  return (
40
43
  <div
41
44
  id="sidebar"
42
- //# BATI.has("tailwindcss")
43
- className="p-5 flex flex-col shrink-0 border-r-2 border-r-gray-200"
45
+ //# BATI.has("tailwindcss") || BATI.has("panda-css")
46
+ className={
47
+ BATI.has("tailwindcss")
48
+ ? "p-5 flex flex-col shrink-0 border-r-2 border-r-gray-200"
49
+ : css({
50
+ p: "20px",
51
+ display: "flex",
52
+ flexShrink: 0,
53
+ flexDir: "column",
54
+ lineHeight: "1.8em",
55
+ borderRight: "2px solid #eee",
56
+ })
57
+ }
44
58
  //# BATI.has("compiled-css")
45
59
  css={{
46
60
  padding: 20,
@@ -50,7 +64,7 @@ function Sidebar({ children }: { children: React.ReactNode }) {
50
64
  lineHeight: "1.8em",
51
65
  borderRight: "2px solid #eee",
52
66
  }}
53
- //# !BATI.has("tailwindcss") && !BATI.has("compiled-css")
67
+ //# !BATI.has("tailwindcss") && !BATI.has("compiled-css") && !BATI.has("panda-css")
54
68
  style={{
55
69
  padding: 20,
56
70
  flexShrink: 0,
@@ -70,15 +84,15 @@ function Content({ children }: { children: React.ReactNode }) {
70
84
  <div id="page-container">
71
85
  <div
72
86
  id="page-content"
73
- //# BATI.has("tailwindcss")
74
- className="p-5 pb-12 min-h-screen"
87
+ //# BATI.has("tailwindcss") || BATI.has("panda-css")
88
+ className={BATI.has("tailwindcss") ? "p-5 pb-12 min-h-screen" : css({ p: "20px", pb: "50px", minH: "100vh" })}
75
89
  //# BATI.has("compiled-css")
76
90
  css={{
77
91
  padding: 20,
78
92
  paddingBottom: 48,
79
93
  minHeight: "100vh",
80
94
  }}
81
- //# !BATI.has("tailwindcss") && !BATI.has("compiled-css")
95
+ //# !BATI.has("tailwindcss") && !BATI.has("compiled-css") && !BATI.has("panda-css")
82
96
  style={{
83
97
  padding: 20,
84
98
  paddingBottom: 50,
@@ -94,14 +108,14 @@ function Content({ children }: { children: React.ReactNode }) {
94
108
  function Logo() {
95
109
  return (
96
110
  <div
97
- //# BATI.has("tailwindcss")
98
- className="p-5 mb-2"
111
+ //# BATI.has("tailwindcss") || BATI.has("panda-css")
112
+ className={BATI.has("tailwindcss") ? "p-5 mb-2" : css({ p: "20px", mb: "10px" })}
99
113
  //# BATI.has("compiled-css")
100
114
  css={{
101
115
  padding: 20,
102
116
  marginBottom: 8,
103
117
  }}
104
- //# !BATI.has("tailwindcss") && !BATI.has("compiled-css")
118
+ //# !BATI.has("tailwindcss") && !BATI.has("compiled-css") && !BATI.has("panda-css")
105
119
  style={{
106
120
  marginTop: 20,
107
121
  marginBottom: 10,
@@ -1,12 +1,17 @@
1
1
  import React from "react";
2
2
  import { Counter } from "./Counter.js";
3
+ import { css } from "../../styled-system/css";
3
4
 
4
5
  export default function Page() {
5
6
  return (
6
7
  <>
7
8
  <h1
8
- //# BATI.has("tailwindcss")
9
- className="font-bold text-3xl pb-4"
9
+ //# BATI.has("tailwindcss") || BATI.has("panda-css")
10
+ className={
11
+ BATI.has("tailwindcss")
12
+ ? "font-bold text-3xl pb-4"
13
+ : css({ font: "bold 2em sans-serif", marginBlock: "0.67em" })
14
+ }
10
15
  //# BATI.has("compiled-css")
11
16
  css={{ fontWeight: "700", fontSize: "1.875rem", paddingBottom: "1rem" }}
12
17
  >
@@ -1,4 +1,5 @@
1
1
  import React, { useState } from "react";
2
+ import { css } from "../../styled-system/css";
2
3
 
3
4
  export function Counter() {
4
5
  const [count, setCount] = useState(0);
@@ -6,8 +7,22 @@ export function Counter() {
6
7
  return (
7
8
  <button
8
9
  type="button"
9
- //# BATI.has("tailwindcss")
10
- className="inline-block border border-black rounded bg-gray-200 px-2 py-1 text-xs font-medium uppercase leading-normal"
10
+ //# BATI.has("tailwindcss") || BATI.has("panda-css")
11
+ className={
12
+ BATI.has("tailwindcss")
13
+ ? "inline-block border border-black rounded bg-gray-200 px-2 py-1 text-xs font-medium uppercase leading-normal"
14
+ : css({
15
+ display: "inline-block",
16
+ border: "1px solid black",
17
+ rounded: "sm",
18
+ bg: "gray.200",
19
+ px: 1,
20
+ py: 0.5,
21
+ fontSize: 12,
22
+ fontWeight: 500,
23
+ lineHeight: "16px",
24
+ })
25
+ }
11
26
  //# BATI.has("compiled-css")
12
27
  css={{
13
28
  display: "inline-block",
@@ -1,6 +1,7 @@
1
1
  import { onNewTodo } from "@batijs/telefunc/pages/todo/TodoList.telefunc";
2
2
  import { trpc } from "@batijs/trpc/trpc/client";
3
3
  import { client } from "@batijs/ts-rest/ts-rest/client";
4
+ import { css } from "../../styled-system/css";
4
5
  import React, { useState } from "react";
5
6
 
6
7
  export function TodoList({ initialTodoItems }: { initialTodoItems: { text: string }[] }) {
@@ -48,8 +49,55 @@ export function TodoList({ initialTodoItems }: { initialTodoItems: { text: strin
48
49
  }
49
50
  }}
50
51
  >
51
- <input type="text" onChange={(ev) => setNewTodo(ev.target.value)} value={newTodo} />{" "}
52
- <button type="submit">Add to-do</button>
52
+ <input
53
+ type="text"
54
+ onChange={(ev) => setNewTodo(ev.target.value)}
55
+ value={newTodo}
56
+ //# BATI.has("tailwindcss") || BATI.has("panda-css")
57
+ className={
58
+ BATI.has("tailwindcss")
59
+ ? "bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 w-full sm:w-auto p-2 mr-1 mb-1"
60
+ : css({
61
+ p: 2,
62
+ bg: "gray.50",
63
+ borderWidth: 1,
64
+ borderColor: "gray.300",
65
+ color: "gray.900",
66
+ fontSize: "sm",
67
+ rounded: "md",
68
+ width: { base: "full", sm: "auto" },
69
+ _focus: { ringColor: "teal.500", borderColor: "teal.500" },
70
+ mr: 1,
71
+ mb: 1,
72
+ })
73
+ }
74
+ />
75
+ <button
76
+ type="submit"
77
+ //# BATI.has("tailwindcss") || BATI.has("panda-css")
78
+ className={
79
+ BATI.has("tailwindcss")
80
+ ? "text-white bg-blue-700 hover:bg-blue-800 focus:ring-2 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm w-full sm:w-auto p-2"
81
+ : css({
82
+ color: "white",
83
+ bg: { base: "teal.700", _hover: "teal.800" },
84
+ _focus: {
85
+ ringWidth: 2,
86
+ ringColor: "teal.300",
87
+ outline: "1px solid transparent",
88
+ outlineOffset: "1px",
89
+ },
90
+ cursor: "pointer",
91
+ fontSize: "sm",
92
+ fontWeight: 500,
93
+ rounded: "md",
94
+ width: { base: "full", sm: "auto" },
95
+ p: 2,
96
+ })
97
+ }
98
+ >
99
+ Add to-do
100
+ </button>
53
101
  </form>
54
102
  </div>
55
103
  </>
@@ -1,5 +1,6 @@
1
1
  import "./style.css";
2
2
  import "./tailwind.css";
3
+ import "./panda.css";
3
4
  import React from "react";
4
5
  export default function LayoutDefault({ children }: {
5
6
  children: React.ReactNode;
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- bGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ OXs
4
+ } from "../../../../chunk-O2DQVJZQ.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/react-sentry/dist/files/$package.json.js
@@ -47,13 +47,13 @@ var require_package = __commonJS({
47
47
  license: "MIT",
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
- "@sentry/react": "^8.37.1",
50
+ "@sentry/react": "^8.38.0",
51
51
  "@types/node": "^18.19.64",
52
52
  "@types/react": "^18.3.12",
53
53
  "@types/react-dom": "^18.3.1",
54
54
  react: "^18.3.1",
55
55
  "react-dom": "^18.3.1",
56
- vite: "^5.4.10"
56
+ vite: "^5.4.11"
57
57
  },
58
58
  dependencies: {
59
59
  "@batijs/core": "workspace:*"
@@ -93,7 +93,7 @@ var require_package = __commonJS({
93
93
  }
94
94
  });
95
95
  async function getPackageJson(props) {
96
- const packageJson = await bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
96
+ const packageJson = await OXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
97
97
  return packageJson.addDependencies(["@sentry/react"]);
98
98
  }
99
99
  export {
@@ -1,20 +1,20 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- NGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ WXs
4
+ } from "../../../../chunk-O2DQVJZQ.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/sentry/dist/files/$.env.js
8
8
  async function getServerlessEnv(props) {
9
9
  const sentryDNS = process.env.TEST_SENTRY_DSN;
10
10
  let envContent = await props.readfile?.();
11
- envContent = NGs(
11
+ envContent = WXs(
12
12
  envContent,
13
13
  "SENTRY_DSN",
14
14
  sentryDNS ?? "",
15
15
  "Sentry DNS. Used for Error Reporting on the Server"
16
16
  );
17
- envContent = NGs(
17
+ envContent = WXs(
18
18
  envContent,
19
19
  "PUBLIC_ENV__SENTRY_DSN",
20
20
  "",
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- gGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ NXs
4
+ } from "../../../../chunk-O2DQVJZQ.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/sentry/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await gGs(props);
9
+ const content = await NXs(props);
10
10
  const about = `
11
11
 
12
12
  ## Sentry Browser / Error Tracking & Performance Monitoring
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- bGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ OXs
4
+ } from "../../../../chunk-O2DQVJZQ.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/sentry/dist/files/$package.json.js
@@ -49,7 +49,7 @@ var require_package = __commonJS({
49
49
  "@batijs/compile": "workspace:*",
50
50
  "@sentry/vite-plugin": "^2.22.6",
51
51
  "@types/node": "^18.19.64",
52
- vite: "^5.4.10"
52
+ vite: "^5.4.11"
53
53
  },
54
54
  dependencies: {
55
55
  "@batijs/core": "workspace:*"
@@ -78,7 +78,7 @@ var require_package = __commonJS({
78
78
  }
79
79
  });
80
80
  async function getPackageJson(props) {
81
- const packageJson = await bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
81
+ const packageJson = await OXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
82
82
  return packageJson.addDevDependencies(["@sentry/vite-plugin"]);
83
83
  }
84
84
  export {
@@ -1,15 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- RHr,
4
- g0s,
5
- vGs
6
- } from "../../../../chunk-R2K4MHLU.js";
3
+ LXs,
4
+ eQr,
5
+ vTs
6
+ } from "../../../../chunk-O2DQVJZQ.js";
7
7
  import "../../../../chunk-LU7IBQI7.js";
8
8
 
9
9
  // ../../boilerplates/sentry/dist/files/$vite.config.ts.js
10
10
  async function getViteConfig(props) {
11
- const mod = await vGs(props);
12
- g0s(mod, {
11
+ const mod = await LXs(props);
12
+ vTs(mod, {
13
13
  from: "@sentry/vite-plugin",
14
14
  constructor: "sentryVitePlugin",
15
15
  imported: "sentryVitePlugin",
@@ -17,7 +17,7 @@ async function getViteConfig(props) {
17
17
  sourcemaps: { disable: false }
18
18
  }
19
19
  });
20
- RHr(mod.exports.default.$args[0], { build: { sourcemap: true } });
20
+ eQr(mod.exports.default.$args[0], { build: { sourcemap: true } });
21
21
  return mod.generate().code;
22
22
  }
23
23
  export {
@@ -1,27 +1,27 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- Cse,
4
- DV,
5
- vGs,
6
- y5e
7
- } from "../../../../../chunk-R2K4MHLU.js";
3
+ B5e,
4
+ LXs,
5
+ Use,
6
+ YV
7
+ } from "../../../../../chunk-O2DQVJZQ.js";
8
8
  import "../../../../../chunk-LU7IBQI7.js";
9
9
 
10
10
  // ../../boilerplates/sentry/dist/files/pages/$+client.ts.js
11
11
  async function getViteConfig(props) {
12
12
  let mod;
13
13
  try {
14
- mod = await vGs(props);
14
+ mod = await LXs(props);
15
15
  } catch {
16
- mod = y5e("");
16
+ mod = B5e("");
17
17
  }
18
18
  if (!props.meta.BATI.has("vue")) {
19
19
  mod.imports.$prepend({
20
20
  from: "../sentry.browser.config",
21
21
  imported: "sentryBrowserConfig"
22
22
  });
23
- const e = Cse.functionCall("sentryBrowserConfig");
24
- const c = DV(e).code;
23
+ const e = Use.functionCall("sentryBrowserConfig");
24
+ const c = YV(e).code;
25
25
  mod.$ast.body.splice(mod.$ast.body.length - 1, 0, c);
26
26
  }
27
27
  return mod.generate().code;
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- gGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ NXs
4
+ } from "../../../../chunk-O2DQVJZQ.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/shadcn-ui/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await gGs(props);
9
+ const content = await NXs(props);
10
10
  const about = `
11
11
 
12
12
  ## shadcn/ui
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- bGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ OXs
4
+ } from "../../../../chunk-O2DQVJZQ.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/shadcn-ui/dist/files/$package.json.js
@@ -47,13 +47,13 @@ var require_package = __commonJS({
47
47
  license: "MIT",
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
- "@radix-ui/react-icons": "^1.3.1",
50
+ "@radix-ui/react-icons": "^1.3.2",
51
51
  "@types/node": "^18.19.64",
52
52
  "class-variance-authority": "^0.7.0",
53
53
  clsx: "^2.1.1",
54
- "lucide-react": "^0.456.0",
54
+ "lucide-react": "^0.460.0",
55
55
  "tailwind-merge": "^2.5.4",
56
- tailwindcss: "^3.4.14",
56
+ tailwindcss: "^3.4.15",
57
57
  "tailwindcss-animate": "^1.0.7"
58
58
  },
59
59
  dependencies: {
@@ -89,7 +89,7 @@ var require_package = __commonJS({
89
89
  }
90
90
  });
91
91
  async function getPackageJson(props) {
92
- const packageJson = await bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
92
+ const packageJson = await OXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
93
93
  return packageJson.setScript("shadcn", {
94
94
  value: "npx shadcn@latest",
95
95
  precedence: 1,
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- yGs
4
- } from "../../../../chunk-R2K4MHLU.js";
3
+ IXs
4
+ } from "../../../../chunk-O2DQVJZQ.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/shadcn-ui/dist/files/$tsconfig.json.js
8
8
  async function getTsConfig(props) {
9
- const tsConfig = await yGs(props);
9
+ const tsConfig = await IXs(props);
10
10
  tsConfig.compilerOptions.paths = {
11
11
  ...tsConfig.compilerOptions?.paths ?? {},
12
12
  "@/*": ["./*"]
@@ -1,20 +1,20 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- OHr,
4
- vGs
5
- } from "../../../../chunk-R2K4MHLU.js";
3
+ HXr,
4
+ LXs
5
+ } from "../../../../chunk-O2DQVJZQ.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/shadcn-ui/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await vGs(props);
10
+ const mod = await LXs(props);
11
11
  const replacement = `new URL("./", import.meta.url).pathname`;
12
12
  addResolveAlias(mod, "@", replacement);
13
13
  return mod.generate().code.replace(`"{{PLACEHOLDER_ALIAS}}"`, replacement);
14
14
  }
15
15
  function addResolveAlias(mod, find, replacement) {
16
16
  const alias = mod.exports.default.$args[0]?.resolve?.alias ?? {};
17
- const warnMsg = `${OHr("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
17
+ const warnMsg = `${HXr("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
18
18
  if (alias?.length === void 0) {
19
19
  if (alias[find]) {
20
20
  console.warn(warnMsg);
@@ -1,21 +1,21 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- WGs,
4
- YGs,
5
- _Bs,
6
- gGs
7
- } from "../../../../chunk-R2K4MHLU.js";
3
+ DVs,
4
+ NXs,
5
+ iQs,
6
+ sQs
7
+ } from "../../../../chunk-O2DQVJZQ.js";
8
8
  import "../../../../chunk-LU7IBQI7.js";
9
9
 
10
10
  // ../../boilerplates/shared/dist/files/$README.md.js
11
11
  async function getReadme(props) {
12
- const content = await gGs(props);
12
+ const content = await NXs(props);
13
13
  const flags = Array.from(props.meta.BATI).filter((f) => f !== "force").map((f) => `--${f}`).join(" ");
14
- const v = WGs();
15
- const intro = `Generated with [Bati](https://batijs.dev) ${`(${_Bs.link("https://www.npmjs.com/package/create-bati/v/" + v.version, "version " + v.semver.at(-1))})`} using this command:
14
+ const v = sQs();
15
+ const intro = `Generated with [Bati](https://batijs.dev) ${`(${DVs.link("https://www.npmjs.com/package/create-bati/v/" + v.version, "version " + v.semver.at(-1))})`} using this command:
16
16
 
17
17
  \`\`\`sh
18
- ${YGs()} ${flags}
18
+ ${iQs()} ${flags}
19
19
  \`\`\`
20
20
  `;
21
21
  content.addMarkdown(intro, {
@@ -140,3 +140,7 @@ dist
140
140
  # aws-cdk
141
141
  .cdk.staging
142
142
  cdk.out
143
+
144
+ ## Panda
145
+ styled-system
146
+ styled-system-studio
@@ -7,8 +7,8 @@
7
7
  "dependencies": {},
8
8
  "devDependencies": {
9
9
  "typescript": "^5.6.3",
10
- "vike": "^0.4.201",
11
- "vite": "^5.4.10"
10
+ "vike": "^0.4.203",
11
+ "vite": "^5.4.11"
12
12
  },
13
13
  "type": "module"
14
14
  }
@@ -2,7 +2,7 @@
2
2
  "compilerOptions": {
3
3
  "strict": true,
4
4
  "allowJs": true,
5
- "checkJs": true,
5
+ "checkJs": false,
6
6
  "esModuleInterop": true,
7
7
  "forceConsistentCasingInFileNames": true,
8
8
  "resolveJsonModule": true,