@batijs/cli 0.0.413 → 0.0.415

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 (91) 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 +8 -8
  6. package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
  7. package/dist/boilerplates/@batijs/biome/files/$package.json.js +4 -4
  8. package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +6 -6
  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 +5 -5
  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 +7 -7
  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 +6 -6
  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 +6 -6
  21. package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +3 -3
  22. package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +4 -4
  23. package/dist/boilerplates/@batijs/eslint/files/$package.json.js +7 -7
  24. package/dist/boilerplates/@batijs/express/files/$package.json.js +8 -8
  25. package/dist/boilerplates/@batijs/fastify/files/$package.json.js +8 -8
  26. package/dist/boilerplates/@batijs/firebase-auth/files/$.env.js +3 -3
  27. package/dist/boilerplates/@batijs/firebase-auth/files/$README.md.js +3 -3
  28. package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +7 -7
  29. package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
  30. package/dist/boilerplates/@batijs/h3/files/$package.json.js +8 -8
  31. package/dist/boilerplates/@batijs/hattip/files/$package.json.js +10 -10
  32. package/dist/boilerplates/@batijs/hono/files/$package.json.js +12 -12
  33. package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +5 -5
  34. package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +4 -4
  35. package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +3 -3
  36. package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +9 -9
  37. package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
  38. package/dist/boilerplates/@batijs/mantine/files/$package.json.js +6 -6
  39. package/dist/boilerplates/@batijs/panda-css/files/$package.json.js +5 -5
  40. package/dist/boilerplates/@batijs/prettier/files/$package.json.js +4 -4
  41. package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
  42. package/dist/boilerplates/@batijs/prisma/files/$README.md.js +3 -3
  43. package/dist/boilerplates/@batijs/prisma/files/$package.json.js +4 -4
  44. package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
  45. package/dist/boilerplates/@batijs/react/files/$package.json.js +9 -9
  46. package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
  47. package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
  48. package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +7 -7
  49. package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
  50. package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -3
  51. package/dist/boilerplates/@batijs/sentry/files/$package.json.js +5 -5
  52. package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
  53. package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +4 -4
  54. package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
  55. package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +10 -19
  56. package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
  57. package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
  58. package/dist/boilerplates/@batijs/shadcn-ui/files/layouts/!tailwind.css +113 -97
  59. package/dist/boilerplates/@batijs/shared/files/$README.md.js +9 -9
  60. package/dist/boilerplates/@batijs/shared/files/package.json +2 -2
  61. package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +7 -7
  62. package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
  63. package/dist/boilerplates/@batijs/solid/files/$package.json.js +8 -8
  64. package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
  65. package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
  66. package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +6 -6
  67. package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
  68. package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +3 -3
  69. package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +5 -5
  70. package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +10 -13
  71. package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +5 -8
  72. package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +8 -8
  73. package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
  74. package/dist/boilerplates/@batijs/trpc/files/$package.json.js +8 -8
  75. package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +24 -67
  76. package/dist/boilerplates/@batijs/trpc/types/trpc/server.d.ts +26 -99
  77. package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +5 -5
  78. package/dist/boilerplates/@batijs/vercel/files/$package.json.js +6 -6
  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 +10 -10
  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 +7 -7
  86. package/dist/{chunk-F5HJD3KW.js → chunk-4GILJGJV.js} +37291 -37235
  87. package/dist/index.js +47 -47
  88. package/package.json +7 -7
  89. package/dist/boilerplates/@batijs/shadcn-ui/files/!tailwind.config.ts +0 -68
  90. package/dist/boilerplates/@batijs/shadcn-ui/files/postcss.config.js +0 -6
  91. package/dist/boilerplates/@batijs/shadcn-ui/types/!tailwind.config.d.ts +0 -72
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- VHs
7
- } from "../../../../chunk-F5HJD3KW.js";
6
+ QHs
7
+ } from "../../../../chunk-4GILJGJV.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -56,18 +56,18 @@ var require_package = __commonJS({
56
56
  "@babel/plugin-transform-react-jsx": "^7.25.9",
57
57
  "@batijs/compile": "workspace:*",
58
58
  "@mantine/core": "^7.17.2",
59
- "@pandacss/dev": "^0.53.1",
60
- "@types/node": "^18.19.76",
61
- "@types/react": "^19.0.10",
59
+ "@pandacss/dev": "^0.53.3",
60
+ "@types/node": "^18.19.83",
61
+ "@types/react": "^19.0.12",
62
62
  "@types/react-dom": "^19.0.4",
63
63
  "@vitejs/plugin-react": "^4.3.4",
64
64
  react: "^19.0.0",
65
65
  "react-dom": "^19.0.0",
66
- tailwindcss: "^4.0.14",
66
+ tailwindcss: "^4.0.15",
67
67
  typescript: "^5.8.2",
68
- vike: "^0.4.225",
68
+ vike: "^0.4.227",
69
69
  "vike-react": "^0.6.1",
70
- vite: "^6.2.2",
70
+ vite: "^6.2.3",
71
71
  "vite-plugin-compiled-react": "^1.1.3"
72
72
  },
73
73
  dependencies: {
@@ -187,7 +187,7 @@ var require_package = __commonJS({
187
187
  }
188
188
  });
189
189
  async function getPackageJson(props) {
190
- const packageJson = await VHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
190
+ const packageJson = await QHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
191
191
  return packageJson.addDevDependencies(["vite", "@types/react", "@types/react-dom"]).addDependencies(["@vitejs/plugin-react", "react", "react-dom", "vike", "vike-react"]);
192
192
  }
193
193
  export {
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- qHs
7
- } from "../../../../chunk-F5HJD3KW.js";
6
+ XHs
7
+ } from "../../../../chunk-4GILJGJV.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/react/dist/files/$tsconfig.json.js
12
12
  async function getTsConfig(props) {
13
- const tsConfig = await qHs(props);
13
+ const tsConfig = await XHs(props);
14
14
  tsConfig.compilerOptions.jsx = "preserve";
15
15
  tsConfig.compilerOptions.jsxImportSource = "react";
16
16
  tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vike-react"];
@@ -3,17 +3,17 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- Sbs,
7
- zHs
8
- } from "../../../../chunk-F5HJD3KW.js";
6
+ Ibs,
7
+ ZHs
8
+ } from "../../../../chunk-4GILJGJV.js";
9
9
  import "../../../../chunk-QY4H25CP.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
12
12
  // ../../boilerplates/react/dist/files/$vite.config.ts.js
13
13
  async function getViteConfig(props) {
14
- const mod = await zHs(props);
14
+ const mod = await ZHs(props);
15
15
  const reactOptions = props.meta.BATI.has("vercel") && props.meta.BATI.has("hattip") ? { jsxRuntime: "classic" } : {};
16
- Sbs(mod, {
16
+ Ibs(mod, {
17
17
  from: "@vitejs/plugin-react",
18
18
  constructor: "react",
19
19
  options: reactOptions
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- VHs
7
- } from "../../../../chunk-F5HJD3KW.js";
6
+ QHs
7
+ } from "../../../../chunk-4GILJGJV.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -51,13 +51,13 @@ var require_package = __commonJS({
51
51
  license: "MIT",
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
- "@sentry/react": "^9.5.0",
55
- "@types/node": "^18.19.76",
56
- "@types/react": "^19.0.10",
54
+ "@sentry/react": "^9.9.0",
55
+ "@types/node": "^18.19.83",
56
+ "@types/react": "^19.0.12",
57
57
  "@types/react-dom": "^19.0.4",
58
58
  react: "^19.0.0",
59
59
  "react-dom": "^19.0.0",
60
- vite: "^6.2.2"
60
+ vite: "^6.2.3"
61
61
  },
62
62
  dependencies: {
63
63
  "@batijs/core": "workspace:*"
@@ -97,7 +97,7 @@ var require_package = __commonJS({
97
97
  }
98
98
  });
99
99
  async function getPackageJson(props) {
100
- const packageJson = await VHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
100
+ const packageJson = await QHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
101
101
  return packageJson.addDependencies(["@sentry/react"]);
102
102
  }
103
103
  export {
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- eXs
7
- } from "../../../../chunk-F5HJD3KW.js";
6
+ uXs
7
+ } from "../../../../chunk-4GILJGJV.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -12,13 +12,13 @@ import "../../../../chunk-DHZ7AZKP.js";
12
12
  async function getServerlessEnv(props) {
13
13
  const sentryDNS = process.env.TEST_SENTRY_DSN;
14
14
  let envContent = await props.readfile?.();
15
- envContent = eXs(
15
+ envContent = uXs(
16
16
  envContent,
17
17
  "SENTRY_DSN",
18
18
  sentryDNS ?? "",
19
19
  "Sentry DNS. Used for Error Reporting on the Server"
20
20
  );
21
- envContent = eXs(
21
+ envContent = uXs(
22
22
  envContent,
23
23
  "PUBLIC_ENV__SENTRY_DSN",
24
24
  "",
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- UHs
7
- } from "../../../../chunk-F5HJD3KW.js";
6
+ HHs
7
+ } from "../../../../chunk-4GILJGJV.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/sentry/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await UHs(props);
13
+ const content = await HHs(props);
14
14
  const about = `
15
15
 
16
16
  ## Sentry Browser / Error Tracking & Performance Monitoring
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- VHs
7
- } from "../../../../chunk-F5HJD3KW.js";
6
+ QHs
7
+ } from "../../../../chunk-4GILJGJV.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -52,8 +52,8 @@ var require_package = __commonJS({
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
54
  "@sentry/vite-plugin": "^3.2.2",
55
- "@types/node": "^18.19.76",
56
- vite: "^6.2.2"
55
+ "@types/node": "^18.19.83",
56
+ vite: "^6.2.3"
57
57
  },
58
58
  dependencies: {
59
59
  "@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 VHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
85
+ const packageJson = await QHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
86
86
  return packageJson.addDevDependencies(["@sentry/vite-plugin"]);
87
87
  }
88
88
  export {
@@ -3,17 +3,17 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- QXr,
7
- Sbs,
8
- zHs
9
- } from "../../../../chunk-F5HJD3KW.js";
6
+ Ibs,
7
+ ZHs,
8
+ nQr
9
+ } from "../../../../chunk-4GILJGJV.js";
10
10
  import "../../../../chunk-QY4H25CP.js";
11
11
  import "../../../../chunk-DHZ7AZKP.js";
12
12
 
13
13
  // ../../boilerplates/sentry/dist/files/$vite.config.ts.js
14
14
  async function getViteConfig(props) {
15
- const mod = await zHs(props);
16
- Sbs(mod, {
15
+ const mod = await ZHs(props);
16
+ Ibs(mod, {
17
17
  from: "@sentry/vite-plugin",
18
18
  constructor: "sentryVitePlugin",
19
19
  imported: "sentryVitePlugin",
@@ -21,7 +21,7 @@ async function getViteConfig(props) {
21
21
  sourcemaps: { disable: false }
22
22
  }
23
23
  });
24
- QXr(mod.exports.default.$args[0], { build: { sourcemap: true } });
24
+ nQr(mod.exports.default.$args[0], { build: { sourcemap: true } });
25
25
  return mod.generate().code;
26
26
  }
27
27
  export {
@@ -3,11 +3,11 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
+ ZHs,
6
7
  az,
7
8
  j5e,
8
- qse,
9
- zHs
10
- } from "../../../../../chunk-F5HJD3KW.js";
9
+ qse
10
+ } from "../../../../../chunk-4GILJGJV.js";
11
11
  import "../../../../../chunk-QY4H25CP.js";
12
12
  import "../../../../../chunk-DHZ7AZKP.js";
13
13
 
@@ -15,7 +15,7 @@ import "../../../../../chunk-DHZ7AZKP.js";
15
15
  async function getViteConfig(props) {
16
16
  let mod;
17
17
  try {
18
- mod = await zHs(props);
18
+ mod = await ZHs(props);
19
19
  } catch {
20
20
  mod = j5e("");
21
21
  }
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- UHs
7
- } from "../../../../chunk-F5HJD3KW.js";
6
+ HHs
7
+ } from "../../../../chunk-4GILJGJV.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/shadcn-ui/dist/files/$README.md.js
12
12
  async function getReadme(props) {
13
- const content = await UHs(props);
13
+ const content = await HHs(props);
14
14
  const about = `
15
15
 
16
16
  ## shadcn/ui
@@ -3,8 +3,8 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- VHs
7
- } from "../../../../chunk-F5HJD3KW.js";
6
+ QHs
7
+ } from "../../../../chunk-4GILJGJV.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
@@ -52,15 +52,14 @@ var require_package = __commonJS({
52
52
  devDependencies: {
53
53
  "@batijs/compile": "workspace:*",
54
54
  "@radix-ui/react-icons": "^1.3.2",
55
- "@types/node": "^18.19.76",
55
+ "@types/node": "^18.19.83",
56
56
  autoprefixer: "^10.4.21",
57
57
  "class-variance-authority": "^0.7.1",
58
58
  clsx: "^2.1.1",
59
- "lucide-react": "^0.482.0",
60
- postcss: "^8.5.3",
61
- "tailwind-merge": "^2.6.0",
62
- tailwindcss: "^3.4.17",
63
- "tailwindcss-animate": "^1.0.7"
59
+ "lucide-react": "^0.483.0",
60
+ "tw-animate-css": "^1.2.4",
61
+ "tailwind-merge": "^3.0.2",
62
+ tailwindcss: "^4.0.15"
64
63
  },
65
64
  dependencies: {
66
65
  "@batijs/core": "workspace:*"
@@ -74,18 +73,12 @@ var require_package = __commonJS({
74
73
  }
75
74
  },
76
75
  exports: {
77
- "./!tailwind.config": {
78
- types: "./dist/types/!tailwind.config.d.ts"
79
- },
80
76
  "./lib/utils": {
81
77
  types: "./dist/types/lib/utils.d.ts"
82
78
  }
83
79
  },
84
80
  typesVersions: {
85
81
  "*": {
86
- "!tailwind.config": [
87
- "./dist/types/!tailwind.config.d.ts"
88
- ],
89
82
  "lib/utils": [
90
83
  "./dist/types/lib/utils.d.ts"
91
84
  ]
@@ -95,20 +88,18 @@ var require_package = __commonJS({
95
88
  }
96
89
  });
97
90
  async function getPackageJson(props) {
98
- const packageJson = await VHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
91
+ const packageJson = await QHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
99
92
  return packageJson.setScript("shadcn", {
100
93
  value: "npx shadcn@latest",
101
94
  precedence: 1,
102
95
  warnIfReplaced: true
103
96
  }).addDependencies([
104
- "postcss",
105
- "autoprefixer",
106
- "tailwindcss-animate",
107
97
  "class-variance-authority",
108
98
  "clsx",
109
99
  "tailwind-merge",
110
100
  "lucide-react",
111
- "@radix-ui/react-icons"
101
+ "@radix-ui/react-icons",
102
+ "tw-animate-css"
112
103
  ]);
113
104
  }
114
105
  export {
@@ -3,14 +3,14 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- qHs
7
- } from "../../../../chunk-F5HJD3KW.js";
6
+ XHs
7
+ } from "../../../../chunk-4GILJGJV.js";
8
8
  import "../../../../chunk-QY4H25CP.js";
9
9
  import "../../../../chunk-DHZ7AZKP.js";
10
10
 
11
11
  // ../../boilerplates/shadcn-ui/dist/files/$tsconfig.json.js
12
12
  async function getTsConfig(props) {
13
- const tsConfig = await qHs(props);
13
+ const tsConfig = await XHs(props);
14
14
  tsConfig.compilerOptions.paths = {
15
15
  ...tsConfig.compilerOptions?.paths ?? {},
16
16
  "@/*": ["./*"]
@@ -3,22 +3,22 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- GXr,
7
- zHs
8
- } from "../../../../chunk-F5HJD3KW.js";
6
+ ZHs,
7
+ ZXr
8
+ } from "../../../../chunk-4GILJGJV.js";
9
9
  import "../../../../chunk-QY4H25CP.js";
10
10
  import "../../../../chunk-DHZ7AZKP.js";
11
11
 
12
12
  // ../../boilerplates/shadcn-ui/dist/files/$vite.config.ts.js
13
13
  async function getViteConfig(props) {
14
- const mod = await zHs(props);
14
+ const mod = await ZHs(props);
15
15
  const replacement = `new URL("./", import.meta.url).pathname`;
16
16
  addResolveAlias(mod, "@", replacement);
17
17
  return mod.generate().code.replace(`"{{PLACEHOLDER_ALIAS}}"`, replacement);
18
18
  }
19
19
  function addResolveAlias(mod, find, replacement) {
20
20
  const alias = mod.exports.default.$args[0]?.resolve?.alias ?? {};
21
- const warnMsg = `${GXr("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
21
+ const warnMsg = `${ZXr("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
22
22
  if (alias?.length === void 0) {
23
23
  if (alias[find]) {
24
24
  console.warn(warnMsg);
@@ -1,103 +1,119 @@
1
- @tailwind base;
2
- @tailwind components;
3
- @tailwind utilities;
4
-
5
- @layer base {
6
- :root {
7
- --background: 0 0% 100%;
8
- --foreground: 0 0% 3.9%;
9
-
10
- --muted: 0 0% 96.1%;
11
- --muted-foreground: 0 0% 45.1%;
12
-
13
- --popover: 0 0% 100%;
14
- --popover-foreground: 0 0% 3.9%;
15
-
16
- --border: 0 0% 89.8%;
17
- --input: 0 0% 89.8%;
18
-
19
- --card: 0 0% 100%;
20
- --card-foreground: 0 0% 3.9%;
21
-
22
- --primary: 0 0% 9%;
23
- --primary-foreground: 0 0% 98%;
24
-
25
- --secondary: 0 0% 96.1%;
26
- --secondary-foreground: 0 0% 9%;
27
-
28
- --accent: 0 0% 96.1%;
29
- --accent-foreground: 0 0% 9%;
30
-
31
- --destructive: 0 84.2% 60.2%;
32
- --destructive-foreground: 0 0% 98%;
33
-
34
- --ring: 0 0% 3.9%;
35
-
36
- --radius: 0.5rem;
37
-
38
- --chart-1: 12 76% 61%;
39
-
40
- --chart-2: 173 58% 39%;
41
-
42
- --chart-3: 197 37% 24%;
43
-
44
- --chart-4: 43 74% 66%;
45
-
46
- --chart-5: 27 87% 67%;
47
- }
48
-
49
- .dark {
50
- --background: 0 0% 3.9%;
51
- --foreground: 0 0% 98%;
52
-
53
- --muted: 0 0% 14.9%;
54
- --muted-foreground: 0 0% 63.9%;
55
-
56
- --accent: 0 0% 14.9%;
57
- --accent-foreground: 0 0% 98%;
58
-
59
- --popover: 0 0% 3.9%;
60
- --popover-foreground: 0 0% 98%;
61
-
62
- --border: 0 0% 14.9%;
63
- --input: 0 0% 14.9%;
64
-
65
- --card: 0 0% 3.9%;
66
- --card-foreground: 0 0% 98%;
67
-
68
- --primary: 0 0% 98%;
69
- --primary-foreground: 0 0% 9%;
70
-
71
- --secondary: 0 0% 14.9%;
72
- --secondary-foreground: 0 0% 98%;
73
-
74
- --destructive: 0 62.8% 30.6%;
75
- --destructive-foreground: 0 0% 98%;
76
-
77
- --ring: 0 0% 83.1%;
78
-
79
- --radius: 0.5rem;
80
-
81
- --chart-1: 220 70% 50%;
82
-
83
- --chart-2: 160 60% 45%;
84
-
85
- --chart-3: 30 80% 55%;
1
+ @import "tailwindcss";
2
+ @import "tw-animate-css";
3
+ @custom-variant dark (&:is(.dark *));
4
+
5
+ :root {
6
+ --radius: 0.625rem;
7
+ --background: oklch(1 0 0);
8
+ --foreground: oklch(0.145 0 0);
9
+ --card: oklch(1 0 0);
10
+ --card-foreground: oklch(0.145 0 0);
11
+ --popover: oklch(1 0 0);
12
+ --popover-foreground: oklch(0.145 0 0);
13
+ --primary: oklch(0.205 0 0);
14
+ --primary-foreground: oklch(0.985 0 0);
15
+ --secondary: oklch(0.97 0 0);
16
+ --secondary-foreground: oklch(0.205 0 0);
17
+ --muted: oklch(0.97 0 0);
18
+ --muted-foreground: oklch(0.556 0 0);
19
+ --accent: oklch(0.97 0 0);
20
+ --accent-foreground: oklch(0.205 0 0);
21
+ --destructive: oklch(0.577 0.245 27.325);
22
+ --border: oklch(0.922 0 0);
23
+ --input: oklch(0.922 0 0);
24
+ --ring: oklch(0.708 0 0);
25
+ --chart-1: oklch(0.646 0.222 41.116);
26
+ --chart-2: oklch(0.6 0.118 184.704);
27
+ --chart-3: oklch(0.398 0.07 227.392);
28
+ --chart-4: oklch(0.828 0.189 84.429);
29
+ --chart-5: oklch(0.769 0.188 70.08);
30
+ --sidebar: oklch(0.985 0 0);
31
+ --sidebar-foreground: oklch(0.145 0 0);
32
+ --sidebar-primary: oklch(0.205 0 0);
33
+ --sidebar-primary-foreground: oklch(0.985 0 0);
34
+ --sidebar-accent: oklch(0.97 0 0);
35
+ --sidebar-accent-foreground: oklch(0.205 0 0);
36
+ --sidebar-border: oklch(0.922 0 0);
37
+ --sidebar-ring: oklch(0.708 0 0);
38
+ }
86
39
 
87
- --chart-4: 280 65% 60%;
40
+ .dark {
41
+ --background: oklch(0.145 0 0);
42
+ --foreground: oklch(0.985 0 0);
43
+ --card: oklch(0.205 0 0);
44
+ --card-foreground: oklch(0.985 0 0);
45
+ --popover: oklch(0.269 0 0);
46
+ --popover-foreground: oklch(0.985 0 0);
47
+ --primary: oklch(0.922 0 0);
48
+ --primary-foreground: oklch(0.205 0 0);
49
+ --secondary: oklch(0.269 0 0);
50
+ --secondary-foreground: oklch(0.985 0 0);
51
+ --muted: oklch(0.269 0 0);
52
+ --muted-foreground: oklch(0.708 0 0);
53
+ --accent: oklch(0.371 0 0);
54
+ --accent-foreground: oklch(0.985 0 0);
55
+ --destructive: oklch(0.704 0.191 22.216);
56
+ --border: oklch(1 0 0 / 10%);
57
+ --input: oklch(1 0 0 / 15%);
58
+ --ring: oklch(0.556 0 0);
59
+ --chart-1: oklch(0.488 0.243 264.376);
60
+ --chart-2: oklch(0.696 0.17 162.48);
61
+ --chart-3: oklch(0.769 0.188 70.08);
62
+ --chart-4: oklch(0.627 0.265 303.9);
63
+ --chart-5: oklch(0.645 0.246 16.439);
64
+ --sidebar: oklch(0.205 0 0);
65
+ --sidebar-foreground: oklch(0.985 0 0);
66
+ --sidebar-primary: oklch(0.488 0.243 264.376);
67
+ --sidebar-primary-foreground: oklch(0.985 0 0);
68
+ --sidebar-accent: oklch(0.269 0 0);
69
+ --sidebar-accent-foreground: oklch(0.985 0 0);
70
+ --sidebar-border: oklch(1 0 0 / 10%);
71
+ --sidebar-ring: oklch(0.439 0 0);
72
+ }
88
73
 
89
- --chart-5: 340 75% 55%;
90
- }
74
+ @theme inline {
75
+ --radius-sm: calc(var(--radius) - 4px);
76
+ --radius-md: calc(var(--radius) - 2px);
77
+ --radius-lg: var(--radius);
78
+ --radius-xl: calc(var(--radius) + 4px);
79
+ --color-background: var(--background);
80
+ --color-foreground: var(--foreground);
81
+ --color-card: var(--card);
82
+ --color-card-foreground: var(--card-foreground);
83
+ --color-popover: var(--popover);
84
+ --color-popover-foreground: var(--popover-foreground);
85
+ --color-primary: var(--primary);
86
+ --color-primary-foreground: var(--primary-foreground);
87
+ --color-secondary: var(--secondary);
88
+ --color-secondary-foreground: var(--secondary-foreground);
89
+ --color-muted: var(--muted);
90
+ --color-muted-foreground: var(--muted-foreground);
91
+ --color-accent: var(--accent);
92
+ --color-accent-foreground: var(--accent-foreground);
93
+ --color-destructive: var(--destructive);
94
+ --color-border: var(--border);
95
+ --color-input: var(--input);
96
+ --color-ring: var(--ring);
97
+ --color-chart-1: var(--chart-1);
98
+ --color-chart-2: var(--chart-2);
99
+ --color-chart-3: var(--chart-3);
100
+ --color-chart-4: var(--chart-4);
101
+ --color-chart-5: var(--chart-5);
102
+ --color-sidebar: var(--sidebar);
103
+ --color-sidebar-foreground: var(--sidebar-foreground);
104
+ --color-sidebar-primary: var(--sidebar-primary);
105
+ --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
106
+ --color-sidebar-accent: var(--sidebar-accent);
107
+ --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
108
+ --color-sidebar-border: var(--sidebar-border);
109
+ --color-sidebar-ring: var(--sidebar-ring);
91
110
  }
92
111
 
93
112
  @layer base {
94
- * {
95
- @apply border-border;
96
- }
97
- body {
98
- @apply bg-background text-foreground;
99
- font-feature-settings:
100
- "rlig" 1,
101
- "calt" 1;
102
- }
113
+ * {
114
+ @apply border-border outline-ring/50;
115
+ }
116
+ body {
117
+ @apply bg-background text-foreground;
118
+ }
103
119
  }
@@ -3,23 +3,23 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
3
3
  const require = createRequire_BATI_CLI(import.meta.url);
4
4
 
5
5
  import {
6
- Bqs,
7
- UHs,
8
- _Xs,
9
- dXs
10
- } from "../../../../chunk-F5HJD3KW.js";
6
+ EXs,
7
+ HHs,
8
+ Kqs,
9
+ xXs
10
+ } from "../../../../chunk-4GILJGJV.js";
11
11
  import "../../../../chunk-QY4H25CP.js";
12
12
  import "../../../../chunk-DHZ7AZKP.js";
13
13
 
14
14
  // ../../boilerplates/shared/dist/files/$README.md.js
15
15
  async function getReadme(props) {
16
- const content = await UHs(props);
16
+ const content = await HHs(props);
17
17
  const flags = Array.from(props.meta.BATI).filter((f) => f !== "force").map((f) => `--${f}`).join(" ");
18
- const v = dXs();
19
- const intro = `Generated with [vike.dev/new](https://vike.dev/new) ${`(${Bqs.link("https://www.npmjs.com/package/create-vike/v/" + v.version, "version " + v.semver.at(-1))})`} using this command:
18
+ const v = xXs();
19
+ const intro = `Generated with [vike.dev/new](https://vike.dev/new) ${`(${Kqs.link("https://www.npmjs.com/package/create-vike/v/" + v.version, "version " + v.semver.at(-1))})`} using this command:
20
20
 
21
21
  \`\`\`sh
22
- ${_Xs()} ${flags}
22
+ ${EXs()} ${flags}
23
23
  \`\`\`
24
24
  `;
25
25
  content.addMarkdown(intro, {