@appsemble/cli 0.20.31 → 0.20.32
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 +4 -4
- package/commands/runCronJobs.js +5 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
#  Appsemble CLI
|
|
2
2
|
|
|
3
3
|
> Manage apps and blocks from the command line.
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/@appsemble/cli)
|
|
6
|
-
[](https://gitlab.com/appsemble/appsemble/-/releases/0.20.32)
|
|
7
|
+
[](https://codecov.io/gl/appsemble/appsemble)
|
|
8
8
|
[](https://prettier.io)
|
|
9
9
|
|
|
10
10
|
## Installation
|
|
@@ -95,5 +95,5 @@ appsemble asset create --app-id 1 path/to/example-asset.png
|
|
|
95
95
|
|
|
96
96
|
## License
|
|
97
97
|
|
|
98
|
-
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.
|
|
98
|
+
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.20.32/LICENSE.md) ©
|
|
99
99
|
[Appsemble](https://appsemble.com)
|
package/commands/runCronJobs.js
CHANGED
|
@@ -3,6 +3,11 @@ export const command = 'run-cronjobs';
|
|
|
3
3
|
export const description = 'Runs all cronjobs associated with apps.';
|
|
4
4
|
export function builder(yargs) {
|
|
5
5
|
return yargs
|
|
6
|
+
.option('interval', {
|
|
7
|
+
desc: 'How many minutes are between each cron job run.',
|
|
8
|
+
type: 'number',
|
|
9
|
+
default: 5,
|
|
10
|
+
})
|
|
6
11
|
.option('database-host', {
|
|
7
12
|
desc: 'The host of the database to connect to. This defaults to the connected database container.',
|
|
8
13
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appsemble/cli",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.32",
|
|
4
4
|
"description": "The CLI for developing with Appsemble apps and blocks",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -34,9 +34,9 @@
|
|
|
34
34
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@appsemble/node-utils": "0.20.
|
|
38
|
-
"@appsemble/types": "0.20.
|
|
39
|
-
"@appsemble/utils": "0.20.
|
|
37
|
+
"@appsemble/node-utils": "0.20.32",
|
|
38
|
+
"@appsemble/types": "0.20.32",
|
|
39
|
+
"@appsemble/utils": "0.20.32",
|
|
40
40
|
"@fortawesome/fontawesome-common-types": "^6.0.0",
|
|
41
41
|
"axios": "^1.0.0",
|
|
42
42
|
"chalk": "^4.0.0",
|
|
@@ -56,13 +56,13 @@
|
|
|
56
56
|
"raw-body": "^2.0.0",
|
|
57
57
|
"read-pkg-up": "^9.0.0",
|
|
58
58
|
"ts-json-schema-generator": "^1.0.0",
|
|
59
|
-
"type-fest": "^
|
|
59
|
+
"type-fest": "^3.0.0",
|
|
60
60
|
"webpack": "^5.0.0",
|
|
61
61
|
"yaml": "^2.0.0",
|
|
62
62
|
"yargs": "^17.0.0"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@appsemble/types": "0.20.
|
|
65
|
+
"@appsemble/types": "0.20.32",
|
|
66
66
|
"@types/concat-stream": "^2.0.0",
|
|
67
67
|
"@types/inquirer": "^9.0.0",
|
|
68
68
|
"@types/normalize-path": "^3.0.0",
|