@appsemble/cli 0.20.31 → 0.20.33
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/lib/coercers.js +0 -1
- package/lib/getBlockConfigFromTypeScript.js +0 -3
- 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.33)
|
|
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.33/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/lib/coercers.js
CHANGED
|
@@ -3,7 +3,6 @@ import { AppsembleError, logger } from '@appsemble/node-utils';
|
|
|
3
3
|
import { parse } from 'comment-parser';
|
|
4
4
|
import normalizePath from 'normalize-path';
|
|
5
5
|
import { createFormatter, createParser, SchemaGenerator, ts } from 'ts-json-schema-generator';
|
|
6
|
-
// eslint-disable-next-line jsdoc/require-returns-check
|
|
7
6
|
/**
|
|
8
7
|
* Get the tsdoc comment for a TypeScript node.
|
|
9
8
|
*
|
|
@@ -23,7 +22,6 @@ function getNodeComments(checker, node) {
|
|
|
23
22
|
.join('');
|
|
24
23
|
}
|
|
25
24
|
}
|
|
26
|
-
// eslint-disable-next-line jsdoc/require-returns-check
|
|
27
25
|
/**
|
|
28
26
|
* Process keys from an interface into an object.
|
|
29
27
|
*
|
|
@@ -101,7 +99,6 @@ function processEvents(eventListenerInterface, eventEmitterInterface, checker) {
|
|
|
101
99
|
]);
|
|
102
100
|
return (emit || listen) && { emit, listen };
|
|
103
101
|
}
|
|
104
|
-
// eslint-disable-next-line jsdoc/require-returns-check
|
|
105
102
|
/**
|
|
106
103
|
* Get the JSON schema for parameters based on a TypeScript program.
|
|
107
104
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appsemble/cli",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.33",
|
|
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.33",
|
|
38
|
+
"@appsemble/types": "0.20.33",
|
|
39
|
+
"@appsemble/utils": "0.20.33",
|
|
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.33",
|
|
66
66
|
"@types/concat-stream": "^2.0.0",
|
|
67
67
|
"@types/inquirer": "^9.0.0",
|
|
68
68
|
"@types/normalize-path": "^3.0.0",
|