@signageos/cli 1.1.1 → 1.1.2
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/CHANGELOG.md +4 -0
- package/dist/Applet/Start/appletStartCommand.js +12 -9
- package/dist/Applet/Start/appletStartCommand.js.map +1 -1
- package/dist/Emulator/emulatorFacade.d.ts +1 -3
- package/dist/Emulator/emulatorFacade.js +19 -23
- package/dist/Emulator/emulatorFacade.js.map +1 -1
- package/dist/Emulator/emulatorFactory.d.ts +1 -3
- package/dist/Emulator/emulatorFactory.js +3 -7
- package/dist/Emulator/emulatorFactory.js.map +1 -1
- package/package-lock.json +48 -21
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
5
5
|
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [1.1.2] - 2022-10-21
|
|
8
|
+
### Fixed
|
|
9
|
+
- Loading of emulators for command `sos applet start` from currently configured organization (via `~/.sosrc` file, `defaultOrganizationUid` property).
|
|
10
|
+
|
|
7
11
|
## [1.1.1] - 2022-08-04
|
|
8
12
|
### Fixed
|
|
9
13
|
- Invoke rebuild applet version after upload only when some files were changed
|
|
@@ -58,7 +58,7 @@ exports.appletStart = (0, commandDefinition_1.createCommandDefinition)({
|
|
|
58
58
|
commands: [],
|
|
59
59
|
run: function (options) {
|
|
60
60
|
return __awaiter(this, void 0, void 0, function () {
|
|
61
|
-
var currentDirectory, emulatorServerPort, entryFileAbsolutePath, projectDirAbsolutePath, appletDirAbsolutePath, entryFileRelativePath, emulatorUid, createEmulatorParams;
|
|
61
|
+
var currentDirectory, organizationUid, emulatorServerPort, entryFileAbsolutePath, projectDirAbsolutePath, appletDirAbsolutePath, entryFileRelativePath, emulatorUid, createEmulatorParams;
|
|
62
62
|
return __generator(this, function (_a) {
|
|
63
63
|
switch (_a.label) {
|
|
64
64
|
case 0:
|
|
@@ -66,21 +66,24 @@ exports.appletStart = (0, commandDefinition_1.createCommandDefinition)({
|
|
|
66
66
|
if (!options.port) {
|
|
67
67
|
throw new Error('Argument --port is required');
|
|
68
68
|
}
|
|
69
|
+
return [4 /*yield*/, (0, organizationFacade_1.getOrganizationUidOrDefaultOrSelect)(options)];
|
|
70
|
+
case 1:
|
|
71
|
+
organizationUid = _a.sent();
|
|
69
72
|
emulatorServerPort = options.port;
|
|
70
73
|
return [4 /*yield*/, (0, appletUploadCommandHelper_1.getAppletEntryFileAbsolutePath)(currentDirectory, options)];
|
|
71
|
-
case
|
|
74
|
+
case 2:
|
|
72
75
|
entryFileAbsolutePath = _a.sent();
|
|
73
76
|
return [4 /*yield*/, (0, appletUploadCommandHelper_1.getAppletDirectoryAbsolutePath)(currentDirectory, options)];
|
|
74
|
-
case
|
|
77
|
+
case 3:
|
|
75
78
|
projectDirAbsolutePath = _a.sent();
|
|
76
79
|
return [4 /*yield*/, (0, appletStartCommandHelper_1.getAppletDirAbsolutePath)(currentDirectory, options)];
|
|
77
|
-
case
|
|
80
|
+
case 4:
|
|
78
81
|
appletDirAbsolutePath = _a.sent();
|
|
79
82
|
return [4 /*yield*/, (0, appletUploadCommandHelper_1.getAppletEntryFileRelativePath)(entryFileAbsolutePath, appletDirAbsolutePath)];
|
|
80
|
-
case 4:
|
|
81
|
-
entryFileRelativePath = _a.sent();
|
|
82
|
-
return [4 /*yield*/, (0, emulatorFacade_1.loadEmulatorOrCreateNewAndReturnUid)(options)];
|
|
83
83
|
case 5:
|
|
84
|
+
entryFileRelativePath = _a.sent();
|
|
85
|
+
return [4 /*yield*/, (0, emulatorFacade_1.loadEmulatorOrCreateNewAndReturnUid)(organizationUid)];
|
|
86
|
+
case 6:
|
|
84
87
|
emulatorUid = _a.sent();
|
|
85
88
|
createEmulatorParams = {
|
|
86
89
|
emulatorUid: emulatorUid,
|
|
@@ -89,8 +92,8 @@ exports.appletStart = (0, commandDefinition_1.createCommandDefinition)({
|
|
|
89
92
|
entryFileRelativePath: entryFileRelativePath,
|
|
90
93
|
emulatorServerPort: emulatorServerPort,
|
|
91
94
|
};
|
|
92
|
-
return [4 /*yield*/, (0, emulatorFactory_1.createEmulator)(createEmulatorParams,
|
|
93
|
-
case
|
|
95
|
+
return [4 /*yield*/, (0, emulatorFactory_1.createEmulator)(createEmulatorParams, organizationUid)];
|
|
96
|
+
case 7:
|
|
94
97
|
_a.sent();
|
|
95
98
|
return [2 /*return*/];
|
|
96
99
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"appletStartCommand.js","sourceRoot":"","sources":["../../../src/Applet/Start/appletStartCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kEAAgE;AAChE,iFAM6C;AAC7C,uEAAsE;AACtE,gEAAoF;AACpF,qEAA8F;AAC9F,
|
|
1
|
+
{"version":3,"file":"appletStartCommand.js","sourceRoot":"","sources":["../../../src/Applet/Start/appletStartCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kEAAgE;AAChE,iFAM6C;AAC7C,uEAAsE;AACtE,gEAAoF;AACpF,qEAA8F;AAC9F,4EAAqJ;AAExI,QAAA,WAAW,GAAG;IAC1B,mDAA8B;IAC9B,4CAAuB;IACvB,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,gCAAgC,EAAE,YAAY,EAAE,IAAI,EAAE;IACjG,8CAAkB;IAClB,EAAE,IAAI,EAAE,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,iCAAiC,EAAE;IACrF,kDAAsB;CACb,CAAC;AAEE,QAAA,WAAW,GAAG,IAAA,2CAAuB,EAAC;IAClD,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,sBAAsB;IACnC,U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ReturnUid(options: CommandLineOptions<[typeof ORGANIZATION_UID_OPTION, typeof NO_DEFAULT_ORGANIZATION_OPTION]>): Promise<string>;
|
|
1
|
+
export declare function loadEmulatorOrCreateNewAndReturnUid(organizationUid: string): Promise<string>;
|
|
@@ -42,7 +42,6 @@ var prompts = require("prompts");
|
|
|
42
42
|
var runControlHelper_1 = require("../RunControl/runControlHelper");
|
|
43
43
|
var RestApi_1 = require("@signageos/sdk/dist/RestApi/RestApi");
|
|
44
44
|
var AuthenticationError_1 = require("@signageos/sdk/dist/RestApi/Error/AuthenticationError");
|
|
45
|
-
var organizationFacade_1 = require("../Organization/organizationFacade");
|
|
46
45
|
var apiVersions_1 = require("@signageos/sdk/dist/RestApi/apiVersions");
|
|
47
46
|
var helper_1 = require("../helper");
|
|
48
47
|
var createRestApi = function (config) {
|
|
@@ -58,14 +57,14 @@ var createRestApi = function (config) {
|
|
|
58
57
|
};
|
|
59
58
|
return new RestApi_1.default(options, options);
|
|
60
59
|
};
|
|
61
|
-
function getListOfEmulators(restApi) {
|
|
60
|
+
function getListOfEmulators(restApi, organizationUid) {
|
|
62
61
|
return __awaiter(this, void 0, void 0, function () {
|
|
63
62
|
var e_1;
|
|
64
63
|
return __generator(this, function (_a) {
|
|
65
64
|
switch (_a.label) {
|
|
66
65
|
case 0:
|
|
67
66
|
_a.trys.push([0, 2, , 3]);
|
|
68
|
-
return [4 /*yield*/, restApi.emulator.list()];
|
|
67
|
+
return [4 /*yield*/, restApi.emulator.list({ organizationUid: organizationUid })];
|
|
69
68
|
case 1: return [2 /*return*/, _a.sent()];
|
|
70
69
|
case 2:
|
|
71
70
|
e_1 = _a.sent();
|
|
@@ -98,9 +97,9 @@ function createNewEmulator(restApi, organizationUid) {
|
|
|
98
97
|
});
|
|
99
98
|
});
|
|
100
99
|
}
|
|
101
|
-
function loadEmulatorOrCreateNewAndReturnUid(
|
|
100
|
+
function loadEmulatorOrCreateNewAndReturnUid(organizationUid) {
|
|
102
101
|
return __awaiter(this, void 0, void 0, function () {
|
|
103
|
-
var config,
|
|
102
|
+
var config, restApi, listOfEmulatorsResponse, isSavedValidEmulator, emulatorUid, emulatorName, selectedEmulator, newEmulatorList, emulatorName;
|
|
104
103
|
return __generator(this, function (_a) {
|
|
105
104
|
switch (_a.label) {
|
|
106
105
|
case 0: return [4 /*yield*/, (0, runControlHelper_1.loadConfig)()];
|
|
@@ -109,12 +108,9 @@ function loadEmulatorOrCreateNewAndReturnUid(options) {
|
|
|
109
108
|
if (!config.identification || !config.apiSecurityToken) {
|
|
110
109
|
throw new Error("No authenticized account found. Try to login using ".concat(chalk_1.default.green('sos login')));
|
|
111
110
|
}
|
|
112
|
-
return [4 /*yield*/, (0, organizationFacade_1.getOrganizationUidOrDefaultOrSelect)(options)];
|
|
113
|
-
case 2:
|
|
114
|
-
organizationUid = _a.sent();
|
|
115
111
|
restApi = createRestApi(config);
|
|
116
|
-
return [4 /*yield*/, getListOfEmulators(restApi)];
|
|
117
|
-
case
|
|
112
|
+
return [4 /*yield*/, getListOfEmulators(restApi, organizationUid)];
|
|
113
|
+
case 2:
|
|
118
114
|
listOfEmulatorsResponse = _a.sent();
|
|
119
115
|
isSavedValidEmulator = config.emulatorUid && listOfEmulatorsResponse.some(function (emu) { return emu.duid === config.emulatorUid; });
|
|
120
116
|
if (isSavedValidEmulator) {
|
|
@@ -125,13 +121,13 @@ function loadEmulatorOrCreateNewAndReturnUid(options) {
|
|
|
125
121
|
}
|
|
126
122
|
emulatorUid = '';
|
|
127
123
|
console.log('Looking for valid emulator assigned to your account via API...');
|
|
128
|
-
if (!(listOfEmulatorsResponse.length === 1)) return [3 /*break*/,
|
|
124
|
+
if (!(listOfEmulatorsResponse.length === 1)) return [3 /*break*/, 3];
|
|
129
125
|
emulatorName = listOfEmulatorsResponse[0].name;
|
|
130
126
|
emulatorUid = listOfEmulatorsResponse[0].duid;
|
|
131
127
|
console.log("One valid emulator ".concat(chalk_1.default.green(emulatorName), " fetched and saved into .sosrc"));
|
|
132
|
-
return [3 /*break*/,
|
|
133
|
-
case
|
|
134
|
-
if (!(listOfEmulatorsResponse.length > 1)) return [3 /*break*/,
|
|
128
|
+
return [3 /*break*/, 8];
|
|
129
|
+
case 3:
|
|
130
|
+
if (!(listOfEmulatorsResponse.length > 1)) return [3 /*break*/, 5];
|
|
135
131
|
return [4 /*yield*/, prompts({
|
|
136
132
|
type: 'select',
|
|
137
133
|
name: 'duid',
|
|
@@ -141,24 +137,24 @@ function loadEmulatorOrCreateNewAndReturnUid(options) {
|
|
|
141
137
|
value: emu.duid,
|
|
142
138
|
}); }),
|
|
143
139
|
})];
|
|
144
|
-
case
|
|
140
|
+
case 4:
|
|
145
141
|
selectedEmulator = _a.sent();
|
|
146
142
|
emulatorUid = selectedEmulator.duid;
|
|
147
|
-
return [3 /*break*/,
|
|
148
|
-
case
|
|
143
|
+
return [3 /*break*/, 8];
|
|
144
|
+
case 5:
|
|
149
145
|
console.log('No valid emulator assigned to your account found via API thus newone will be created');
|
|
150
146
|
return [4 /*yield*/, createNewEmulator(restApi, organizationUid)];
|
|
151
|
-
case
|
|
147
|
+
case 6:
|
|
152
148
|
_a.sent();
|
|
153
|
-
return [4 /*yield*/, getListOfEmulators(restApi)];
|
|
154
|
-
case
|
|
149
|
+
return [4 /*yield*/, getListOfEmulators(restApi, organizationUid)];
|
|
150
|
+
case 7:
|
|
155
151
|
newEmulatorList = _a.sent();
|
|
156
152
|
emulatorName = newEmulatorList[0].name;
|
|
157
153
|
emulatorUid = newEmulatorList[0].duid;
|
|
158
154
|
console.log("New emulator ".concat(chalk_1.default.green(emulatorName), " created and saved into .sosrc"));
|
|
159
|
-
_a.label =
|
|
160
|
-
case
|
|
161
|
-
case
|
|
155
|
+
_a.label = 8;
|
|
156
|
+
case 8: return [4 /*yield*/, (0, runControlHelper_1.updateConfig)({ emulatorUid: emulatorUid })];
|
|
157
|
+
case 9:
|
|
162
158
|
_a.sent();
|
|
163
159
|
return [2 /*return*/, emulatorUid];
|
|
164
160
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emulatorFacade.js","sourceRoot":"","sources":["../../src/Emulator/emulatorFacade.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA0B;AAC1B,iCAAmC;AACnC,mEAAmF;AACnF,+DAA0D;AAC1D,6FAAwF;AACxF,
|
|
1
|
+
{"version":3,"file":"emulatorFacade.js","sourceRoot":"","sources":["../../src/Emulator/emulatorFacade.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,+BAA0B;AAC1B,iCAAmC;AACnC,mEAAmF;AACnF,+DAA0D;AAC1D,6FAAwF;AACxF,uEAAsE;AACtE,oCAA4D;AAS5D,IAAM,aAAa,GAAG,UAAC,MAAe;;IACrC,IAAM,OAAO,GAAG;QACf,GAAG,EAAE,IAAA,kBAAS,EAAC,MAAM,CAAC;QACtB,IAAI,EAAE;YACL,QAAQ,EAAE,MAAA,MAAM,CAAC,cAAc,mCAAI,EAAE;YACrC,MAAM,EAAE,MAAA,MAAM,CAAC,gBAAgB,mCAAI,EAAE;SACrC;QACD,OAAO,EAAE,yBAAW,CAAC,EAAE;QACvB,cAAc,EAAE,IAAA,6BAAoB,GAAE;KACtC,CAAC;IACF,OAAO,IAAI,iBAAO,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AACtC,CAAC,CAAC;AAEF,SAAe,kBAAkB,CAAC,OAAgB,EAAE,eAAuB;;;;;;;oBAElE,qBAAM,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,eAAe,iBAAA,EAAE,CAAC,EAAA;wBAAvD,sBAAO,SAAgD,EAAC;;;oBAExD,IAAI,GAAC,YAAY,6BAAmB,EAAE;wBACrC,MAAM,IAAI,KAAK,CAAC,mDAA4C,eAAK,CAAC,KAAK,CAAC,WAAW,CAAC,CAAE,CAAC,CAAC;qBACxF;yBAAM;wBACN,MAAM,IAAI,K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AAY,EAAC,EAAE,WAAW,aAAA,EAAE,CAAC,EAAA;;oBAAnC,SAAmC,CAAC;oBACpC,sBAAO,WAAW,EAAC;;;;CACnB;AA9CD,kFA8CC"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { IEmulator } from './IEmulator';
|
|
2
|
-
import { NO_DEFAULT_ORGANIZATION_OPTION, ORGANIZATION_UID_OPTION } from '../Organization/organizationFacade';
|
|
3
|
-
import { CommandLineOptions } from '../Command/commandDefinition';
|
|
4
2
|
export interface ICreateEmulatorParams {
|
|
5
3
|
projectPath: string;
|
|
6
4
|
appletPath: string;
|
|
@@ -8,4 +6,4 @@ export interface ICreateEmulatorParams {
|
|
|
8
6
|
emulatorServerPort: number;
|
|
9
7
|
emulatorUid: string;
|
|
10
8
|
}
|
|
11
|
-
export declare function createEmulator(params: ICreateEmulatorParams,
|
|
9
|
+
export declare function createEmulator(params: ICreateEmulatorParams, organizationUid: string): Promise<IEmulator>;
|
|
@@ -48,13 +48,12 @@ var fsExtra = require("fs-extra");
|
|
|
48
48
|
var glob = require("globby");
|
|
49
49
|
var chalk_1 = require("chalk");
|
|
50
50
|
var createDomain_1 = require("./createDomain");
|
|
51
|
-
var organizationFacade_1 = require("../Organization/organizationFacade");
|
|
52
51
|
var DUMMY_CHECKSUM = '0000000000ffffffffff';
|
|
53
52
|
var APPLET_DIRECTORY_PATH = '/applet';
|
|
54
|
-
function createEmulator(params,
|
|
53
|
+
function createEmulator(params, organizationUid) {
|
|
55
54
|
var _a;
|
|
56
55
|
return __awaiter(this, void 0, void 0, function () {
|
|
57
|
-
var projectPath, emulatorServerPort, appletPath, entryFileRelativePath, entryFileAbsolutePath, serverDomainOptions, frontDisplayPath, frontDisplayDistPath, packageConfig,
|
|
56
|
+
var projectPath, emulatorServerPort, appletPath, entryFileRelativePath, entryFileAbsolutePath, serverDomainOptions, frontDisplayPath, frontDisplayDistPath, packageConfig, envVars, app, server, appletAssets, entryFileExists;
|
|
58
57
|
return __generator(this, function (_b) {
|
|
59
58
|
switch (_b.label) {
|
|
60
59
|
case 0:
|
|
@@ -64,9 +63,6 @@ function createEmulator(params, options) {
|
|
|
64
63
|
frontDisplayPath = path.dirname(require.resolve('@signageos/front-display/package.json', { paths: [projectPath] }));
|
|
65
64
|
frontDisplayDistPath = path.join(frontDisplayPath, 'dist');
|
|
66
65
|
packageConfig = JSON.parse(fsExtra.readFileSync(path.join(projectPath, 'package.json')).toString());
|
|
67
|
-
return [4 /*yield*/, (0, organizationFacade_1.getOrganizationUidOrDefaultOrSelect)(options)];
|
|
68
|
-
case 1:
|
|
69
|
-
organizationUid = _b.sent();
|
|
70
66
|
if (!organizationUid) {
|
|
71
67
|
throw new Error("No default organization selected. Use ".concat(chalk_1.default.green('sos organization set-default'), " first."));
|
|
72
68
|
}
|
|
@@ -106,7 +102,7 @@ function createEmulator(params, options) {
|
|
|
106
102
|
absolute: true,
|
|
107
103
|
dot: true,
|
|
108
104
|
})];
|
|
109
|
-
case
|
|
105
|
+
case 1:
|
|
110
106
|
appletAssets = _b.sent();
|
|
111
107
|
entryFileExists = appletAssets.includes(entryFileAbsolutePath.replace(/\\/g, '/'));
|
|
112
108
|
if (!entryFileExists) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"emulatorFactory.js","sourceRoot":"","sources":["../../src/Emulator/emulatorFactory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA6B;AAC7B,2BAA6B;AAC7B,yBAA2B;AAC3B,iCAAmC;AACnC,2BAA6B;AAC7B,0CAA4C;AAC5C,2BAA6B;AAC7B,kCAAoC;AACpC,6BAA+B;AAC/B,+BAA0B;AAE1B,+CAA8C;
|
|
1
|
+
{"version":3,"file":"emulatorFactory.js","sourceRoot":"","sources":["../../src/Emulator/emulatorFactory.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA6B;AAC7B,2BAA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AG,GAAG,CAAC,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;wBACnC,IAAM,gBAAgB,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;wBAC5E,IAAM,SAAS,GAAG,YAAY,CAAC,IAAI,CAAC,UAAC,KAAa;4BACjD,OAAO,KAAK,CAAC,SAAS,CAAC,UAAU,CAAC,MAAM,GAAG,CAAC,CAAC,KAAK,gBAAgB,CAAC;wBACpE,CAAC,CAAC,CAAC;wBAEH,IAAI,SAAS,EAAE;4BACd,IAAM,WAAW,GAAG,IAAI,CAAC,OAAO,CAAC,gBAAgB,CAAC,IAAI,0BAA0B,CAAC;4BACjF,GAAG,CAAC,SAAS,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC;4BAC3C,IAAM,UAAU,GAAG,OAAO,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC;4BACvD,UAAU,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;yBACrB;6BAAM;4BACN,IAAI,EAAE,CAAC;yBACP;oBACF,CAAC,CAAC,CAAC;oBAEH,sBAAO;4BACN,IAAI;gCACH,MAAM,CAAC,KAAK,EAAE,CAAC;4BAChB,CAAC;yBACD,EAAC;;;;CACF;AApGD,wCAoGC"}
|
package/package-lock.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signageos/cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"lockfileVersion": 1,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"dependencies": {
|
|
@@ -274,19 +274,19 @@
|
|
|
274
274
|
}
|
|
275
275
|
},
|
|
276
276
|
"@signageos/front-applet": {
|
|
277
|
-
"version": "5.
|
|
278
|
-
"resolved": "https://npm.signageos.io/@signageos%2ffront-applet/-/front-applet-5.
|
|
279
|
-
"integrity": "sha512-
|
|
277
|
+
"version": "5.4.2",
|
|
278
|
+
"resolved": "https://npm.signageos.io/@signageos%2ffront-applet/-/front-applet-5.4.2.tgz",
|
|
279
|
+
"integrity": "sha512-2dup41oAJhaZU+sWNShML+t7sd8jq5W6V3SzMWFb/c0GI82ukwz2lTbhOKoDdNwHtwYqtOp1B5R1DPMTGtIryw==",
|
|
280
280
|
"requires": {
|
|
281
281
|
"weinre": "2.0.0-pre-I0Z7U9OV"
|
|
282
282
|
}
|
|
283
283
|
},
|
|
284
284
|
"@signageos/sdk": {
|
|
285
|
-
"version": "1.
|
|
286
|
-
"resolved": "https://npm.signageos.io/@signageos%2fsdk/-/sdk-1.
|
|
287
|
-
"integrity": "sha512-
|
|
285
|
+
"version": "1.15.0",
|
|
286
|
+
"resolved": "https://npm.signageos.io/@signageos%2fsdk/-/sdk-1.15.0.tgz",
|
|
287
|
+
"integrity": "sha512-WTO3yxdvIxl/7hdd1mzwmjDJuXR2g2Z4NIts+KRbTecZkp2O5jtS4NOSNqqgZ0rykvGhgtOMOlUtS5nvcuUNgA==",
|
|
288
288
|
"requires": {
|
|
289
|
-
"@signageos/front-applet": "5.
|
|
289
|
+
"@signageos/front-applet": "5.4.2",
|
|
290
290
|
"@types/fs-extra": "8.1.0",
|
|
291
291
|
"@types/geojson": "7946.0.8",
|
|
292
292
|
"@types/ini": "1.3.30",
|
|
@@ -2420,9 +2420,9 @@
|
|
|
2420
2420
|
}
|
|
2421
2421
|
},
|
|
2422
2422
|
"decimal.js": {
|
|
2423
|
-
"version": "10.
|
|
2424
|
-
"resolved": "https://npm.signageos.io/decimal.js/-/decimal.js-10.
|
|
2425
|
-
"integrity": "sha512-
|
|
2423
|
+
"version": "10.4.2",
|
|
2424
|
+
"resolved": "https://npm.signageos.io/decimal.js/-/decimal.js-10.4.2.tgz",
|
|
2425
|
+
"integrity": "sha512-ic1yEvwT6GuvaYwBLLY6/aFFgjZdySKTE8en/fkU3QICTmRtgtSlFn0u0BXN06InZwtfCelR7j8LRiDI/02iGA=="
|
|
2426
2426
|
},
|
|
2427
2427
|
"decode-uri-component": {
|
|
2428
2428
|
"version": "0.2.0",
|
|
@@ -5393,9 +5393,9 @@
|
|
|
5393
5393
|
}
|
|
5394
5394
|
},
|
|
5395
5395
|
"nwsapi": {
|
|
5396
|
-
"version": "2.2.
|
|
5397
|
-
"resolved": "https://npm.signageos.io/nwsapi/-/nwsapi-2.2.
|
|
5398
|
-
"integrity": "sha512-
|
|
5396
|
+
"version": "2.2.2",
|
|
5397
|
+
"resolved": "https://npm.signageos.io/nwsapi/-/nwsapi-2.2.2.tgz",
|
|
5398
|
+
"integrity": "sha512-90yv+6538zuvUMnN+zCr8LuV6bPFdq50304114vJYJ8RDyK8D5O9Phpbd6SZWgI7PwzmmfN1upeOJlvybDSgCw=="
|
|
5399
5399
|
},
|
|
5400
5400
|
"object-assign": {
|
|
5401
5401
|
"version": "4.1.1",
|
|
@@ -5922,6 +5922,11 @@
|
|
|
5922
5922
|
"integrity": "sha1-nsYfeQSYdXB9aUFFlv2Qek1xHnM=",
|
|
5923
5923
|
"dev": true
|
|
5924
5924
|
},
|
|
5925
|
+
"querystringify": {
|
|
5926
|
+
"version": "2.2.0",
|
|
5927
|
+
"resolved": "https://npm.signageos.io/querystringify/-/querystringify-2.2.0.tgz",
|
|
5928
|
+
"integrity": "sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ=="
|
|
5929
|
+
},
|
|
5925
5930
|
"queue-microtask": {
|
|
5926
5931
|
"version": "1.2.3",
|
|
5927
5932
|
"resolved": "https://npm.signageos.io/queue-microtask/-/queue-microtask-1.2.3.tgz",
|
|
@@ -6075,6 +6080,11 @@
|
|
|
6075
6080
|
"integrity": "sha1-wR6XJ2tluOKSP3Xav1+y7ww4Qbk=",
|
|
6076
6081
|
"dev": true
|
|
6077
6082
|
},
|
|
6083
|
+
"requires-port": {
|
|
6084
|
+
"version": "1.0.0",
|
|
6085
|
+
"resolved": "https://npm.signageos.io/requires-port/-/requires-port-1.0.0.tgz",
|
|
6086
|
+
"integrity": "sha1-kl0mAdOaxIXgkc8NpcbmlNw9yv8="
|
|
6087
|
+
},
|
|
6078
6088
|
"resolve": {
|
|
6079
6089
|
"version": "1.17.0",
|
|
6080
6090
|
"resolved": "https://npm.signageos.io/resolve/-/resolve-1.17.0.tgz",
|
|
@@ -7014,13 +7024,21 @@
|
|
|
7014
7024
|
}
|
|
7015
7025
|
},
|
|
7016
7026
|
"tough-cookie": {
|
|
7017
|
-
"version": "4.
|
|
7018
|
-
"resolved": "https://npm.signageos.io/tough-cookie/-/tough-cookie-4.
|
|
7019
|
-
"integrity": "sha512-
|
|
7027
|
+
"version": "4.1.2",
|
|
7028
|
+
"resolved": "https://npm.signageos.io/tough-cookie/-/tough-cookie-4.1.2.tgz",
|
|
7029
|
+
"integrity": "sha512-G9fqXWoYFZgTc2z8Q5zaHy/vJMjm+WV0AkAeHxVCQiEB1b+dGvWzFW6QV07cY5jQ5gRkeid2qIkzkxUnmoQZUQ==",
|
|
7020
7030
|
"requires": {
|
|
7021
7031
|
"psl": "^1.1.33",
|
|
7022
7032
|
"punycode": "^2.1.1",
|
|
7023
|
-
"universalify": "^0.
|
|
7033
|
+
"universalify": "^0.2.0",
|
|
7034
|
+
"url-parse": "^1.5.3"
|
|
7035
|
+
},
|
|
7036
|
+
"dependencies": {
|
|
7037
|
+
"universalify": {
|
|
7038
|
+
"version": "0.2.0",
|
|
7039
|
+
"resolved": "https://npm.signageos.io/universalify/-/universalify-0.2.0.tgz",
|
|
7040
|
+
"integrity": "sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg=="
|
|
7041
|
+
}
|
|
7024
7042
|
}
|
|
7025
7043
|
},
|
|
7026
7044
|
"tr46": {
|
|
@@ -7344,6 +7362,15 @@
|
|
|
7344
7362
|
}
|
|
7345
7363
|
}
|
|
7346
7364
|
},
|
|
7365
|
+
"url-parse": {
|
|
7366
|
+
"version": "1.5.10",
|
|
7367
|
+
"resolved": "https://npm.signageos.io/url-parse/-/url-parse-1.5.10.tgz",
|
|
7368
|
+
"integrity": "sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==",
|
|
7369
|
+
"requires": {
|
|
7370
|
+
"querystringify": "^2.1.1",
|
|
7371
|
+
"requires-port": "^1.0.0"
|
|
7372
|
+
}
|
|
7373
|
+
},
|
|
7347
7374
|
"url-parse-lax": {
|
|
7348
7375
|
"version": "3.0.0",
|
|
7349
7376
|
"resolved": "https://npm.signageos.io/url-parse-lax/-/url-parse-lax-3.0.0.tgz",
|
|
@@ -7869,9 +7896,9 @@
|
|
|
7869
7896
|
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
|
|
7870
7897
|
},
|
|
7871
7898
|
"ws": {
|
|
7872
|
-
"version": "8.
|
|
7873
|
-
"resolved": "https://npm.signageos.io/ws/-/ws-8.
|
|
7874
|
-
"integrity": "sha512-
|
|
7899
|
+
"version": "8.9.0",
|
|
7900
|
+
"resolved": "https://npm.signageos.io/ws/-/ws-8.9.0.tgz",
|
|
7901
|
+
"integrity": "sha512-Ja7nszREasGaYUYCI2k4lCKIRTt+y7XuqVoHR44YpI49TtryyqbqvDMn5eqfW7e6HzTukDRIsXqzVHScqRcafg=="
|
|
7875
7902
|
},
|
|
7876
7903
|
"xml-name-validator": {
|
|
7877
7904
|
"version": "4.0.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signageos/cli",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.2",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"files": [
|
|
6
6
|
".env",
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
},
|
|
74
74
|
"dependencies": {
|
|
75
75
|
"@signageos/file": "0.1.1",
|
|
76
|
-
"@signageos/sdk": "1.
|
|
76
|
+
"@signageos/sdk": "1.15.0",
|
|
77
77
|
"archiver": "5.0.2",
|
|
78
78
|
"chalk": "2.4.2",
|
|
79
79
|
"child-process-promise": "2.2.1",
|