@saltcorn/cli 1.5.0-beta.17 → 1.5.0-beta.19
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 +57 -54
- package/npm-shrinkwrap.json +598 -625
- package/oclif.manifest.json +7 -1
- package/package.json +8 -8
- package/src/commands/build-app.js +8 -0
package/oclif.manifest.json
CHANGED
|
@@ -258,6 +258,12 @@
|
|
|
258
258
|
"allowNo": false,
|
|
259
259
|
"type": "boolean"
|
|
260
260
|
},
|
|
261
|
+
"syncOnReconnect": {
|
|
262
|
+
"description": "Run Synchronizations and return into online mode when the network connection is restored. When disabled, you still can do this manually.",
|
|
263
|
+
"name": "syncOnReconnect",
|
|
264
|
+
"allowNo": false,
|
|
265
|
+
"type": "boolean"
|
|
266
|
+
},
|
|
261
267
|
"pushSync": {
|
|
262
268
|
"description": "When offline mode is enabled, synchronize the synchedTables tables when a push notification is received.",
|
|
263
269
|
"name": "pushSync",
|
|
@@ -2309,5 +2315,5 @@
|
|
|
2309
2315
|
]
|
|
2310
2316
|
}
|
|
2311
2317
|
},
|
|
2312
|
-
"version": "1.5.0-beta.
|
|
2318
|
+
"version": "1.5.0-beta.19"
|
|
2313
2319
|
}
|
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.5.0-beta.
|
|
5
|
+
"version": "1.5.0-beta.19",
|
|
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.4.0",
|
|
13
13
|
"@oclif/plugin-plugins": "^5.4.26",
|
|
14
|
-
"@saltcorn/admin-models": "1.5.0-beta.
|
|
15
|
-
"@saltcorn/common-code": "1.5.0-beta.
|
|
16
|
-
"@saltcorn/data": "1.5.0-beta.
|
|
17
|
-
"@saltcorn/mobile-app": "1.5.0-beta.
|
|
18
|
-
"@saltcorn/mobile-builder": "1.5.0-beta.
|
|
19
|
-
"@saltcorn/plugins-loader": "1.5.0-beta.
|
|
20
|
-
"@saltcorn/server": "1.5.0-beta.
|
|
14
|
+
"@saltcorn/admin-models": "1.5.0-beta.19",
|
|
15
|
+
"@saltcorn/common-code": "1.5.0-beta.19",
|
|
16
|
+
"@saltcorn/data": "1.5.0-beta.19",
|
|
17
|
+
"@saltcorn/mobile-app": "1.5.0-beta.19",
|
|
18
|
+
"@saltcorn/mobile-builder": "1.5.0-beta.19",
|
|
19
|
+
"@saltcorn/plugins-loader": "1.5.0-beta.19",
|
|
20
|
+
"@saltcorn/server": "1.5.0-beta.19",
|
|
21
21
|
"contractis": "^0.1.0",
|
|
22
22
|
"dateformat": "^4.6.3",
|
|
23
23
|
"inquirer": "^12.3.3",
|
|
@@ -137,6 +137,7 @@ class BuildAppCommand extends Command {
|
|
|
137
137
|
autoPublicLogin: flags.autoPublicLogin,
|
|
138
138
|
showContinueAsPublicUser: flags.showContinueAsPublicUser,
|
|
139
139
|
allowOfflineMode: flags.allowOfflineMode,
|
|
140
|
+
syncOnReconnect: flags.syncOnReconnect,
|
|
140
141
|
pushSync: flags.pushSync,
|
|
141
142
|
syncInterval: flags.syncInterval,
|
|
142
143
|
allowShareTo: flags.allowShareTo,
|
|
@@ -316,6 +317,13 @@ BuildAppCommand.flags = {
|
|
|
316
317
|
description:
|
|
317
318
|
"Switch to offline mode when there is no internet, sync the data when a connection is available again.",
|
|
318
319
|
}),
|
|
320
|
+
syncOnReconnect: Flags.boolean({
|
|
321
|
+
name: "Sync on connection restored",
|
|
322
|
+
string: "syncOnReconnect",
|
|
323
|
+
description:
|
|
324
|
+
"Run Synchronizations and return into online mode when the network connection is restored. " +
|
|
325
|
+
"When disabled, you still can do this manually.",
|
|
326
|
+
}),
|
|
319
327
|
pushSync: Flags.boolean({
|
|
320
328
|
name: "Push sync",
|
|
321
329
|
string: "pushSync",
|