@batijs/cli 0.0.174 → 0.0.176
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/edgedb/files/$package.json.js +2 -2
- 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/firebase-auth/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/h3/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/hattip/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/react/files/$package.json.js +3 -3
- package/dist/boilerplates/@batijs/shared/files/package.json +1 -1
- package/dist/boilerplates/@batijs/solid/files/$package.json.js +1 -1
- package/dist/boilerplates/@batijs/vue/files/$package.json.js +3 -3
- package/dist/index.js +24 -39
- package/package.json +7 -7
|
@@ -42,11 +42,11 @@ var require_package = __commonJS({
|
|
|
42
42
|
license: "MIT",
|
|
43
43
|
devDependencies: {
|
|
44
44
|
"@batijs/compile": "workspace:*",
|
|
45
|
-
"@edgedb/generate": "^0.
|
|
45
|
+
"@edgedb/generate": "^0.5.2",
|
|
46
46
|
"@prisma/client": "^5.12.1",
|
|
47
47
|
"@types/node": "^18.19.14",
|
|
48
48
|
colorette: "^2.0.20",
|
|
49
|
-
edgedb: "^1.
|
|
49
|
+
edgedb: "^1.5.0"
|
|
50
50
|
},
|
|
51
51
|
dependencies: {
|
|
52
52
|
"@batijs/core": "workspace:*"
|
|
@@ -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.6.0",
|
|
46
|
+
"@typescript-eslint/parser": "^7.6.0",
|
|
47
47
|
eslint: "^8.57.0"
|
|
48
48
|
},
|
|
49
49
|
dependencies: {
|
|
@@ -41,7 +41,7 @@ var require_package = __commonJS({
|
|
|
41
41
|
author: "",
|
|
42
42
|
license: "MIT",
|
|
43
43
|
devDependencies: {
|
|
44
|
-
"@auth/core": "^0.
|
|
44
|
+
"@auth/core": "^0.29.0",
|
|
45
45
|
"@batijs/compile": "workspace:*",
|
|
46
46
|
"@batijs/firebase-auth": "workspace:*",
|
|
47
47
|
"@batijs/trpc": "workspace:*",
|
|
@@ -41,7 +41,7 @@ var require_package = __commonJS({
|
|
|
41
41
|
author: "",
|
|
42
42
|
license: "MIT",
|
|
43
43
|
devDependencies: {
|
|
44
|
-
"@auth/core": "^0.
|
|
44
|
+
"@auth/core": "^0.29.0",
|
|
45
45
|
"@batijs/compile": "workspace:*",
|
|
46
46
|
"@batijs/firebase-auth": "workspace:*",
|
|
47
47
|
"@batijs/trpc": "workspace:^",
|
|
@@ -46,15 +46,15 @@ var require_package = __commonJS({
|
|
|
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.
|
|
50
|
-
"@types/react-dom": "^18.2.
|
|
49
|
+
"@types/react": "^18.2.78",
|
|
50
|
+
"@types/react-dom": "^18.2.25",
|
|
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.5",
|
|
58
58
|
vike: "^0.4.168",
|
|
59
59
|
"vike-react": "^0.4.6",
|
|
60
60
|
vite: "^5.2.8"
|
|
@@ -47,10 +47,10 @@ 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.
|
|
50
|
+
"eslint-plugin-vue": "^9.25.0",
|
|
51
51
|
tailwindcss: "^3.4.3",
|
|
52
|
-
typescript: "^5.4.
|
|
53
|
-
"unplugin-vue-markdown": "^0.26.
|
|
52
|
+
typescript: "^5.4.5",
|
|
53
|
+
"unplugin-vue-markdown": "^0.26.1",
|
|
54
54
|
vike: "^0.4.168",
|
|
55
55
|
"vike-vue": "^0.6.3",
|
|
56
56
|
vite: "^5.2.8",
|
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.176",
|
|
593
593
|
type: "module",
|
|
594
594
|
scripts: {
|
|
595
595
|
"check-types": "tsc --noEmit",
|
|
@@ -612,9 +612,9 @@ var package_default = {
|
|
|
612
612
|
esbuild: "^0.20.2",
|
|
613
613
|
execa: "^8.0.1",
|
|
614
614
|
rimraf: "^5.0.5",
|
|
615
|
-
sift: "^17.1.
|
|
615
|
+
sift: "^17.1.2",
|
|
616
616
|
tsup: "^8.0.2",
|
|
617
|
-
typescript: "^5.4.
|
|
617
|
+
typescript: "^5.4.5",
|
|
618
618
|
vite: "^5.2.8"
|
|
619
619
|
},
|
|
620
620
|
dependencies: {
|
|
@@ -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.1.
|
|
783
|
+
// ../../node_modules/.pnpm/sift@17.1.2/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;
|
|
@@ -825,6 +825,9 @@ var coercePotentiallyNull = function(value) {
|
|
|
825
825
|
var isArray = typeChecker("Array");
|
|
826
826
|
var isObject = typeChecker("Object");
|
|
827
827
|
var isFunction = typeChecker("Function");
|
|
828
|
+
var isProperty = function(item, key) {
|
|
829
|
+
return item.hasOwnProperty(key) && !isFunction(item[key]);
|
|
830
|
+
};
|
|
828
831
|
var isVanillaObject = function(value) {
|
|
829
832
|
return value && (value.constructor === Object || value.constructor === Array || value.constructor.toString() === "function Object() { [native code] }" || value.constructor.toString() === "function Array() { [native code] }") && !value.toJSON;
|
|
830
833
|
};
|
|
@@ -861,7 +864,7 @@ var equals = function(a, b) {
|
|
|
861
864
|
};
|
|
862
865
|
var walkKeyPathValues = function(item, keyPath, next, depth, key, owner) {
|
|
863
866
|
var currentKey = keyPath[depth];
|
|
864
|
-
if (isArray(item) && isNaN(Number(currentKey))) {
|
|
867
|
+
if (isArray(item) && isNaN(Number(currentKey)) && !isProperty(item, currentKey)) {
|
|
865
868
|
for (var i = 0, length_1 = item.length; i < length_1; i++) {
|
|
866
869
|
if (!walkKeyPathValues(item[i], keyPath, next, depth, i, item)) {
|
|
867
870
|
return false;
|
|
@@ -1042,7 +1045,7 @@ var createNamedOperation = function(name, params, parentQuery, options) {
|
|
|
1042
1045
|
return operationCreator(params, parentQuery, options, name);
|
|
1043
1046
|
};
|
|
1044
1047
|
var throwUnsupportedOperation = function(name) {
|
|
1045
|
-
throw new Error("Unsupported operation: "
|
|
1048
|
+
throw new Error("Unsupported operation: ".concat(name));
|
|
1046
1049
|
};
|
|
1047
1050
|
var containsOperation = function(query, options) {
|
|
1048
1051
|
for (var key in query) {
|
|
@@ -1095,7 +1098,7 @@ var createQueryOperations = function(query, parentKey, options) {
|
|
|
1095
1098
|
var op = createNamedOperation(key, query[key], query, options);
|
|
1096
1099
|
if (op) {
|
|
1097
1100
|
if (!op.propop && parentKey && !options.operations[parentKey]) {
|
|
1098
|
-
throw new Error("Malformed query. "
|
|
1101
|
+
throw new Error("Malformed query. ".concat(key, " cannot be matched against property."));
|
|
1099
1102
|
}
|
|
1100
1103
|
}
|
|
1101
1104
|
if (op != null) {
|
|
@@ -1297,7 +1300,7 @@ var $In = (
|
|
|
1297
1300
|
var params = Array.isArray(this.params) ? this.params : [this.params];
|
|
1298
1301
|
this._testers = params.map(function(value) {
|
|
1299
1302
|
if (containsOperation(value, _this.options)) {
|
|
1300
|
-
throw new Error("cannot nest $ under "
|
|
1303
|
+
throw new Error("cannot nest $ under ".concat(_this.name.toLowerCase()));
|
|
1301
1304
|
}
|
|
1302
1305
|
return createTester(value, _this.options.compare);
|
|
1303
1306
|
});
|
|
@@ -1522,26 +1525,26 @@ var $where = function(params, ownerQuery, options) {
|
|
|
1522
1525
|
var defaultOperations = /* @__PURE__ */ Object.freeze({
|
|
1523
1526
|
__proto__: null,
|
|
1524
1527
|
$Size,
|
|
1525
|
-
$
|
|
1526
|
-
$
|
|
1527
|
-
$or,
|
|
1528
|
-
$nor,
|
|
1528
|
+
$all,
|
|
1529
|
+
$and,
|
|
1529
1530
|
$elemMatch,
|
|
1530
|
-
$
|
|
1531
|
+
$eq,
|
|
1532
|
+
$exists,
|
|
1533
|
+
$gt,
|
|
1534
|
+
$gte,
|
|
1531
1535
|
$in,
|
|
1532
1536
|
$lt,
|
|
1533
1537
|
$lte,
|
|
1534
|
-
$gt,
|
|
1535
|
-
$gte,
|
|
1536
1538
|
$mod,
|
|
1537
|
-
$
|
|
1538
|
-
$
|
|
1539
|
+
$ne,
|
|
1540
|
+
$nin,
|
|
1541
|
+
$nor,
|
|
1539
1542
|
$not,
|
|
1540
|
-
$type,
|
|
1541
|
-
$and,
|
|
1542
|
-
$all,
|
|
1543
|
-
$size,
|
|
1544
1543
|
$options,
|
|
1544
|
+
$or,
|
|
1545
|
+
$regex,
|
|
1546
|
+
$size,
|
|
1547
|
+
$type,
|
|
1545
1548
|
$where
|
|
1546
1549
|
});
|
|
1547
1550
|
var createDefaultQueryOperation = function(query, ownerQuery, _a) {
|
|
@@ -1799,21 +1802,3 @@ run().then(() => {
|
|
|
1799
1802
|
export {
|
|
1800
1803
|
yn as default
|
|
1801
1804
|
};
|
|
1802
|
-
/*! Bundled license information:
|
|
1803
|
-
|
|
1804
|
-
sift/es5m/index.js:
|
|
1805
|
-
(*! *****************************************************************************
|
|
1806
|
-
Copyright (c) Microsoft Corporation.
|
|
1807
|
-
|
|
1808
|
-
Permission to use, copy, modify, and/or distribute this software for any
|
|
1809
|
-
purpose with or without fee is hereby granted.
|
|
1810
|
-
|
|
1811
|
-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
1812
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
1813
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
1814
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
1815
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
1816
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
1817
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
1818
|
-
***************************************************************************** *)
|
|
1819
|
-
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@batijs/cli",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.176",
|
|
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.1.
|
|
18
|
+
"sift": "^17.1.2",
|
|
19
19
|
"tsup": "^8.0.2",
|
|
20
|
-
"typescript": "^5.4.
|
|
20
|
+
"typescript": "^5.4.5",
|
|
21
21
|
"vite": "^5.2.8",
|
|
22
|
-
"@batijs/build": "0.0.
|
|
23
|
-
"@batijs/compile": "0.0.
|
|
22
|
+
"@batijs/build": "0.0.176",
|
|
23
|
+
"@batijs/compile": "0.0.176"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@batijs/core": "0.0.
|
|
27
|
-
"@batijs/features": "0.0.
|
|
26
|
+
"@batijs/core": "0.0.176",
|
|
27
|
+
"@batijs/features": "0.0.176"
|
|
28
28
|
},
|
|
29
29
|
"bin": "./dist/index.js",
|
|
30
30
|
"exports": {
|