@batijs/cli 0.0.314 → 0.0.316

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 (88) 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 +6 -6
  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 +3 -3
  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/drizzle/types/database/drizzle/queries/todos.d.ts +4 -2
  22. package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/schema/lucia-auth.d.ts +23 -9
  23. package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/schema/todos.d.ts +4 -2
  24. package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +3 -3
  25. package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +4 -4
  26. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +7 -7
  27. package/dist/boilerplates/@batijs/express/files/$package.json.js +5 -5
  28. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +6 -6
  29. package/dist/boilerplates/@batijs/firebase-auth/files/$.env.js +3 -3
  30. package/dist/boilerplates/@batijs/firebase-auth/files/$README.md.js +3 -3
  31. package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +6 -6
  32. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
  33. package/dist/boilerplates/@batijs/h3/files/$package.json.js +5 -5
  34. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +5 -5
  35. package/dist/boilerplates/@batijs/hono/files/$package.json.js +6 -6
  36. package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +5 -5
  37. package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +4 -4
  38. package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +3 -3
  39. package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +7 -7
  40. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
  41. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +8 -8
  42. package/dist/boilerplates/@batijs/panda-css/files/$package.json.js +3 -3
  43. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +3 -3
  44. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  45. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +3 -3
  46. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +5 -5
  47. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  48. package/dist/boilerplates/@batijs/react/files/$package.json.js +8 -8
  49. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  50. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
  51. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +6 -6
  52. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  53. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -3
  54. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +3 -3
  55. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +5 -5
  56. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +9 -9
  57. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
  58. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +3 -3
  59. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
  60. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +3 -3
  61. package/dist/boilerplates/@batijs/shared/files/$README.md.js +8 -8
  62. package/dist/boilerplates/@batijs/shared/files/package.json +1 -1
  63. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +5 -5
  64. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  65. package/dist/boilerplates/@batijs/solid/files/$package.json.js +5 -5
  66. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  67. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  68. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +5 -5
  69. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  70. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +3 -3
  71. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +3 -3
  72. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +5 -5
  73. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +5 -5
  74. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  75. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +4 -4
  76. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +8 -8
  77. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +5 -5
  78. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +4 -4
  79. package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +3 -3
  80. package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +5 -5
  81. package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
  82. package/dist/boilerplates/@batijs/vue/files/$package.json.js +6 -6
  83. package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
  84. package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
  85. package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +5 -5
  86. package/dist/{chunk-YGFXRLV2.js → chunk-GKEM72FV.js} +64484 -64346
  87. package/dist/index.js +12 -12
  88. package/package.json +5 -5
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- fXs
4
- } from "../../../../chunk-YGFXRLV2.js";
3
+ _Xs
4
+ } from "../../../../chunk-GKEM72FV.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/auth0/dist/files/$.env.js
@@ -10,9 +10,9 @@ async function getEnv(props) {
10
10
  const auth0ClientSecret = process.env.TEST_AUTH0_CLIENT_SECRET;
11
11
  const auth0BaseUrl = process.env.TEST_AUTH0_ISSUER_BASE_URL;
12
12
  let envContent = await props.readfile?.();
13
- envContent = fXs(envContent, "AUTH0_CLIENT_ID", auth0ClientId ?? "", "Auth0 Client ID");
14
- envContent = fXs(envContent, "AUTH0_CLIENT_SECRET", auth0ClientSecret ?? "", "Auth0 Client Secret");
15
- envContent = fXs(envContent, "AUTH0_ISSUER_BASE_URL", auth0BaseUrl ?? "", "Auth0 base URL");
13
+ envContent = _Xs(envContent, "AUTH0_CLIENT_ID", auth0ClientId ?? "", "Auth0 Client ID");
14
+ envContent = _Xs(envContent, "AUTH0_CLIENT_SECRET", auth0ClientSecret ?? "", "Auth0 Client Secret");
15
+ envContent = _Xs(envContent, "AUTH0_ISSUER_BASE_URL", auth0BaseUrl ?? "", "Auth0 base URL");
16
16
  return envContent;
17
17
  }
18
18
  export {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- QHs
4
- } from "../../../../chunk-YGFXRLV2.js";
3
+ ZHs
4
+ } from "../../../../chunk-GKEM72FV.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/auth0/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await QHs(props);
9
+ const content = await ZHs(props);
10
10
  const todo = `
11
11
  ## *Auth0*
12
12
  - Sign up or login to an Auth0 account, then go to [your Dashboard](https://manage.auth0.com/dashboard/)
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- eXs
4
- } from "../../../../chunk-YGFXRLV2.js";
3
+ tXs
4
+ } from "../../../../chunk-GKEM72FV.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/authjs/dist/files/$package.json.js
@@ -49,7 +49,7 @@ var require_package = __commonJS({
49
49
  "@auth/core": "^0.37.4",
50
50
  "@batijs/compile": "workspace:*",
51
51
  "@types/node": "^18.19.67",
52
- "@universal-middleware/core": "^0.3.1"
52
+ "@universal-middleware/core": "^0.3.3"
53
53
  },
54
54
  dependencies: {
55
55
  "@batijs/core": "workspace:*"
@@ -83,7 +83,7 @@ var require_package = __commonJS({
83
83
  }
84
84
  });
85
85
  async function getPackageJson(props) {
86
- const packageJson = await eXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
86
+ const packageJson = await tXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
87
87
  return packageJson.addDependencies(["@auth/core", "@universal-middleware/core"]);
88
88
  }
89
89
  export {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- QHs
4
- } from "../../../../chunk-YGFXRLV2.js";
3
+ ZHs
4
+ } from "../../../../chunk-GKEM72FV.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/aws/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await QHs(props);
9
+ const content = await ZHs(props);
10
10
  const todo = `
11
11
  ## *AWS CDK Deployment*
12
12
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- eXs
4
- } from "../../../../chunk-YGFXRLV2.js";
3
+ tXs
4
+ } from "../../../../chunk-GKEM72FV.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/aws/dist/files/$package.json.js
@@ -49,9 +49,9 @@ var require_package = __commonJS({
49
49
  "@batijs/compile": "workspace:*",
50
50
  "@types/node": "^18.19.67",
51
51
  "@types/which": "^3.0.4",
52
- "aws-cdk": "^2.172.0",
53
- "aws-cdk-lib": "^2.172.0",
54
- cdk: "^2.172.0",
52
+ "aws-cdk": "^2.173.1",
53
+ "aws-cdk-lib": "^2.173.1",
54
+ cdk: "^2.173.1",
55
55
  constructs: "^10.4.2",
56
56
  esbuild: "^0.24.0",
57
57
  "npm-run-all2": "^7.0.1",
@@ -107,7 +107,7 @@ var require_package = __commonJS({
107
107
  }
108
108
  });
109
109
  async function getPackageJson(props) {
110
- const packageJson = await eXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
110
+ const packageJson = await tXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
111
111
  return packageJson.setScript("test", {
112
112
  value: "vitest",
113
113
  precedence: 0
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- ZHs
4
- } from "../../../../chunk-YGFXRLV2.js";
3
+ eXs
4
+ } from "../../../../chunk-GKEM72FV.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/aws/dist/files/$tsconfig.json.js
8
8
  async function getTsConfig(props) {
9
- const tsConfig = await ZHs(props);
9
+ const tsConfig = await eXs(props);
10
10
  tsConfig.compilerOptions.types = [
11
11
  ...tsConfig.compilerOptions.types ?? [],
12
12
  "@types/node",
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- eXs
4
- } from "../../../../chunk-YGFXRLV2.js";
3
+ tXs
4
+ } from "../../../../chunk-GKEM72FV.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/biome/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 eXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
68
+ const packageJson = await tXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
69
69
  return packageJson.setScript("lint", {
70
70
  value: "biome lint --write .",
71
71
  precedence: 0
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- eXs
4
- } from "../../../../chunk-YGFXRLV2.js";
3
+ tXs
4
+ } from "../../../../chunk-GKEM72FV.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/cloudflare/dist/files/$package.json.js
@@ -51,8 +51,8 @@ var require_package = __commonJS({
51
51
  "@hattip/adapter-cloudflare-workers": "^0.0.49",
52
52
  "@types/node": "^18.19.67",
53
53
  "npm-run-all2": "^7.0.1",
54
- "vike-cloudflare": "^0.1.5",
55
- wrangler: "^3.93.0"
54
+ "vike-cloudflare": "^0.1.6",
55
+ wrangler: "^3.95.0"
56
56
  },
57
57
  dependencies: {
58
58
  "@batijs/core": "workspace:*"
@@ -82,7 +82,7 @@ var require_package = __commonJS({
82
82
  }
83
83
  });
84
84
  async function getPackageJson(props) {
85
- const packageJson = await eXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
85
+ const packageJson = await tXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
86
86
  return packageJson.setScript("preview:wrangler", {
87
87
  value: "wrangler pages dev",
88
88
  precedence: 40,
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- ZHs
4
- } from "../../../../chunk-YGFXRLV2.js";
3
+ eXs
4
+ } from "../../../../chunk-GKEM72FV.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/cloudflare/dist/files/$tsconfig.json.js
8
8
  async function getTsConfig(props) {
9
- const tsConfig = await ZHs(props);
9
+ const tsConfig = await eXs(props);
10
10
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vike-cloudflare/types"];
11
11
  return tsConfig;
12
12
  }
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- jbs,
4
- tXs
5
- } from "../../../../chunk-YGFXRLV2.js";
3
+ Bbs,
4
+ rXs
5
+ } from "../../../../chunk-GKEM72FV.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/cloudflare/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await tXs(props);
10
+ const mod = await rXs(props);
11
11
  let options = void 0;
12
12
  if (props.meta.BATI.has("hattip") || props.meta.BATI.has("hono")) {
13
13
  options = {
@@ -17,7 +17,7 @@ async function getViteConfig(props) {
17
17
  }
18
18
  };
19
19
  }
20
- jbs(mod, {
20
+ Bbs(mod, {
21
21
  from: "vike-cloudflare",
22
22
  constructor: "pages",
23
23
  imported: "pages",
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- eXs
4
- } from "../../../../chunk-YGFXRLV2.js";
3
+ tXs
4
+ } from "../../../../chunk-GKEM72FV.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/compiled/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 eXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
70
+ const packageJson = await tXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
71
71
  return packageJson.addDevDependencies(["vite-plugin-compiled-react"]).addDependencies(["@compiled/react"]);
72
72
  }
73
73
  export {
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- jbs,
4
- tXs
5
- } from "../../../../chunk-YGFXRLV2.js";
3
+ Bbs,
4
+ rXs
5
+ } from "../../../../chunk-GKEM72FV.js";
6
6
  import "../../../../chunk-LU7IBQI7.js";
7
7
 
8
8
  // ../../boilerplates/compiled/dist/files/$vite.config.ts.js
9
9
  async function getViteConfig(props) {
10
- const mod = await tXs(props);
11
- jbs(mod, {
10
+ const mod = await rXs(props);
11
+ Bbs(mod, {
12
12
  from: "vite-plugin-compiled-react",
13
13
  constructor: "compiled",
14
14
  imported: "compiled",
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- QHs
4
- } from "../../../../chunk-YGFXRLV2.js";
3
+ ZHs
4
+ } from "../../../../chunk-GKEM72FV.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/d1/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await QHs(props);
9
+ const content = await ZHs(props);
10
10
  const todo = `
11
11
  ## *Cloudflare D1*
12
12
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- eXs
4
- } from "../../../../chunk-YGFXRLV2.js";
3
+ tXs
4
+ } from "../../../../chunk-GKEM72FV.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/d1/dist/files/$package.json.js
@@ -49,9 +49,9 @@ var require_package = __commonJS({
49
49
  "@batijs/compile": "workspace:*",
50
50
  "@cloudflare/workers-types": "^4.20241205.0",
51
51
  "@types/node": "^18.19.67",
52
- "@universal-middleware/core": "^0.3.1",
53
- vike: "^0.4.206",
54
- wrangler: "^3.93.0"
52
+ "@universal-middleware/core": "^0.3.3",
53
+ vike: "^0.4.209",
54
+ wrangler: "^3.95.0"
55
55
  },
56
56
  dependencies: {
57
57
  "@batijs/core": "workspace:*"
@@ -88,7 +88,7 @@ var require_package = __commonJS({
88
88
  }
89
89
  });
90
90
  async function getPackageJson(props) {
91
- const packageJson = await eXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
91
+ const packageJson = await tXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
92
92
  return packageJson.addDevDependencies(["@universal-middleware/core"]);
93
93
  }
94
94
  export {
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- ZHs
4
- } from "../../../../chunk-YGFXRLV2.js";
3
+ eXs
4
+ } from "../../../../chunk-GKEM72FV.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/d1/dist/files/$tsconfig.json.js
8
8
  async function getTsConfig(props) {
9
- const tsConfig = await ZHs(props);
9
+ const tsConfig = await eXs(props);
10
10
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "@cloudflare/workers-types"];
11
11
  return tsConfig;
12
12
  }
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import "../../../../chunk-YGFXRLV2.js";
2
+ import "../../../../chunk-GKEM72FV.js";
3
3
  import "../../../../chunk-LU7IBQI7.js";
4
4
 
5
5
  // ../../boilerplates/d1/dist/files/$wrangler.toml.js
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- eXs
4
- } from "../../../../chunk-YGFXRLV2.js";
3
+ tXs
4
+ } from "../../../../chunk-GKEM72FV.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/d1-sqlite/dist/files/$package.json.js
@@ -49,8 +49,8 @@ var require_package = __commonJS({
49
49
  "@batijs/compile": "workspace:*",
50
50
  "@cloudflare/workers-types": "^4.20241205.0",
51
51
  "@types/node": "^18.19.67",
52
- "@universal-middleware/core": "^0.3.1",
53
- vike: "^0.4.206"
52
+ "@universal-middleware/core": "^0.3.3",
53
+ vike: "^0.4.209"
54
54
  },
55
55
  dependencies: {
56
56
  "@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 eXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
93
+ const packageJson = await tXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
94
94
  return packageJson.setScript("d1:migrate", {
95
95
  value: "wrangler d1 migrations apply YOUR_DATABASE_NAME --local",
96
96
  precedence: 0
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- fXs
4
- } from "../../../../chunk-YGFXRLV2.js";
3
+ _Xs
4
+ } from "../../../../chunk-GKEM72FV.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/drizzle/dist/files/$.env.js
8
8
  async function getEnv(props) {
9
9
  if (props.meta.BATI.hasD1) return;
10
10
  const envContent = await props.readfile?.();
11
- return fXs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
11
+ return _Xs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
12
12
  }
13
13
  export {
14
14
  getEnv as default
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- QHs
4
- } from "../../../../chunk-YGFXRLV2.js";
3
+ ZHs
4
+ } from "../../../../chunk-GKEM72FV.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/drizzle/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await QHs(props);
9
+ const content = await ZHs(props);
10
10
  const todo = `
11
11
  ## *Drizzle*
12
12
 
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- eXs
4
- } from "../../../../chunk-YGFXRLV2.js";
3
+ tXs
4
+ } from "../../../../chunk-GKEM72FV.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/drizzle/dist/files/$package.json.js
@@ -51,8 +51,8 @@ var require_package = __commonJS({
51
51
  "@types/node": "^18.19.67",
52
52
  "better-sqlite3": "^11.7.0",
53
53
  dotenv: "^16.4.7",
54
- "drizzle-kit": "^0.29.1",
55
- "drizzle-orm": "^0.37.0"
54
+ "drizzle-kit": "^0.30.1",
55
+ "drizzle-orm": "^0.38.2"
56
56
  },
57
57
  dependencies: {
58
58
  "@batijs/core": "workspace:*"
@@ -111,7 +111,7 @@ var require_package = __commonJS({
111
111
  }
112
112
  });
113
113
  async function getPackageJson(props) {
114
- const packageJson = await eXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
114
+ const packageJson = await tXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
115
115
  return packageJson.setScript("drizzle:generate", {
116
116
  value: "drizzle-kit generate",
117
117
  precedence: 20
@@ -22,7 +22,7 @@ export declare function insertTodo(db: BATI.If<{
22
22
  baseColumn: never;
23
23
  identity: undefined;
24
24
  generated: undefined;
25
- }, object>;
25
+ }, {}, {}>;
26
26
  text: import("drizzle-orm/sqlite-core").SQLiteColumn<{
27
27
  name: "text";
28
28
  tableName: "todos";
@@ -39,7 +39,9 @@ export declare function insertTodo(db: BATI.If<{
39
39
  baseColumn: never;
40
40
  identity: undefined;
41
41
  generated: undefined;
42
- }, object>;
42
+ }, {}, {
43
+ length: 50;
44
+ }>;
43
45
  };
44
46
  dialect: "sqlite";
45
47
  }>, "sync", import("better-sqlite3").RunResult, undefined, false, never>;
@@ -18,7 +18,9 @@ export declare const userTable: import("drizzle-orm/sqlite-core").SQLiteTableWit
18
18
  baseColumn: never;
19
19
  identity: undefined;
20
20
  generated: undefined;
21
- }, object>;
21
+ }, {}, {
22
+ length: number | undefined;
23
+ }>;
22
24
  username: import("drizzle-orm/sqlite-core").SQLiteColumn<{
23
25
  name: "username";
24
26
  tableName: "users";
@@ -35,7 +37,9 @@ export declare const userTable: import("drizzle-orm/sqlite-core").SQLiteTableWit
35
37
  baseColumn: never;
36
38
  identity: undefined;
37
39
  generated: undefined;
38
- }, object>;
40
+ }, {}, {
41
+ length: number | undefined;
42
+ }>;
39
43
  password: import("drizzle-orm/sqlite-core").SQLiteColumn<{
40
44
  name: "password";
41
45
  tableName: "users";
@@ -52,7 +56,9 @@ export declare const userTable: import("drizzle-orm/sqlite-core").SQLiteTableWit
52
56
  baseColumn: never;
53
57
  identity: undefined;
54
58
  generated: undefined;
55
- }, object>;
59
+ }, {}, {
60
+ length: number | undefined;
61
+ }>;
56
62
  };
57
63
  dialect: "sqlite";
58
64
  }>;
@@ -76,7 +82,9 @@ export declare const oauthAccountTable: import("drizzle-orm/sqlite-core").SQLite
76
82
  baseColumn: never;
77
83
  identity: undefined;
78
84
  generated: undefined;
79
- }, object>;
85
+ }, {}, {
86
+ length: number | undefined;
87
+ }>;
80
88
  providerUserId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
81
89
  name: "provider_user_id";
82
90
  tableName: "oauth_accounts";
@@ -93,7 +101,7 @@ export declare const oauthAccountTable: import("drizzle-orm/sqlite-core").SQLite
93
101
  baseColumn: never;
94
102
  identity: undefined;
95
103
  generated: undefined;
96
- }, object>;
104
+ }, {}, {}>;
97
105
  userId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
98
106
  name: "user_id";
99
107
  tableName: "oauth_accounts";
@@ -110,7 +118,9 @@ export declare const oauthAccountTable: import("drizzle-orm/sqlite-core").SQLite
110
118
  baseColumn: never;
111
119
  identity: undefined;
112
120
  generated: undefined;
113
- }, object>;
121
+ }, {}, {
122
+ length: number | undefined;
123
+ }>;
114
124
  };
115
125
  dialect: "sqlite";
116
126
  }>;
@@ -134,7 +144,9 @@ export declare const sessionTable: import("drizzle-orm/sqlite-core").SQLiteTable
134
144
  baseColumn: never;
135
145
  identity: undefined;
136
146
  generated: undefined;
137
- }, object>;
147
+ }, {}, {
148
+ length: number | undefined;
149
+ }>;
138
150
  userId: import("drizzle-orm/sqlite-core").SQLiteColumn<{
139
151
  name: "user_id";
140
152
  tableName: "sessions";
@@ -151,7 +163,9 @@ export declare const sessionTable: import("drizzle-orm/sqlite-core").SQLiteTable
151
163
  baseColumn: never;
152
164
  identity: undefined;
153
165
  generated: undefined;
154
- }, object>;
166
+ }, {}, {
167
+ length: number | undefined;
168
+ }>;
155
169
  expiresAt: import("drizzle-orm/sqlite-core").SQLiteColumn<{
156
170
  name: "expires_at";
157
171
  tableName: "sessions";
@@ -168,7 +182,7 @@ export declare const sessionTable: import("drizzle-orm/sqlite-core").SQLiteTable
168
182
  baseColumn: never;
169
183
  identity: undefined;
170
184
  generated: undefined;
171
- }, object>;
185
+ }, {}, {}>;
172
186
  };
173
187
  dialect: "sqlite";
174
188
  }>;
@@ -18,7 +18,7 @@ export declare const todoTable: import("drizzle-orm/sqlite-core").SQLiteTableWit
18
18
  baseColumn: never;
19
19
  identity: undefined;
20
20
  generated: undefined;
21
- }, object>;
21
+ }, {}, {}>;
22
22
  text: import("drizzle-orm/sqlite-core").SQLiteColumn<{
23
23
  name: "text";
24
24
  tableName: "todos";
@@ -35,7 +35,9 @@ export declare const todoTable: import("drizzle-orm/sqlite-core").SQLiteTableWit
35
35
  baseColumn: never;
36
36
  identity: undefined;
37
37
  generated: undefined;
38
- }, object>;
38
+ }, {}, {
39
+ length: 50;
40
+ }>;
39
41
  };
40
42
  dialect: "sqlite";
41
43
  }>;
@@ -1,12 +1,12 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- QHs
4
- } from "../../../../chunk-YGFXRLV2.js";
3
+ ZHs
4
+ } from "../../../../chunk-GKEM72FV.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/edgedb/dist/files/$README.md.js
8
8
  async function getReadme(props) {
9
- const content = await QHs(props);
9
+ const content = await ZHs(props);
10
10
  const todo = `
11
11
  ## *EdgeDB*
12
12
  ### Setup
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
- eXs
4
- } from "../../../../chunk-YGFXRLV2.js";
3
+ tXs
4
+ } from "../../../../chunk-GKEM72FV.js";
5
5
  import "../../../../chunk-LU7IBQI7.js";
6
6
 
7
7
  // ../../boilerplates/edgedb/dist/files/$package.json.js
@@ -48,7 +48,7 @@ var require_package = __commonJS({
48
48
  devDependencies: {
49
49
  "@batijs/compile": "workspace:*",
50
50
  "@edgedb/generate": "^0.5.6",
51
- "@prisma/client": "^5.22.0",
51
+ "@prisma/client": "^6.0.1",
52
52
  "@types/node": "^18.19.67",
53
53
  colorette: "^2.0.20",
54
54
  edgedb: "^1.5.12"
@@ -72,7 +72,7 @@ var require_package = __commonJS({
72
72
  }
73
73
  });
74
74
  async function getPackageJson(props) {
75
- const packageJson = await eXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
75
+ const packageJson = await tXs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
76
76
  return packageJson.setScript("edgedb:generate-queries", {
77
77
  value: "@edgedb/generate queries",
78
78
  precedence: 0