@batijs/cli 0.0.330 → 0.0.332
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/cloudflare/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/cloudflare/files/$vite.config.ts.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/files/$wrangler.toml.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 +2 -2
- package/dist/boilerplates/@batijs/drizzle/types/database/drizzle/queries/todos.d.ts +1 -1
- package/dist/boilerplates/@batijs/edgedb/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/edgedb/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/firebase-auth/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/firebase-auth/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/firebase-auth/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/hattip/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/hono/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/hono/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/lucia-auth/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/lucia-auth/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/lucia-auth/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/lucia-auth/files/lib/lucia-auth.ts +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/panda-css/files/$package.json.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 +12 -2
- 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/shadcn-ui/files/layouts/!tailwind.css +3 -1
- package/dist/boilerplates/@batijs/shadcn-ui/files/postcss.config.js +6 -0
- package/dist/boilerplates/@batijs/shadcn-ui/types/postcss.config.d.ts +7 -0
- 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 +8 -4
- package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +4 -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 +4 -4
- 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/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/vercel/files/$vite.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-7JKLHW74.js → chunk-HZC77I75.js} +1 -1
- package/dist/index.js +2 -2
- package/package.json +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
IHs
|
|
4
|
-
} from "../../../../chunk-
|
|
4
|
+
} from "../../../../chunk-HZC77I75.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/drizzle/dist/files/$package.json.js
|
|
@@ -52,7 +52,7 @@ var require_package = __commonJS({
|
|
|
52
52
|
"better-sqlite3": "^11.8.1",
|
|
53
53
|
dotenv: "^16.4.7",
|
|
54
54
|
"drizzle-kit": "^0.30.3",
|
|
55
|
-
"drizzle-orm": "^0.
|
|
55
|
+
"drizzle-orm": "^0.39.0"
|
|
56
56
|
},
|
|
57
57
|
dependencies: {
|
|
58
58
|
"@batijs/core": "workspace:*"
|
|
@@ -38,7 +38,7 @@ export function initializeLucia(
|
|
|
38
38
|
* @link {@see https://lucia-auth.com/database/#database-setup}
|
|
39
39
|
**/
|
|
40
40
|
const adapter = BATI.has("drizzle")
|
|
41
|
-
? new DrizzleSQLiteAdapter(db as BATI.Any, sessionTable, userTable)
|
|
41
|
+
? new DrizzleSQLiteAdapter(db as BATI.Any, sessionTable as BATI.Any, userTable as BATI.Any)
|
|
42
42
|
: BATI.hasD1
|
|
43
43
|
? new D1Adapter(db as BATI.Any, {
|
|
44
44
|
user: "users",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
IHs
|
|
4
|
-
} from "../../../../chunk-
|
|
4
|
+
} from "../../../../chunk-HZC77I75.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/shadcn-ui/dist/files/$package.json.js
|
|
@@ -49,11 +49,13 @@ var require_package = __commonJS({
|
|
|
49
49
|
"@batijs/compile": "workspace:*",
|
|
50
50
|
"@radix-ui/react-icons": "^1.3.2",
|
|
51
51
|
"@types/node": "^18.19.74",
|
|
52
|
+
autoprefixer: "^10.4.20",
|
|
52
53
|
"class-variance-authority": "^0.7.1",
|
|
53
54
|
clsx: "^2.1.1",
|
|
54
55
|
"lucide-react": "^0.474.0",
|
|
56
|
+
postcss: "^8.5.1",
|
|
55
57
|
"tailwind-merge": "^2.6.0",
|
|
56
|
-
tailwindcss: "^4.
|
|
58
|
+
tailwindcss: "^3.4.17",
|
|
57
59
|
"tailwindcss-animate": "^1.0.7"
|
|
58
60
|
},
|
|
59
61
|
dependencies: {
|
|
@@ -71,6 +73,9 @@ var require_package = __commonJS({
|
|
|
71
73
|
"./!tailwind.config": {
|
|
72
74
|
types: "./dist/types/!tailwind.config.d.ts"
|
|
73
75
|
},
|
|
76
|
+
"./postcss.config": {
|
|
77
|
+
types: "./dist/types/postcss.config.d.ts"
|
|
78
|
+
},
|
|
74
79
|
"./lib/utils": {
|
|
75
80
|
types: "./dist/types/lib/utils.d.ts"
|
|
76
81
|
}
|
|
@@ -80,6 +85,9 @@ var require_package = __commonJS({
|
|
|
80
85
|
"!tailwind.config": [
|
|
81
86
|
"./dist/types/!tailwind.config.d.ts"
|
|
82
87
|
],
|
|
88
|
+
"postcss.config": [
|
|
89
|
+
"./dist/types/postcss.config.d.ts"
|
|
90
|
+
],
|
|
83
91
|
"lib/utils": [
|
|
84
92
|
"./dist/types/lib/utils.d.ts"
|
|
85
93
|
]
|
|
@@ -95,6 +103,8 @@ async function getPackageJson(props) {
|
|
|
95
103
|
precedence: 1,
|
|
96
104
|
warnIfReplaced: true
|
|
97
105
|
}).addDependencies([
|
|
106
|
+
"postcss",
|
|
107
|
+
"autoprefixer",
|
|
98
108
|
"tailwindcss-animate",
|
|
99
109
|
"class-variance-authority",
|
|
100
110
|
"clsx",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
IHs
|
|
4
|
-
} from "../../../../chunk-
|
|
4
|
+
} from "../../../../chunk-HZC77I75.js";
|
|
5
5
|
import "../../../../chunk-LU7IBQI7.js";
|
|
6
6
|
|
|
7
7
|
// ../../boilerplates/tailwindcss/dist/files/$package.json.js
|
|
@@ -47,11 +47,11 @@ var require_package = __commonJS({
|
|
|
47
47
|
license: "MIT",
|
|
48
48
|
devDependencies: {
|
|
49
49
|
"@batijs/compile": "workspace:*",
|
|
50
|
+
"@tailwindcss/vite": "^4.0.0",
|
|
50
51
|
"@types/node": "^18.19.74",
|
|
51
52
|
autoprefixer: "^10.4.20",
|
|
52
53
|
daisyui: "^5.0.0-beta.2",
|
|
53
54
|
tailwindcss: "^4.0.0",
|
|
54
|
-
"@tailwindcss/vite": "^4.0.0",
|
|
55
55
|
vike: "^0.4.220",
|
|
56
56
|
vite: "^6.0.11"
|
|
57
57
|
},
|
|
@@ -70,8 +70,12 @@ var require_package = __commonJS({
|
|
|
70
70
|
}
|
|
71
71
|
});
|
|
72
72
|
async function getPackageJson(props) {
|
|
73
|
-
const
|
|
74
|
-
|
|
73
|
+
const pkgjson = await Promise.resolve().then(() => __toESM(require_package(), 1)).then((x) => x.default);
|
|
74
|
+
if (props.meta.BATI.has("shadcn-ui")) {
|
|
75
|
+
pkgjson.devDependencies.tailwindcss = "^3.4.17";
|
|
76
|
+
}
|
|
77
|
+
const packageJson = await IHs(props, pkgjson);
|
|
78
|
+
return packageJson.addDevDependencies(["tailwindcss"]).addDevDependencies(["@tailwindcss/vite"], !props.meta.BATI.has("shadcn-ui")).addDevDependencies(["daisyui"], props.meta.BATI.has("daisyui"));
|
|
75
79
|
}
|
|
76
80
|
export {
|
|
77
81
|
getPackageJson as default
|
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
OHs,
|
|
4
4
|
hbs
|
|
5
|
-
} from "../../../../chunk-
|
|
5
|
+
} from "../../../../chunk-HZC77I75.js";
|
|
6
6
|
import "../../../../chunk-LU7IBQI7.js";
|
|
7
7
|
|
|
8
8
|
// ../../boilerplates/tailwindcss/dist/files/$vite.config.ts.js
|
|
9
9
|
async function getViteConfig(props) {
|
|
10
|
+
if (props.meta.BATI.has("shadcn-ui")) {
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
10
13
|
const mod = await OHs(props);
|
|
11
14
|
hbs(mod, {
|
|
12
15
|
from: "@tailwindcss/vite",
|
|
@@ -3,7 +3,7 @@ export declare const trpc: {
|
|
|
3
3
|
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
4
4
|
_config: import("@trpc/server").RootConfig<{
|
|
5
5
|
ctx: object & {
|
|
6
|
-
db: ReturnType<
|
|
6
|
+
db: ReturnType<any>;
|
|
7
7
|
} & {
|
|
8
8
|
db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
|
|
9
9
|
} & {
|
|
@@ -16,7 +16,7 @@ export declare const trpc: {
|
|
|
16
16
|
transformer: import("@trpc/server").DefaultDataTransformer;
|
|
17
17
|
}>;
|
|
18
18
|
_ctx_out: object & {
|
|
19
|
-
db: ReturnType<
|
|
19
|
+
db: ReturnType<any>;
|
|
20
20
|
} & {
|
|
21
21
|
db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
|
|
22
22
|
} & {
|
|
@@ -37,7 +37,7 @@ export declare const trpc: {
|
|
|
37
37
|
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
38
38
|
_config: import("@trpc/server").RootConfig<{
|
|
39
39
|
ctx: object & {
|
|
40
|
-
db: ReturnType<
|
|
40
|
+
db: ReturnType<any>;
|
|
41
41
|
} & {
|
|
42
42
|
db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
|
|
43
43
|
} & {
|
|
@@ -51,7 +51,7 @@ export declare const trpc: {
|
|
|
51
51
|
}>;
|
|
52
52
|
_meta: object;
|
|
53
53
|
_ctx_out: object & {
|
|
54
|
-
db: ReturnType<
|
|
54
|
+
db: ReturnType<any>;
|
|
55
55
|
} & {
|
|
56
56
|
db: ReturnType<typeof import("@batijs/drizzle/database/drizzle/db").dbSqlite>;
|
|
57
57
|
} & {
|
|
@@ -209532,7 +209532,7 @@ function ybs(t6) {
|
|
|
209532
209532
|
return e;
|
|
209533
209533
|
}
|
|
209534
209534
|
var jbs = q(yQr(), 1);
|
|
209535
|
-
var YEt = { name: "@batijs/core", version: "0.0.
|
|
209535
|
+
var YEt = { name: "@batijs/core", version: "0.0.332", 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.6", "@types/node": "^18.19.74", "@types/which": "^3.0.4", "@typescript-eslint/parser": "^8.21.0", "@typescript-eslint/utils": "^8.21.0", "attributes-parser": "^2.2.3", colorette: "^2.0.20", esbuild: "^0.24.2", eslint: "^9.19.0", "eslint-plugin-solid": "^0.14.5", "eslint-rule-composer": "^0.3.0", espree: "^10.3.0", magicast: "^0.3.5", "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.4.2", squirrelly: "^9.1.0", tsup: "^8.3.6", tsx: "^4.19.2", typescript: "^5.7.3", "unplugin-purge-polyfills": "^0.0.7", vitest: "^3.0.4", "vue-eslint-parser": "^9.4.3", which: "^5.0.0", yaml: "^2.7.0" }, exports: { ".": "./dist/index.js", "./types": { types: "./global.d.ts" } }, typesVersions: { "*": { types: ["./global.d.ts"] } }, files: ["dist/"] };
|
|
209536
209536
|
function Ubs() {
|
|
209537
209537
|
if (process.env.npm_config_user_agent) return qbs(process.env.npm_config_user_agent);
|
|
209538
209538
|
}
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
export_which,
|
|
7
7
|
uit,
|
|
8
8
|
wus
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HZC77I75.js";
|
|
10
10
|
import "./chunk-LU7IBQI7.js";
|
|
11
11
|
|
|
12
12
|
// index.ts
|
|
@@ -3588,7 +3588,7 @@ var createDefaultQueryTester = function(query, options) {
|
|
|
3588
3588
|
// package.json
|
|
3589
3589
|
var package_default = {
|
|
3590
3590
|
name: "@batijs/cli",
|
|
3591
|
-
version: "0.0.
|
|
3591
|
+
version: "0.0.332",
|
|
3592
3592
|
type: "module",
|
|
3593
3593
|
scripts: {
|
|
3594
3594
|
"check-types": "tsc --noEmit",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@batijs/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.332",
|
|
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.7.3",
|
|
21
21
|
"unplugin-purge-polyfills": "^0.0.7",
|
|
22
22
|
"vite": "^6.0.11",
|
|
23
|
-
"@batijs/compile": "0.0.
|
|
24
|
-
"@batijs/build": "0.0.
|
|
23
|
+
"@batijs/compile": "0.0.332",
|
|
24
|
+
"@batijs/build": "0.0.332"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@batijs/
|
|
28
|
-
"@batijs/
|
|
27
|
+
"@batijs/core": "0.0.332",
|
|
28
|
+
"@batijs/features": "0.0.332"
|
|
29
29
|
},
|
|
30
30
|
"bin": "./dist/index.js",
|
|
31
31
|
"exports": {
|