@batijs/cli 0.0.328 → 0.0.330
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 +5 -5
- package/dist/boilerplates/@batijs/aws/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/aws/files/$package.json.js +11 -8
- package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/aws/files/tests/aws_handler.spec.ts +1 -1
- package/dist/boilerplates/@batijs/biome/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/cloudflare/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/compiled/files/$package.json.js +5 -5
- 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 +8 -8
- package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/d1/files/$wrangler.toml.js +1 -1
- package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +7 -7
- 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 +7 -7
- package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +8 -8
- package/dist/boilerplates/@batijs/express/files/$package.json.js +8 -8
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +8 -8
- package/dist/boilerplates/@batijs/firebase-auth/files/$.env.js +3 -3
- package/dist/boilerplates/@batijs/firebase-auth/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +8 -8
- 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/hattip/files/$package.json.js +9 -9
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +12 -12
- package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/hono/files/hono-entry.node.ts +3 -1
- package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +4 -4
- package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +11 -11
- package/dist/boilerplates/@batijs/mantine/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +10 -10
- package/dist/boilerplates/@batijs/panda-css/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/panda-css/files/layouts/panda.css +1 -1
- package/dist/boilerplates/@batijs/prettier/files/$package.json.js +4 -4
- 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 +4 -4
- package/dist/boilerplates/@batijs/react/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/react/files/$package.json.js +11 -11
- 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/index/Counter.tsx +15 -13
- package/dist/boilerplates/@batijs/react/files/pages/todo/TodoList.tsx +1 -1
- package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +7 -7
- 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 +6 -6
- package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +7 -7
- package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +9 -9
- package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +6 -6
- 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/shadcn-ui/files/layouts/!tailwind.css +1 -3
- package/dist/boilerplates/@batijs/shared/files/$README.md.js +9 -9
- package/dist/boilerplates/@batijs/shared/files/package.json +5 -5
- package/dist/boilerplates/@batijs/shared/files/vite.config.ts +3 -3
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +8 -8
- 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/index/Counter.tsx +15 -13
- package/dist/boilerplates/@batijs/solid/files/pages/todo/TodoList.tsx +1 -1
- package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +6 -6
- 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 +5 -5
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +10 -28
- package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +19 -0
- package/dist/boilerplates/@batijs/tailwindcss/files/layouts/tailwind.css +4 -3
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +8 -8
- package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +7 -7
- package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +8 -8
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/vercel/files/$tsconfig.json.js +3 -3
- package/dist/boilerplates/@batijs/vercel/files/$vite.config.ts.js +5 -5
- package/dist/boilerplates/@batijs/vue/files/$README.md.js +3 -3
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +8 -8
- 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/components/Counter.vue +3 -1
- package/dist/boilerplates/@batijs/vue/files/pages/todo/TodoList.vue +1 -1
- package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +6 -6
- package/dist/{chunk-DZBELOJE.js → chunk-7JKLHW74.js} +71114 -70941
- package/dist/index.js +1249 -158
- package/dist/prompt-Z3APRUMB.js +752 -0
- package/package.json +8 -8
- package/dist/boilerplates/@batijs/tailwindcss/files/postcss.config.js +0 -6
- package/dist/boilerplates/@batijs/tailwindcss/files/tailwind.config.ts +0 -10
- package/dist/boilerplates/@batijs/tailwindcss/types/postcss.config.d.ts +0 -7
- package/dist/boilerplates/@batijs/tailwindcss/types/tailwind.config.d.ts +0 -11
- package/dist/chunk-7ZHD2YFR.js +0 -1100
- package/dist/prompt-TICE27HC.js +0 -853
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
IHs
|
|
4
|
+
} from "../../../../chunk-7JKLHW74.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/fastify/dist/files/$package.json.js
|
|
@@ -52,15 +52,15 @@ var require_package = __commonJS({
|
|
|
52
52
|
"@fastify/static": "^8.0.4",
|
|
53
53
|
"@trpc/server": "^10.45.2",
|
|
54
54
|
"@types/express": "^4.17.21",
|
|
55
|
-
"@types/node": "^18.19.
|
|
56
|
-
"@universal-middleware/fastify": "^0.
|
|
55
|
+
"@types/node": "^18.19.74",
|
|
56
|
+
"@universal-middleware/fastify": "^0.5.0",
|
|
57
57
|
"cross-env": "^7.0.3",
|
|
58
58
|
dotenv: "^16.4.7",
|
|
59
59
|
fastify: "^5.2.1",
|
|
60
60
|
telefunc: "^0.1.83",
|
|
61
61
|
tsx: "^4.19.2",
|
|
62
|
-
vike: "^0.4.
|
|
63
|
-
vite: "^6.0.
|
|
62
|
+
vike: "^0.4.220",
|
|
63
|
+
vite: "^6.0.11"
|
|
64
64
|
},
|
|
65
65
|
dependencies: {
|
|
66
66
|
"@batijs/core": "workspace:*"
|
|
@@ -89,13 +89,13 @@ var require_package = __commonJS({
|
|
|
89
89
|
}
|
|
90
90
|
});
|
|
91
91
|
async function getPackageJson(props) {
|
|
92
|
-
const packageJson = await
|
|
92
|
+
const packageJson = await IHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
93
93
|
return packageJson.setScript("dev", {
|
|
94
94
|
value: "tsx ./fastify-entry.ts",
|
|
95
95
|
precedence: 20,
|
|
96
96
|
warnIfReplaced: true
|
|
97
97
|
}).setScript("build", {
|
|
98
|
-
value: "
|
|
98
|
+
value: "vike build",
|
|
99
99
|
precedence: 1,
|
|
100
100
|
warnIfReplaced: true
|
|
101
101
|
}).setScript("preview", {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
YHs
|
|
4
|
+
} from "../../../../chunk-7JKLHW74.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/firebase-auth/dist/files/$.env.js
|
|
8
8
|
async function getEnv(props) {
|
|
9
9
|
const envContent = await props.readfile?.();
|
|
10
|
-
return
|
|
10
|
+
return YHs(
|
|
11
11
|
envContent,
|
|
12
12
|
"GOOGLE_APPLICATION_CREDENTIALS",
|
|
13
13
|
"firebase/service-account.json",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
kHs
|
|
4
|
+
} from "../../../../chunk-7JKLHW74.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
|
|
9
|
+
const content = await kHs(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
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
IHs
|
|
4
|
+
} from "../../../../chunk-7JKLHW74.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/firebase-auth/dist/files/$package.json.js
|
|
@@ -47,15 +47,15 @@ var require_package = __commonJS({
|
|
|
47
47
|
license: "MIT",
|
|
48
48
|
devDependencies: {
|
|
49
49
|
"@batijs/compile": "workspace:*",
|
|
50
|
-
"@types/node": "^18.19.
|
|
51
|
-
"@universal-middleware/core": "^0.
|
|
50
|
+
"@types/node": "^18.19.74",
|
|
51
|
+
"@universal-middleware/core": "^0.4.0",
|
|
52
52
|
cookie: "^1.0.2",
|
|
53
53
|
dotenv: "^16.4.7",
|
|
54
|
-
firebase: "^11.
|
|
54
|
+
firebase: "^11.2.0",
|
|
55
55
|
"firebase-admin": "^12.7.0",
|
|
56
56
|
firebaseui: "^6.1.0",
|
|
57
|
-
vike: "^0.4.
|
|
58
|
-
vite: "^6.0.
|
|
57
|
+
vike: "^0.4.220",
|
|
58
|
+
vite: "^6.0.11"
|
|
59
59
|
},
|
|
60
60
|
dependencies: {
|
|
61
61
|
"@batijs/core": "workspace:*"
|
|
@@ -114,7 +114,7 @@ var require_package = __commonJS({
|
|
|
114
114
|
}
|
|
115
115
|
});
|
|
116
116
|
async function getPackageJson(props) {
|
|
117
|
-
const packageJson = await
|
|
117
|
+
const packageJson = await IHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
118
118
|
return packageJson.addDependencies([
|
|
119
119
|
"firebase",
|
|
120
120
|
"firebase-admin",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
YHs
|
|
4
|
+
} from "../../../../chunk-7JKLHW74.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
|
|
10
|
+
return YHs(
|
|
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
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
IHs
|
|
4
|
+
} from "../../../../chunk-7JKLHW74.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/h3/dist/files/$package.json.js
|
|
@@ -51,17 +51,17 @@ var require_package = __commonJS({
|
|
|
51
51
|
"@hattip/polyfills": "^0.0.49",
|
|
52
52
|
"@trpc/server": "^10.45.2",
|
|
53
53
|
"@types/express": "^4.17.21",
|
|
54
|
-
"@types/node": "^18.19.
|
|
54
|
+
"@types/node": "^18.19.74",
|
|
55
55
|
"@types/serve-static": "^1.15.7",
|
|
56
|
-
"@universal-middleware/h3": "^0.
|
|
56
|
+
"@universal-middleware/h3": "^0.4.0",
|
|
57
57
|
"cross-env": "^7.0.3",
|
|
58
58
|
dotenv: "^16.4.7",
|
|
59
|
-
h3: "~1.
|
|
59
|
+
h3: "~1.14.0",
|
|
60
60
|
"serve-static": "^1.16.2",
|
|
61
61
|
telefunc: "^0.1.83",
|
|
62
62
|
tsx: "^4.19.2",
|
|
63
|
-
vike: "^0.4.
|
|
64
|
-
vite: "^6.0.
|
|
63
|
+
vike: "^0.4.220",
|
|
64
|
+
vite: "^6.0.11"
|
|
65
65
|
},
|
|
66
66
|
dependencies: {
|
|
67
67
|
"@batijs/core": "workspace:*"
|
|
@@ -90,13 +90,13 @@ var require_package = __commonJS({
|
|
|
90
90
|
}
|
|
91
91
|
});
|
|
92
92
|
async function getPackageJson(props) {
|
|
93
|
-
const packageJson = await
|
|
93
|
+
const packageJson = await IHs(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,
|
|
97
97
|
warnIfReplaced: true
|
|
98
98
|
}).setScript("build", {
|
|
99
|
-
value: "
|
|
99
|
+
value: "vike build",
|
|
100
100
|
precedence: 1,
|
|
101
101
|
warnIfReplaced: true
|
|
102
102
|
}).setScript("preview", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
IHs
|
|
4
|
+
} from "../../../../chunk-7JKLHW74.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/hattip/dist/files/$package.json.js
|
|
@@ -48,7 +48,7 @@ var require_package = __commonJS({
|
|
|
48
48
|
devDependencies: {
|
|
49
49
|
"@auth/core": "^0.37.4",
|
|
50
50
|
"@batijs/compile": "workspace:*",
|
|
51
|
-
"@cloudflare/workers-types": "^4.
|
|
51
|
+
"@cloudflare/workers-types": "^4.20250124.3",
|
|
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",
|
|
@@ -59,14 +59,14 @@ var require_package = __commonJS({
|
|
|
59
59
|
"@hattip/walk": "^0.0.49",
|
|
60
60
|
"@trpc/server": "^10.45.2",
|
|
61
61
|
"@types/aws-lambda": "^8.10.147",
|
|
62
|
-
"@types/node": "^18.19.
|
|
63
|
-
"@universal-middleware/hattip": "^0.
|
|
62
|
+
"@types/node": "^18.19.74",
|
|
63
|
+
"@universal-middleware/hattip": "^0.4.0",
|
|
64
64
|
"cross-env": "^7.0.3",
|
|
65
65
|
dotenv: "^16.4.7",
|
|
66
66
|
hattip: "^0.0.33",
|
|
67
67
|
telefunc: "^0.1.83",
|
|
68
|
-
vike: "^0.4.
|
|
69
|
-
vite: "^6.0.
|
|
68
|
+
vike: "^0.4.220",
|
|
69
|
+
vite: "^6.0.11"
|
|
70
70
|
},
|
|
71
71
|
dependencies: {
|
|
72
72
|
"@batijs/core": "workspace:*"
|
|
@@ -101,13 +101,13 @@ var require_package = __commonJS({
|
|
|
101
101
|
}
|
|
102
102
|
});
|
|
103
103
|
async function getPackageJson(props) {
|
|
104
|
-
const packageJson = await
|
|
104
|
+
const packageJson = await IHs(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,
|
|
108
108
|
warnIfReplaced: true
|
|
109
109
|
}).setScript("build", {
|
|
110
|
-
value:
|
|
110
|
+
value: "cross-env NODE_ENV=production vike build",
|
|
111
111
|
precedence: 20,
|
|
112
112
|
warnIfReplaced: true
|
|
113
113
|
}).removeScript("preview").addDevDependencies(["@hattip/vite", "@hattip/adapter-node"]).addDependencies(["@hattip/core", "@hattip/router", "hattip", "vite", "vike", "@universal-middleware/hattip"]).addDependencies(["dotenv"], props.meta.BATI.has("auth0") || props.meta.BATI.hasDatabase).addDependencies(["@hattip/adapter-vercel-edge"], props.meta.BATI.has("vercel")).addDependencies(["@hattip/adapter-aws-lambda", "@hattip/static", "@hattip/walk"], props.meta.BATI.has("aws")).addDevDependencies(["@types/aws-lambda"], props.meta.BATI.has("aws")).addDevDependencies(["cross-env"], ["build"]);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
IHs
|
|
4
|
+
} from "../../../../chunk-7JKLHW74.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/hono/dist/files/$package.json.js
|
|
@@ -48,20 +48,20 @@ var require_package = __commonJS({
|
|
|
48
48
|
devDependencies: {
|
|
49
49
|
"@auth/core": "^0.37.4",
|
|
50
50
|
"@batijs/compile": "workspace:*",
|
|
51
|
-
"@cloudflare/workers-types": "^4.
|
|
51
|
+
"@cloudflare/workers-types": "^4.20250124.3",
|
|
52
52
|
"@hono/node-server": "^1.13.7",
|
|
53
|
-
"@hono/vite-dev-server": "^0.18.
|
|
53
|
+
"@hono/vite-dev-server": "^0.18.1",
|
|
54
54
|
"@trpc/server": "^10.45.2",
|
|
55
55
|
"@types/aws-lambda": "^8.10.147",
|
|
56
|
-
"@types/node": "^18.19.
|
|
57
|
-
"@universal-middleware/hono": "^0.
|
|
56
|
+
"@types/node": "^18.19.74",
|
|
57
|
+
"@universal-middleware/hono": "^0.4.0",
|
|
58
58
|
"cross-env": "^7.0.3",
|
|
59
59
|
dotenv: "^16.4.7",
|
|
60
|
-
hono: "^4.6.
|
|
60
|
+
hono: "^4.6.19",
|
|
61
61
|
telefunc: "^0.1.83",
|
|
62
62
|
tsx: "^4.19.2",
|
|
63
|
-
vike: "^0.4.
|
|
64
|
-
vite: "^6.0.
|
|
63
|
+
vike: "^0.4.220",
|
|
64
|
+
vite: "^6.0.11"
|
|
65
65
|
},
|
|
66
66
|
dependencies: {
|
|
67
67
|
"@batijs/core": "workspace:*"
|
|
@@ -102,13 +102,13 @@ var require_package = __commonJS({
|
|
|
102
102
|
}
|
|
103
103
|
});
|
|
104
104
|
async function getPackageJson(props) {
|
|
105
|
-
const packageJson = await
|
|
105
|
+
const packageJson = await IHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
106
106
|
return packageJson.setScript("dev", {
|
|
107
|
-
value: "
|
|
107
|
+
value: "vike dev",
|
|
108
108
|
precedence: 20,
|
|
109
109
|
warnIfReplaced: true
|
|
110
110
|
}).setScript("build", {
|
|
111
|
-
value: "
|
|
111
|
+
value: "vike build",
|
|
112
112
|
precedence: 1,
|
|
113
113
|
warnIfReplaced: true
|
|
114
114
|
}).setScript("preview", {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "../../../../chunk-
|
|
3
|
+
OHs,
|
|
4
|
+
hbs
|
|
5
|
+
} from "../../../../chunk-7JKLHW74.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
|
|
11
|
-
|
|
10
|
+
const mod = await OHs(props);
|
|
11
|
+
hbs(mod, {
|
|
12
12
|
from: "@hono/vite-dev-server",
|
|
13
13
|
constructor: "devServer",
|
|
14
14
|
options: {
|
|
@@ -5,7 +5,9 @@ import { env } from "hono/adapter";
|
|
|
5
5
|
import { compress } from "hono/compress";
|
|
6
6
|
import app from "./hono-entry.js";
|
|
7
7
|
|
|
8
|
-
const envs = env<{ NODE_ENV
|
|
8
|
+
const envs = env<{ NODE_ENV?: string; PORT?: string }>({ env: {} } as unknown as Context<{
|
|
9
|
+
Bindings: { NODE_ENV?: string; PORT?: string };
|
|
10
|
+
}>);
|
|
9
11
|
|
|
10
12
|
const nodeApp = new Hono();
|
|
11
13
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
YHs
|
|
4
|
+
} from "../../../../chunk-7JKLHW74.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 =
|
|
12
|
+
envContent = YHs(
|
|
13
13
|
envContent,
|
|
14
14
|
"GITHUB_CLIENT_ID",
|
|
15
15
|
githubClientId ?? "",
|
|
16
16
|
"GitHub Client ID. Used for authentication"
|
|
17
17
|
);
|
|
18
|
-
envContent =
|
|
18
|
+
envContent = YHs(
|
|
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
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
kHs
|
|
4
|
+
} from "../../../../chunk-7JKLHW74.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
|
|
9
|
+
const content = await kHs(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
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
IHs
|
|
4
|
+
} from "../../../../chunk-7JKLHW74.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/lucia-auth/dist/files/$package.json.js
|
|
@@ -47,20 +47,20 @@ var require_package = __commonJS({
|
|
|
47
47
|
license: "MIT",
|
|
48
48
|
devDependencies: {
|
|
49
49
|
"@batijs/compile": "workspace:*",
|
|
50
|
-
"@cloudflare/workers-types": "^4.
|
|
50
|
+
"@cloudflare/workers-types": "^4.20250124.3",
|
|
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.12",
|
|
54
|
-
"@types/node": "^18.19.
|
|
55
|
-
"@universal-middleware/core": "^0.
|
|
56
|
-
arctic: "^3.
|
|
57
|
-
"better-sqlite3": "^11.
|
|
54
|
+
"@types/node": "^18.19.74",
|
|
55
|
+
"@universal-middleware/core": "^0.4.0",
|
|
56
|
+
arctic: "^3.2.1",
|
|
57
|
+
"better-sqlite3": "^11.8.1",
|
|
58
58
|
cookie: "^1.0.2",
|
|
59
59
|
dotenv: "^16.4.7",
|
|
60
|
-
"drizzle-orm": "^0.
|
|
60
|
+
"drizzle-orm": "^0.39.0",
|
|
61
61
|
lucia: "^3.2.2",
|
|
62
|
-
vike: "^0.4.
|
|
63
|
-
vite: "^6.0.
|
|
62
|
+
vike: "^0.4.220",
|
|
63
|
+
vite: "^6.0.11"
|
|
64
64
|
},
|
|
65
65
|
dependencies: {
|
|
66
66
|
"@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
|
|
104
|
+
const packageJson = await IHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
105
105
|
return packageJson.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);
|
|
106
106
|
}
|
|
107
107
|
export {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
kHs
|
|
4
|
+
} from "../../../../chunk-7JKLHW74.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
|
|
9
|
+
const content = await kHs(props);
|
|
10
10
|
const todo = `
|
|
11
11
|
## Mantine
|
|
12
12
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
IHs
|
|
4
|
+
} from "../../../../chunk-7JKLHW74.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.
|
|
51
|
-
"@mantine/hooks": "^7.
|
|
52
|
-
"@types/node": "^18.19.
|
|
53
|
-
"@types/react": "^19.0.
|
|
50
|
+
"@mantine/core": "^7.16.2",
|
|
51
|
+
"@mantine/hooks": "^7.16.2",
|
|
52
|
+
"@types/node": "^18.19.74",
|
|
53
|
+
"@types/react": "^19.0.8",
|
|
54
54
|
"@types/react-dom": "^19.0.3",
|
|
55
|
-
postcss: "^8.
|
|
55
|
+
postcss: "^8.5.1",
|
|
56
56
|
"postcss-preset-mantine": "^1.17.0",
|
|
57
57
|
"postcss-simple-vars": "^7.0.1",
|
|
58
58
|
react: "^19.0.0",
|
|
59
59
|
"react-dom": "^19.0.0",
|
|
60
|
-
"vike-react": "^0.5.
|
|
61
|
-
vite: "^6.0.
|
|
60
|
+
"vike-react": "^0.5.12",
|
|
61
|
+
vite: "^6.0.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
|
|
115
|
+
const packageJson = await IHs(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 {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
IHs
|
|
4
|
+
} from "../../../../chunk-7JKLHW74.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/panda-css/dist/files/$package.json.js
|
|
@@ -48,8 +48,8 @@ var require_package = __commonJS({
|
|
|
48
48
|
devDependencies: {
|
|
49
49
|
"@batijs/compile": "workspace:*",
|
|
50
50
|
"@pandacss/dev": "^0.51.1",
|
|
51
|
-
"@types/node": "^18.19.
|
|
52
|
-
postcss: "^8.
|
|
51
|
+
"@types/node": "^18.19.74",
|
|
52
|
+
postcss: "^8.5.1"
|
|
53
53
|
},
|
|
54
54
|
dependencies: {
|
|
55
55
|
"@batijs/core": "workspace:*"
|
|
@@ -84,7 +84,7 @@ var require_package = __commonJS({
|
|
|
84
84
|
}
|
|
85
85
|
});
|
|
86
86
|
async function getPackageJson(props) {
|
|
87
|
-
const packageJson = await
|
|
87
|
+
const packageJson = await IHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
88
88
|
return packageJson.setScript("prepare", {
|
|
89
89
|
value: "panda codegen",
|
|
90
90
|
precedence: 20
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@layer reset, base, tokens, recipes
|
|
1
|
+
@layer reset, base, tokens, recipes;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
IHs
|
|
4
|
+
} from "../../../../chunk-7JKLHW74.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/prettier/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
|
-
"@types/node": "^18.19.
|
|
50
|
+
"@types/node": "^18.19.74",
|
|
51
51
|
prettier: "^3.4.2"
|
|
52
52
|
},
|
|
53
53
|
dependencies: {
|
|
@@ -65,7 +65,7 @@ var require_package = __commonJS({
|
|
|
65
65
|
}
|
|
66
66
|
});
|
|
67
67
|
async function getPackageJson(props) {
|
|
68
|
-
const packageJson = await
|
|
68
|
+
const packageJson = await IHs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
|
|
69
69
|
return packageJson.addDevDependencies(["prettier"]);
|
|
70
70
|
}
|
|
71
71
|
export {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
YHs
|
|
4
|
+
} from "../../../../chunk-7JKLHW74.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
|
|
10
|
+
return YHs(
|
|
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
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
kHs
|
|
4
|
+
} from "../../../../chunk-7JKLHW74.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
|
|
9
|
+
const content = await kHs(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
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
IHs
|
|
4
|
+
} from "../../../../chunk-7JKLHW74.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/prisma/dist/files/$package.json.js
|
|
@@ -48,7 +48,7 @@ var require_package = __commonJS({
|
|
|
48
48
|
devDependencies: {
|
|
49
49
|
"@batijs/compile": "workspace:*",
|
|
50
50
|
"@prisma/client": "^6.2.1",
|
|
51
|
-
"@types/node": "^18.19.
|
|
51
|
+
"@types/node": "^18.19.74",
|
|
52
52
|
colorette: "^2.0.20",
|
|
53
53
|
prisma: "^6.2.1"
|
|
54
54
|
},
|
|
@@ -67,7 +67,7 @@ var require_package = __commonJS({
|
|
|
67
67
|
}
|
|
68
68
|
});
|
|
69
69
|
async function getPackageJson(props) {
|
|
70
|
-
const packageJson = await
|
|
70
|
+
const packageJson = await IHs(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
|
-
|
|
4
|
-
} from "../../../../chunk-
|
|
3
|
+
kHs
|
|
4
|
+
} from "../../../../chunk-7JKLHW74.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
|
|
9
|
+
const content = await kHs(props);
|
|
10
10
|
const about = `
|
|
11
11
|
## React
|
|
12
12
|
|