@stoker-platform/cli 0.5.33 → 0.5.35
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/lib/package.json +4 -4
- package/lib/src/lint/lintSchema.js +2 -4
- package/package.json +4 -4
package/lib/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stoker-platform/cli",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.35",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"main": "./lib/src/main.js",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"@google-cloud/secret-manager": "^6.1.1",
|
|
25
25
|
"@google-cloud/storage": "^7.19.0",
|
|
26
26
|
"@inquirer/prompts": "^8.2.0",
|
|
27
|
-
"@stoker-platform/node-client": "0.5.
|
|
28
|
-
"@stoker-platform/types": "0.5.
|
|
29
|
-
"@stoker-platform/utils": "0.5.
|
|
27
|
+
"@stoker-platform/node-client": "0.5.24",
|
|
28
|
+
"@stoker-platform/types": "0.5.14",
|
|
29
|
+
"@stoker-platform/utils": "0.5.18",
|
|
30
30
|
"algoliasearch": "^5.48.0",
|
|
31
31
|
"commander": "^14.0.0",
|
|
32
32
|
"cross-spawn": "^7.0.6",
|
|
@@ -1219,10 +1219,8 @@ export const lintSchema = async (noLog = false) => {
|
|
|
1219
1219
|
}
|
|
1220
1220
|
}
|
|
1221
1221
|
const dependencyFieldSchema = getField(relationCollection.fields, dependencyField.field);
|
|
1222
|
-
if (dependencyFieldSchema &&
|
|
1223
|
-
|
|
1224
|
-
dependencyFieldSchema.access) {
|
|
1225
|
-
const error = `Collection ${relationCollection.labels.collection} has a relation field ${dependencyField.field} that has both dependent collections and access restrictions`;
|
|
1222
|
+
if (dependencyFieldSchema && dependencyFieldSchema.access) {
|
|
1223
|
+
const error = `Collection ${relationCollection.labels.collection} has a field ${dependencyField.field} that has both dependent collections and access restrictions`;
|
|
1226
1224
|
if (!errors.includes(error)) {
|
|
1227
1225
|
errors.push(error);
|
|
1228
1226
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stoker-platform/cli",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.35",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"main": "./lib/src/main.js",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"@google-cloud/secret-manager": "^6.1.1",
|
|
25
25
|
"@google-cloud/storage": "^7.19.0",
|
|
26
26
|
"@inquirer/prompts": "^8.2.0",
|
|
27
|
-
"@stoker-platform/node-client": "0.5.
|
|
28
|
-
"@stoker-platform/types": "0.5.
|
|
29
|
-
"@stoker-platform/utils": "0.5.
|
|
27
|
+
"@stoker-platform/node-client": "0.5.24",
|
|
28
|
+
"@stoker-platform/types": "0.5.14",
|
|
29
|
+
"@stoker-platform/utils": "0.5.18",
|
|
30
30
|
"algoliasearch": "^5.48.0",
|
|
31
31
|
"commander": "^14.0.0",
|
|
32
32
|
"cross-spawn": "^7.0.6",
|