@signageos/cli 2.6.0-rc.0 → 2.6.0
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.
|
@@ -66,11 +66,13 @@ function askForParameters() {
|
|
|
66
66
|
type: 'text',
|
|
67
67
|
name: 'name',
|
|
68
68
|
message: 'Type name',
|
|
69
|
+
min: 1,
|
|
69
70
|
},
|
|
70
71
|
{
|
|
71
72
|
type: 'text',
|
|
72
73
|
name: 'description',
|
|
73
74
|
message: 'Type description',
|
|
75
|
+
min: 1,
|
|
74
76
|
},
|
|
75
77
|
], { onCancel: throwCanceledError });
|
|
76
78
|
const targetDir = name;
|
|
@@ -83,7 +83,7 @@ function ensurePluginVersion(restApi, config, schema) {
|
|
|
83
83
|
return yield restApi.plugin.version.create({
|
|
84
84
|
pluginUid: plugin.uid,
|
|
85
85
|
version: config.version,
|
|
86
|
-
description:
|
|
86
|
+
description: config.description,
|
|
87
87
|
schema: schema.schema,
|
|
88
88
|
configDefinition: config.configDefinition,
|
|
89
89
|
});
|
|
@@ -66,11 +66,13 @@ function askForParameters() {
|
|
|
66
66
|
type: 'text',
|
|
67
67
|
name: 'name',
|
|
68
68
|
message: 'Type name',
|
|
69
|
+
min: 1,
|
|
69
70
|
},
|
|
70
71
|
{
|
|
71
72
|
type: 'text',
|
|
72
73
|
name: 'description',
|
|
73
74
|
message: 'Type description',
|
|
75
|
+
min: 1,
|
|
74
76
|
},
|
|
75
77
|
], { onCancel: throwCanceledError });
|
|
76
78
|
const targetDir = name;
|
|
@@ -98,7 +100,6 @@ function askForParameters() {
|
|
|
98
100
|
*/
|
|
99
101
|
function downloadBoilerplateCode(targetDir) {
|
|
100
102
|
return __awaiter(this, void 0, void 0, function* () {
|
|
101
|
-
// TODO: Update this URL to point to the actual runner boilerplate repository
|
|
102
103
|
const URL = 'https://github.com/signageos/runners-boilerplate';
|
|
103
104
|
yield (0, git_1.cloneGitRepository)(URL, targetDir);
|
|
104
105
|
// we just want the code, not the git history
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signageos/cli",
|
|
3
|
-
"version": "2.6.0
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"author": "signageOS.io <dev@signageos.io>",
|
|
6
6
|
"files": [
|
|
@@ -78,16 +78,12 @@
|
|
|
78
78
|
"typescript": "5.8.3",
|
|
79
79
|
"unzipper": "0.12.3"
|
|
80
80
|
},
|
|
81
|
-
"overrides": {
|
|
82
|
-
"cross-spawn": "^7.0.6",
|
|
83
|
-
"http-cache-semantics": "^4.2.0"
|
|
84
|
-
},
|
|
85
81
|
"dependencies": {
|
|
86
|
-
"@signageos/file": "
|
|
87
|
-
"@signageos/sdk": "
|
|
82
|
+
"@signageos/file": "2.0.1",
|
|
83
|
+
"@signageos/sdk": "2.0.2",
|
|
88
84
|
"archiver": "7.0.1",
|
|
89
85
|
"chalk": "2.4.2",
|
|
90
|
-
"child-process-promise": "2.
|
|
86
|
+
"child-process-promise": "2.1.3",
|
|
91
87
|
"cli-progress": "3.12.0",
|
|
92
88
|
"command-line-args": "6.0.1",
|
|
93
89
|
"command-line-usage": "7.0.3",
|