@batijs/cli 0.0.172 → 0.0.173
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/compiled/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/edgedb/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/express/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/firebase-auth/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/h3/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/hattip/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/prisma/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/react/files/$package.json.js +4 -4
- package/dist/boilerplates/@batijs/shared/files/package.json +2 -2
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/tailwindcss/files/$package.json.js +2 -2
- package/dist/boilerplates/@batijs/telefunc/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/trpc/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/vercel/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +3 -3
- package/dist/index.js +17 -13
- package/package.json +8 -8
|
@@ -43,12 +43,12 @@ var require_package = __commonJS({
|
|
|
43
43
|
devDependencies: {
|
|
44
44
|
"@batijs/compile": "workspace:*",
|
|
45
45
|
"@types/node": "^18.19.14",
|
|
46
|
-
vite: "^5.2.
|
|
46
|
+
vite: "^5.2.8",
|
|
47
47
|
"vite-plugin-compiled-react": "^1.1.3"
|
|
48
48
|
},
|
|
49
49
|
dependencies: {
|
|
50
50
|
"@batijs/core": "workspace:*",
|
|
51
|
-
"@compiled/react": "^0.17.
|
|
51
|
+
"@compiled/react": "^0.17.1"
|
|
52
52
|
},
|
|
53
53
|
files: [
|
|
54
54
|
"dist/"
|
|
@@ -43,7 +43,7 @@ var require_package = __commonJS({
|
|
|
43
43
|
devDependencies: {
|
|
44
44
|
"@batijs/compile": "workspace:*",
|
|
45
45
|
"@edgedb/generate": "^0.4.1",
|
|
46
|
-
"@prisma/client": "^5.12.
|
|
46
|
+
"@prisma/client": "^5.12.1",
|
|
47
47
|
"@types/node": "^18.19.14",
|
|
48
48
|
colorette: "^2.0.20",
|
|
49
49
|
edgedb: "^1.4.1"
|
|
@@ -54,10 +54,10 @@ var require_package = __commonJS({
|
|
|
54
54
|
express: "^4.19.2",
|
|
55
55
|
"firebase-admin": "^12.0.0",
|
|
56
56
|
telefunc: "^0.1.71",
|
|
57
|
-
tsx: "^4.7.
|
|
57
|
+
tsx: "^4.7.2",
|
|
58
58
|
vike: "^0.4.168",
|
|
59
59
|
"vike-authjs": "^0.1.5",
|
|
60
|
-
vite: "^5.2.
|
|
60
|
+
vite: "^5.2.8"
|
|
61
61
|
},
|
|
62
62
|
dependencies: {
|
|
63
63
|
"@batijs/core": "workspace:*"
|
|
@@ -48,15 +48,15 @@ var require_package = __commonJS({
|
|
|
48
48
|
"@hattip/polyfills": "^0.0.45",
|
|
49
49
|
"@trpc/server": "^10.45.2",
|
|
50
50
|
"@types/node": "^18.19.14",
|
|
51
|
-
"@types/serve-static": "^1.15.
|
|
51
|
+
"@types/serve-static": "^1.15.7",
|
|
52
52
|
"firebase-admin": "^12.0.0",
|
|
53
53
|
h3: "~1.11.1",
|
|
54
54
|
"serve-static": "^1.15.0",
|
|
55
55
|
telefunc: "^0.1.71",
|
|
56
|
-
tsx: "^4.7.
|
|
56
|
+
tsx: "^4.7.2",
|
|
57
57
|
vike: "^0.4.168",
|
|
58
58
|
"vike-authjs": "^0.1.5",
|
|
59
|
-
vite: "^5.2.
|
|
59
|
+
vite: "^5.2.8"
|
|
60
60
|
},
|
|
61
61
|
dependencies: {
|
|
62
62
|
"@batijs/core": "workspace:*"
|
|
@@ -42,10 +42,10 @@ var require_package = __commonJS({
|
|
|
42
42
|
license: "MIT",
|
|
43
43
|
devDependencies: {
|
|
44
44
|
"@batijs/compile": "workspace:*",
|
|
45
|
-
"@prisma/client": "^5.12.
|
|
45
|
+
"@prisma/client": "^5.12.1",
|
|
46
46
|
"@types/node": "^18.19.14",
|
|
47
47
|
colorette: "^2.0.20",
|
|
48
|
-
prisma: "^5.12.
|
|
48
|
+
prisma: "^5.12.1"
|
|
49
49
|
},
|
|
50
50
|
dependencies: {
|
|
51
51
|
"@batijs/core": "workspace:*"
|
|
@@ -41,23 +41,23 @@ var require_package = __commonJS({
|
|
|
41
41
|
author: "",
|
|
42
42
|
license: "MIT",
|
|
43
43
|
devDependencies: {
|
|
44
|
-
"@babel/core": "^7.24.
|
|
44
|
+
"@babel/core": "^7.24.4",
|
|
45
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
49
|
"@types/react": "^18.2.74",
|
|
50
|
-
"@types/react-dom": "^18.2.
|
|
50
|
+
"@types/react-dom": "^18.2.24",
|
|
51
51
|
"@vitejs/plugin-react": "^4.2.1",
|
|
52
52
|
"cross-fetch": "^4.0.0",
|
|
53
53
|
"eslint-plugin-react": "^7.34.1",
|
|
54
54
|
react: "^18.2.0",
|
|
55
55
|
"react-dom": "^18.2.0",
|
|
56
56
|
tailwindcss: "^3.4.3",
|
|
57
|
-
typescript: "^5.4.
|
|
57
|
+
typescript: "^5.4.4",
|
|
58
58
|
vike: "^0.4.168",
|
|
59
59
|
"vike-react": "^0.4.6",
|
|
60
|
-
vite: "^5.2.
|
|
60
|
+
vite: "^5.2.8"
|
|
61
61
|
},
|
|
62
62
|
dependencies: {
|
|
63
63
|
"@batijs/core": "workspace:*"
|
|
@@ -47,10 +47,10 @@ var require_package = __commonJS({
|
|
|
47
47
|
"eslint-plugin-solid": "^0.13.2",
|
|
48
48
|
"solid-js": "^1.8.16",
|
|
49
49
|
tailwindcss: "^3.4.3",
|
|
50
|
-
typescript: "^5.4.
|
|
50
|
+
typescript: "^5.4.4",
|
|
51
51
|
vike: "^0.4.168",
|
|
52
|
-
"vike-solid": "^0.4.
|
|
53
|
-
vite: "^5.2.
|
|
52
|
+
"vike-solid": "^0.4.3",
|
|
53
|
+
vite: "^5.2.8",
|
|
54
54
|
"vite-plugin-solid": "^2.10.2"
|
|
55
55
|
},
|
|
56
56
|
dependencies: {
|
|
@@ -44,11 +44,11 @@ var require_package = __commonJS({
|
|
|
44
44
|
"@batijs/compile": "workspace:*",
|
|
45
45
|
"@types/node": "^18.19.14",
|
|
46
46
|
autoprefixer: "^10.4.19",
|
|
47
|
-
daisyui: "^4.
|
|
47
|
+
daisyui: "^4.10.1",
|
|
48
48
|
postcss: "^8.4.38",
|
|
49
49
|
tailwindcss: "^3.4.3",
|
|
50
50
|
vike: "^0.4.168",
|
|
51
|
-
vite: "^5.2.
|
|
51
|
+
vite: "^5.2.8"
|
|
52
52
|
},
|
|
53
53
|
dependencies: {
|
|
54
54
|
"@batijs/core": "workspace:*"
|
|
@@ -43,10 +43,10 @@ var require_package = __commonJS({
|
|
|
43
43
|
devDependencies: {
|
|
44
44
|
"@batijs/compile": "workspace:*",
|
|
45
45
|
"@types/node": "^18.19.14",
|
|
46
|
-
"@vite-plugin-vercel/vike": "^5.0.
|
|
46
|
+
"@vite-plugin-vercel/vike": "^5.0.3",
|
|
47
47
|
vike: "^0.4.168",
|
|
48
|
-
vite: "^5.2.
|
|
49
|
-
"vite-plugin-vercel": "^5.0.
|
|
48
|
+
vite: "^5.2.8",
|
|
49
|
+
"vite-plugin-vercel": "^5.0.5"
|
|
50
50
|
},
|
|
51
51
|
dependencies: {
|
|
52
52
|
"@batijs/core": "workspace:*"
|
|
@@ -47,13 +47,13 @@ var require_package = __commonJS({
|
|
|
47
47
|
"@vue/compiler-sfc": "^3.4.21",
|
|
48
48
|
"@vue/server-renderer": "^3.4.21",
|
|
49
49
|
"cross-fetch": "^4.0.0",
|
|
50
|
-
"eslint-plugin-vue": "^9.24.
|
|
50
|
+
"eslint-plugin-vue": "^9.24.1",
|
|
51
51
|
tailwindcss: "^3.4.3",
|
|
52
|
-
typescript: "^5.4.
|
|
52
|
+
typescript: "^5.4.4",
|
|
53
53
|
"unplugin-vue-markdown": "^0.26.0",
|
|
54
54
|
vike: "^0.4.168",
|
|
55
55
|
"vike-vue": "^0.6.3",
|
|
56
|
-
vite: "^5.2.
|
|
56
|
+
vite: "^5.2.8",
|
|
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.173",
|
|
593
593
|
type: "module",
|
|
594
594
|
scripts: {
|
|
595
595
|
"check-types": "tsc --noEmit",
|
|
@@ -612,10 +612,10 @@ var package_default = {
|
|
|
612
612
|
esbuild: "^0.20.2",
|
|
613
613
|
execa: "^8.0.1",
|
|
614
614
|
rimraf: "^5.0.5",
|
|
615
|
-
sift: "^17.0
|
|
615
|
+
sift: "^17.1.0",
|
|
616
616
|
tsup: "^8.0.2",
|
|
617
|
-
typescript: "^5.4.
|
|
618
|
-
vite: "^5.2.
|
|
617
|
+
typescript: "^5.4.4",
|
|
618
|
+
vite: "^5.2.8"
|
|
619
619
|
},
|
|
620
620
|
dependencies: {
|
|
621
621
|
"@batijs/core": "workspace:*",
|
|
@@ -780,7 +780,7 @@ var rulesMessages = {
|
|
|
780
780
|
[RulesMessage.INFO_HATTIP]: info(`${inverse(bold("HatTip"))} is an experimental project`)
|
|
781
781
|
};
|
|
782
782
|
|
|
783
|
-
// ../../node_modules/.pnpm/sift@17.0
|
|
783
|
+
// ../../node_modules/.pnpm/sift@17.1.0/node_modules/sift/es5m/index.js
|
|
784
784
|
var extendStatics = function(d, b) {
|
|
785
785
|
extendStatics = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(d2, b2) {
|
|
786
786
|
d2.__proto__ = b2;
|
|
@@ -869,7 +869,7 @@ var walkKeyPathValues = function(item, keyPath, next, depth, key, owner) {
|
|
|
869
869
|
}
|
|
870
870
|
}
|
|
871
871
|
if (depth === keyPath.length || item == null) {
|
|
872
|
-
return next(item, key, owner, depth === 0);
|
|
872
|
+
return next(item, key, owner, depth === 0, depth === keyPath.length);
|
|
873
873
|
}
|
|
874
874
|
return walkKeyPathValues(item[currentKey], keyPath, next, depth + 1, currentKey, item);
|
|
875
875
|
};
|
|
@@ -908,13 +908,13 @@ var GroupOperation = (
|
|
|
908
908
|
this.children[i].reset();
|
|
909
909
|
}
|
|
910
910
|
};
|
|
911
|
-
GroupOperation2.prototype.childrenNext = function(item, key, owner, root) {
|
|
911
|
+
GroupOperation2.prototype.childrenNext = function(item, key, owner, root, leaf) {
|
|
912
912
|
var done = true;
|
|
913
913
|
var keep = true;
|
|
914
914
|
for (var i = 0, length_3 = this.children.length; i < length_3; i++) {
|
|
915
915
|
var childOperation = this.children[i];
|
|
916
916
|
if (!childOperation.done) {
|
|
917
|
-
childOperation.next(item, key, owner, root);
|
|
917
|
+
childOperation.next(item, key, owner, root, leaf);
|
|
918
918
|
}
|
|
919
919
|
if (!childOperation.keep) {
|
|
920
920
|
keep = false;
|
|
@@ -968,8 +968,8 @@ var NestedOperation = (
|
|
|
968
968
|
var _this = _super.call(this, params, owneryQuery, options, children) || this;
|
|
969
969
|
_this.keyPath = keyPath;
|
|
970
970
|
_this.propop = true;
|
|
971
|
-
_this._nextNestedValue = function(value, key, owner, root) {
|
|
972
|
-
_this.childrenNext(value, key, owner, root);
|
|
971
|
+
_this._nextNestedValue = function(value, key, owner, root, leaf) {
|
|
972
|
+
_this.childrenNext(value, key, owner, root, leaf);
|
|
973
973
|
return !_this.done;
|
|
974
974
|
};
|
|
975
975
|
return _this;
|
|
@@ -1294,7 +1294,8 @@ var $In = (
|
|
|
1294
1294
|
}
|
|
1295
1295
|
$In2.prototype.init = function() {
|
|
1296
1296
|
var _this = this;
|
|
1297
|
-
this.
|
|
1297
|
+
var params = Array.isArray(this.params) ? this.params : [this.params];
|
|
1298
|
+
this._testers = params.map(function(value) {
|
|
1298
1299
|
if (containsOperation(value, _this.options)) {
|
|
1299
1300
|
throw new Error("cannot nest $ under " + _this.name.toLowerCase());
|
|
1300
1301
|
}
|
|
@@ -1359,8 +1360,11 @@ var $Exists = (
|
|
|
1359
1360
|
_this.propop = true;
|
|
1360
1361
|
return _this;
|
|
1361
1362
|
}
|
|
1362
|
-
$Exists2.prototype.next = function(item, key, owner) {
|
|
1363
|
-
if (
|
|
1363
|
+
$Exists2.prototype.next = function(item, key, owner, root, leaf) {
|
|
1364
|
+
if (!leaf) {
|
|
1365
|
+
this.done = true;
|
|
1366
|
+
this.keep = !this.params;
|
|
1367
|
+
} else if (owner.hasOwnProperty(key) === this.params) {
|
|
1364
1368
|
this.done = true;
|
|
1365
1369
|
this.keep = true;
|
|
1366
1370
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@batijs/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.173",
|
|
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",
|
|
@@ -15,16 +15,16 @@
|
|
|
15
15
|
"esbuild": "^0.20.2",
|
|
16
16
|
"execa": "^8.0.1",
|
|
17
17
|
"rimraf": "^5.0.5",
|
|
18
|
-
"sift": "^17.0
|
|
18
|
+
"sift": "^17.1.0",
|
|
19
19
|
"tsup": "^8.0.2",
|
|
20
|
-
"typescript": "^5.4.
|
|
21
|
-
"vite": "^5.2.
|
|
22
|
-
"@batijs/
|
|
23
|
-
"@batijs/
|
|
20
|
+
"typescript": "^5.4.4",
|
|
21
|
+
"vite": "^5.2.8",
|
|
22
|
+
"@batijs/build": "0.0.173",
|
|
23
|
+
"@batijs/compile": "0.0.173"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@batijs/
|
|
27
|
-
"@batijs/
|
|
26
|
+
"@batijs/features": "0.0.173",
|
|
27
|
+
"@batijs/core": "0.0.173"
|
|
28
28
|
},
|
|
29
29
|
"bin": "./dist/index.js",
|
|
30
30
|
"exports": {
|