@batijs/cli 0.0.238 → 0.0.240
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/cloudflare/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/drizzle/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/edgedb/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 +1 -1
- package/dist/boilerplates/@batijs/fastify/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.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/react/files/$README.md.js +2 -2
- package/dist/boilerplates/@batijs/react/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/react/types/pages/+config.d.ts +30 -1
- package/dist/boilerplates/@batijs/solid/files/$README.md.js +2 -2
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/ts-rest/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/vue/files/$README.md.js +2 -2
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +4 -4
- package/dist/index.js +4 -4
- package/package.json +6 -6
|
@@ -45,9 +45,9 @@ var require_package = __commonJS({
|
|
|
45
45
|
"@types/better-sqlite3": "^7.6.11",
|
|
46
46
|
"@types/node": "^18.19.14",
|
|
47
47
|
"better-sqlite3": "^11.1.2",
|
|
48
|
-
"drizzle-kit": "^0.23.
|
|
49
|
-
"drizzle-orm": "^0.32.
|
|
50
|
-
tsx: "^4.16.
|
|
48
|
+
"drizzle-kit": "^0.23.2",
|
|
49
|
+
"drizzle-orm": "^0.32.2",
|
|
50
|
+
tsx: "^4.16.5"
|
|
51
51
|
},
|
|
52
52
|
dependencies: {
|
|
53
53
|
"@batijs/core": "workspace:*"
|
|
@@ -49,8 +49,8 @@ var require_package = __commonJS({
|
|
|
49
49
|
"eslint-plugin-react": "^7.35.0",
|
|
50
50
|
"eslint-plugin-solid": "^0.14.1",
|
|
51
51
|
"eslint-plugin-vue": "^9.27.0",
|
|
52
|
-
globals: "^15.
|
|
53
|
-
"typescript-eslint": "^
|
|
52
|
+
globals: "^15.9.0",
|
|
53
|
+
"typescript-eslint": "^8.0.1",
|
|
54
54
|
"vue-eslint-parser": "^9.4.3"
|
|
55
55
|
},
|
|
56
56
|
dependencies: {
|
|
@@ -10,8 +10,8 @@ This app is ready to start. It's powered by [Vike](https://vike.dev) and [React]
|
|
|
10
10
|
|
|
11
11
|
Such \`+\` files are [the interface](https://vike.dev/config) between Vike and your code. It defines:
|
|
12
12
|
- A default [\`<Layout>\` component](https://vike.dev/Layout) (that wraps your [\`<Page>\` components](https://vike.dev/Page)).
|
|
13
|
-
- A default [\`title\`](https://vike.dev/
|
|
14
|
-
-
|
|
13
|
+
- A default [\`title\`](https://vike.dev/title).
|
|
14
|
+
- Global [\`<head>\` tags](https://vike.dev/head-tags).
|
|
15
15
|
|
|
16
16
|
### Routing
|
|
17
17
|
|
|
@@ -41,9 +41,9 @@ var require_package = __commonJS({
|
|
|
41
41
|
author: "",
|
|
42
42
|
license: "MIT",
|
|
43
43
|
devDependencies: {
|
|
44
|
-
"@babel/core": "^7.
|
|
44
|
+
"@babel/core": "^7.25.2",
|
|
45
45
|
"@babel/plugin-syntax-flow": "^7.24.7",
|
|
46
|
-
"@babel/plugin-transform-react-jsx": "^7.
|
|
46
|
+
"@babel/plugin-transform-react-jsx": "^7.25.2",
|
|
47
47
|
"@batijs/compile": "workspace:^",
|
|
48
48
|
"@batijs/drizzle": "workspace:^",
|
|
49
49
|
"@batijs/shared-todo": "workspace:^",
|
|
@@ -60,7 +60,7 @@ var require_package = __commonJS({
|
|
|
60
60
|
tailwindcss: "^3.4.7",
|
|
61
61
|
typescript: "^5.5.4",
|
|
62
62
|
vike: "^0.4.182",
|
|
63
|
-
"vike-react": "^0.
|
|
63
|
+
"vike-react": "^0.5.0",
|
|
64
64
|
vite: "^5.3.5",
|
|
65
65
|
"vite-plugin-compiled-react": "^1.1.3"
|
|
66
66
|
},
|
|
@@ -35,11 +35,26 @@ declare const _default: {
|
|
|
35
35
|
client: true;
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
|
+
description: {
|
|
39
|
+
env: {
|
|
40
|
+
server: true;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
image: {
|
|
44
|
+
env: {
|
|
45
|
+
server: true;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
viewport: {
|
|
49
|
+
env: {
|
|
50
|
+
server: true;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
38
53
|
favicon: {
|
|
39
54
|
env: {
|
|
40
55
|
server: true;
|
|
41
|
-
client: true;
|
|
42
56
|
};
|
|
57
|
+
global: true;
|
|
43
58
|
};
|
|
44
59
|
lang: {
|
|
45
60
|
env: {
|
|
@@ -47,6 +62,20 @@ declare const _default: {
|
|
|
47
62
|
client: true;
|
|
48
63
|
};
|
|
49
64
|
};
|
|
65
|
+
htmlAttributes: {
|
|
66
|
+
env: {
|
|
67
|
+
server: true;
|
|
68
|
+
};
|
|
69
|
+
global: true;
|
|
70
|
+
cumulative: true;
|
|
71
|
+
};
|
|
72
|
+
bodyAttributes: {
|
|
73
|
+
env: {
|
|
74
|
+
server: true;
|
|
75
|
+
};
|
|
76
|
+
global: true;
|
|
77
|
+
cumulative: true;
|
|
78
|
+
};
|
|
50
79
|
ssr: {
|
|
51
80
|
env: {
|
|
52
81
|
config: true;
|
|
@@ -10,8 +10,8 @@ This app is ready to start. It's powered by [Vike](https://vike.dev) and [SolidJ
|
|
|
10
10
|
|
|
11
11
|
Such \`+\` files are [the interface](https://vike.dev/config) between Vike and your code. It defines:
|
|
12
12
|
- A default [\`<Layout>\` component](https://vike.dev/Layout) (that wraps your [\`<Page>\` components](https://vike.dev/Page)).
|
|
13
|
-
- A default [\`title\`](https://vike.dev/
|
|
14
|
-
-
|
|
13
|
+
- A default [\`title\`](https://vike.dev/title).
|
|
14
|
+
- Global [\`<head>\` tags](https://vike.dev/head-tags).
|
|
15
15
|
|
|
16
16
|
### Routing
|
|
17
17
|
|
|
@@ -43,9 +43,9 @@ var require_package = __commonJS({
|
|
|
43
43
|
devDependencies: {
|
|
44
44
|
"@batijs/compile": "workspace:*",
|
|
45
45
|
"@types/node": "^18.19.14",
|
|
46
|
-
autoprefixer: "^10.4.
|
|
46
|
+
autoprefixer: "^10.4.20",
|
|
47
47
|
daisyui: "^4.12.10",
|
|
48
|
-
postcss: "^8.4.
|
|
48
|
+
postcss: "^8.4.41",
|
|
49
49
|
tailwindcss: "^3.4.7",
|
|
50
50
|
vike: "^0.4.182",
|
|
51
51
|
vite: "^5.3.5"
|
|
@@ -44,8 +44,8 @@ var require_package = __commonJS({
|
|
|
44
44
|
"@batijs/compile": "workspace:*",
|
|
45
45
|
"@batijs/drizzle": "workspace:*",
|
|
46
46
|
"@batijs/shared-no-db": "workspace:*",
|
|
47
|
-
"@ts-rest/core": "^3.
|
|
48
|
-
"@ts-rest/serverless": "^3.
|
|
47
|
+
"@ts-rest/core": "^3.49.3",
|
|
48
|
+
"@ts-rest/serverless": "^3.49.3",
|
|
49
49
|
"@types/node": "^18.19.14"
|
|
50
50
|
},
|
|
51
51
|
dependencies: {
|
|
@@ -10,8 +10,8 @@ This app is ready to start. It's powered by [Vike](https://vike.dev) and [Vue](h
|
|
|
10
10
|
|
|
11
11
|
Such \`+\` files are [the interface](https://vike.dev/config) between Vike and your code. It defines:
|
|
12
12
|
- A default [\`<Layout>\` component](https://vike.dev/Layout) (that wraps your [\`<Page>\` components](https://vike.dev/Page)).
|
|
13
|
-
- A default [\`title\`](https://vike.dev/
|
|
14
|
-
-
|
|
13
|
+
- A default [\`title\`](https://vike.dev/title).
|
|
14
|
+
- Global [\`<head>\` tags](https://vike.dev/head-tags).
|
|
15
15
|
|
|
16
16
|
### Routing
|
|
17
17
|
|
|
@@ -48,9 +48,9 @@ var require_package = __commonJS({
|
|
|
48
48
|
"@batijs/trpc": "workspace:^",
|
|
49
49
|
"@batijs/ts-rest": "workspace:*",
|
|
50
50
|
"@types/node": "^18.19.14",
|
|
51
|
-
"@vitejs/plugin-vue": "^5.1.
|
|
52
|
-
"@vue/compiler-sfc": "^3.4.
|
|
53
|
-
"@vue/server-renderer": "^3.4.
|
|
51
|
+
"@vitejs/plugin-vue": "^5.1.2",
|
|
52
|
+
"@vue/compiler-sfc": "^3.4.35",
|
|
53
|
+
"@vue/server-renderer": "^3.4.35",
|
|
54
54
|
"cross-fetch": "^4.0.0",
|
|
55
55
|
tailwindcss: "^3.4.7",
|
|
56
56
|
typescript: "^5.5.4",
|
|
@@ -58,7 +58,7 @@ var require_package = __commonJS({
|
|
|
58
58
|
vike: "^0.4.182",
|
|
59
59
|
"vike-vue": "^0.7.6",
|
|
60
60
|
vite: "^5.3.5",
|
|
61
|
-
vue: "^3.4.
|
|
61
|
+
vue: "^3.4.35",
|
|
62
62
|
"vue-gtag": "^2.0.1"
|
|
63
63
|
},
|
|
64
64
|
dependencies: {
|
package/dist/index.js
CHANGED
|
@@ -1591,7 +1591,7 @@ var createDefaultQueryTester = function(query, options) {
|
|
|
1591
1591
|
// package.json
|
|
1592
1592
|
var package_default = {
|
|
1593
1593
|
name: "@batijs/cli",
|
|
1594
|
-
version: "0.0.
|
|
1594
|
+
version: "0.0.240",
|
|
1595
1595
|
type: "module",
|
|
1596
1596
|
scripts: {
|
|
1597
1597
|
"check-types": "tsc --noEmit",
|
|
@@ -1615,7 +1615,7 @@ var package_default = {
|
|
|
1615
1615
|
execa: "^9.3.0",
|
|
1616
1616
|
rimraf: "^6.0.1",
|
|
1617
1617
|
sift: "^17.1.3",
|
|
1618
|
-
tsup: "^8.2.
|
|
1618
|
+
tsup: "^8.2.4",
|
|
1619
1619
|
typescript: "^5.5.4",
|
|
1620
1620
|
"unplugin-purge-polyfills": "^0.0.4",
|
|
1621
1621
|
vite: "^5.3.5"
|
|
@@ -1805,7 +1805,7 @@ async function checkArguments(args) {
|
|
|
1805
1805
|
}
|
|
1806
1806
|
try {
|
|
1807
1807
|
await access(args.project, constants.W_OK);
|
|
1808
|
-
} catch
|
|
1808
|
+
} catch {
|
|
1809
1809
|
console.error(
|
|
1810
1810
|
`${yellow("\u26A0")} Target folder ${cyan(args.project)} already exists but is not writable. ${yellow(
|
|
1811
1811
|
"Aborting"
|
|
@@ -1903,7 +1903,7 @@ function gitInit(cwd) {
|
|
|
1903
1903
|
].join(" "),
|
|
1904
1904
|
{ cwd, stdio: "ignore" }
|
|
1905
1905
|
);
|
|
1906
|
-
} catch
|
|
1906
|
+
} catch {
|
|
1907
1907
|
try {
|
|
1908
1908
|
rmSync(join(cwd, ".git"), { recursive: true, force: true });
|
|
1909
1909
|
} catch {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@batijs/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.240",
|
|
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",
|
|
@@ -16,16 +16,16 @@
|
|
|
16
16
|
"execa": "^9.3.0",
|
|
17
17
|
"rimraf": "^6.0.1",
|
|
18
18
|
"sift": "^17.1.3",
|
|
19
|
-
"tsup": "^8.2.
|
|
19
|
+
"tsup": "^8.2.4",
|
|
20
20
|
"typescript": "^5.5.4",
|
|
21
21
|
"unplugin-purge-polyfills": "^0.0.4",
|
|
22
22
|
"vite": "^5.3.5",
|
|
23
|
-
"@batijs/build": "0.0.
|
|
24
|
-
"@batijs/compile": "0.0.
|
|
23
|
+
"@batijs/build": "0.0.240",
|
|
24
|
+
"@batijs/compile": "0.0.240"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@batijs/
|
|
28
|
-
"@batijs/
|
|
27
|
+
"@batijs/features": "0.0.240",
|
|
28
|
+
"@batijs/core": "0.0.240"
|
|
29
29
|
},
|
|
30
30
|
"bin": "./dist/index.js",
|
|
31
31
|
"exports": {
|