@appsemble/cli 0.36.10-test.0 → 0.36.10-test.1
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 +3 -3
- package/commands/runCronJobs.js +20 -0
- package/commands/start.js +20 -0
- package/package.json +7 -7
- package/templates/apps/empty/app-definition.yaml +2 -2
- package/templates/blocks/mini-jsx/package.json +1 -1
- package/templates/blocks/preact/package.json +2 -2
- package/templates/blocks/vanilla/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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.36.10-test.1)
|
|
7
7
|
[](https://prettier.io)
|
|
8
8
|
|
|
9
9
|
## Table of Contents
|
|
@@ -342,5 +342,5 @@ appsemble run-cronjobs --interval 30
|
|
|
342
342
|
|
|
343
343
|
## License
|
|
344
344
|
|
|
345
|
-
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.36.10-test.
|
|
345
|
+
[LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.36.10-test.1/LICENSE.md) ©
|
|
346
346
|
[Appsemble](https://appsemble.com)
|
package/commands/runCronJobs.js
CHANGED
|
@@ -35,6 +35,26 @@ export function builder(yargs) {
|
|
|
35
35
|
.option('database-url', {
|
|
36
36
|
desc: 'A connection string for the database to connect to. This is an alternative to the separate database related variables.',
|
|
37
37
|
conflicts: ['database-host', 'database-name', 'database-user', 'database-password'],
|
|
38
|
+
})
|
|
39
|
+
.option('valkey-host', {
|
|
40
|
+
desc: 'The host of the Valkey server to connect to.',
|
|
41
|
+
})
|
|
42
|
+
.option('valkey-port', {
|
|
43
|
+
desc: 'The port of the Valkey server to connect to.',
|
|
44
|
+
type: 'number',
|
|
45
|
+
default: 6379,
|
|
46
|
+
})
|
|
47
|
+
.option('valkey-username', {
|
|
48
|
+
desc: 'The username to use to login to the Valkey server.',
|
|
49
|
+
default: 'default',
|
|
50
|
+
})
|
|
51
|
+
.option('valkey-password', {
|
|
52
|
+
desc: 'The password to use to login to the Valkey server.',
|
|
53
|
+
})
|
|
54
|
+
.option('valkey-tls', {
|
|
55
|
+
desc: 'Use TLS when connecting to the Valkey server.',
|
|
56
|
+
type: 'boolean',
|
|
57
|
+
default: false,
|
|
38
58
|
});
|
|
39
59
|
}
|
|
40
60
|
export async function handler(argv) {
|
package/commands/start.js
CHANGED
|
@@ -139,6 +139,26 @@ export function builder(yargs) {
|
|
|
139
139
|
})
|
|
140
140
|
.option('s3-secret-key', {
|
|
141
141
|
desc: 'The secret key of the Amazon S3 compatible object storage server',
|
|
142
|
+
})
|
|
143
|
+
.option('valkey-host', {
|
|
144
|
+
desc: 'The host of the Valkey server to connect to.',
|
|
145
|
+
})
|
|
146
|
+
.option('valkey-port', {
|
|
147
|
+
desc: 'The port of the Valkey server to connect to.',
|
|
148
|
+
type: 'number',
|
|
149
|
+
default: 6379,
|
|
150
|
+
})
|
|
151
|
+
.option('valkey-username', {
|
|
152
|
+
desc: 'The username to use to login to the Valkey server.',
|
|
153
|
+
default: 'default',
|
|
154
|
+
})
|
|
155
|
+
.option('valkey-password', {
|
|
156
|
+
desc: 'The password to use to login to the Valkey server.',
|
|
157
|
+
})
|
|
158
|
+
.option('valkey-tls', {
|
|
159
|
+
desc: 'Use TLS when connecting to the Valkey server.',
|
|
160
|
+
type: 'boolean',
|
|
161
|
+
default: false,
|
|
142
162
|
});
|
|
143
163
|
}
|
|
144
164
|
export async function handler(argv) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@appsemble/cli",
|
|
3
|
-
"version": "0.36.10-test.
|
|
3
|
+
"version": "0.36.10-test.1",
|
|
4
4
|
"description": "The CLI for developing with Appsemble apps and blocks",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"app",
|
|
@@ -44,10 +44,10 @@
|
|
|
44
44
|
"test": "vitest"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@appsemble/node-utils": "0.36.10-test.
|
|
48
|
-
"@appsemble/types": "0.36.10-test.
|
|
49
|
-
"@appsemble/lang-sdk": "0.36.10-test.
|
|
50
|
-
"@appsemble/utils": "0.36.10-test.
|
|
47
|
+
"@appsemble/node-utils": "0.36.10-test.1",
|
|
48
|
+
"@appsemble/types": "0.36.10-test.1",
|
|
49
|
+
"@appsemble/lang-sdk": "0.36.10-test.1",
|
|
50
|
+
"@appsemble/utils": "0.36.10-test.1",
|
|
51
51
|
"@fortawesome/fontawesome-common-types": "^6.0.0",
|
|
52
52
|
"@inquirer/prompts": "^8.0.0",
|
|
53
53
|
"@koa/cors": "^5.0.0",
|
|
@@ -89,8 +89,8 @@
|
|
|
89
89
|
"yargs": "^17.0.0"
|
|
90
90
|
},
|
|
91
91
|
"devDependencies": {
|
|
92
|
-
"@appsemble/types": "0.36.10-test.
|
|
93
|
-
"@appsemble/server": "0.36.10-test.
|
|
92
|
+
"@appsemble/types": "0.36.10-test.1",
|
|
93
|
+
"@appsemble/server": "0.36.10-test.1",
|
|
94
94
|
"@types/concat-stream": "2.0.3",
|
|
95
95
|
"@types/koa__cors": "5.0.1",
|
|
96
96
|
"@types/koa-compress": "4.0.7",
|
|
@@ -6,7 +6,7 @@ pages:
|
|
|
6
6
|
- name: Example Page A
|
|
7
7
|
blocks:
|
|
8
8
|
- type: action-button
|
|
9
|
-
version: 0.36.10-test.
|
|
9
|
+
version: 0.36.10-test.1
|
|
10
10
|
parameters:
|
|
11
11
|
icon: arrow-right
|
|
12
12
|
actions:
|
|
@@ -17,7 +17,7 @@ pages:
|
|
|
17
17
|
- name: Example Page B
|
|
18
18
|
blocks:
|
|
19
19
|
- type: action-button
|
|
20
|
-
version: 0.36.10-test.
|
|
20
|
+
version: 0.36.10-test.1
|
|
21
21
|
parameters:
|
|
22
22
|
icon: arrow-left
|
|
23
23
|
actions:
|