@batijs/cli 0.0.489 → 0.0.490
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/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/authjs/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/aws/files/$README.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 +1 -1
- 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/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/d1/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/d1-sqlite/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/$README.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 +1 -1
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +1 -1
- 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 +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/$README.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 +1 -1
- 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-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/$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-server/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +1 -1
- 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-sentry/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/sqlite/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/sqlite/files/$README.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 +1 -1
- package/dist/boilerplates/@batijs/telefunc/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +1 -1
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +1 -1
- 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 +1 -1
- 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-J6FBWRF2.js → chunk-7ILSXZV6.js} +1 -1
- package/dist/index.js +69 -13
- package/package.json +5 -5
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const trpc: import("@trpc/client").TRPCClient<import("@trpc/server").TRPCBuiltRouter<{
|
|
2
2
|
ctx: object & {
|
|
3
|
-
db: ReturnType<
|
|
3
|
+
db: ReturnType<any>;
|
|
4
4
|
} & {
|
|
5
5
|
db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
|
|
6
6
|
} & {
|
|
@@ -210440,7 +210440,7 @@ async function mfs(t2, e, n2) {
|
|
|
210440
210440
|
}
|
|
210441
210441
|
return { code: f ? await Pit(c, n2) : c, context: p2 };
|
|
210442
210442
|
}
|
|
210443
|
-
var kxt = { name: "@batijs/core", version: "0.0.
|
|
210443
|
+
var kxt = { name: "@batijs/core", version: "0.0.490", 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.21", "@types/which": "^3.0.4", "@typescript-eslint/parser": "^8.46.2", "@typescript-eslint/utils": "^8.46.2", "attributes-parser": "^2.2.3", colorette: "^2.0.20", esbuild: "^0.25.12", eslint: "^9.39.0", "eslint-plugin-solid": "^0.14.5", "eslint-rule-composer": "^0.3.0", espree: "^10.4.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.0", tsx: "^4.20.6", typescript: "^5.9.3", "unplugin-purge-polyfills": "^0.1.0", vitest: "^4.0.6", "vue-eslint-parser": "^10.2.0", which: "^5.0.0", yaml: "^2.8.1" }, exports: { ".": "./dist/index.js", "./types": { types: "./global.d.ts" } }, typesVersions: { "*": { types: ["./global.d.ts"] } }, files: ["dist/"] };
|
|
210444
210444
|
function gfs() {
|
|
210445
210445
|
if (process.env.npm_config_user_agent) return yfs(process.env.npm_config_user_agent);
|
|
210446
210446
|
}
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
export_which,
|
|
10
10
|
gfs,
|
|
11
11
|
mfs
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7ILSXZV6.js";
|
|
13
13
|
import "./chunk-IAWYWZSL.js";
|
|
14
14
|
import {
|
|
15
15
|
__commonJS,
|
|
@@ -11006,7 +11006,7 @@ var require_lib3 = __commonJS({
|
|
|
11006
11006
|
|
|
11007
11007
|
// index.ts
|
|
11008
11008
|
import { execSync } from "child_process";
|
|
11009
|
-
import { existsSync as existsSync2,
|
|
11009
|
+
import { existsSync as existsSync2, rmSync } from "fs";
|
|
11010
11010
|
import { access, constants, lstat, readdir, readFile as readFile2 } from "fs/promises";
|
|
11011
11011
|
import { dirname, join, parse as parse2 } from "path";
|
|
11012
11012
|
import { fileURLToPath } from "url";
|
|
@@ -16903,7 +16903,7 @@ var createDefaultQueryTester = function(query, options) {
|
|
|
16903
16903
|
// package.json
|
|
16904
16904
|
var package_default = {
|
|
16905
16905
|
name: "@batijs/cli",
|
|
16906
|
-
version: "0.0.
|
|
16906
|
+
version: "0.0.490",
|
|
16907
16907
|
type: "module",
|
|
16908
16908
|
scripts: {
|
|
16909
16909
|
"check-types": "tsc --noEmit",
|
|
@@ -17031,14 +17031,70 @@ function findDescription(key) {
|
|
|
17031
17031
|
return `Include ${feat.label}`;
|
|
17032
17032
|
}
|
|
17033
17033
|
}
|
|
17034
|
-
|
|
17035
|
-
|
|
17036
|
-
|
|
17037
|
-
|
|
17038
|
-
|
|
17039
|
-
|
|
17040
|
-
|
|
17041
|
-
|
|
17034
|
+
var hasAdditionalSteps = {
|
|
17035
|
+
// UI Frameworks - work out of the box
|
|
17036
|
+
react: false,
|
|
17037
|
+
vue: false,
|
|
17038
|
+
solid: false,
|
|
17039
|
+
vike: false,
|
|
17040
|
+
// Always included, invisible in CLI
|
|
17041
|
+
// CSS - work out of the box
|
|
17042
|
+
tailwindcss: false,
|
|
17043
|
+
"compiled-css": false,
|
|
17044
|
+
// UI Component Libraries - work out of the box or minimal setup
|
|
17045
|
+
daisyui: false,
|
|
17046
|
+
// Works with Tailwind out of the box
|
|
17047
|
+
"shadcn-ui": false,
|
|
17048
|
+
// Components can be added via CLI but not required
|
|
17049
|
+
mantine: false,
|
|
17050
|
+
// Theme is pre-configured, minimal setup
|
|
17051
|
+
// Auth - require configuration
|
|
17052
|
+
auth0: true,
|
|
17053
|
+
// Requires Auth0 account, client ID/secret, callback URLs
|
|
17054
|
+
authjs: true,
|
|
17055
|
+
// Requires provider configuration and secret setup
|
|
17056
|
+
// Data fetching - work out of the box
|
|
17057
|
+
telefunc: false,
|
|
17058
|
+
trpc: false,
|
|
17059
|
+
"ts-rest": false,
|
|
17060
|
+
// Server frameworks - work out of the box
|
|
17061
|
+
hono: false,
|
|
17062
|
+
h3: false,
|
|
17063
|
+
express: false,
|
|
17064
|
+
fastify: false,
|
|
17065
|
+
// Database - require setup
|
|
17066
|
+
drizzle: true,
|
|
17067
|
+
// Requires DATABASE_URL and migration commands
|
|
17068
|
+
sqlite: true,
|
|
17069
|
+
// Requires DATABASE_URL and migration setup
|
|
17070
|
+
prisma: true,
|
|
17071
|
+
// Requires prisma init and schema setup
|
|
17072
|
+
// Deployment platforms - work out of the box
|
|
17073
|
+
cloudflare: false,
|
|
17074
|
+
vercel: false,
|
|
17075
|
+
aws: true,
|
|
17076
|
+
// Requires AWS CDK deployment setup
|
|
17077
|
+
// Analytics - minimal setup (just domain update)
|
|
17078
|
+
"google-analytics": false,
|
|
17079
|
+
"plausible.io": false,
|
|
17080
|
+
// Just needs domain update in script tag
|
|
17081
|
+
segment: false,
|
|
17082
|
+
// Error tracking - requires configuration
|
|
17083
|
+
sentry: true,
|
|
17084
|
+
// Requires Sentry DSN and build plugin configuration
|
|
17085
|
+
// Development tools - work out of the box
|
|
17086
|
+
eslint: false,
|
|
17087
|
+
biome: false,
|
|
17088
|
+
prettier: false,
|
|
17089
|
+
// Disabled features
|
|
17090
|
+
logrocket: false,
|
|
17091
|
+
// Currently disabled
|
|
17092
|
+
netlify: false
|
|
17093
|
+
// Deployment platform
|
|
17094
|
+
};
|
|
17095
|
+
function hasRemainingSteps(flags2) {
|
|
17096
|
+
assert(features.every((f2) => f2.flag in hasAdditionalSteps));
|
|
17097
|
+
return flags2.some((flag) => hasAdditionalSteps[flag] === true);
|
|
17042
17098
|
}
|
|
17043
17099
|
function printInit() {
|
|
17044
17100
|
console.log(cyan("\n\u{1F528} Vike Scaffolder \u{1F528}\n"));
|
|
@@ -17079,7 +17135,7 @@ ${bold("Next steps:")}`);
|
|
|
17079
17135
|
break;
|
|
17080
17136
|
}
|
|
17081
17137
|
}
|
|
17082
|
-
if (hasRemainingSteps(flags2
|
|
17138
|
+
if (hasRemainingSteps(flags2)) {
|
|
17083
17139
|
console.log(Tir("-", gray, indent)(`Check README.md for remaining steps`));
|
|
17084
17140
|
}
|
|
17085
17141
|
console.log("\nHappy coding! \u{1F680}\n");
|
|
@@ -17192,7 +17248,7 @@ async function checkFlagsIncludesUiFramework(flags2) {
|
|
|
17192
17248
|
const isBarebones = flags2.filter((f2) => !uiFlags.includes(f2)).length > 0;
|
|
17193
17249
|
if (!isBarebones) {
|
|
17194
17250
|
console.warn(
|
|
17195
|
-
`${yellow("\u{1F6C8} Scaffolding bare-bones app")} \u27A1\uFE0F Go to ${underline("https://vike.dev/new")} to scaffold full-fledged apps with Tailwind, authentication, database, deployment,
|
|
17251
|
+
`${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.
|
|
17196
17252
|
`
|
|
17197
17253
|
);
|
|
17198
17254
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@batijs/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.490",
|
|
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",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
"typescript": "^5.9.3",
|
|
21
21
|
"unplugin-purge-polyfills": "^0.1.0",
|
|
22
22
|
"vite": "^7.1.12",
|
|
23
|
-
"@batijs/build": "0.0.
|
|
24
|
-
"@batijs/compile": "0.0.
|
|
23
|
+
"@batijs/build": "0.0.490",
|
|
24
|
+
"@batijs/compile": "0.0.490"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@batijs/
|
|
28
|
-
"@batijs/
|
|
27
|
+
"@batijs/core": "0.0.490",
|
|
28
|
+
"@batijs/features": "0.0.490"
|
|
29
29
|
},
|
|
30
30
|
"bin": "./cli.js",
|
|
31
31
|
"exports": {
|