@batijs/cli 0.0.519 → 0.0.520
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 +1 -1
- package/dist/boilerplates/@batijs/auth0/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/auth0/files/$wrangler.jsonc.js +1 -1
- package/dist/boilerplates/@batijs/authjs/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/aws/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/aws/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/aws/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/biome/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/cloudflare/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/compiled/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/compiled/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/$wrangler.jsonc.js +1 -1
- package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/drizzle/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/express/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/google-analytics/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/h3/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/mantine/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/photon/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/photon/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/plausible.io/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/pnpm/files/$pnpm-workspace.yaml.js +1 -1
- package/dist/boilerplates/@batijs/prettier/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/prisma/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/prisma/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/prisma/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/react/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/react/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/react/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/react/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/react/types/pages/+config.d.ts +5 -7
- package/dist/boilerplates/@batijs/react-sentry/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/pages/$+client.ts.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/shared/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/shared/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/shared-todo/types/pages/todo/+data.d.ts +3 -1
- package/dist/boilerplates/@batijs/solid/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/solid/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/solid/types/pages/+config.d.ts +5 -7
- package/dist/boilerplates/@batijs/solid-sentry/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/sqlite/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/sqlite/files/$TODO.md.js +1 -1
- package/dist/boilerplates/@batijs/sqlite/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +3 -3
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/vercel/files/pages/$+config.ts.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/vue/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/vue-sentry/files/$package.json.js +1 -1
- package/dist/{chunk-ATNCTV52.js → chunk-N4TVKB3H.js} +1 -1
- package/dist/index.js +12 -14
- package/package.json +5 -5
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
n1s
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-N4TVKB3H.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
|
"@auth/core": "^0.41.1",
|
|
54
54
|
"@batijs/compile": "workspace:*",
|
|
55
|
-
"@cloudflare/workers-types": "^4.
|
|
55
|
+
"@cloudflare/workers-types": "^4.20251125.0",
|
|
56
56
|
"@types/node": "^20.19.25",
|
|
57
57
|
"@universal-middleware/core": "^0.4.13"
|
|
58
58
|
},
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
n1s
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-N4TVKB3H.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -51,7 +51,7 @@ var require_package = __commonJS({
|
|
|
51
51
|
license: "MIT",
|
|
52
52
|
devDependencies: {
|
|
53
53
|
"@batijs/compile": "workspace:*",
|
|
54
|
-
"@cloudflare/workers-types": "^4.
|
|
54
|
+
"@cloudflare/workers-types": "^4.20251125.0",
|
|
55
55
|
"@photonjs/cloudflare": "^0.1.8",
|
|
56
56
|
"@types/node": "^20.19.25",
|
|
57
57
|
wrangler: "^4.50.0"
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
n1s
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-N4TVKB3H.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -51,7 +51,7 @@ var require_package = __commonJS({
|
|
|
51
51
|
license: "MIT",
|
|
52
52
|
devDependencies: {
|
|
53
53
|
"@batijs/compile": "workspace:*",
|
|
54
|
-
"@cloudflare/workers-types": "^4.
|
|
54
|
+
"@cloudflare/workers-types": "^4.20251125.0",
|
|
55
55
|
"@types/node": "^20.19.25",
|
|
56
56
|
"@universal-middleware/core": "^0.4.13",
|
|
57
57
|
vike: "^0.4.247",
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
n1s
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-N4TVKB3H.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -51,7 +51,7 @@ var require_package = __commonJS({
|
|
|
51
51
|
license: "MIT",
|
|
52
52
|
devDependencies: {
|
|
53
53
|
"@batijs/compile": "workspace:*",
|
|
54
|
-
"@cloudflare/workers-types": "^4.
|
|
54
|
+
"@cloudflare/workers-types": "^4.20251125.0",
|
|
55
55
|
"@types/node": "^20.19.25",
|
|
56
56
|
"@universal-middleware/core": "^0.4.13",
|
|
57
57
|
vike: "^0.4.247"
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
n1s
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-N4TVKB3H.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -61,7 +61,7 @@ var require_package = __commonJS({
|
|
|
61
61
|
h3: "~1.15.4",
|
|
62
62
|
telefunc: "^0.2.17",
|
|
63
63
|
vike: "^0.4.247",
|
|
64
|
-
"vike-photon": "^0.1.
|
|
64
|
+
"vike-photon": "^0.1.20",
|
|
65
65
|
vite: "^7.2.4"
|
|
66
66
|
},
|
|
67
67
|
dependencies: {
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
n1s
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-N4TVKB3H.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
|
"@auth/core": "^0.41.1",
|
|
54
54
|
"@batijs/compile": "workspace:*",
|
|
55
|
-
"@cloudflare/workers-types": "^4.
|
|
55
|
+
"@cloudflare/workers-types": "^4.20251125.0",
|
|
56
56
|
"@photonjs/hono": "^0.1.7",
|
|
57
57
|
"@trpc/server": "^11.7.2",
|
|
58
58
|
"@types/aws-lambda": "^8.10.159",
|
|
@@ -61,7 +61,7 @@ var require_package = __commonJS({
|
|
|
61
61
|
hono: "^4.10.6",
|
|
62
62
|
telefunc: "^0.2.17",
|
|
63
63
|
vike: "^0.4.247",
|
|
64
|
-
"vike-photon": "^0.1.
|
|
64
|
+
"vike-photon": "^0.1.20",
|
|
65
65
|
vite: "^7.2.4"
|
|
66
66
|
},
|
|
67
67
|
dependencies: {
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
n1s
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-N4TVKB3H.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.25",
|
|
55
|
-
"vike-photon": "^0.1.
|
|
55
|
+
"vike-photon": "^0.1.20"
|
|
56
56
|
},
|
|
57
57
|
dependencies: {
|
|
58
58
|
"@batijs/core": "workspace:*"
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
n1s
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-N4TVKB3H.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -64,7 +64,7 @@ var require_package = __commonJS({
|
|
|
64
64
|
tailwindcss: "^4.1.17",
|
|
65
65
|
typescript: "^5.9.3",
|
|
66
66
|
vike: "^0.4.247",
|
|
67
|
-
"vike-photon": "^0.1.
|
|
67
|
+
"vike-photon": "^0.1.20",
|
|
68
68
|
"vike-react": "^0.6.13",
|
|
69
69
|
vite: "^7.2.4",
|
|
70
70
|
"vite-plugin-compiled-react": "^1.3.1"
|
|
@@ -185,13 +185,7 @@ declare const _default: {
|
|
|
185
185
|
};
|
|
186
186
|
};
|
|
187
187
|
vite: {
|
|
188
|
-
plugins: (((
|
|
189
|
-
name: string;
|
|
190
|
-
}) | Promise<(Record<string, unknown> & {
|
|
191
|
-
name: string;
|
|
192
|
-
}) | (Record<string, unknown> & {
|
|
193
|
-
name: string;
|
|
194
|
-
})[]>)[] | import("vite").Plugin<any>[])[];
|
|
188
|
+
readonly plugins: (import("vite").Plugin<any>[] | (import("vike-photon/plugin").PluginInterop | Promise<import("vike-photon/plugin").PluginInterop | import("vike-photon/plugin").PluginInterop[]>)[] | Promise<import("vike-photon/plugin").PluginInterop[]>)[];
|
|
195
189
|
};
|
|
196
190
|
stream: {
|
|
197
191
|
enable: null;
|
|
@@ -210,6 +204,10 @@ declare const _default: {
|
|
|
210
204
|
config: true;
|
|
211
205
|
};
|
|
212
206
|
global: true;
|
|
207
|
+
effect({ configValue }: {
|
|
208
|
+
configValue: unknown;
|
|
209
|
+
configDefinedAt: `Config ${string} defined at ${string}`;
|
|
210
|
+
}): undefined;
|
|
213
211
|
};
|
|
214
212
|
isr: {
|
|
215
213
|
env: {
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
n1s
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-N4TVKB3H.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
|
license: "MIT",
|
|
53
53
|
devDependencies: {
|
|
54
54
|
"@batijs/compile": "workspace:*",
|
|
55
|
-
"@cloudflare/workers-types": "^4.
|
|
55
|
+
"@cloudflare/workers-types": "^4.20251125.0",
|
|
56
56
|
"@types/node": "^20.19.25",
|
|
57
57
|
"@universal-middleware/core": "^0.4.13",
|
|
58
58
|
vike: "^0.4.247",
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
n1s
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-N4TVKB3H.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -56,7 +56,7 @@ var require_package = __commonJS({
|
|
|
56
56
|
tailwindcss: "^4.1.17",
|
|
57
57
|
typescript: "^5.9.3",
|
|
58
58
|
vike: "^0.4.247",
|
|
59
|
-
"vike-photon": "^0.1.
|
|
59
|
+
"vike-photon": "^0.1.20",
|
|
60
60
|
"vike-solid": "^0.7.13",
|
|
61
61
|
vite: "^7.2.4",
|
|
62
62
|
"vite-plugin-solid": "^2.11.10"
|
|
@@ -125,13 +125,7 @@ declare const _default: {
|
|
|
125
125
|
};
|
|
126
126
|
};
|
|
127
127
|
vite: {
|
|
128
|
-
plugins: (((
|
|
129
|
-
name: string;
|
|
130
|
-
}) | Promise<(Record<string, unknown> & {
|
|
131
|
-
name: string;
|
|
132
|
-
}) | (Record<string, unknown> & {
|
|
133
|
-
name: string;
|
|
134
|
-
})[]>)[] | import("vite").Plugin<any>[])[];
|
|
128
|
+
readonly plugins: (import("vite").Plugin<any>[] | (import("vike-photon/plugin").PluginInterop | Promise<import("vike-photon/plugin").PluginInterop | import("vike-photon/plugin").PluginInterop[]>)[] | Promise<import("vike-photon/plugin").PluginInterop[]>)[];
|
|
135
129
|
};
|
|
136
130
|
stream: {
|
|
137
131
|
enable: null;
|
|
@@ -150,6 +144,10 @@ declare const _default: {
|
|
|
150
144
|
config: true;
|
|
151
145
|
};
|
|
152
146
|
global: true;
|
|
147
|
+
effect({ configValue }: {
|
|
148
|
+
configValue: unknown;
|
|
149
|
+
configDefinedAt: `Config ${string} defined at ${string}`;
|
|
150
|
+
}): undefined;
|
|
153
151
|
};
|
|
154
152
|
isr: {
|
|
155
153
|
env: {
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
n1s
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-N4TVKB3H.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -51,7 +51,7 @@ var require_package = __commonJS({
|
|
|
51
51
|
license: "MIT",
|
|
52
52
|
devDependencies: {
|
|
53
53
|
"@batijs/compile": "workspace:*",
|
|
54
|
-
"@cloudflare/workers-types": "^4.
|
|
54
|
+
"@cloudflare/workers-types": "^4.20251125.0",
|
|
55
55
|
"@types/node": "^20.19.25",
|
|
56
56
|
"@universal-middleware/core": "^0.4.13",
|
|
57
57
|
telefunc: "^0.2.17",
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
n1s
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-N4TVKB3H.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -51,7 +51,7 @@ var require_package = __commonJS({
|
|
|
51
51
|
license: "MIT",
|
|
52
52
|
devDependencies: {
|
|
53
53
|
"@batijs/compile": "workspace:*",
|
|
54
|
-
"@cloudflare/workers-types": "^4.
|
|
54
|
+
"@cloudflare/workers-types": "^4.20251125.0",
|
|
55
55
|
"@trpc/client": "^11.7.2",
|
|
56
56
|
"@trpc/server": "^11.7.2",
|
|
57
57
|
"@types/node": "^20.19.25",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export declare const trpc: import("@trpc/client").TRPCClient<import("@trpc/server").TRPCBuiltRouter<{
|
|
2
2
|
ctx: object & {
|
|
3
|
-
db: ReturnType<
|
|
3
|
+
db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
|
|
4
4
|
} & {
|
|
5
|
-
db: ReturnType<
|
|
5
|
+
db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
|
|
6
6
|
} & {
|
|
7
|
-
db: ReturnType<
|
|
7
|
+
db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbD1>;
|
|
8
8
|
} & {
|
|
9
9
|
db: import("@cloudflare/workers-types").D1Database;
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
n1s
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-N4TVKB3H.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -51,7 +51,7 @@ var require_package = __commonJS({
|
|
|
51
51
|
license: "MIT",
|
|
52
52
|
devDependencies: {
|
|
53
53
|
"@batijs/compile": "workspace:*",
|
|
54
|
-
"@cloudflare/workers-types": "^4.
|
|
54
|
+
"@cloudflare/workers-types": "^4.20251125.0",
|
|
55
55
|
"@ts-rest/core": "^3.52.1",
|
|
56
56
|
"@ts-rest/serverless": "^3.52.1",
|
|
57
57
|
"@types/node": "^20.19.25",
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
n1s
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-N4TVKB3H.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -57,7 +57,7 @@ var require_package = __commonJS({
|
|
|
57
57
|
tailwindcss: "^4.1.17",
|
|
58
58
|
typescript: "^5.9.3",
|
|
59
59
|
vike: "^0.4.247",
|
|
60
|
-
"vike-photon": "^0.1.
|
|
60
|
+
"vike-photon": "^0.1.20",
|
|
61
61
|
"vike-vue": "^0.9.6",
|
|
62
62
|
vite: "^7.2.4",
|
|
63
63
|
vue: "^3.5.25",
|
|
@@ -209320,7 +209320,7 @@ async function Sas(t2, e, n2) {
|
|
|
209320
209320
|
}
|
|
209321
209321
|
return !e.BATI.has("eslint") && qzr.test(c) && (c = c.replace(qzr, ""), f = true), !e.BATI.has("biome") && Vzr.test(c) && (c = c.replace(Vzr, ""), f = true), { code: f ? await Unt(c, n2) : c, context: p2 };
|
|
209322
209322
|
}
|
|
209323
|
-
var SSt = { name: "@batijs/core", version: "0.0.
|
|
209323
|
+
var SSt = { name: "@batijs/core", version: "0.0.520", description: "", type: "module", types: "./dist/index.d.ts", scripts: { "check-types": "tsc --noEmit", vue: "tsx src/parse/linters/vue.ts", test: "vitest run", "test:ci": "vitest run", build: "tsup" }, keywords: [], author: "Jo\xEBl Charles <joel.charles91@gmail.com>", repository: "https://github.com/vikejs/bati", license: "MIT", devDependencies: { "@batijs/features": "workspace:*", "@types/eslint": "^9.6.1", "@types/estree": "^1.0.8", "@types/node": "^20.19.25", "@types/which": "^3.0.4", "@typescript-eslint/parser": "^8.48.0", "@typescript-eslint/utils": "^8.48.0", "attributes-parser": "^2.2.3", colorette: "^2.0.20", esbuild: "^0.27.0", eslint: "^9.39.1", "eslint-plugin-solid": "^0.14.5", "eslint-rule-composer": "^0.3.0", espree: "^11.0.0", magicast: "^0.5.1", "mdast-builder": "^1.1.1", "mdast-util-from-markdown": "^2.0.2", "mdast-util-to-markdown": "^2.1.2", "mdast-util-to-string": "^4.0.0", "mdast-util-toc": "^7.1.0", prettier: "^3.6.2", squirrelly: "^9.1.0", tsup: "^8.5.1", tsx: "^4.20.6", typescript: "^5.9.3", "unplugin-purge-polyfills": "^0.1.0", vitest: "^4.0.13", "vue-eslint-parser": "^10.2.0", which: "^6.0.0", yaml: "^2.8.1" }, exports: { ".": "./dist/index.js", "./config": "./dist/config.js", "./types": { types: "./global.d.ts" } }, typesVersions: { "*": { config: ["./dist/config.d.ts"], types: ["./global.d.ts"] } }, files: ["dist/"] };
|
|
209324
209324
|
function xas() {
|
|
209325
209325
|
return process.env.npm_config_user_agent ? Cas(process.env.npm_config_user_agent) : { name: "npm", run: "npm run" };
|
|
209326
209326
|
}
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
jMs,
|
|
11
11
|
prr,
|
|
12
12
|
xas
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-N4TVKB3H.js";
|
|
14
14
|
import "./chunk-IAWYWZSL.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
@@ -4652,7 +4652,7 @@ var {
|
|
|
4652
4652
|
// package.json
|
|
4653
4653
|
var package_default = {
|
|
4654
4654
|
name: "@batijs/cli",
|
|
4655
|
-
version: "0.0.
|
|
4655
|
+
version: "0.0.520",
|
|
4656
4656
|
type: "module",
|
|
4657
4657
|
scripts: {
|
|
4658
4658
|
"check-types": "tsc --noEmit",
|
|
@@ -4922,37 +4922,35 @@ var choices = [
|
|
|
4922
4922
|
labelColor: green
|
|
4923
4923
|
},
|
|
4924
4924
|
{
|
|
4925
|
-
label: "
|
|
4925
|
+
label: "Solid",
|
|
4926
4926
|
value: "solid",
|
|
4927
4927
|
labelColor: blue
|
|
4928
4928
|
}
|
|
4929
4929
|
];
|
|
4930
|
-
function colorFirstLetter(choice) {
|
|
4931
|
-
return choice.labelColor(choice.label[0]) + choice.label.substring(1);
|
|
4932
|
-
}
|
|
4933
4930
|
async function checkFlagsIncludesUiFramework(flags2) {
|
|
4934
|
-
const
|
|
4935
|
-
const
|
|
4936
|
-
const
|
|
4937
|
-
|
|
4931
|
+
const flagsUi = features.filter((fs) => fs.category === "UI Framework").map((fs) => fs.flag);
|
|
4932
|
+
const flagsHosting = features.filter((fs) => fs.category === "Hosting").map((fs) => fs.flag);
|
|
4933
|
+
const flagsUiFound = flags2.some((f2) => flagsUi.includes(f2));
|
|
4934
|
+
const isBarebones = flags2.filter((f2) => !flagsUi.includes(f2) && !flagsHosting.includes(f2)).length === 0;
|
|
4935
|
+
if (isBarebones) {
|
|
4938
4936
|
console.warn(
|
|
4939
4937
|
`${yellow("\u{1F6C8} Scaffolding a bare-bones app")} \u27A1\uFE0F Go to ${underline("https://vike.dev/new")} to scaffold full-fledged apps with Tailwind, authentication, database, deployment, and more.
|
|
4940
4938
|
`
|
|
4941
4939
|
);
|
|
4942
4940
|
}
|
|
4943
|
-
if (!
|
|
4941
|
+
if (!flagsUiFound) {
|
|
4944
4942
|
const ui = await dist_default2({
|
|
4945
4943
|
theme: {
|
|
4946
4944
|
style: {
|
|
4947
4945
|
highlight(t2) {
|
|
4948
|
-
const found = choices.find((c2) => t2.includes(
|
|
4946
|
+
const found = choices.find((c2) => t2.includes(c2.label));
|
|
4949
4947
|
return (found?.labelColor ?? cyan)(t2);
|
|
4950
4948
|
}
|
|
4951
4949
|
}
|
|
4952
4950
|
},
|
|
4953
|
-
message: "Select a framework:",
|
|
4951
|
+
message: "Select a UI framework:",
|
|
4954
4952
|
choices: choices.map((c2) => ({
|
|
4955
|
-
name:
|
|
4953
|
+
name: c2.label,
|
|
4956
4954
|
value: c2.value
|
|
4957
4955
|
}))
|
|
4958
4956
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@batijs/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.520",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"description": "Next-gen scaffolder. Get started with fully-functional apps, and choose any tool you want",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"typescript": "^5.9.3",
|
|
20
20
|
"unplugin-purge-polyfills": "^0.1.0",
|
|
21
21
|
"vite": "^7.2.4",
|
|
22
|
-
"@batijs/
|
|
23
|
-
"@batijs/
|
|
22
|
+
"@batijs/build": "0.0.520",
|
|
23
|
+
"@batijs/compile": "0.0.520"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@batijs/core": "0.0.
|
|
27
|
-
"@batijs/features": "0.0.
|
|
26
|
+
"@batijs/core": "0.0.520",
|
|
27
|
+
"@batijs/features": "0.0.520"
|
|
28
28
|
},
|
|
29
29
|
"bin": "./cli.js",
|
|
30
30
|
"exports": {
|