@saltcorn/cli 1.3.0-beta.9 → 1.3.0
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 +49 -49
- package/npm-shrinkwrap.json +878 -767
- package/oclif.manifest.json +1 -1
- package/package.json +8 -8
- package/src/commands/plugins.js +2 -3
package/oclif.manifest.json
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@saltcorn/cli",
|
|
3
3
|
"description": "Command-line interface for Saltcorn, open-source no-code platform",
|
|
4
4
|
"homepage": "https://saltcorn.com",
|
|
5
|
-
"version": "1.3.0
|
|
5
|
+
"version": "1.3.0",
|
|
6
6
|
"author": "Tom Nielsen @glutamate",
|
|
7
7
|
"bin": {
|
|
8
8
|
"saltcorn": "./bin/saltcorn"
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@oclif/core": "^4.2.4",
|
|
13
13
|
"@oclif/plugin-plugins": "^5.4.26",
|
|
14
|
-
"@saltcorn/admin-models": "1.3.0
|
|
15
|
-
"@saltcorn/common-code": "1.3.0
|
|
16
|
-
"@saltcorn/data": "1.3.0
|
|
17
|
-
"@saltcorn/mobile-app": "1.3.0
|
|
18
|
-
"@saltcorn/mobile-builder": "1.3.0
|
|
19
|
-
"@saltcorn/plugins-loader": "1.3.0
|
|
20
|
-
"@saltcorn/server": "1.3.0
|
|
14
|
+
"@saltcorn/admin-models": "1.3.0",
|
|
15
|
+
"@saltcorn/common-code": "1.3.0",
|
|
16
|
+
"@saltcorn/data": "1.3.0",
|
|
17
|
+
"@saltcorn/mobile-app": "1.3.0",
|
|
18
|
+
"@saltcorn/mobile-builder": "1.3.0",
|
|
19
|
+
"@saltcorn/plugins-loader": "1.3.0",
|
|
20
|
+
"@saltcorn/server": "1.3.0",
|
|
21
21
|
"contractis": "^0.1.0",
|
|
22
22
|
"dateformat": "^4.6.3",
|
|
23
23
|
"inquirer": "^12.3.3",
|
package/src/commands/plugins.js
CHANGED
|
@@ -57,6 +57,7 @@ class PluginsCommand extends Command {
|
|
|
57
57
|
}
|
|
58
58
|
});
|
|
59
59
|
}
|
|
60
|
+
require("@saltcorn/data/db/state").getState()?.refresh_config();
|
|
60
61
|
if (flags.upgrade || flags.dryRun) {
|
|
61
62
|
var new_versions = {};
|
|
62
63
|
for (let plugin of plugins) {
|
|
@@ -69,9 +70,7 @@ class PluginsCommand extends Command {
|
|
|
69
70
|
if (version) new_versions[plugin.location] = version;
|
|
70
71
|
} catch (e) {
|
|
71
72
|
plugin.version = oldVersion;
|
|
72
|
-
console.log(
|
|
73
|
-
`Unable to find a supported version for '${plugin.location}'`
|
|
74
|
-
);
|
|
73
|
+
console.log(`Error checking plugin ${plugin.location}:`, e);
|
|
75
74
|
}
|
|
76
75
|
}
|
|
77
76
|
console.log(new_versions);
|