test-bdk-cli 0.1.7 → 0.1.8
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/dist/commands/pack.js
CHANGED
|
@@ -12,6 +12,7 @@ const child_process_1 = require("child_process");
|
|
|
12
12
|
function registerPack(program) {
|
|
13
13
|
program
|
|
14
14
|
.command('pack')
|
|
15
|
+
.alias('apps:pack')
|
|
15
16
|
.description('Package the app for publishing')
|
|
16
17
|
.option('--output <path>', 'output directory or filename', './dist')
|
|
17
18
|
.option('--format <fmt>', 'archive format (zip|tar)', 'zip')
|
package/dist/commands/publish.js
CHANGED
|
@@ -10,6 +10,7 @@ const child_process_1 = require("child_process");
|
|
|
10
10
|
function registerPublish(program) {
|
|
11
11
|
program
|
|
12
12
|
.command('publish')
|
|
13
|
+
.alias('apps:publish')
|
|
13
14
|
.description('Publish app archive to BoldDesk marketplace')
|
|
14
15
|
.option('--file <path>', 'package file to upload (zip or tar)')
|
|
15
16
|
.option('--token <token>', 'API token for BoldDesk')
|
package/dist/commands/run.js
CHANGED
|
@@ -4,6 +4,7 @@ exports.registerRun = registerRun;
|
|
|
4
4
|
function registerRun(program) {
|
|
5
5
|
program
|
|
6
6
|
.command('run')
|
|
7
|
+
.alias('apps:run')
|
|
7
8
|
.description('Run the app locally with live reload')
|
|
8
9
|
.option('--port <number>', 'port to run', '3000')
|
|
9
10
|
.option('--env <env>', 'environment', 'dev')
|
package/dist/commands/test.js
CHANGED
|
@@ -5,6 +5,7 @@ const child_process_1 = require("child_process");
|
|
|
5
5
|
function registerTest(program) {
|
|
6
6
|
program
|
|
7
7
|
.command('test')
|
|
8
|
+
.alias('apps:test')
|
|
8
9
|
.description('Run unit and integration tests')
|
|
9
10
|
.option('--watch', 're-run tests on file changes', false)
|
|
10
11
|
.option('--coverage', 'generate coverage report', false)
|
package/dist/commands/version.js
CHANGED
|
@@ -26,6 +26,7 @@ function bumpVersion(v, level) {
|
|
|
26
26
|
function registerVersion(program) {
|
|
27
27
|
program
|
|
28
28
|
.command('version')
|
|
29
|
+
.alias('apps:version')
|
|
29
30
|
.description('Show or bump app version')
|
|
30
31
|
.option('--bump <level>', 'patch|minor|major')
|
|
31
32
|
.option('--set <version>', 'set exact version')
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "test-bdk-cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.8",
|
|
4
4
|
"description": "test CLI",
|
|
5
5
|
"author": "@raisulaslam",
|
|
6
6
|
"bin": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"form-data": "^4.0.0",
|
|
23
23
|
"inquirer": "^9.0.0",
|
|
24
24
|
"node-fetch": "^2.6.7",
|
|
25
|
-
"test-bdk-cli": "^0.1.
|
|
25
|
+
"test-bdk-cli": "^0.1."
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@types/archiver": "^7.0.0",
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"required": ["name", "version", "author"],
|
|
6
6
|
"properties": {
|
|
7
7
|
"name": { "type": "string" },
|
|
8
|
-
"version": { "type": "string", "pattern": "^\\d+\\.\\d+\\.\\d
|
|
8
|
+
"version": { "type": "string", "pattern": "^\\d+\\.\\d+\\.\\d+(?:[-+][0-9A-Za-z.-]+)?$" },
|
|
9
9
|
"author": { "type": ["string", "object"] },
|
|
10
10
|
"description": { "type": "string" },
|
|
11
11
|
"main": { "type": "string" },
|