@batijs/cli 0.0.513 → 0.0.515
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/authjs/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/aws/files/$README.md.js +7 -5
- package/dist/boilerplates/@batijs/aws/files/$TODO.md.js +4 -2
- package/dist/boilerplates/@batijs/aws/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/aws/files/$tsconfig.json.js +1 -1
- package/dist/boilerplates/@batijs/biome/files/$package.json.js +2 -2
- 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 +5 -3
- 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-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 +5 -3
- package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/express/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +2 -2
- 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 +5 -5
- package/dist/boilerplates/@batijs/mantine/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/mantine/files/$package.json.js +6 -6
- 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/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 +6 -6
- 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 +3 -3
- package/dist/boilerplates/@batijs/sentry/files/$.env.js +1 -1
- package/dist/boilerplates/@batijs/sentry/files/$README.md.js +4 -2
- 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 +4 -2
- 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/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/$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 +2 -2
- package/dist/boilerplates/@batijs/tailwindcss/files/$vite.config.ts.js +1 -1
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +3 -3
- 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 +1 -1
- 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 +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-7Z4ESLVZ.js → chunk-VBIVP5TI.js} +4 -4
- package/dist/index.js +40 -41
- package/package.json +7 -7
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-VBIVP5TI.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -53,8 +53,8 @@ var require_package = __commonJS({
|
|
|
53
53
|
"@batijs/compile": "workspace:*",
|
|
54
54
|
"@sentry/react": "^10.25.0",
|
|
55
55
|
"@types/node": "^20.19.24",
|
|
56
|
-
"@types/react": "^19.2.
|
|
57
|
-
"@types/react-dom": "^19.2.
|
|
56
|
+
"@types/react": "^19.2.5",
|
|
57
|
+
"@types/react-dom": "^19.2.3",
|
|
58
58
|
react: "^19.2.0",
|
|
59
59
|
"react-dom": "^19.2.0",
|
|
60
60
|
vite: "^7.2.2"
|
|
@@ -3,14 +3,16 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
+
ffs,
|
|
6
7
|
zEs
|
|
7
|
-
} from "../../../../chunk-
|
|
8
|
+
} from "../../../../chunk-VBIVP5TI.js";
|
|
8
9
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
10
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
11
|
|
|
11
12
|
// ../../boilerplates/sentry/dist/files/$README.md.js
|
|
12
13
|
async function getReadme(props) {
|
|
13
14
|
const content = await zEs(props);
|
|
15
|
+
const pmCmd = ffs().run;
|
|
14
16
|
const about = `
|
|
15
17
|
|
|
16
18
|
## Sentry Browser / Error Tracking & Performance Monitoring
|
|
@@ -21,7 +23,7 @@ This app is integrated with [Sentry](https://sentry.io) for error tracking.
|
|
|
21
23
|
> Sentry Error Tracking is **only activated in production** (\`import.meta.env.PROD === true\`)!
|
|
22
24
|
|
|
23
25
|
**Testing Sentry** receiving Errors:
|
|
24
|
-
1. Build & Start the app
|
|
26
|
+
1. Build & Start the app \`${pmCmd} build && ${pmCmd} preview\`.
|
|
25
27
|
2. open Testpage in browser: http://localhost:3000/sentry.
|
|
26
28
|
3. check your [Sentry Dashboard](https://sentry.io) for new Errors.
|
|
27
29
|
|
|
@@ -3,14 +3,16 @@ import { createRequire as createRequire_BATI_CLI } from 'module';
|
|
|
3
3
|
const require = createRequire_BATI_CLI(import.meta.url);
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
|
+
ffs,
|
|
6
7
|
zEs
|
|
7
|
-
} from "../../../../chunk-
|
|
8
|
+
} from "../../../../chunk-VBIVP5TI.js";
|
|
8
9
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
10
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
11
|
|
|
11
12
|
// ../../boilerplates/shadcn-ui/dist/files/$README.md.js
|
|
12
13
|
async function getReadme(props) {
|
|
13
14
|
const content = await zEs(props);
|
|
15
|
+
const pmCmd = ffs().run;
|
|
14
16
|
const about = `
|
|
15
17
|
|
|
16
18
|
## shadcn/ui
|
|
@@ -29,7 +31,7 @@ async function getReadme(props) {
|
|
|
29
31
|
### Add Components to Your Project
|
|
30
32
|
|
|
31
33
|
**Example:** add a component to your project.
|
|
32
|
-
|
|
34
|
+
\`${pmCmd} shadcn add button\`
|
|
33
35
|
|
|
34
36
|
use the \`<Button />\` component in your project:
|
|
35
37
|
\`import { Button } from "@/components/ui/button";\`
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-VBIVP5TI.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.20251117.0",
|
|
56
56
|
"@types/node": "^20.19.24",
|
|
57
57
|
"@universal-middleware/core": "^0.4.13",
|
|
58
58
|
vike: "^0.4.246",
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-VBIVP5TI.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -54,7 +54,7 @@ var require_package = __commonJS({
|
|
|
54
54
|
"@tailwindcss/vite": "^4.1.17",
|
|
55
55
|
"@types/node": "^20.19.24",
|
|
56
56
|
autoprefixer: "^10.4.22",
|
|
57
|
-
daisyui: "^5.5.
|
|
57
|
+
daisyui: "^5.5.5",
|
|
58
58
|
tailwindcss: "^4.1.17",
|
|
59
59
|
vike: "^0.4.246",
|
|
60
60
|
vite: "^7.2.2"
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-VBIVP5TI.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -51,10 +51,10 @@ 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.20251117.0",
|
|
55
55
|
"@types/node": "^20.19.24",
|
|
56
56
|
"@universal-middleware/core": "^0.4.13",
|
|
57
|
-
telefunc: "^0.2.
|
|
57
|
+
telefunc: "^0.2.17",
|
|
58
58
|
vike: "^0.4.246",
|
|
59
59
|
vite: "^7.2.2"
|
|
60
60
|
},
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-VBIVP5TI.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.20251117.0",
|
|
55
55
|
"@trpc/client": "^11.7.1",
|
|
56
56
|
"@trpc/server": "^11.7.1",
|
|
57
57
|
"@types/node": "^20.19.24",
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
WEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-VBIVP5TI.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.20251117.0",
|
|
55
55
|
"@ts-rest/core": "^3.52.1",
|
|
56
56
|
"@ts-rest/serverless": "^3.52.1",
|
|
57
57
|
"@types/node": "^20.19.24",
|
|
@@ -210439,16 +210439,16 @@ async function ufs(t2, e, n2) {
|
|
|
210439
210439
|
}
|
|
210440
210440
|
return !e.BATI.has("eslint") && R$r.test(c) && (c = c.replace(R$r, ""), f = true), !e.BATI.has("biome") && j$r.test(c) && (c = c.replace(j$r, ""), f = true), { code: f ? await Pit(c, n2) : c, context: p2 };
|
|
210441
210441
|
}
|
|
210442
|
-
var wxt = { name: "@batijs/core", version: "0.0.
|
|
210442
|
+
var wxt = { name: "@batijs/core", version: "0.0.515", 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.24", "@types/which": "^3.0.4", "@typescript-eslint/parser": "^8.46.4", "@typescript-eslint/utils": "^8.46.4", "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: "^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.1", tsx: "^4.20.6", typescript: "^5.9.3", "unplugin-purge-polyfills": "^0.1.0", vitest: "^4.0.9", "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/"] };
|
|
210443
210443
|
function ffs() {
|
|
210444
|
-
|
|
210444
|
+
return process.env.npm_config_user_agent ? _fs(process.env.npm_config_user_agent) : { name: "npm", run: "npm run" };
|
|
210445
210445
|
}
|
|
210446
210446
|
function _fs(t2) {
|
|
210447
210447
|
let e = t2.split(" ")[0], n2 = e.lastIndexOf("/"), i = e.substring(0, n2);
|
|
210448
|
-
return
|
|
210448
|
+
return i = i === "npminstall" ? "cnpm" : i, { name: i, version: e.substring(n2 + 1), run: i === "npm" ? "npm run" : i };
|
|
210449
210449
|
}
|
|
210450
210450
|
function SBs() {
|
|
210451
|
-
switch (ffs()
|
|
210451
|
+
switch (ffs().name) {
|
|
210452
210452
|
case "pnpm":
|
|
210453
210453
|
return "pnpm create vike@latest";
|
|
210454
210454
|
case "yarn":
|