You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

@batijs/cli

Package Overview
Dependencies
Maintainers
2
Versions
487
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@batijs/cli - npm Package Compare versions

Comparing version
0.0.583
to
0.0.587
dist/chunk-RACOWJAZ.js

Sorry, the diff of this file is too big to display

+5
-5

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
GBs
} from "../../../../chunk-WIRXYZ5Z.js";
fUs
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -19,5 +19,5 @@ import "../../../../chunk-IHX3I5SM.js";

let envContent = await props.readfile?.();
envContent = GBs(envContent, "AUTH0_CLIENT_ID", auth0ClientId ?? "", "Auth0 Client ID");
envContent = GBs(envContent, "AUTH0_CLIENT_SECRET", auth0ClientSecret ?? "", "Auth0 Client Secret");
envContent = GBs(envContent, "AUTH0_ISSUER_BASE_URL", auth0BaseUrl ?? "", "Auth0 base URL");
envContent = fUs(envContent, "AUTH0_CLIENT_ID", auth0ClientId ?? "", "Auth0 Client ID");
envContent = fUs(envContent, "AUTH0_CLIENT_SECRET", auth0ClientSecret ?? "", "Auth0 Client Secret");
envContent = fUs(envContent, "AUTH0_ISSUER_BASE_URL", auth0BaseUrl ?? "", "Auth0 base URL");
return envContent;

@@ -24,0 +24,0 @@ }

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Rxs
} from "../../../../chunk-WIRXYZ5Z.js";
t2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -14,3 +14,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getTodo(props) {
const content = await Rxs(props);
const content = await t2s(props);
const todo = `

@@ -17,0 +17,0 @@ ## Auth0

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Bxs
} from "../../../../chunk-WIRXYZ5Z.js";
r2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -15,3 +15,3 @@ import "../../../../chunk-IHX3I5SM.js";

if (!props.meta.BATI.has("cloudflare")) return;
const wrangler = await Bxs(props);
const wrangler = await r2s(props);
const auth0ClientId = process.env.TEST_AUTH0_CLIENT_ID;

@@ -18,0 +18,0 @@ const auth0ClientSecret = process.env.TEST_AUTH0_CLIENT_SECRET;

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -81,3 +81,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.addDependencies(["@auth/core", "@universal-middleware/core"]);

@@ -84,0 +84,0 @@ }

@@ -68,3 +68,3 @@ import { env as cloudflareEnv } from "cloudflare:workers";

// Note: You can also directly use your server instead of defining a universal middleware. (Vike's scaffolder uses https://github.com/magne4000/universal-middleware to simplify its internal logic.)
// Note: You can directly define a server middleware instead of defining a universal middleware. (Vike's scaffolder uses https://github.com/magne4000/universal-middleware to simplify its internal logic.)
/**

@@ -97,3 +97,3 @@ * Add Auth.js session to the context.

// Note: You can also directly use your server instead of defining a universal middleware. (Vike's scaffolder uses https://github.com/magne4000/universal-middleware to simplify its internal logic.)
// Note: You can directly define a server middleware instead of defining a universal middleware. (Vike's scaffolder uses https://github.com/magne4000/universal-middleware to simplify its internal logic.)
/**

@@ -100,0 +100,0 @@ * Auth.js route

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -57,6 +57,6 @@ import "../../../../chunk-IHX3I5SM.js";

"@types/which": "^3.0.4",
"aws-cdk": "^2.1106.0",
"aws-cdk-lib": "^2.238.0",
cdk: "^2.1106.0",
constructs: "^10.4.5",
"aws-cdk": "^2.1107.0",
"aws-cdk-lib": "^2.240.0",
cdk: "^2.1107.0",
constructs: "^10.5.1",
esbuild: "^0.27.3",

@@ -110,3 +110,3 @@ "npm-run-all2": "^8.0.4",

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.setScript("test", {

@@ -113,0 +113,0 @@ value: "vitest",

@@ -6,5 +6,5 @@ #!/usr/bin/env node

import {
Rxs,
o_s
} from "../../../../chunk-WIRXYZ5Z.js";
t2s,
x_s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -15,4 +15,4 @@ import "../../../../chunk-IHX3I5SM.js";

async function getReadme(props) {
const content = await Rxs(props);
const pmCmd = o_s().run;
const content = await t2s(props);
const pmCmd = x_s().run;
const about = `

@@ -19,0 +19,0 @@ ## AWS CDK Deployment

@@ -6,5 +6,5 @@ #!/usr/bin/env node

import {
Rxs,
o_s
} from "../../../../chunk-WIRXYZ5Z.js";
t2s,
x_s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -15,4 +15,4 @@ import "../../../../chunk-IHX3I5SM.js";

async function getTodo(props) {
const content = await Rxs(props);
const pmCmd = o_s().run;
const content = await t2s(props);
const pmCmd = x_s().run;
const todo = `

@@ -19,0 +19,0 @@ ## AWS CDK Deployment

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Bxs
} from "../../../../chunk-WIRXYZ5Z.js";
r2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -14,3 +14,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getTsConfig(props) {
const tsConfig = await Bxs(props);
const tsConfig = await r2s(props);
tsConfig.compilerOptions.types = [

@@ -17,0 +17,0 @@ ...tsConfig.compilerOptions.types ?? [],

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -55,4 +55,4 @@ import "../../../../chunk-IHX3I5SM.js";

"@batijs/compile": "workspace:*",
"@biomejs/biome": "2.4.0",
"@biomejs/wasm-nodejs": "^2.4.0",
"@biomejs/biome": "2.4.4",
"@biomejs/wasm-nodejs": "^2.4.4",
"@types/node": "^20.19.30"

@@ -70,3 +70,3 @@ },

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.setScript("lint", {

@@ -73,0 +73,0 @@ value: "biome lint --write .",

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -57,3 +57,3 @@ import "../../../../chunk-IHX3I5SM.js";

"@types/node": "^20.19.30",
wrangler: "^4.65.0"
wrangler: "^4.68.1"
},

@@ -82,3 +82,3 @@ dependencies: {

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.removeScript("prod").setScript("deploy", {

@@ -85,0 +85,0 @@ value: "vike build && wrangler deploy",

@@ -6,5 +6,5 @@ #!/usr/bin/env node

import {
Rxs,
o_s
} from "../../../../chunk-WIRXYZ5Z.js";
t2s,
x_s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -15,4 +15,4 @@ import "../../../../chunk-IHX3I5SM.js";

async function getTodo(props) {
const content = await Rxs(props);
const pmExec = o_s().exec;
const content = await t2s(props);
const pmExec = x_s().exec;
const todo = `

@@ -19,0 +19,0 @@ ## Cloudflare Workers

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Bxs
} from "../../../../chunk-WIRXYZ5Z.js";
r2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -14,3 +14,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getTsConfig(props) {
const tsConfig = await Bxs(props);
const tsConfig = await r2s(props);
tsConfig.compilerOptions.types = [...tsConfig.compilerOptions.types ?? [], "./worker-configuration.d.ts"];

@@ -17,0 +17,0 @@ return tsConfig;

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -61,3 +61,3 @@ import "../../../../chunk-IHX3I5SM.js";

"@batijs/core": "workspace:*",
"@compiled/react": "^0.19.0"
"@compiled/react": "^0.20.0"
},

@@ -71,3 +71,3 @@ files: [

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.addDevDependencies(["vite-plugin-compiled-react"]).addDependencies(["@compiled/react"]);

@@ -74,0 +74,0 @@ }

@@ -6,5 +6,5 @@ #!/usr/bin/env node

import {
qxs,
zni
} from "../../../../chunk-WIRXYZ5Z.js";
$ni,
i2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -15,4 +15,4 @@ import "../../../../chunk-IHX3I5SM.js";

async function getViteConfig(props) {
const mod = await qxs(props);
zni(mod, {
const mod = await i2s(props);
$ni(mod, {
from: "vite-plugin-compiled-react",

@@ -19,0 +19,0 @@ constructor: "compiled",

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -67,3 +67,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.setScript("d1:migrate", {

@@ -70,0 +70,0 @@ value: "wrangler d1 migrations apply MY_VIKE_DEMO_DATABASE --local",

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -81,3 +81,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.setScript("d1:migrate", {

@@ -84,0 +84,0 @@ value: "wrangler d1 migrations apply MY_VIKE_DEMO_DATABASE --local",

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -58,3 +58,3 @@ import "../../../../chunk-IHX3I5SM.js";

vike: "^0.4.253",
wrangler: "^4.65.0"
wrangler: "^4.68.1"
},

@@ -83,3 +83,3 @@ dependencies: {

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.addDevDependencies(["@universal-middleware/core"]);

@@ -86,0 +86,0 @@ }

@@ -6,5 +6,5 @@ #!/usr/bin/env node

import {
Rxs,
o_s
} from "../../../../chunk-WIRXYZ5Z.js";
t2s,
x_s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -15,4 +15,4 @@ import "../../../../chunk-IHX3I5SM.js";

async function getTodo(props) {
const content = await Rxs(props);
const pmCmd = o_s().run;
const content = await t2s(props);
const pmCmd = x_s().run;
const todo = `

@@ -19,0 +19,0 @@ ## Cloudflare D1

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Bxs
} from "../../../../chunk-WIRXYZ5Z.js";
r2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -14,3 +14,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getToml(props) {
const wrangler = await Bxs(props);
const wrangler = await r2s(props);
wrangler.d1_databases ??= [];

@@ -17,0 +17,0 @@ wrangler.d1_databases.push({

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
GBs
} from "../../../../chunk-WIRXYZ5Z.js";
fUs
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -16,3 +16,3 @@ import "../../../../chunk-IHX3I5SM.js";

const envContent = await props.readfile?.();
return GBs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
return fUs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
}

@@ -19,0 +19,0 @@ export {

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -102,3 +102,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.setScript("drizzle:generate", {

@@ -105,0 +105,0 @@ value: "drizzle-kit generate",

@@ -6,5 +6,5 @@ #!/usr/bin/env node

import {
Rxs,
o_s
} from "../../../../chunk-WIRXYZ5Z.js";
t2s,
x_s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -15,4 +15,4 @@ import "../../../../chunk-IHX3I5SM.js";

async function getTodo(props) {
const content = await Rxs(props);
const pmCmd = o_s().run;
const content = await t2s(props);
const pmCmd = x_s().run;
const todo = `

@@ -19,0 +19,0 @@ ## Drizzle

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -55,4 +55,4 @@ import "../../../../chunk-IHX3I5SM.js";

"@batijs/compile": "workspace:^",
"@eslint/js": "^9.39.2",
eslint: "^9.39.2",
"@eslint/js": "^9.39.3",
eslint: "^9.39.3",
"eslint-config-prettier": "^10.1.8",

@@ -64,3 +64,3 @@ "eslint-plugin-prettier": "^5.5.5",

globals: "^17.3.0",
"typescript-eslint": "^8.55.0",
"typescript-eslint": "^8.56.1",
"vue-eslint-parser": "^10.4.0"

@@ -90,3 +90,3 @@ },

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.setScript("lint", {

@@ -93,0 +93,0 @@ value: "eslint .",

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -62,3 +62,3 @@ import "../../../../chunk-IHX3I5SM.js";

express: "^5.2.1",
telefunc: "^0.2.18",
telefunc: "^0.2.19",
vike: "^0.4.253",

@@ -89,3 +89,3 @@ vite: "^7.3.1"

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.addDevDependencies(["@types/express"]).addDependencies(["@photonjs/express", "express", "vite", "vike"]).addDependencies(["dotenv"], props.meta.BATI.has("auth0") || props.meta.BATI.hasDatabase);

@@ -92,0 +92,0 @@ }

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -63,3 +63,3 @@ import "../../../../chunk-IHX3I5SM.js";

"fastify-raw-body": "^5.0.0",
telefunc: "^0.2.18",
telefunc: "^0.2.19",
vike: "^0.4.253",

@@ -90,3 +90,3 @@ vite: "^7.3.1"

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.addDevDependencies(["@types/node"]).addDependencies(["@photonjs/fastify", "fastify", "fastify-raw-body", "vike", "vite"]).addDependencies(["dotenv"], props.meta.BATI.has("auth0") || props.meta.BATI.hasDatabase);

@@ -93,0 +93,0 @@ }

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
GBs
} from "../../../../chunk-WIRXYZ5Z.js";
fUs
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -15,3 +15,3 @@ import "../../../../chunk-IHX3I5SM.js";

const envContent = await props.readfile?.();
return GBs(
return fUs(
envContent,

@@ -18,0 +18,0 @@ "PUBLIC_ENV__GOOGLE_ANALYTICS",

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -63,3 +63,3 @@ import "../../../../chunk-IHX3I5SM.js";

h3: "~1.15.5",
telefunc: "^0.2.18",
telefunc: "^0.2.19",
vike: "^0.4.253",

@@ -91,3 +91,3 @@ "vike-photon": "^0.1.24",

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.addDependencies(["h3", "vike", "vite", "@photonjs/h3", "@universal-middleware/core"]).addDependencies(["@auth/core"], props.meta.BATI.has("authjs") || props.meta.BATI.has("auth0")).addDependencies(

@@ -94,0 +94,0 @@ ["dotenv"],

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -62,3 +62,3 @@ import "../../../../chunk-IHX3I5SM.js";

hono: "^4.11.9",
telefunc: "^0.2.18",
telefunc: "^0.2.19",
vike: "^0.4.253",

@@ -96,3 +96,3 @@ "vike-photon": "^0.1.24",

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.addDevDependencies(["@types/node"]).addDevDependencies(["@types/aws-lambda", "vike-photon"], props.meta.BATI.has("aws")).addDependencies(["@photonjs/hono", "hono", "vite", "vike"]).addDependencies(

@@ -99,0 +99,0 @@ ["dotenv"],

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
GBs
} from "../../../../chunk-WIRXYZ5Z.js";
fUs
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -16,3 +16,3 @@ import "../../../../chunk-IHX3I5SM.js";

const envContent = await props.readfile?.();
return GBs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
return fUs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
}

@@ -19,0 +19,0 @@ export {

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -55,3 +55,3 @@ import "../../../../chunk-IHX3I5SM.js";

"@batijs/compile": "workspace:*",
"@cloudflare/workers-types": "^4.20260214.0",
"@cloudflare/workers-types": "^4.20260304.0",
"@types/better-sqlite3": "^7.6.13",

@@ -111,3 +111,3 @@ "@types/node": "^20.19.30",

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
if (props.meta.BATI.hasD1) {

@@ -114,0 +114,0 @@ return packageJson.addDependencies(["kysely", "kysely-d1"]);

@@ -6,5 +6,5 @@ #!/usr/bin/env node

import {
Rxs,
o_s
} from "../../../../chunk-WIRXYZ5Z.js";
t2s,
x_s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -16,4 +16,4 @@ import "../../../../chunk-IHX3I5SM.js";

if (props.meta.BATI.hasD1) return;
const content = await Rxs(props);
const pmCmd = o_s().run;
const content = await t2s(props);
const pmCmd = x_s().run;
const todo = `

@@ -20,0 +20,0 @@ ## Kysely

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -97,3 +97,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.addDevDependencies(["postcss", "postcss-preset-mantine", "postcss-simple-vars"]).addDependencies(["@mantine/core", "@mantine/hooks"]);

@@ -100,0 +100,0 @@ }

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Rxs
} from "../../../../chunk-WIRXYZ5Z.js";
t2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -14,3 +14,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getReadme(props) {
const content = await Rxs(props);
const content = await t2s(props);
const about = `

@@ -17,0 +17,0 @@ ## Mantine

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -56,4 +56,4 @@ import "../../../../chunk-IHX3I5SM.js";

"@types/node": "^20.19.30",
oxlint: "^1.47.0",
"oxlint-tsgolint": "^0.13.0"
oxlint: "^1.50.0",
"oxlint-tsgolint": "^0.15.0"
},

@@ -70,3 +70,3 @@ dependencies: {

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const gitIgnore = props.meta.BATI_IS_CI || props.meta.BATI_SKIP_GIT ? "--ignore-path .gitignore " : "";

@@ -73,0 +73,0 @@ const CWD = ".";

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -80,3 +80,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.setScript("dev", {

@@ -83,0 +83,0 @@ value: "vike dev",

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Rxs
} from "../../../../chunk-WIRXYZ5Z.js";
t2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -14,3 +14,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getReadme(props) {
const content = await Rxs(props);
const content = await t2s(props);
const photon = `

@@ -17,0 +17,0 @@ ## Photon

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Rxs
} from "../../../../chunk-WIRXYZ5Z.js";
t2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -14,3 +14,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getTodo(props) {
const content = await Rxs(props);
const content = await t2s(props);
const headFileName = props.meta.BATI.has("vue") ? "+Head.vue" : "+Head.tsx";

@@ -17,0 +17,0 @@ const todo = `

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Vxs
} from "../../../../chunk-WIRXYZ5Z.js";
a2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -32,3 +32,3 @@ import "../../../../chunk-IHX3I5SM.js";

if (intersection.length === 0) return;
const pnpmWorkspace = await Vxs(props, { fallbackEmpty: true });
const pnpmWorkspace = await a2s(props, { fallbackEmpty: true });
if (!pnpmWorkspace.has("onlyBuiltDependencies")) {

@@ -35,0 +35,0 @@ pnpmWorkspace.set("onlyBuiltDependencies", []);

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -68,3 +68,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.addDevDependencies(["prettier"]);

@@ -71,0 +71,0 @@ }

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
GBs
} from "../../../../chunk-WIRXYZ5Z.js";
fUs
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -15,3 +15,3 @@ import "../../../../chunk-IHX3I5SM.js";

const envContent = await props.readfile?.();
return GBs(
return fUs(
envContent,

@@ -18,0 +18,0 @@ "DATABASE_URL",

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -55,6 +55,6 @@ import "../../../../chunk-IHX3I5SM.js";

"@batijs/compile": "workspace:*",
"@prisma/client": "^7.4.0",
"@prisma/client": "^7.4.1",
"@types/node": "^20.19.30",
colorette: "^2.0.20",
prisma: "^7.4.0"
prisma: "^7.4.1"
},

@@ -71,3 +71,3 @@ dependencies: {

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.setScript("prisma:studio", {

@@ -74,0 +74,0 @@ value: "prisma studio",

@@ -6,5 +6,5 @@ #!/usr/bin/env node

import {
Rxs,
o_s
} from "../../../../chunk-WIRXYZ5Z.js";
t2s,
x_s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -15,4 +15,4 @@ import "../../../../chunk-IHX3I5SM.js";

async function getTodo(props) {
const content = await Rxs(props);
const pmCmd = o_s().run;
const content = await t2s(props);
const pmCmd = x_s().run;
const todo = `

@@ -19,0 +19,0 @@ ## Prisma

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -55,3 +55,3 @@ import "../../../../chunk-IHX3I5SM.js";

"@batijs/compile": "workspace:*",
"@sentry/react": "^10.39.0",
"@sentry/react": "^10.40.0",
"@types/node": "^20.19.30",

@@ -92,3 +92,3 @@ "@types/react": "^19.2.14",

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.addDependencies(["@sentry/react"]);

@@ -95,0 +95,0 @@ }

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -65,3 +65,3 @@ import "../../../../chunk-IHX3I5SM.js";

"react-dom": "^19.2.4",
tailwindcss: "^4.1.18",
tailwindcss: "^4.2.1",
typescript: "^5.9.3",

@@ -186,3 +186,3 @@ vike: "^0.4.253",

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.addDevDependencies(["vite", "@vitejs/plugin-react", "@types/react", "@types/react-dom"]).addDependencies(["react", "react-dom", "vike", "vike-react"]);

@@ -189,0 +189,0 @@ }

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Rxs
} from "../../../../chunk-WIRXYZ5Z.js";
t2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -14,3 +14,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getReadme(props) {
const content = await Rxs(props);
const content = await t2s(props);
const about = `

@@ -17,0 +17,0 @@ ## Vike

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Bxs
} from "../../../../chunk-WIRXYZ5Z.js";
r2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -14,3 +14,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getTsConfig(props) {
const tsConfig = await Bxs(props);
const tsConfig = await r2s(props);
tsConfig.compilerOptions.jsx = "react-jsx";

@@ -17,0 +17,0 @@ tsConfig.compilerOptions.jsxImportSource = "react";

@@ -6,5 +6,5 @@ #!/usr/bin/env node

import {
qxs,
zni
} from "../../../../chunk-WIRXYZ5Z.js";
$ni,
i2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -15,4 +15,4 @@ import "../../../../chunk-IHX3I5SM.js";

async function getViteConfig(props) {
const mod = await qxs(props);
zni(mod, {
const mod = await i2s(props);
$ni(mod, {
from: "@vitejs/plugin-react",

@@ -19,0 +19,0 @@ constructor: "react"

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
GBs
} from "../../../../chunk-WIRXYZ5Z.js";
fUs
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -16,3 +16,3 @@ import "../../../../chunk-IHX3I5SM.js";

let envContent = await props.readfile?.();
envContent = GBs(
envContent = fUs(
envContent,

@@ -23,3 +23,3 @@ "SENTRY_DSN",

);
envContent = GBs(
envContent = fUs(
envContent,

@@ -26,0 +26,0 @@ "PUBLIC_ENV__SENTRY_DSN",

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -81,3 +81,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.addDevDependencies(["@sentry/vite-plugin"]);

@@ -84,0 +84,0 @@ }

@@ -6,5 +6,5 @@ #!/usr/bin/env node

import {
Rxs,
o_s
} from "../../../../chunk-WIRXYZ5Z.js";
t2s,
x_s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -15,4 +15,4 @@ import "../../../../chunk-IHX3I5SM.js";

async function getReadme(props) {
const content = await Rxs(props);
const pmCmd = o_s().run;
const content = await t2s(props);
const pmCmd = x_s().run;
const about = `

@@ -19,0 +19,0 @@

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Rxs
} from "../../../../chunk-WIRXYZ5Z.js";
t2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -14,3 +14,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getTodo(props) {
const content = await Rxs(props);
const content = await t2s(props);
const about = `

@@ -17,0 +17,0 @@

@@ -6,6 +6,6 @@ #!/usr/bin/env node

import {
Sir,
qxs,
zni
} from "../../../../chunk-WIRXYZ5Z.js";
$ni,
Cir,
i2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -16,4 +16,4 @@ import "../../../../chunk-IHX3I5SM.js";

async function getViteConfig(props) {
const mod = await qxs(props);
zni(mod, {
const mod = await i2s(props);
$ni(mod, {
from: "@sentry/vite-plugin",

@@ -26,3 +26,3 @@ constructor: "sentryVitePlugin",

});
Sir(mod.exports.default.$args[0], { build: { sourcemap: true } });
Cir(mod.exports.default.$args[0], { build: { sourcemap: true } });
return mod.generate().code;

@@ -29,0 +29,0 @@ }

@@ -8,5 +8,5 @@ #!/usr/bin/env node

b7,
fhe,
qxs
} from "../../../../../chunk-WIRXYZ5Z.js";
i2s,
mhe
} from "../../../../../chunk-RACOWJAZ.js";
import "../../../../../chunk-IAWYWZSL.js";

@@ -19,5 +19,5 @@ import "../../../../../chunk-IHX3I5SM.js";

try {
mod = await qxs(props);
mod = await i2s(props);
} catch {
mod = fhe("");
mod = mhe("");
}

@@ -24,0 +24,0 @@ if (!props.meta.BATI.has("vue")) {

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -60,5 +60,5 @@ import "../../../../chunk-IHX3I5SM.js";

clsx: "^2.1.1",
"lucide-react": "^0.564.0",
"tailwind-merge": "^3.4.1",
tailwindcss: "^4.1.18",
"lucide-react": "^0.575.0",
"tailwind-merge": "^3.5.0",
tailwindcss: "^4.2.1",
"tw-animate-css": "^1.4.0"

@@ -88,3 +88,3 @@ },

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.setScript("shadcn", {

@@ -91,0 +91,0 @@ value: "npx shadcn@latest",

@@ -6,5 +6,5 @@ #!/usr/bin/env node

import {
Rxs,
o_s
} from "../../../../chunk-WIRXYZ5Z.js";
t2s,
x_s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -15,4 +15,4 @@ import "../../../../chunk-IHX3I5SM.js";

async function getReadme(props) {
const content = await Rxs(props);
const pmCmd = o_s().run;
const content = await t2s(props);
const pmCmd = x_s().run;
const about = `

@@ -19,0 +19,0 @@

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Bxs
} from "../../../../chunk-WIRXYZ5Z.js";
r2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -14,3 +14,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getTsConfig(props) {
const tsConfig = await Bxs(props);
const tsConfig = await r2s(props);
tsConfig.compilerOptions.paths = {

@@ -17,0 +17,0 @@ ...tsConfig.compilerOptions?.paths ?? {},

@@ -6,5 +6,5 @@ #!/usr/bin/env node

import {
qxs,
yir
} from "../../../../chunk-WIRXYZ5Z.js";
Tir,
i2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -15,3 +15,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getViteConfig(props) {
const mod = await qxs(props);
const mod = await i2s(props);
const replacement = `new URL("./", import.meta.url).pathname`;

@@ -23,3 +23,3 @@ addResolveAlias(mod, "@", replacement);

const alias = mod.exports.default.$args[0]?.resolve?.alias ?? {};
const warnMsg = `${yir("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
const warnMsg = `${Tir("WARN")}: new resolve.alias: \`"${find}":${replacement}\` replaced existing in vite.config.ts.`;
if (alias?.length === void 0) {

@@ -26,0 +26,0 @@ if (alias[find]) {

@@ -25,3 +25,3 @@ /*# BATI include-if-imported #*/

// Note: You can also directly use your server instead of defining a universal middleware. (Vike's scaffolder uses https://github.com/magne4000/universal-middleware to simplify its internal logic.)
// Note: You can directly define a server middleware instead of defining a universal middleware. (Vike's scaffolder uses https://github.com/magne4000/universal-middleware to simplify its internal logic.)
/**

@@ -28,0 +28,0 @@ * Add the `db` object to the context.

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -80,3 +80,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.addDependencies(["@universal-middleware/core"]);

@@ -83,0 +83,0 @@ }

@@ -12,3 +12,3 @@ /*# BATI include-if-imported #*/

// Note: You can also directly use your server instead of defining a universal middleware. (Vike's scaffolder uses https://github.com/magne4000/universal-middleware to simplify its internal logic.)
// Note: You can directly define a server middleware instead of defining a universal middleware. (Vike's scaffolder uses https://github.com/magne4000/universal-middleware to simplify its internal logic.)
export const createTodoHandler: UniversalHandler<

@@ -15,0 +15,0 @@ Universal.Context &

import type { PageContextServer } from "vike/types";
export type Data = Awaited<ReturnType<typeof data>>;
export declare function data(_pageContext: PageContextServer): Promise<{
todoItemsInitial: {
text: string;
}[];
todoItemsInitial: any;
}>;

@@ -6,6 +6,6 @@ #!/usr/bin/env node

import {
JBs,
Rxs,
WBs
} from "../../../../chunk-WIRXYZ5Z.js";
lUs,
t2s,
uUs
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -16,9 +16,9 @@ import "../../../../chunk-IHX3I5SM.js";

async function getReadme(props) {
const content = await Rxs(props);
const content = await t2s(props);
const flags = Array.from(props.meta.BATI).filter((f) => f !== "force").map((f) => `--${f}`).join(" ");
const v = JBs();
const v = uUs();
const intro = `Generated with [vike.dev/new](https://vike.dev/new) ([version ${v.semver.at(-1)}](https://www.npmjs.com/package/create-vike/v/${v.version})) using this command:
\`\`\`sh
${WBs()} ${flags}
${lUs()} ${flags}
\`\`\`

@@ -25,0 +25,0 @@ `;

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Rxs
} from "../../../../chunk-WIRXYZ5Z.js";
t2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -15,3 +15,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getTodo(props) {
const content = await Rxs(props);
const content = await t2s(props);
content.addMarkdown(todoIntro, {

@@ -18,0 +18,0 @@ wrapper: {

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -55,3 +55,3 @@ import "../../../../chunk-IHX3I5SM.js";

"@batijs/compile": "workspace:*",
"@sentry/solid": "^10.39.0",
"@sentry/solid": "^10.40.0",
"@types/node": "^20.19.30",

@@ -90,3 +90,3 @@ "solid-js": "^1.9.11",

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.addDependencies(["@sentry/solid"]);

@@ -93,0 +93,0 @@ }

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -57,3 +57,3 @@ import "../../../../chunk-IHX3I5SM.js";

"solid-js": "^1.9.11",
tailwindcss: "^4.1.18",
tailwindcss: "^4.2.1",
typescript: "^5.9.3",

@@ -178,3 +178,3 @@ vike: "^0.4.253",

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.addDevDependencies(["vite", "vite-plugin-solid"]).addDependencies(["solid-js", "vike-solid", "vike"]);

@@ -181,0 +181,0 @@ }

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Rxs
} from "../../../../chunk-WIRXYZ5Z.js";
t2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -14,3 +14,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getReadme(props) {
const content = await Rxs(props);
const content = await t2s(props);
const about = `

@@ -17,0 +17,0 @@ ## Vike

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Bxs
} from "../../../../chunk-WIRXYZ5Z.js";
r2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -14,3 +14,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getTsConfig(props) {
const tsConfig = await Bxs(props);
const tsConfig = await r2s(props);
tsConfig.compilerOptions.jsx = "react-jsx";

@@ -17,0 +17,0 @@ tsConfig.compilerOptions.jsxImportSource = "solid-js";

@@ -6,5 +6,5 @@ #!/usr/bin/env node

import {
qxs,
zni
} from "../../../../chunk-WIRXYZ5Z.js";
$ni,
i2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -15,4 +15,4 @@ import "../../../../chunk-IHX3I5SM.js";

async function getViteConfig(props) {
const mod = await qxs(props);
zni(mod, {
const mod = await i2s(props);
$ni(mod, {
from: "vike-solid/vite",

@@ -19,0 +19,0 @@ constructor: "vikeSolid"

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
GBs
} from "../../../../chunk-WIRXYZ5Z.js";
fUs
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -16,3 +16,3 @@ import "../../../../chunk-IHX3I5SM.js";

const envContent = await props.readfile?.();
return GBs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
return fUs(envContent, "DATABASE_URL", "sqlite.db", "Path to the sqlite database");
}

@@ -19,0 +19,0 @@ export {

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -101,3 +101,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.setScript("sqlite:migrate", {

@@ -104,0 +104,0 @@ value: "tsx ./database/sqlite/schema/all.ts",

@@ -6,5 +6,5 @@ #!/usr/bin/env node

import {
Rxs,
o_s
} from "../../../../chunk-WIRXYZ5Z.js";
t2s,
x_s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -16,4 +16,4 @@ import "../../../../chunk-IHX3I5SM.js";

if (props.meta.BATI.hasD1) return;
const content = await Rxs(props);
const pmCmd = o_s().run;
const content = await t2s(props);
const pmCmd = x_s().run;
const todo = `

@@ -20,0 +20,0 @@ ## Sqlite

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -55,7 +55,7 @@ import "../../../../chunk-IHX3I5SM.js";

"@batijs/compile": "workspace:*",
"@tailwindcss/vite": "^4.1.18",
"@tailwindcss/vite": "^4.2.1",
"@types/node": "^20.19.30",
autoprefixer: "^10.4.24",
daisyui: "^5.5.18",
tailwindcss: "^4.1.18",
daisyui: "^5.5.19",
tailwindcss: "^4.2.1",
vike: "^0.4.253",

@@ -75,3 +75,3 @@ vite: "^7.3.1"

const pkgjson = await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default);
const packageJson = await Uxs(props, pkgjson);
const packageJson = await n2s(props, pkgjson);
return packageJson.addDevDependencies(["tailwindcss", "@tailwindcss/vite"]).addDevDependencies(["daisyui"], props.meta.BATI.has("daisyui"));

@@ -78,0 +78,0 @@ }

@@ -6,5 +6,5 @@ #!/usr/bin/env node

import {
qxs,
zni
} from "../../../../chunk-WIRXYZ5Z.js";
$ni,
i2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -15,4 +15,4 @@ import "../../../../chunk-IHX3I5SM.js";

async function getViteConfig(props) {
const mod = await qxs(props);
zni(mod, {
const mod = await i2s(props);
$ni(mod, {
from: "@tailwindcss/vite",

@@ -19,0 +19,0 @@ constructor: "tailwindcss"

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -57,3 +57,3 @@ import "../../../../chunk-IHX3I5SM.js";

"@universal-middleware/core": "^0.4.16",
telefunc: "^0.2.18",
telefunc: "^0.2.19",
vike: "^0.4.253",

@@ -90,3 +90,3 @@ vite: "^7.3.1"

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.addDependencies(["telefunc", "@universal-middleware/core"]);

@@ -93,0 +93,0 @@ }

@@ -6,5 +6,5 @@ #!/usr/bin/env node

import {
qxs,
zni
} from "../../../../chunk-WIRXYZ5Z.js";
$ni,
i2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -15,4 +15,4 @@ import "../../../../chunk-IHX3I5SM.js";

async function getViteConfig(props) {
const mod = await qxs(props);
zni(mod, {
const mod = await i2s(props);
$ni(mod, {
from: "telefunc/vite",

@@ -19,0 +19,0 @@ constructor: "telefunc",

@@ -7,9 +7,7 @@ import type { dbD1, dbSqlite } from "@batijs/drizzle/database/drizzle/db";

// Note: You can also directly use your server instead of defining a universal middleware. (Vike's scaffolder uses https://github.com/magne4000/universal-middleware to simplify its internal logic.)
// Note: You can directly define a server middleware instead of defining a universal middleware. (Vike's scaffolder uses https://github.com/magne4000/universal-middleware to simplify its internal logic.)
export const telefuncHandler: UniversalHandler = enhance(
async (request, context, runtime) => {
const httpResponse = await telefunc({
url: request.url.toString(),
method: request.method,
body: await request.text(),
request,
context: {

@@ -16,0 +14,0 @@ ...(context as BATI.If<{

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -95,3 +95,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.addDependencies(["@trpc/server", "@trpc/client"]);

@@ -98,0 +98,0 @@ }

@@ -7,3 +7,3 @@ /*# BATI include-if-imported #*/

// Note: You can also directly use your server instead of defining a universal middleware. (Vike's scaffolder uses https://github.com/magne4000/universal-middleware to simplify its internal logic.)
// Note: You can directly define a server middleware instead of defining a universal middleware. (Vike's scaffolder uses https://github.com/magne4000/universal-middleware to simplify its internal logic.)
export const trpcHandler = ((endpoint) =>

@@ -10,0 +10,0 @@ enhance(

export declare const trpc: import("@trpc/client").TRPCClient<import("@trpc/server").TRPCBuiltRouter<{
ctx: object & {
db: ReturnType<any>;
db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
} & {

@@ -9,5 +9,5 @@ db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;

} & {
db: ReturnType<typeof import("@batijs/kysely/database/kysely/db").dbKysely>;
db: ReturnType<any>;
} & {
db: ReturnType<typeof import("@batijs/kysely/database/kysely/db").dbKyselyD1>;
db: ReturnType<any>;
} & {

@@ -14,0 +14,0 @@ db: D1Database;

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -95,3 +95,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.addDevDependencies(["zod"]).addDependencies(["@ts-rest/core", "@ts-rest/serverless", "@universal-middleware/core"]);

@@ -98,0 +98,0 @@ }

@@ -61,3 +61,3 @@ /** biome-ignore-all lint/suspicious/noExplicitAny: avoid platformContext type inference */

// Note: You can also directly use your server instead of defining a universal middleware. (Vike's scaffolder uses https://github.com/magne4000/universal-middleware to simplify its internal logic.)
// Note: You can directly define a server middleware instead of defining a universal middleware. (Vike's scaffolder uses https://github.com/magne4000/universal-middleware to simplify its internal logic.)
export const tsRestHandler: UniversalHandler = enhance(

@@ -64,0 +64,0 @@ async (request, ctx, runtime) =>

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -71,3 +71,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.removeScript("prod").addDevDependencies(["h3"]).addDependencies(["@photonjs/vercel"]);

@@ -74,0 +74,0 @@ }

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
qxs
} from "../../../../../chunk-WIRXYZ5Z.js";
i2s
} from "../../../../../chunk-RACOWJAZ.js";
import "../../../../../chunk-IAWYWZSL.js";

@@ -14,3 +14,3 @@ import "../../../../../chunk-IHX3I5SM.js";

async function getViteConfig(props) {
const mod = await qxs(props);
const mod = await i2s(props);
mod.exports.default.prerender = true;

@@ -17,0 +17,0 @@ return mod.generate().code;

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -55,7 +55,7 @@ import "../../../../chunk-IHX3I5SM.js";

"@batijs/compile": "workspace:*",
"@sentry/vue": "^10.39.0",
"@sentry/vue": "^10.40.0",
"@types/node": "^20.19.30",
"vike-vue": "^0.9.11",
vite: "^7.3.1",
vue: "^3.5.28"
vue: "^3.5.29"
},

@@ -84,3 +84,3 @@ dependencies: {

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.addDependencies(["@sentry/vue"]);

@@ -87,0 +87,0 @@ }

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Uxs
} from "../../../../chunk-WIRXYZ5Z.js";
n2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -58,3 +58,3 @@ import "../../../../chunk-IHX3I5SM.js";

"@vitejs/plugin-vue": "^6.0.4",
tailwindcss: "^4.1.18",
tailwindcss: "^4.2.1",
typescript: "^5.9.3",

@@ -65,3 +65,3 @@ vike: "^0.4.253",

vite: "^7.3.1",
vue: "^3.5.28",
vue: "^3.5.29",
"vue-gtag": "^3.7.0"

@@ -127,3 +127,3 @@ },

async function getPackageJson(props) {
const packageJson = await Uxs(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
const packageJson = await n2s(props, await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default));
return packageJson.addDevDependencies(["vite", "@vitejs/plugin-vue"]).addDependencies(["vike-vue", "vike", "vue"]).addDependencies(["vue-gtag"], props.meta.BATI.has("google-analytics"));

@@ -130,0 +130,0 @@ }

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Rxs
} from "../../../../chunk-WIRXYZ5Z.js";
t2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -14,3 +14,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getReadme(props) {
const content = await Rxs(props);
const content = await t2s(props);
const about = `

@@ -17,0 +17,0 @@ ## Vike

@@ -6,4 +6,4 @@ #!/usr/bin/env node

import {
Bxs
} from "../../../../chunk-WIRXYZ5Z.js";
r2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -14,3 +14,3 @@ import "../../../../chunk-IHX3I5SM.js";

async function getTsConfig(props) {
const tsConfig = await Bxs(props);
const tsConfig = await r2s(props);
return tsConfig;

@@ -17,0 +17,0 @@ }

@@ -6,5 +6,5 @@ #!/usr/bin/env node

import {
qxs,
zni
} from "../../../../chunk-WIRXYZ5Z.js";
$ni,
i2s
} from "../../../../chunk-RACOWJAZ.js";
import "../../../../chunk-IAWYWZSL.js";

@@ -15,4 +15,4 @@ import "../../../../chunk-IHX3I5SM.js";

async function getViteConfig(props) {
const mod = await qxs(props);
zni(mod, {
const mod = await i2s(props);
$ni(mod, {
from: "@vitejs/plugin-vue",

@@ -19,0 +19,0 @@ constructor: "vue"

{
"name": "@batijs/cli",
"version": "0.0.583",
"version": "0.0.587",
"type": "module",

@@ -11,3 +11,3 @@ "keywords": [],

"devDependencies": {
"@inquirer/prompts": "^8.2.1",
"@inquirer/prompts": "^8.3.0",
"@types/node": "^20.19.30",

@@ -24,8 +24,8 @@ "@types/which": "^3.0.4",

"vite": "^7.3.1",
"@batijs/build": "0.0.583",
"@batijs/compile": "0.0.583"
"@batijs/compile": "0.0.587",
"@batijs/build": "0.0.587"
},
"dependencies": {
"@batijs/core": "0.0.583",
"@batijs/features": "0.0.583"
"@batijs/core": "0.0.587",
"@batijs/features": "0.0.587"
},

@@ -32,0 +32,0 @@ "bin": "./cli.js",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display