@batijs/cli 0.0.166 → 0.0.168
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/README.md +1 -1
- package/dist/boilerplates/@batijs/compiled/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/eslint/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/express/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/h3/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/hattip/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/react/files/$package.json.js +6 -6
- package/dist/boilerplates/@batijs/shared/files/$README.md.js +1 -1
- package/dist/boilerplates/@batijs/shared/files/package.json +3 -3
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +5 -5
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/trpc/types/trpc/client.d.ts +38 -72
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +3 -3
- package/dist/index.js +4 -4
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -9,7 +9,7 @@ Bâti
|
|
|
9
9
|
Next-gen scaffolder. Get started with fully-functional apps, and choose any tool you want.
|
|
10
10
|
<p>
|
|
11
11
|
|
|
12
|
-
<h3 align="center"><a href="https://batijs.
|
|
12
|
+
<h3 align="center"><a href="https://batijs.dev">Try the CLI generator</a></h3>
|
|
13
13
|
|
|
14
14
|

|
|
15
15
|
|
|
@@ -42,8 +42,8 @@ var require_package = __commonJS({
|
|
|
42
42
|
},
|
|
43
43
|
devDependencies: {
|
|
44
44
|
"@batijs/compile": "workspace:^",
|
|
45
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
46
|
-
"@typescript-eslint/parser": "^7.
|
|
45
|
+
"@typescript-eslint/eslint-plugin": "^7.3.1",
|
|
46
|
+
"@typescript-eslint/parser": "^7.3.1",
|
|
47
47
|
eslint: "^8.57.0"
|
|
48
48
|
},
|
|
49
49
|
dependencies: {
|
|
@@ -51,13 +51,13 @@ var require_package = __commonJS({
|
|
|
51
51
|
"@types/express": "^4.17.21",
|
|
52
52
|
"@types/node": "^18.19.14",
|
|
53
53
|
"cookie-parser": "^1.4.6",
|
|
54
|
-
express: "^4.
|
|
54
|
+
express: "^4.19.1",
|
|
55
55
|
"firebase-admin": "^12.0.0",
|
|
56
56
|
telefunc: "^0.1.71",
|
|
57
57
|
tsx: "^4.7.1",
|
|
58
|
-
vike: "^0.4.
|
|
58
|
+
vike: "^0.4.167",
|
|
59
59
|
"vike-authjs": "^0.1.5",
|
|
60
|
-
vite: "^5.
|
|
60
|
+
vite: "^5.2.6"
|
|
61
61
|
},
|
|
62
62
|
dependencies: {
|
|
63
63
|
"@batijs/core": "workspace:*"
|
|
@@ -54,9 +54,9 @@ var require_package = __commonJS({
|
|
|
54
54
|
"serve-static": "^1.15.0",
|
|
55
55
|
telefunc: "^0.1.71",
|
|
56
56
|
tsx: "^4.7.1",
|
|
57
|
-
vike: "^0.4.
|
|
57
|
+
vike: "^0.4.167",
|
|
58
58
|
"vike-authjs": "^0.1.5",
|
|
59
|
-
vite: "^5.
|
|
59
|
+
vite: "^5.2.6"
|
|
60
60
|
},
|
|
61
61
|
dependencies: {
|
|
62
62
|
"@batijs/core": "workspace:*"
|
|
@@ -52,9 +52,9 @@ var require_package = __commonJS({
|
|
|
52
52
|
"@types/node": "^18.19.14",
|
|
53
53
|
hattip: "^0.0.33",
|
|
54
54
|
telefunc: "^0.1.71",
|
|
55
|
-
vike: "^0.4.
|
|
55
|
+
vike: "^0.4.167",
|
|
56
56
|
"vike-authjs": "^0.1.5",
|
|
57
|
-
vite: "^5.
|
|
57
|
+
vite: "^5.2.6"
|
|
58
58
|
},
|
|
59
59
|
dependencies: {
|
|
60
60
|
"@batijs/core": "workspace:*"
|
|
@@ -41,12 +41,12 @@ var require_package = __commonJS({
|
|
|
41
41
|
author: "",
|
|
42
42
|
license: "MIT",
|
|
43
43
|
devDependencies: {
|
|
44
|
-
"@babel/core": "^7.24.
|
|
45
|
-
"@babel/plugin-syntax-flow": "^7.
|
|
44
|
+
"@babel/core": "^7.24.3",
|
|
45
|
+
"@babel/plugin-syntax-flow": "^7.24.1",
|
|
46
46
|
"@babel/plugin-transform-react-jsx": "^7.23.4",
|
|
47
47
|
"@batijs/compile": "workspace:*",
|
|
48
48
|
"@types/node": "^18.19.14",
|
|
49
|
-
"@types/react": "^18.2.
|
|
49
|
+
"@types/react": "^18.2.69",
|
|
50
50
|
"@types/react-dom": "^18.2.22",
|
|
51
51
|
"@vitejs/plugin-react": "^4.2.1",
|
|
52
52
|
"cross-fetch": "^4.0.0",
|
|
@@ -54,10 +54,10 @@ var require_package = __commonJS({
|
|
|
54
54
|
react: "^18.2.0",
|
|
55
55
|
"react-dom": "^18.2.0",
|
|
56
56
|
tailwindcss: "^3.4.1",
|
|
57
|
-
typescript: "^5.4.
|
|
58
|
-
vike: "^0.4.
|
|
57
|
+
typescript: "^5.4.3",
|
|
58
|
+
vike: "^0.4.167",
|
|
59
59
|
"vike-react": "^0.4.6",
|
|
60
|
-
vite: "^5.
|
|
60
|
+
vite: "^5.2.6"
|
|
61
61
|
},
|
|
62
62
|
dependencies: {
|
|
63
63
|
"@batijs/core": "workspace:*"
|
|
@@ -3,7 +3,7 @@ import { loadReadme } from "@batijs/core";
|
|
|
3
3
|
async function getReadme(props) {
|
|
4
4
|
const content = await loadReadme(props);
|
|
5
5
|
const flags = Array.from(props.meta.BATI).map((f) => `--${f}`).join(" ");
|
|
6
|
-
const intro = `This app has been created with [Bati](https://batijs.
|
|
6
|
+
const intro = `This app has been created with [Bati](https://batijs.dev) using the following flags: \`${flags}\``;
|
|
7
7
|
content.addIntro(intro);
|
|
8
8
|
return content.finalize();
|
|
9
9
|
}
|
|
@@ -44,13 +44,13 @@ var require_package = __commonJS({
|
|
|
44
44
|
"@batijs/compile": "workspace:*",
|
|
45
45
|
"@types/node": "^18.19.14",
|
|
46
46
|
"cross-fetch": "^4.0.0",
|
|
47
|
-
"eslint-plugin-solid": "^0.13.
|
|
48
|
-
"solid-js": "^1.8.
|
|
47
|
+
"eslint-plugin-solid": "^0.13.2",
|
|
48
|
+
"solid-js": "^1.8.16",
|
|
49
49
|
tailwindcss: "^3.4.1",
|
|
50
|
-
typescript: "^5.4.
|
|
51
|
-
vike: "^0.4.
|
|
50
|
+
typescript: "^5.4.3",
|
|
51
|
+
vike: "^0.4.167",
|
|
52
52
|
"vike-solid": "^0.4.2",
|
|
53
|
-
vite: "^5.
|
|
53
|
+
vite: "^5.2.6",
|
|
54
54
|
"vite-plugin-solid": "^2.10.2"
|
|
55
55
|
},
|
|
56
56
|
dependencies: {
|
|
@@ -43,12 +43,12 @@ var require_package = __commonJS({
|
|
|
43
43
|
devDependencies: {
|
|
44
44
|
"@batijs/compile": "workspace:*",
|
|
45
45
|
"@types/node": "^18.19.14",
|
|
46
|
-
autoprefixer: "^10.4.
|
|
47
|
-
daisyui: "^4.
|
|
48
|
-
postcss: "^8.4.
|
|
46
|
+
autoprefixer: "^10.4.19",
|
|
47
|
+
daisyui: "^4.8.0",
|
|
48
|
+
postcss: "^8.4.38",
|
|
49
49
|
tailwindcss: "^3.4.1",
|
|
50
|
-
vike: "^0.4.
|
|
51
|
-
vite: "^5.
|
|
50
|
+
vike: "^0.4.167",
|
|
51
|
+
vite: "^5.2.6"
|
|
52
52
|
},
|
|
53
53
|
dependencies: {
|
|
54
54
|
"@batijs/core": "workspace:*"
|
|
@@ -44,8 +44,8 @@ var require_package = __commonJS({
|
|
|
44
44
|
"@batijs/compile": "workspace:*",
|
|
45
45
|
"@types/node": "^18.19.14",
|
|
46
46
|
telefunc: "^0.1.71",
|
|
47
|
-
vike: "^0.4.
|
|
48
|
-
vite: "^5.
|
|
47
|
+
vike: "^0.4.167",
|
|
48
|
+
vite: "^5.2.6"
|
|
49
49
|
},
|
|
50
50
|
dependencies: {
|
|
51
51
|
"@batijs/core": "workspace:*"
|
|
@@ -1,72 +1,38 @@
|
|
|
1
|
-
export declare const trpc:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
}>, {
|
|
40
|
-
demo: import("@trpc/server").BuildProcedure<"query", {
|
|
41
|
-
_config: import("@trpc/server").RootConfig<{
|
|
42
|
-
ctx: object;
|
|
43
|
-
meta: object;
|
|
44
|
-
errorShape: import("@trpc/server").DefaultErrorShape;
|
|
45
|
-
transformer: import("@trpc/server").DefaultDataTransformer;
|
|
46
|
-
}>;
|
|
47
|
-
_ctx_out: object;
|
|
48
|
-
_input_in: typeof import("@trpc/server").unsetMarker;
|
|
49
|
-
_input_out: typeof import("@trpc/server").unsetMarker;
|
|
50
|
-
_output_in: typeof import("@trpc/server").unsetMarker;
|
|
51
|
-
_output_out: typeof import("@trpc/server").unsetMarker;
|
|
52
|
-
_meta: object;
|
|
53
|
-
}, {
|
|
54
|
-
demo: boolean;
|
|
55
|
-
}>;
|
|
56
|
-
onNewTodo: import("@trpc/server").BuildProcedure<"mutation", {
|
|
57
|
-
_config: import("@trpc/server").RootConfig<{
|
|
58
|
-
ctx: object;
|
|
59
|
-
meta: object;
|
|
60
|
-
errorShape: import("@trpc/server").DefaultErrorShape;
|
|
61
|
-
transformer: import("@trpc/server").DefaultDataTransformer;
|
|
62
|
-
}>;
|
|
63
|
-
_meta: object;
|
|
64
|
-
_ctx_out: object;
|
|
65
|
-
_input_in: string;
|
|
66
|
-
_input_out: string;
|
|
67
|
-
_output_in: typeof import("@trpc/server").unsetMarker;
|
|
68
|
-
_output_out: typeof import("@trpc/server").unsetMarker;
|
|
69
|
-
}, {
|
|
70
|
-
todoItems: import("@batijs/shared-db/database/todoItems").TodoItem[];
|
|
71
|
-
}>;
|
|
72
|
-
}>;
|
|
1
|
+
export declare const trpc: {
|
|
2
|
+
demo: {
|
|
3
|
+
query: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"query", {
|
|
4
|
+
_config: import("@trpc/server").RootConfig<{
|
|
5
|
+
ctx: object;
|
|
6
|
+
meta: object;
|
|
7
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
|
8
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
|
9
|
+
}>;
|
|
10
|
+
_ctx_out: object;
|
|
11
|
+
_input_in: typeof import("@trpc/server").unsetMarker;
|
|
12
|
+
_input_out: typeof import("@trpc/server").unsetMarker;
|
|
13
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
|
14
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
|
15
|
+
_meta: object;
|
|
16
|
+
}, {
|
|
17
|
+
demo: boolean;
|
|
18
|
+
}>>;
|
|
19
|
+
};
|
|
20
|
+
onNewTodo: {
|
|
21
|
+
mutate: import("@trpc/client").Resolver<import("@trpc/server").BuildProcedure<"mutation", {
|
|
22
|
+
_config: import("@trpc/server").RootConfig<{
|
|
23
|
+
ctx: object;
|
|
24
|
+
meta: object;
|
|
25
|
+
errorShape: import("@trpc/server").DefaultErrorShape;
|
|
26
|
+
transformer: import("@trpc/server").DefaultDataTransformer;
|
|
27
|
+
}>;
|
|
28
|
+
_meta: object;
|
|
29
|
+
_ctx_out: object;
|
|
30
|
+
_input_in: string;
|
|
31
|
+
_input_out: string;
|
|
32
|
+
_output_in: typeof import("@trpc/server").unsetMarker;
|
|
33
|
+
_output_out: typeof import("@trpc/server").unsetMarker;
|
|
34
|
+
}, {
|
|
35
|
+
todoItems: import("@batijs/shared-db/database/todoItems").TodoItem[];
|
|
36
|
+
}>>;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -44,8 +44,8 @@ var require_package = __commonJS({
|
|
|
44
44
|
"@batijs/compile": "workspace:*",
|
|
45
45
|
"@types/node": "^18.19.14",
|
|
46
46
|
"@vite-plugin-vercel/vike": "^4.0.2",
|
|
47
|
-
vike: "^0.4.
|
|
48
|
-
vite: "^5.
|
|
47
|
+
vike: "^0.4.167",
|
|
48
|
+
vite: "^5.2.6",
|
|
49
49
|
"vite-plugin-vercel": "^4.0.2"
|
|
50
50
|
},
|
|
51
51
|
dependencies: {
|
|
@@ -49,11 +49,11 @@ var require_package = __commonJS({
|
|
|
49
49
|
"cross-fetch": "^4.0.0",
|
|
50
50
|
"eslint-plugin-vue": "^9.23.0",
|
|
51
51
|
tailwindcss: "^3.4.1",
|
|
52
|
-
typescript: "^5.4.
|
|
52
|
+
typescript: "^5.4.3",
|
|
53
53
|
"unplugin-vue-markdown": "^0.26.0",
|
|
54
|
-
vike: "^0.4.
|
|
54
|
+
vike: "^0.4.167",
|
|
55
55
|
"vike-vue": "^0.6.3",
|
|
56
|
-
vite: "^5.
|
|
56
|
+
vite: "^5.2.6",
|
|
57
57
|
vue: "^3.4.21",
|
|
58
58
|
"vue-gtag": "^2.0.1"
|
|
59
59
|
},
|
package/dist/index.js
CHANGED
|
@@ -589,7 +589,7 @@ Please report this issue to https://github.com/magne4000/bati`
|
|
|
589
589
|
// package.json
|
|
590
590
|
var package_default = {
|
|
591
591
|
name: "@batijs/cli",
|
|
592
|
-
version: "0.0.
|
|
592
|
+
version: "0.0.168",
|
|
593
593
|
type: "module",
|
|
594
594
|
scripts: {
|
|
595
595
|
"check-types": "tsc --noEmit",
|
|
@@ -614,8 +614,8 @@ var package_default = {
|
|
|
614
614
|
rimraf: "^5.0.5",
|
|
615
615
|
sift: "^17.0.1",
|
|
616
616
|
tsup: "^8.0.2",
|
|
617
|
-
typescript: "^5.4.
|
|
618
|
-
vite: "^5.
|
|
617
|
+
typescript: "^5.4.3",
|
|
618
|
+
vite: "^5.2.6"
|
|
619
619
|
},
|
|
620
620
|
dependencies: {
|
|
621
621
|
"@batijs/core": "workspace:*",
|
|
@@ -772,7 +772,7 @@ var rulesMessages = {
|
|
|
772
772
|
[RulesMessage.ERROR_AUTH_R_SERVER]: error(
|
|
773
773
|
`A ${inverse(bold("Server"))} is required when using ${inverse(
|
|
774
774
|
bold("Auth")
|
|
775
|
-
)}. Check https://vite-plugin-ssr.com/integration#server-side-tools for details and https://batijs.
|
|
775
|
+
)}. Check https://vite-plugin-ssr.com/integration#server-side-tools for details and https://batijs.dev for available servers`
|
|
776
776
|
),
|
|
777
777
|
[RulesMessage.ERROR_COMPILED_R_REACT]: error(
|
|
778
778
|
`${inverse(bold("React"))} is required when using ${inverse(bold("Compiled"))}.`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@batijs/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.168",
|
|
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",
|
|
@@ -17,14 +17,14 @@
|
|
|
17
17
|
"rimraf": "^5.0.5",
|
|
18
18
|
"sift": "^17.0.1",
|
|
19
19
|
"tsup": "^8.0.2",
|
|
20
|
-
"typescript": "^5.4.
|
|
21
|
-
"vite": "^5.
|
|
22
|
-
"@batijs/compile": "0.0.
|
|
23
|
-
"@batijs/build": "0.0.
|
|
20
|
+
"typescript": "^5.4.3",
|
|
21
|
+
"vite": "^5.2.6",
|
|
22
|
+
"@batijs/compile": "0.0.168",
|
|
23
|
+
"@batijs/build": "0.0.168"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@batijs/core": "0.0.
|
|
27
|
-
"@batijs/features": "0.0.
|
|
26
|
+
"@batijs/core": "0.0.168",
|
|
27
|
+
"@batijs/features": "0.0.168"
|
|
28
28
|
},
|
|
29
29
|
"bin": "./dist/index.js",
|
|
30
30
|
"exports": {
|