@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,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/firebase-auth/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 todo = `
11
11
  ## *Firebase*
12
12
  - You first need to **[Create a Firebase project](https://firebase.google.com/docs/web/setup#create-project)**.
@@ -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/firebase-auth/dist/files/$package.json.js
@@ -52,11 +52,11 @@ var require_package = __commonJS({
52
52
  "@universal-middleware/core": "^0.2.13",
53
53
  cookie: "^1.0.1",
54
54
  dotenv: "^16.4.5",
55
- firebase: "^11.0.1",
55
+ firebase: "^11.0.2",
56
56
  "firebase-admin": "^12.7.0",
57
57
  firebaseui: "^6.1.0",
58
- vike: "^0.4.201",
59
- vite: "^5.4.10"
58
+ vike: "^0.4.203",
59
+ vite: "^5.4.11"
60
60
  },
61
61
  dependencies: {
62
62
  "@batijs/core": "workspace:*"
@@ -115,7 +115,7 @@ var require_package = __commonJS({
115
115
  }
116
116
  });
117
117
  async function getPackageJson(props) {
118
- const packageJson = await bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
118
+ const packageJson = await OXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
119
119
  return packageJson.addDevDependencies(["@types/cookie"]).addDependencies(["firebase", "firebase-admin", "firebaseui", "cookie", "@universal-middleware/core", "dotenv"]);
120
120
  }
121
121
  export {
@@ -1,13 +1,13 @@
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/google-analytics/dist/files/$.env.js
8
8
  async function getEnv(props) {
9
9
  const envContent = await props.readfile?.();
10
- return NGs(
10
+ return WXs(
11
11
  envContent,
12
12
  "PUBLIC_ENV__GOOGLE_ANALYTICS",
13
13
  "G-XXXXXXXXXX",
@@ -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/h3/dist/files/$package.json.js
@@ -46,7 +46,7 @@ var require_package = __commonJS({
46
46
  author: "",
47
47
  license: "MIT",
48
48
  devDependencies: {
49
- "@auth/core": "^0.37.3",
49
+ "@auth/core": "^0.37.4",
50
50
  "@batijs/compile": "workspace:*",
51
51
  "@hattip/polyfills": "^0.0.49",
52
52
  "@trpc/server": "^10.45.2",
@@ -60,8 +60,8 @@ var require_package = __commonJS({
60
60
  "serve-static": "^1.16.2",
61
61
  telefunc: "^0.1.81",
62
62
  tsx: "^4.19.2",
63
- vike: "^0.4.201",
64
- vite: "^5.4.10"
63
+ vike: "^0.4.203",
64
+ vite: "^5.4.11"
65
65
  },
66
66
  dependencies: {
67
67
  "@batijs/core": "workspace:*"
@@ -90,7 +90,7 @@ var require_package = __commonJS({
90
90
  }
91
91
  });
92
92
  async function getPackageJson(props) {
93
- const packageJson = await bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
93
+ const packageJson = await OXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
94
94
  return packageJson.setScript("dev", {
95
95
  value: "tsx ./h3-entry.ts",
96
96
  precedence: 20,
@@ -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/hattip/dist/files/$package.json.js
@@ -46,9 +46,9 @@ var require_package = __commonJS({
46
46
  author: "",
47
47
  license: "MIT",
48
48
  devDependencies: {
49
- "@auth/core": "^0.37.3",
49
+ "@auth/core": "^0.37.4",
50
50
  "@batijs/compile": "workspace:*",
51
- "@cloudflare/workers-types": "^4.20241106.0",
51
+ "@cloudflare/workers-types": "^4.20241112.0",
52
52
  "@hattip/adapter-aws-lambda": "^0.0.49",
53
53
  "@hattip/adapter-node": "^0.0.49",
54
54
  "@hattip/adapter-vercel-edge": "^0.0.49",
@@ -65,8 +65,8 @@ var require_package = __commonJS({
65
65
  dotenv: "^16.4.5",
66
66
  hattip: "^0.0.33",
67
67
  telefunc: "^0.1.81",
68
- vike: "^0.4.201",
69
- vite: "^5.4.10"
68
+ vike: "^0.4.203",
69
+ vite: "^5.4.11"
70
70
  },
71
71
  dependencies: {
72
72
  "@batijs/core": "workspace:*"
@@ -101,7 +101,7 @@ var require_package = __commonJS({
101
101
  }
102
102
  });
103
103
  async function getPackageJson(props) {
104
- const packageJson = await bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
104
+ const packageJson = await OXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
105
105
  return packageJson.setScript("dev", {
106
106
  value: "hattip serve ./hattip-entry.ts --client",
107
107
  precedence: 20,
@@ -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/hono/dist/files/$package.json.js
@@ -46,10 +46,10 @@ var require_package = __commonJS({
46
46
  author: "",
47
47
  license: "MIT",
48
48
  devDependencies: {
49
- "@auth/core": "^0.37.3",
49
+ "@auth/core": "^0.37.4",
50
50
  "@batijs/compile": "workspace:*",
51
- "@cloudflare/workers-types": "^4.20241106.0",
52
- "@hono/node-server": "^1.13.6",
51
+ "@cloudflare/workers-types": "^4.20241112.0",
52
+ "@hono/node-server": "^1.13.7",
53
53
  "@hono/vite-dev-server": "^0.17.0",
54
54
  "@trpc/server": "^10.45.2",
55
55
  "@types/aws-lambda": "^8.10.145",
@@ -57,11 +57,11 @@ var require_package = __commonJS({
57
57
  "@universal-middleware/hono": "^0.2.12",
58
58
  "cross-env": "^7.0.3",
59
59
  dotenv: "^16.4.5",
60
- hono: "^4.6.9",
60
+ hono: "^4.6.10",
61
61
  telefunc: "^0.1.81",
62
62
  tsx: "^4.19.2",
63
- vike: "^0.4.201",
64
- vite: "^5.4.10"
63
+ vike: "^0.4.203",
64
+ vite: "^5.4.11"
65
65
  },
66
66
  dependencies: {
67
67
  "@batijs/core": "workspace:*"
@@ -102,7 +102,7 @@ var require_package = __commonJS({
102
102
  }
103
103
  });
104
104
  async function getPackageJson(props) {
105
- const packageJson = await bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
105
+ const packageJson = await OXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
106
106
  return packageJson.setScript("dev", {
107
107
  value: "vite",
108
108
  precedence: 20,
@@ -1,14 +1,14 @@
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/hono/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await vGs(props);
11
- g0s(mod, {
10
+ const mod = await LXs(props);
11
+ vTs(mod, {
12
12
  from: "@hono/vite-dev-server",
13
13
  constructor: "devServer",
14
14
  options: {
@@ -1,7 +1,7 @@
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/lucia-auth/dist/files/$.env.js
@@ -9,13 +9,13 @@ async function getEnv(props) {
9
9
  const githubClientId = process.env.TEST_GITHUB_CLIENT_ID;
10
10
  const githubClientSecret = process.env.TEST_GITHUB_CLIENT_SECRET;
11
11
  let envContent = await props.readfile?.();
12
- envContent = NGs(
12
+ envContent = WXs(
13
13
  envContent,
14
14
  "GITHUB_CLIENT_ID",
15
15
  githubClientId ?? "",
16
16
  "GitHub Client ID. Used for authentication"
17
17
  );
18
- envContent = NGs(
18
+ envContent = WXs(
19
19
  envContent,
20
20
  "GITHUB_CLIENT_SECRET",
21
21
  githubClientSecret ?? "",
@@ -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/lucia-auth/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 todo = `
11
11
  ## *Example: Lucia Auth with GitHub OAuth*
12
12
  - Create a [GitHub OAuth app](https://docs.github.com/en/apps/oauth-apps/building-oauth-apps/creating-an-oauth-app). Set the Authorization callback URL to \`http://localhost:3000/api/login/github/callback\`.
@@ -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/lucia-auth/dist/files/$package.json.js
@@ -47,7 +47,7 @@ var require_package = __commonJS({
47
47
  license: "MIT",
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
- "@cloudflare/workers-types": "^4.20241106.0",
50
+ "@cloudflare/workers-types": "^4.20241112.0",
51
51
  "@lucia-auth/adapter-drizzle": "^1.1.0",
52
52
  "@lucia-auth/adapter-sqlite": "^3.0.2",
53
53
  "@types/better-sqlite3": "^7.6.11",
@@ -58,10 +58,10 @@ var require_package = __commonJS({
58
58
  "better-sqlite3": "^11.5.0",
59
59
  cookie: "^1.0.1",
60
60
  dotenv: "^16.4.5",
61
- "drizzle-orm": "^0.36.1",
61
+ "drizzle-orm": "^0.36.3",
62
62
  lucia: "^3.2.2",
63
- vike: "^0.4.201",
64
- vite: "^5.4.10"
63
+ vike: "^0.4.203",
64
+ vite: "^5.4.11"
65
65
  },
66
66
  dependencies: {
67
67
  "@batijs/core": "workspace:*"
@@ -102,7 +102,7 @@ var require_package = __commonJS({
102
102
  }
103
103
  });
104
104
  async function getPackageJson(props) {
105
- const packageJson = await bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
105
+ const packageJson = await OXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
106
106
  return packageJson.addDevDependencies(["@types/cookie"]).addDependencies(["arctic", "cookie", "lucia", "@universal-middleware/core", "dotenv"]).addDependencies(["@lucia-auth/adapter-drizzle"], props.meta.BATI.has("drizzle")).addDependencies(["@lucia-auth/adapter-sqlite"], !props.meta.BATI.has("drizzle")).addDevDependencies(["@types/better-sqlite3"], !props.meta.BATI.hasD1).addDependencies(["better-sqlite3"], !props.meta.BATI.hasD1);
107
107
  }
108
108
  export {
@@ -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/mantine/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 todo = `
11
11
  ## Mantine
12
12
 
@@ -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/mantine/dist/files/$package.json.js
@@ -47,18 +47,18 @@ var require_package = __commonJS({
47
47
  license: "MIT",
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
- "@mantine/core": "^7.13.5",
51
- "@mantine/hooks": "^7.13.5",
50
+ "@mantine/core": "^7.14.1",
51
+ "@mantine/hooks": "^7.14.1",
52
52
  "@types/node": "^18.19.64",
53
53
  "@types/react": "^18.3.12",
54
54
  "@types/react-dom": "^18.3.1",
55
- postcss: "^8.4.48",
55
+ postcss: "^8.4.49",
56
56
  "postcss-preset-mantine": "^1.17.0",
57
57
  "postcss-simple-vars": "^7.0.1",
58
58
  react: "^18.3.1",
59
59
  "react-dom": "^18.3.1",
60
60
  "vike-react": "^0.5.7",
61
- vite: "^5.4.10",
61
+ vite: "^5.4.11",
62
62
  "vite-plugin-compiled-react": "^1.1.3"
63
63
  },
64
64
  dependencies: {
@@ -112,7 +112,7 @@ var require_package = __commonJS({
112
112
  }
113
113
  });
114
114
  async function getPackageJson(props) {
115
- const packageJson = await bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
115
+ const packageJson = await OXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
116
116
  return packageJson.addDevDependencies(["postcss", "postcss-preset-mantine", "postcss-simple-vars"]).addDependencies(["@mantine/core", "@mantine/hooks"]);
117
117
  }
118
118
  export {
@@ -0,0 +1,95 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ OXs
4
+ } from "../../../../chunk-O2DQVJZQ.js";
5
+ import "../../../../chunk-LU7IBQI7.js";
6
+
7
+ // ../../boilerplates/panda-css/dist/files/$package.json.js
8
+ var __create = Object.create;
9
+ var __defProp = Object.defineProperty;
10
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
11
+ var __getOwnPropNames = Object.getOwnPropertyNames;
12
+ var __getProtoOf = Object.getPrototypeOf;
13
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
14
+ var __commonJS = (cb, mod) => function __require() {
15
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
16
+ };
17
+ var __copyProps = (to, from, except, desc) => {
18
+ if (from && typeof from === "object" || typeof from === "function") {
19
+ for (let key of __getOwnPropNames(from))
20
+ if (!__hasOwnProp.call(to, key) && key !== except)
21
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
22
+ }
23
+ return to;
24
+ };
25
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
26
+ // If the importer is in node compatibility mode or this is not an ESM
27
+ // file that has been converted to a CommonJS file using a Babel-
28
+ // compatible transform (i.e. "__esModule" has not been set), then set
29
+ // "default" to the CommonJS "module.exports" for node compatibility.
30
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
31
+ mod
32
+ ));
33
+ var require_package = __commonJS({
34
+ "package.json"(exports, module) {
35
+ module.exports = {
36
+ name: "@batijs/panda-css",
37
+ private: true,
38
+ version: "0.0.1",
39
+ description: "",
40
+ type: "module",
41
+ scripts: {
42
+ "check-types": "tsc --noEmit",
43
+ build: "bati-compile-boilerplate"
44
+ },
45
+ keywords: [],
46
+ author: "",
47
+ license: "MIT",
48
+ devDependencies: {
49
+ "@batijs/compile": "workspace:*",
50
+ "@pandacss/dev": "^0.47.1",
51
+ "@types/node": "^18.19.64",
52
+ postcss: "^8.4.47"
53
+ },
54
+ dependencies: {
55
+ "@batijs/core": "workspace:*"
56
+ },
57
+ files: [
58
+ "dist/"
59
+ ],
60
+ bati: {
61
+ if: {
62
+ flag: "panda-css"
63
+ }
64
+ },
65
+ exports: {
66
+ "./panda.config": {
67
+ types: "./dist/types/panda.config.d.ts"
68
+ },
69
+ "./postcss.config": {
70
+ types: "./dist/types/postcss.config.d.ts"
71
+ }
72
+ },
73
+ typesVersions: {
74
+ "*": {
75
+ "panda.config": [
76
+ "./dist/types/panda.config.d.ts"
77
+ ],
78
+ "postcss.config": [
79
+ "./dist/types/postcss.config.d.ts"
80
+ ]
81
+ }
82
+ }
83
+ };
84
+ }
85
+ });
86
+ async function getPackageJson(props) {
87
+ const packageJson = await OXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
88
+ return packageJson.setScript("prepare", {
89
+ value: "panda codegen",
90
+ precedence: 20
91
+ }).addDevDependencies(["@pandacss/dev", "postcss"]).addDependencies([]);
92
+ }
93
+ export {
94
+ getPackageJson as default
95
+ };
@@ -0,0 +1 @@
1
+ @layer reset, base, tokens, recipes, utilities;
@@ -0,0 +1,32 @@
1
+ import { defineConfig } from "@pandacss/dev";
2
+
3
+ export default defineConfig({
4
+ // Whether to use css reset
5
+ preflight: true,
6
+
7
+ // Where to look for your css declarations
8
+ include: BATI.has("vue")
9
+ ? [
10
+ "./components/**/*.{js,jsx,ts,tsx,vue}",
11
+ "./layouts/**/*.{js,jsx,ts,tsx,vue}",
12
+ "./pages/**/*.{js,jsx,ts,tsx,vue}",
13
+ "./src/**/*.{js,jsx,ts,tsx,vue}",
14
+ ]
15
+ : [
16
+ "./components/**/*.{js,jsx,ts,tsx}",
17
+ "./layouts/**/*.{js,jsx,ts,tsx}",
18
+ "./pages/**/*.{js,jsx,ts,tsx}",
19
+ "./src/**/*.{js,jsx,ts,tsx}",
20
+ ],
21
+
22
+ // Files to exclude
23
+ exclude: [],
24
+
25
+ // Useful for theme customization
26
+ theme: {
27
+ extend: {},
28
+ },
29
+
30
+ // The output directory for your css system
31
+ outdir: "styled-system",
32
+ });
@@ -0,0 +1,5 @@
1
+ export default {
2
+ plugins: {
3
+ "@pandacss/dev/postcss": {},
4
+ },
5
+ };
@@ -0,0 +1,4 @@
1
+ declare const _default: import("@pandacss/dev").Config & {
2
+ name: string;
3
+ };
4
+ export default _default;
@@ -0,0 +1,6 @@
1
+ declare namespace _default {
2
+ let plugins: {
3
+ "@pandacss/dev/postcss": {};
4
+ };
5
+ }
6
+ export default _default;
@@ -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/prettier/dist/files/$package.json.js
@@ -65,7 +65,7 @@ var require_package = __commonJS({
65
65
  }
66
66
  });
67
67
  async function getPackageJson(props) {
68
- const packageJson = await bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
68
+ const packageJson = await OXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
69
69
  return packageJson.addDevDependencies(["prettier"]);
70
70
  }
71
71
  export {
@@ -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
@@ -1,13 +1,13 @@
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/prisma/dist/files/$.env.js
8
8
  async function getEnv(props) {
9
9
  const envContent = await props.readfile?.();
10
- return NGs(
10
+ return WXs(
11
11
  envContent,
12
12
  "DATABASE_URL",
13
13
  "postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public",
@@ -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/prisma/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 todo = `
11
11
  ## *Prisma*
12
12
  ### Setup
@@ -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/prisma/dist/files/$package.json.js
@@ -67,7 +67,7 @@ var require_package = __commonJS({
67
67
  }
68
68
  });
69
69
  async function getPackageJson(props) {
70
- const packageJson = await bGs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
70
+ const packageJson = await OXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
71
71
  return packageJson.setScript("prisma:studio", {
72
72
  value: "prisma studio",
73
73
  precedence: 1
@@ -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/react/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
  ## React
12
12