@batijs/cli 0.0.491 → 0.0.493
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 +13 -17
- 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/files/tsconfig.json +5 -8
- package/dist/boilerplates/@batijs/shared-server/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/solid/files/$README.md.js +13 -16
- 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 +2 -2
- 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 +13 -16
- 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-S47BAUBM.js → chunk-KFRHKKJK.js} +1 -1
- package/dist/index.js +2 -2
- package/package.json +5 -5
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
QEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-KFRHKKJK.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -12,16 +12,20 @@ import "../../../../chunk-DHZ7AZKP.js";
|
|
|
12
12
|
async function getReadme(props) {
|
|
13
13
|
const content = await QEs(props);
|
|
14
14
|
const about = `
|
|
15
|
-
## React
|
|
16
15
|
|
|
17
16
|
This app is ready to start. It's powered by [Vike](https://vike.dev) and [React](https://react.dev/learn).
|
|
18
17
|
|
|
19
|
-
###
|
|
18
|
+
### Plus files
|
|
20
19
|
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
-
|
|
24
|
-
-
|
|
20
|
+
[The + files are the interface](https://vike.dev/config) between Vike and your code.
|
|
21
|
+
|
|
22
|
+
- [\`+config.ts\`](https://vike.dev/settings) \u2014 Settings (e.g. global default \`<title>\`)
|
|
23
|
+
- [\`+Page.tsx\`](https://vike.dev/Page) \u2014 The \`<Page>\` component
|
|
24
|
+
- [\`+data.ts\`](https://vike.dev/data) \u2014 Fetching data (for your \`<Page>\` component)
|
|
25
|
+
- [\`+Layout.tsx\`](https://vike.dev/Layout) \u2014 The \`<Layout>\` component (wraps your \`<Page>\` components)
|
|
26
|
+
- [\`/pages/_error/+Page.tsx\`](https://vike.dev/error-page) \u2014 The error page (rendered when an error occurs)
|
|
27
|
+
- [\`+onPageTransitionStart.ts\`](https://vike.dev/onPageTransitionStart) and \`+onPageTransitionEnd.ts\` \u2014 For page transition animations
|
|
28
|
+
- [\`+Head.tsx\`](https://vike.dev/Head) - Sets \`<head>\` tags
|
|
25
29
|
|
|
26
30
|
### Routing
|
|
27
31
|
|
|
@@ -30,21 +34,13 @@ Such \`+\` files are [the interface](https://vike.dev/config) between Vike and y
|
|
|
30
34
|
- [Route Strings](https://vike.dev/route-string)
|
|
31
35
|
- [Route Functions](https://vike.dev/route-function)
|
|
32
36
|
|
|
33
|
-
### \`/pages/_error/+Page.jsx\`
|
|
34
|
-
|
|
35
|
-
The [error page](https://vike.dev/error-page) which is rendered when errors occur.
|
|
36
|
-
|
|
37
|
-
### \`/pages/+onPageTransitionStart.ts\` and \`/pages/+onPageTransitionEnd.ts\`
|
|
38
|
-
|
|
39
|
-
The [\`onPageTransitionStart()\` hook](https://vike.dev/onPageTransitionStart), together with [\`onPageTransitionEnd()\`](https://vike.dev/onPageTransitionEnd), enables you to implement page transition animations.
|
|
40
|
-
|
|
41
37
|
### SSR
|
|
42
38
|
|
|
43
|
-
SSR is enabled by default. You can [disable it](https://vike.dev/ssr) for all
|
|
39
|
+
SSR is enabled by default. You can [disable it](https://vike.dev/ssr) for all or specific pages.
|
|
44
40
|
|
|
45
41
|
### HTML Streaming
|
|
46
42
|
|
|
47
|
-
You can enable/disable
|
|
43
|
+
You can [enable/disable HTML streaming](https://vike.dev/stream) for all or specific pages.`;
|
|
48
44
|
content.addMarkdownFeature(about, "react");
|
|
49
45
|
return content;
|
|
50
46
|
}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"strict": true,
|
|
4
|
-
"
|
|
5
|
-
"forceConsistentCasingInFileNames": true,
|
|
6
|
-
"resolveJsonModule": true,
|
|
7
|
-
"skipLibCheck": true,
|
|
8
|
-
"sourceMap": true,
|
|
4
|
+
"target": "ES2022",
|
|
9
5
|
"module": "ESNext",
|
|
10
|
-
"noEmit": true,
|
|
11
6
|
"moduleResolution": "Bundler",
|
|
12
|
-
"target": "ES2022",
|
|
13
7
|
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
|
14
|
-
"types": ["vite/client"]
|
|
8
|
+
"types": ["vite/client"],
|
|
9
|
+
"noEmit": true,
|
|
10
|
+
"skipLibCheck": true,
|
|
11
|
+
"esModuleInterop": true
|
|
15
12
|
},
|
|
16
13
|
"exclude": ["dist"]
|
|
17
14
|
}
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
QEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-KFRHKKJK.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -15,12 +15,17 @@ async function getReadme(props) {
|
|
|
15
15
|
|
|
16
16
|
This app is ready to start. It's powered by [Vike](https://vike.dev) and [SolidJS](https://www.solidjs.com/guides/getting-started).
|
|
17
17
|
|
|
18
|
-
###
|
|
18
|
+
### Plus files
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
20
|
+
[The + files are the interface](https://vike.dev/config) between Vike and your code.
|
|
21
|
+
|
|
22
|
+
- [\`+config.ts\`](https://vike.dev/settings) \u2014 Settings (e.g. global default \`<title>\`)
|
|
23
|
+
- [\`+Page.tsx\`](https://vike.dev/Page) \u2014 The \`<Page>\` component
|
|
24
|
+
- [\`+data.ts\`](https://vike.dev/data) \u2014 Fetching data (for your \`<Page>\` component)
|
|
25
|
+
- [\`+Layout.tsx\`](https://vike.dev/Layout) \u2014 The \`<Layout>\` component (wraps your \`<Page>\` components)
|
|
26
|
+
- [\`/pages/_error/+Page.tsx\`](https://vike.dev/error-page) \u2014 The error page (rendered when an error occurs)
|
|
27
|
+
- [\`+onPageTransitionStart.ts\`](https://vike.dev/onPageTransitionStart) and \`+onPageTransitionEnd.ts\` \u2014 For page transition animations
|
|
28
|
+
- [\`+Head.tsx\`](https://vike.dev/Head) - Sets \`<head>\` tags
|
|
24
29
|
|
|
25
30
|
### Routing
|
|
26
31
|
|
|
@@ -29,21 +34,13 @@ Such \`+\` files are [the interface](https://vike.dev/config) between Vike and y
|
|
|
29
34
|
- [Route Strings](https://vike.dev/route-string)
|
|
30
35
|
- [Route Functions](https://vike.dev/route-function)
|
|
31
36
|
|
|
32
|
-
### \`/pages/_error/+Page.jsx\`
|
|
33
|
-
|
|
34
|
-
The [error page](https://vike.dev/error-page) which is rendered when errors occur.
|
|
35
|
-
|
|
36
|
-
### \`/pages/+onPageTransitionStart.ts\` and \`/pages/+onPageTransitionEnd.ts\`
|
|
37
|
-
|
|
38
|
-
The [\`onPageTransitionStart()\` hook](https://vike.dev/onPageTransitionStart), together with [\`onPageTransitionEnd()\`](https://vike.dev/onPageTransitionEnd), enables you to implement page transition animations.
|
|
39
|
-
|
|
40
37
|
### SSR
|
|
41
38
|
|
|
42
|
-
SSR is enabled by default. You can [disable it](https://vike.dev/ssr) for all
|
|
39
|
+
SSR is enabled by default. You can [disable it](https://vike.dev/ssr) for all or specific pages.
|
|
43
40
|
|
|
44
41
|
### HTML Streaming
|
|
45
42
|
|
|
46
|
-
You can enable/disable
|
|
43
|
+
You can [enable/disable HTML streaming](https://vike.dev/stream) for all or specific pages.`;
|
|
47
44
|
content.addMarkdownFeature(about, "solid");
|
|
48
45
|
return content;
|
|
49
46
|
}
|
|
@@ -2,9 +2,9 @@ export declare const trpc: import("@trpc/client").TRPCClient<import("@trpc/serve
|
|
|
2
2
|
ctx: object & {
|
|
3
3
|
db: ReturnType<typeof import("@batijs/sqlite/database/sqlite/db").db>;
|
|
4
4
|
} & {
|
|
5
|
-
db: ReturnType<
|
|
5
|
+
db: ReturnType<any>;
|
|
6
6
|
} & {
|
|
7
|
-
db: ReturnType<
|
|
7
|
+
db: ReturnType<any>;
|
|
8
8
|
} & {
|
|
9
9
|
db: import("@cloudflare/workers-types").D1Database;
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ const require = createRequire_BATI_CLI(import.meta.url);
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
QEs
|
|
7
|
-
} from "../../../../chunk-
|
|
7
|
+
} from "../../../../chunk-KFRHKKJK.js";
|
|
8
8
|
import "../../../../chunk-IAWYWZSL.js";
|
|
9
9
|
import "../../../../chunk-DHZ7AZKP.js";
|
|
10
10
|
|
|
@@ -15,12 +15,17 @@ async function getReadme(props) {
|
|
|
15
15
|
|
|
16
16
|
This app is ready to start. It's powered by [Vike](https://vike.dev) and [Vue](https://vuejs.org/guide/quick-start.html).
|
|
17
17
|
|
|
18
|
-
###
|
|
18
|
+
### Plus files
|
|
19
19
|
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
-
|
|
23
|
-
-
|
|
20
|
+
[The + files are the interface](https://vike.dev/config) between Vike and your code.
|
|
21
|
+
|
|
22
|
+
- [\`+config.ts\`](https://vike.dev/settings) \u2014 Settings (e.g. global default \`<title>\`)
|
|
23
|
+
- [\`+Page.vue\`](https://vike.dev/Page) \u2014 The \`<Page>\` component
|
|
24
|
+
- [\`+data.ts\`](https://vike.dev/data) \u2014 Fetching data (for your \`<Page>\` component)
|
|
25
|
+
- [\`+Layout.vue\`](https://vike.dev/Layout) \u2014 The \`<Layout>\` component (wraps your \`<Page>\` components)
|
|
26
|
+
- [\`/pages/_error/+Page.vue\`](https://vike.dev/error-page) \u2014 The error page (rendered when an error occurs)
|
|
27
|
+
- [\`+onPageTransitionStart.ts\`](https://vike.dev/onPageTransitionStart) and \`+onPageTransitionEnd.ts\` \u2014 For page transition animations
|
|
28
|
+
- [\`+Head.vue\`](https://vike.dev/Head) - Sets \`<head>\` tags
|
|
24
29
|
|
|
25
30
|
### Routing
|
|
26
31
|
|
|
@@ -29,21 +34,13 @@ Such \`+\` files are [the interface](https://vike.dev/config) between Vike and y
|
|
|
29
34
|
- [Route Strings](https://vike.dev/route-string)
|
|
30
35
|
- [Route Functions](https://vike.dev/route-function)
|
|
31
36
|
|
|
32
|
-
### \`/pages/_error/+Page.vue\`
|
|
33
|
-
|
|
34
|
-
The [error page](https://vike.dev/error-page) which is rendered when errors occur.
|
|
35
|
-
|
|
36
|
-
### \`/pages/+onPageTransitionStart.ts\` and \`/pages/+onPageTransitionEnd.ts\`
|
|
37
|
-
|
|
38
|
-
The [\`onPageTransitionStart()\` hook](https://vike.dev/onPageTransitionStart), together with [\`onPageTransitionEnd()\`](https://vike.dev/onPageTransitionEnd), enables you to implement page transition animations.
|
|
39
|
-
|
|
40
37
|
### SSR
|
|
41
38
|
|
|
42
|
-
SSR is enabled by default. You can [disable it](https://vike.dev/ssr) for all
|
|
39
|
+
SSR is enabled by default. You can [disable it](https://vike.dev/ssr) for all or specific pages.
|
|
43
40
|
|
|
44
41
|
### HTML Streaming
|
|
45
42
|
|
|
46
|
-
You can enable/disable
|
|
43
|
+
You can [enable/disable HTML streaming](https://vike.dev/stream) for all or specific pages.`;
|
|
47
44
|
content.addMarkdownFeature(about, "vue");
|
|
48
45
|
return content;
|
|
49
46
|
}
|
|
@@ -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.493", 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
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
export_which,
|
|
11
11
|
gfs,
|
|
12
12
|
mfs
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KFRHKKJK.js";
|
|
14
14
|
import "./chunk-IAWYWZSL.js";
|
|
15
15
|
import {
|
|
16
16
|
__commonJS,
|
|
@@ -16904,7 +16904,7 @@ var createDefaultQueryTester = function(query, options) {
|
|
|
16904
16904
|
// package.json
|
|
16905
16905
|
var package_default = {
|
|
16906
16906
|
name: "@batijs/cli",
|
|
16907
|
-
version: "0.0.
|
|
16907
|
+
version: "0.0.493",
|
|
16908
16908
|
type: "module",
|
|
16909
16909
|
scripts: {
|
|
16910
16910
|
"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.493",
|
|
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/
|
|
24
|
-
"@batijs/
|
|
23
|
+
"@batijs/build": "0.0.493",
|
|
24
|
+
"@batijs/compile": "0.0.493"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@batijs/
|
|
28
|
-
"@batijs/
|
|
27
|
+
"@batijs/features": "0.0.493",
|
|
28
|
+
"@batijs/core": "0.0.493"
|
|
29
29
|
},
|
|
30
30
|
"bin": "./cli.js",
|
|
31
31
|
"exports": {
|