@batijs/cli 0.0.481 → 0.0.483
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.
- package/dist/boilerplates/@batijs/auth0/files/$.env.js +5 -5
- package/dist/boilerplates/@batijs/auth0/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/authjs/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/aws/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/aws/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/biome/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/compiled/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/d1/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/d1/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/drizzle/files/$.env.js +3 -3
- package/dist/boilerplates/@batijs/drizzle/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/express/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +3 -3
- package/dist/boilerplates/@batijs/h3/files/$package.json.js +9 -9
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/photon/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/photon/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +3 -3
- package/dist/boilerplates/@batijs/prettier/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/prisma/files/$.env.js +3 -3
- package/dist/boilerplates/@batijs/prisma/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/prisma/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/react/files/$package.json.js +9 -9
- package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/react/files/pages/+config.ts +6 -0
- package/dist/boilerplates/@batijs/react/types/pages/+config.d.ts +9 -3
- package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/sentry/files/$.env.js +4 -4
- package/dist/boilerplates/@batijs/sentry/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/sentry/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
- package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +3 -3
- package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/shared/files/$README.md.js +8 -8
- package/dist/boilerplates/@batijs/shared/files/package.json +2 -2
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/solid/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/solid/files/pages/+config.ts +6 -0
- package/dist/boilerplates/@batijs/solid/types/pages/+config.d.ts +9 -3
- package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/sqlite/files/$.env.js +3 -3
- package/dist/boilerplates/@batijs/sqlite/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +8 -8
- package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +2 -2
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +3 -3
- package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +6 -6
- package/dist/boilerplates/@batijs/vue/files/pages/+config.ts +8 -2
- package/dist/boilerplates/@batijs/vue/types/pages/+config.d.ts +2 -7
- package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +5 -5
- package/dist/{chunk-LMZKGY42.js → chunk-FVKLDOYX.js} +26758 -26711
- package/dist/index.js +14 -14
- package/package.json +6 -6
- package/dist/boilerplates/@batijs/photon/files/+photon.ts +0 -7
- package/dist/boilerplates/@batijs/photon/types/+photon.d.ts +0 -4
|
@@ -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
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
s2s
|
|
7
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -62,7 +62,7 @@ var require_package = __commonJS({
|
|
|
62
62
|
react: "^19.2.0",
|
|
63
63
|
"react-dom": "^19.2.0",
|
|
64
64
|
"vike-react": "^0.6.10",
|
|
65
|
-
vite: "^7.1.
|
|
65
|
+
vite: "^7.1.12",
|
|
66
66
|
"vite-plugin-compiled-react": "^1.3.1"
|
|
67
67
|
},
|
|
68
68
|
dependencies: {
|
|
@@ -110,7 +110,7 @@ var require_package = __commonJS({
|
|
|
110
110
|
}
|
|
111
111
|
});
|
|
112
112
|
async function getPackageJson(props) {
|
|
113
|
-
const packageJson = await
|
|
113
|
+
const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
114
114
|
return packageJson.addDevDependencies(["postcss", "postcss-preset-mantine", "postcss-simple-vars"]).addDependencies(["@mantine/core", "@mantine/hooks"]);
|
|
115
115
|
}
|
|
116
116
|
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
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
n2s
|
|
7
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
11
11
|
// ../../boilerplates/photon/dist/files/$README.md.js
|
|
12
12
|
async function getReadme(props) {
|
|
13
|
-
const content = await
|
|
13
|
+
const content = await n2s(props);
|
|
14
14
|
const photon = `
|
|
15
15
|
## Photon
|
|
16
16
|
[Photon](https://photonjs.dev) is a next-generation server and deployment toolkit.
|
|
@@ -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
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
s2s
|
|
7
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -52,7 +52,7 @@ var require_package = __commonJS({
|
|
|
52
52
|
devDependencies: {
|
|
53
53
|
"@batijs/compile": "workspace:*",
|
|
54
54
|
"@types/node": "^20.19.21",
|
|
55
|
-
"vike-photon": "^0.1.
|
|
55
|
+
"vike-photon": "^0.1.12"
|
|
56
56
|
},
|
|
57
57
|
dependencies: {
|
|
58
58
|
"@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
|
|
93
|
+
const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
94
94
|
return packageJson.setScript("dev", {
|
|
95
95
|
value: "vike dev",
|
|
96
96
|
precedence: 20,
|
|
@@ -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
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
l2s
|
|
7
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -28,7 +28,7 @@ async function getPnpmWorkspace(props) {
|
|
|
28
28
|
];
|
|
29
29
|
const intersection = intersect(dependenciesApproveBuild, deps);
|
|
30
30
|
if (intersection.length === 0) return;
|
|
31
|
-
const pnpmWorkspace = await
|
|
31
|
+
const pnpmWorkspace = await l2s(props, { fallbackEmpty: true });
|
|
32
32
|
if (!pnpmWorkspace.has("onlyBuiltDependencies")) {
|
|
33
33
|
pnpmWorkspace.set("onlyBuiltDependencies", []);
|
|
34
34
|
}
|
|
@@ -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
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
s2s
|
|
7
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -69,7 +69,7 @@ var require_package = __commonJS({
|
|
|
69
69
|
}
|
|
70
70
|
});
|
|
71
71
|
async function getPackageJson(props) {
|
|
72
|
-
const packageJson = await
|
|
72
|
+
const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
73
73
|
return packageJson.addDevDependencies(["prettier"]);
|
|
74
74
|
}
|
|
75
75
|
export {
|
|
@@ -3,15 +3,15 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
VUs
|
|
7
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
11
11
|
// ../../boilerplates/prisma/dist/files/$.env.js
|
|
12
12
|
async function getEnv(props) {
|
|
13
13
|
const envContent = await props.readfile?.();
|
|
14
|
-
return
|
|
14
|
+
return VUs(
|
|
15
15
|
envContent,
|
|
16
16
|
"DATABASE_URL",
|
|
17
17
|
"postgresql://johndoe:randompassword@localhost:5432/mydb?schema=public",
|
|
@@ -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
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
n2s
|
|
7
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
11
11
|
// ../../boilerplates/prisma/dist/files/$README.md.js
|
|
12
12
|
async function getReadme(props) {
|
|
13
|
-
const content = await
|
|
13
|
+
const content = await n2s(props);
|
|
14
14
|
const todo = `
|
|
15
15
|
## *Prisma*
|
|
16
16
|
### Setup
|
|
@@ -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
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
s2s
|
|
7
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -71,7 +71,7 @@ var require_package = __commonJS({
|
|
|
71
71
|
}
|
|
72
72
|
});
|
|
73
73
|
async function getPackageJson(props) {
|
|
74
|
-
const packageJson = await
|
|
74
|
+
const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
75
75
|
return packageJson.setScript("prisma:studio", {
|
|
76
76
|
value: "prisma studio",
|
|
77
77
|
precedence: 1
|
|
@@ -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
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
n2s
|
|
7
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
11
11
|
// ../../boilerplates/react/dist/files/$README.md.js
|
|
12
12
|
async function getReadme(props) {
|
|
13
|
-
const content = await
|
|
13
|
+
const content = await n2s(props);
|
|
14
14
|
const about = `
|
|
15
15
|
## React
|
|
16
16
|
|
|
@@ -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
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
s2s
|
|
7
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -50,7 +50,7 @@ var require_package = __commonJS({
|
|
|
50
50
|
author: "",
|
|
51
51
|
license: "MIT",
|
|
52
52
|
devDependencies: {
|
|
53
|
-
"@babel/core": "^7.28.
|
|
53
|
+
"@babel/core": "^7.28.5",
|
|
54
54
|
"@babel/plugin-syntax-flow": "^7.27.1",
|
|
55
55
|
"@babel/plugin-transform-react-jsx": "^7.27.1",
|
|
56
56
|
"@batijs/compile": "workspace:*",
|
|
@@ -58,15 +58,15 @@ var require_package = __commonJS({
|
|
|
58
58
|
"@types/node": "^20.19.21",
|
|
59
59
|
"@types/react": "^19.2.2",
|
|
60
60
|
"@types/react-dom": "^19.2.2",
|
|
61
|
-
"@vitejs/plugin-react": "^5.0
|
|
61
|
+
"@vitejs/plugin-react": "^5.1.0",
|
|
62
62
|
react: "^19.2.0",
|
|
63
63
|
"react-dom": "^19.2.0",
|
|
64
|
-
tailwindcss: "^4.1.
|
|
64
|
+
tailwindcss: "^4.1.16",
|
|
65
65
|
typescript: "^5.9.3",
|
|
66
|
-
vike: "^0.4.
|
|
67
|
-
"vike-photon": "^0.1.
|
|
66
|
+
vike: "^0.4.244",
|
|
67
|
+
"vike-photon": "^0.1.12",
|
|
68
68
|
"vike-react": "^0.6.10",
|
|
69
|
-
vite: "^7.1.
|
|
69
|
+
vite: "^7.1.12",
|
|
70
70
|
"vite-plugin-compiled-react": "^1.3.1"
|
|
71
71
|
},
|
|
72
72
|
dependencies: {
|
|
@@ -186,7 +186,7 @@ var require_package = __commonJS({
|
|
|
186
186
|
}
|
|
187
187
|
});
|
|
188
188
|
async function getPackageJson(props) {
|
|
189
|
-
const packageJson = await
|
|
189
|
+
const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
190
190
|
return packageJson.addDevDependencies(["vite", "@types/react", "@types/react-dom"]).addDependencies(["@vitejs/plugin-react", "react", "react-dom", "vike", "vike-react"]);
|
|
191
191
|
}
|
|
192
192
|
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
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
i2s
|
|
7
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.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
|
|
13
|
+
const tsConfig = await i2s(props);
|
|
14
14
|
tsConfig.compilerOptions.jsx = "react-jsx";
|
|
15
15
|
tsConfig.compilerOptions.jsxImportSource = "react";
|
|
16
16
|
tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "vike-react"];
|
|
@@ -3,16 +3,16 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "../../../../chunk-
|
|
6
|
+
Tni,
|
|
7
|
+
a2s
|
|
8
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
9
9
|
import "../../../../chunk-IAWYWZSL.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
|
|
15
|
-
|
|
14
|
+
const mod = await a2s(props);
|
|
15
|
+
Tni(mod, {
|
|
16
16
|
from: "@vitejs/plugin-react",
|
|
17
17
|
constructor: "react"
|
|
18
18
|
});
|
|
@@ -158,7 +158,7 @@ declare const _default: {
|
|
|
158
158
|
} | Omit<{
|
|
159
159
|
name: "vike-photon";
|
|
160
160
|
require: {
|
|
161
|
-
vike: ">=0.4.
|
|
161
|
+
vike: ">=0.4.244";
|
|
162
162
|
"vike-react": {
|
|
163
163
|
version: ">=0.6.4";
|
|
164
164
|
optional: true;
|
|
@@ -173,18 +173,21 @@ declare const _default: {
|
|
|
173
173
|
};
|
|
174
174
|
};
|
|
175
175
|
vite: {
|
|
176
|
-
plugins: (((Record<string, unknown> & {
|
|
176
|
+
plugins: (import("vite").Plugin<any>[] | ((Record<string, unknown> & {
|
|
177
177
|
name: string;
|
|
178
178
|
}) | Promise<(Record<string, unknown> & {
|
|
179
179
|
name: string;
|
|
180
180
|
}) | (Record<string, unknown> & {
|
|
181
181
|
name: string;
|
|
182
|
-
})[]>)[]
|
|
182
|
+
})[]>)[])[];
|
|
183
183
|
};
|
|
184
184
|
stream: {
|
|
185
185
|
enable: null;
|
|
186
186
|
type: "web";
|
|
187
187
|
};
|
|
188
|
+
cli: {
|
|
189
|
+
preview(): Promise<false | "vite" | undefined>;
|
|
190
|
+
};
|
|
188
191
|
meta: {
|
|
189
192
|
stream: {
|
|
190
193
|
isDefinedByPeerDependency: true;
|
|
@@ -217,5 +220,8 @@ declare const _default: {
|
|
|
217
220
|
};
|
|
218
221
|
};
|
|
219
222
|
}, "stream">)[];
|
|
223
|
+
photon: {
|
|
224
|
+
server: string;
|
|
225
|
+
};
|
|
220
226
|
};
|
|
221
227
|
export default _default;
|
|
@@ -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
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
s2s
|
|
7
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.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": "^10.
|
|
54
|
+
"@sentry/react": "^10.22.0",
|
|
55
55
|
"@types/node": "^20.19.21",
|
|
56
56
|
"@types/react": "^19.2.2",
|
|
57
57
|
"@types/react-dom": "^19.2.2",
|
|
58
58
|
react: "^19.2.0",
|
|
59
59
|
"react-dom": "^19.2.0",
|
|
60
|
-
vite: "^7.1.
|
|
60
|
+
vite: "^7.1.12"
|
|
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
|
|
100
|
+
const packageJson = await s2s(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
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
VUs
|
|
7
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.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 =
|
|
15
|
+
envContent = VUs(
|
|
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 =
|
|
21
|
+
envContent = VUs(
|
|
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
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
n2s
|
|
7
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.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
|
|
13
|
+
const content = await n2s(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
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
s2s
|
|
7
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -53,7 +53,7 @@ var require_package = __commonJS({
|
|
|
53
53
|
"@batijs/compile": "workspace:*",
|
|
54
54
|
"@sentry/vite-plugin": "^4.5.0",
|
|
55
55
|
"@types/node": "^20.19.21",
|
|
56
|
-
vite: "^7.1.
|
|
56
|
+
vite: "^7.1.12"
|
|
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
|
|
85
|
+
const packageJson = await s2s(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
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "../../../../chunk-
|
|
6
|
+
Tni,
|
|
7
|
+
a2s,
|
|
8
|
+
hsr
|
|
9
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
10
10
|
import "../../../../chunk-IAWYWZSL.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
|
|
16
|
-
|
|
15
|
+
const mod = await a2s(props);
|
|
16
|
+
Tni(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
|
-
|
|
24
|
+
hsr(mod.exports.default.$args[0], { build: { sourcemap: true } });
|
|
25
25
|
return mod.generate().code;
|
|
26
26
|
}
|
|
27
27
|
export {
|
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
Ene,
|
|
7
7
|
Gq,
|
|
8
8
|
PNe,
|
|
9
|
-
|
|
10
|
-
} from "../../../../../chunk-
|
|
9
|
+
a2s
|
|
10
|
+
} from "../../../../../chunk-FVKLDOYX.js";
|
|
11
11
|
import "../../../../../chunk-IAWYWZSL.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
|
|
18
|
+
mod = await a2s(props);
|
|
19
19
|
} catch {
|
|
20
20
|
mod = PNe("");
|
|
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
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
n2s
|
|
7
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.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
|
|
13
|
+
const content = await n2s(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
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
s2s
|
|
7
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -56,9 +56,9 @@ var require_package = __commonJS({
|
|
|
56
56
|
autoprefixer: "^10.4.21",
|
|
57
57
|
"class-variance-authority": "^0.7.1",
|
|
58
58
|
clsx: "^2.1.1",
|
|
59
|
-
"lucide-react": "^0.
|
|
59
|
+
"lucide-react": "^0.547.0",
|
|
60
60
|
"tailwind-merge": "^3.3.1",
|
|
61
|
-
tailwindcss: "^4.1.
|
|
61
|
+
tailwindcss: "^4.1.16",
|
|
62
62
|
"tw-animate-css": "^1.4.0"
|
|
63
63
|
},
|
|
64
64
|
dependencies: {
|
|
@@ -88,7 +88,7 @@ var require_package = __commonJS({
|
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
90
|
async function getPackageJson(props) {
|
|
91
|
-
const packageJson = await
|
|
91
|
+
const packageJson = await s2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
92
92
|
return packageJson.setScript("shadcn", {
|
|
93
93
|
value: "npx shadcn@latest",
|
|
94
94
|
precedence: 1,
|
|
@@ -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
|
-
|
|
7
|
-
} from "../../../../chunk-
|
|
6
|
+
i2s
|
|
7
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.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
|
|
13
|
+
const tsConfig = await i2s(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
|
-
|
|
7
|
-
|
|
8
|
-
} from "../../../../chunk-
|
|
6
|
+
a2s,
|
|
7
|
+
fsr
|
|
8
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
9
9
|
import "../../../../chunk-IAWYWZSL.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
|
|
14
|
+
const mod = await a2s(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 = `${
|
|
21
|
+
const warnMsg = `${fsr("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);
|
|
@@ -4,22 +4,22 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
BUs,
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "../../../../chunk-
|
|
7
|
+
UUs,
|
|
8
|
+
n2s,
|
|
9
|
+
rxs
|
|
10
|
+
} from "../../../../chunk-FVKLDOYX.js";
|
|
11
11
|
import "../../../../chunk-IAWYWZSL.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
|
|
16
|
+
const content = await n2s(props);
|
|
17
17
|
const flags = Array.from(props.meta.BATI).filter((f) => f !== "force").map((f) => `--${f}`).join(" ");
|
|
18
|
-
const v =
|
|
19
|
-
const intro = `Generated with [vike.dev/new](https://vike.dev/new) ${`(${
|
|
18
|
+
const v = UUs();
|
|
19
|
+
const intro = `Generated with [vike.dev/new](https://vike.dev/new) ${`(${rxs.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
|
-
${
|
|
22
|
+
${BUs()} ${flags}
|
|
23
23
|
\`\`\`
|
|
24
24
|
`;
|
|
25
25
|
content.addMarkdown(intro, {
|