@signageos/webpack-plugin 0.2.0 → 0.3.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/dist/index.js +36 -30
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
- package/CHANGELOG.md +0 -37
- package/package-lock.json +0 -7866
package/dist/index.js
CHANGED
|
@@ -86,7 +86,7 @@ var Plugin = /** @class */ (function () {
|
|
|
86
86
|
var _this = this;
|
|
87
87
|
console.log('SOS Plugin started');
|
|
88
88
|
var emulator;
|
|
89
|
-
compiler.
|
|
89
|
+
compiler.hooks.watchRun.tapPromise('SignageOSPlugin', function (_compiler) { return __awaiter(_this, void 0, void 0, function () {
|
|
90
90
|
return __generator(this, function (_a) {
|
|
91
91
|
switch (_a.label) {
|
|
92
92
|
case 0:
|
|
@@ -95,13 +95,11 @@ var Plugin = /** @class */ (function () {
|
|
|
95
95
|
case 1:
|
|
96
96
|
emulator = _a.sent();
|
|
97
97
|
_a.label = 2;
|
|
98
|
-
case 2:
|
|
99
|
-
callback();
|
|
100
|
-
return [2 /*return*/];
|
|
98
|
+
case 2: return [2 /*return*/];
|
|
101
99
|
}
|
|
102
100
|
});
|
|
103
101
|
}); });
|
|
104
|
-
compiler.
|
|
102
|
+
compiler.hooks.watchClose.tap('SignageOSPlugin', function () { return __awaiter(_this, void 0, void 0, function () {
|
|
105
103
|
return __generator(this, function (_a) {
|
|
106
104
|
if (emulator) {
|
|
107
105
|
emulator.stop();
|
|
@@ -110,7 +108,15 @@ var Plugin = /** @class */ (function () {
|
|
|
110
108
|
return [2 /*return*/];
|
|
111
109
|
});
|
|
112
110
|
}); });
|
|
113
|
-
compiler.
|
|
111
|
+
compiler.hooks.assetEmitted.tap('SignageOSPlugin', function (filename, assetEmittedInfo) { return __awaiter(_this, void 0, void 0, function () {
|
|
112
|
+
return __generator(this, function (_a) {
|
|
113
|
+
if (emulator) {
|
|
114
|
+
emulator.notifyEmittedFile(filename, assetEmittedInfo);
|
|
115
|
+
}
|
|
116
|
+
return [2 /*return*/];
|
|
117
|
+
});
|
|
118
|
+
}); });
|
|
119
|
+
compiler.hooks.done.tap('SignageOSPlugin', function (stats) { return __awaiter(_this, void 0, void 0, function () {
|
|
114
120
|
return __generator(this, function (_a) {
|
|
115
121
|
switch (_a.label) {
|
|
116
122
|
case 0:
|
|
@@ -141,7 +147,7 @@ var APPLET_DIRECTORY_PATH = '/applet';
|
|
|
141
147
|
function createEmulator(options) {
|
|
142
148
|
var _a;
|
|
143
149
|
return __awaiter(this, void 0, void 0, function () {
|
|
144
|
-
var projectPath, defaultPort, frontDisplayPath, frontDisplayDistPath_1, packagePath, packageConfig, currentOptions, organizationUid,
|
|
150
|
+
var projectPath, defaultPort, frontDisplayPath, frontDisplayDistPath_1, packagePath, packageConfig, currentOptions, organizationUid, lastCompilationAssets_1, envVars_1, app, server_1, error_1;
|
|
145
151
|
return __generator(this, function (_b) {
|
|
146
152
|
switch (_b.label) {
|
|
147
153
|
case 0:
|
|
@@ -176,12 +182,6 @@ function createEmulator(options) {
|
|
|
176
182
|
};
|
|
177
183
|
app = express();
|
|
178
184
|
app.use(cors());
|
|
179
|
-
app.get('/display.appcache', function (_req, res) {
|
|
180
|
-
var currentDate = new Date();
|
|
181
|
-
res.header('Last-Modified', currentDate.toString());
|
|
182
|
-
res.header('Content-type', 'text/cache-manifest; charset=UTF-8');
|
|
183
|
-
res.send("CACHE MANIFEST\n# v1 - ".concat(currentDate.toISOString(), "\n/tmp\nNETWORK:\n*\n"));
|
|
184
|
-
});
|
|
185
185
|
app.get('/', function (_req, res) {
|
|
186
186
|
res.send("<script>\n\t\t\t\t\twindow.__SOS_BUNDLED_APPLET = {};\n\t\t\t\t\twindow.__SOS_BUNDLED_APPLET.binaryFile = location.origin + ".concat(JSON.stringify(envVars_1.binaryFilePath), ";\n\t\t\t\t\twindow.__SOS_BUNDLED_APPLET.uid = ").concat(JSON.stringify(envVars_1.uid), ";\n\t\t\t\t\twindow.__SOS_BUNDLED_APPLET.version = ").concat(JSON.stringify(envVars_1.version), ";\n\t\t\t\t\twindow.__SOS_BUNDLED_APPLET.checksum = ").concat(JSON.stringify(envVars_1.checksum), ";\n\t\t\t\t\twindow.__SOS_BUNDLED_APPLET.frontAppletVersion = ").concat(JSON.stringify(envVars_1.frontAppletVersion), ";\n\t\t\t\t\twindow.__SOS_BUNDLED_APPLET.frontAppletBinaryFile = ").concat(JSON.stringify(envVars_1.frontAppletBinaryFile), ";\n\t\t\t\t\twindow.__SOS_AUTO_VERIFICATION = {};\n\t\t\t\t\twindow.__SOS_AUTO_VERIFICATION.organizationUid = ").concat(JSON.stringify(envVars_1.organizationUid), ";\n\t\t\t\t</script>")
|
|
187
187
|
+ fsExtra.readFileSync(path.join(frontDisplayDistPath_1, 'index.html')).toString());
|
|
@@ -194,11 +194,6 @@ function createEmulator(options) {
|
|
|
194
194
|
app.use(APPLET_DIRECTORY_PATH, function (req, res, next) {
|
|
195
195
|
var fileUrl = url.parse(req.url);
|
|
196
196
|
var relativeFilePath = fileUrl.pathname ? fileUrl.pathname.substr(1) : '';
|
|
197
|
-
if (!currentCompilation_1) {
|
|
198
|
-
res.status(502).send('<span style="background-color: darkred;">Webpack is starting up. Please wait a second & try it again.</span>');
|
|
199
|
-
return;
|
|
200
|
-
}
|
|
201
|
-
var fileSystem = getCompilationFileSystem(currentCompilation_1.compiler.outputFileSystem);
|
|
202
197
|
if (relativeFilePath === 'index.html') {
|
|
203
198
|
if (typeof lastCompilationAssets_1[relativeFilePath] === 'undefined') {
|
|
204
199
|
res.status(404).send();
|
|
@@ -207,38 +202,49 @@ function createEmulator(options) {
|
|
|
207
202
|
// Propagate Hot reload of whole emulator
|
|
208
203
|
var prependFileContent = '<script>window.onunload = function () { window.parent.location.reload(); }</script>';
|
|
209
204
|
res.setHeader('Content-Type', 'text/html');
|
|
210
|
-
res.send(prependFileContent + lastCompilationAssets_1[relativeFilePath].source());
|
|
205
|
+
res.send(prependFileContent + lastCompilationAssets_1[relativeFilePath].source.source());
|
|
211
206
|
}
|
|
212
207
|
}
|
|
213
208
|
else if (typeof lastCompilationAssets_1[relativeFilePath] !== 'undefined') {
|
|
214
|
-
var compiledFilePath = lastCompilationAssets_1[relativeFilePath].existsAt;
|
|
215
209
|
var contentType = mime.getType(relativeFilePath) || 'application/octet-stream';
|
|
216
210
|
res.setHeader('Content-Type', contentType);
|
|
217
|
-
|
|
218
|
-
readStream.pipe(res);
|
|
211
|
+
res.send(lastCompilationAssets_1[relativeFilePath].source.buffer());
|
|
219
212
|
}
|
|
220
213
|
else {
|
|
221
214
|
next();
|
|
222
215
|
}
|
|
223
216
|
});
|
|
224
217
|
return [2 /*return*/, {
|
|
225
|
-
|
|
218
|
+
notifyEmittedFile: function (filename, assetEmittedInfo) {
|
|
226
219
|
try {
|
|
227
220
|
console.log('SOS Applet compilation done');
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
221
|
+
if (assetEmittedInfo instanceof Buffer) {
|
|
222
|
+
// Back compatibility for Webpack 4 and less.
|
|
223
|
+
// It's returning Buffer of the emitted asset directly
|
|
224
|
+
lastCompilationAssets_1[filename] = {
|
|
225
|
+
source: {
|
|
226
|
+
source: function () { return assetEmittedInfo; },
|
|
227
|
+
buffer: function () { return assetEmittedInfo; },
|
|
228
|
+
},
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
else {
|
|
232
|
+
lastCompilationAssets_1[filename] = assetEmittedInfo;
|
|
233
233
|
}
|
|
234
|
-
currentCompilation_1 = stats.compilation;
|
|
235
|
-
lastCompilationAssets_1 = __assign(__assign({}, lastCompilationAssets_1), stats.compilation.assets);
|
|
236
234
|
}
|
|
237
235
|
catch (error) {
|
|
238
236
|
console.error(error);
|
|
239
237
|
process.exit(1);
|
|
240
238
|
}
|
|
241
239
|
},
|
|
240
|
+
notifyDone: function (stats) {
|
|
241
|
+
envVars_1.checksum = stats.compilation.hash;
|
|
242
|
+
debug('process.env', envVars_1);
|
|
243
|
+
if (typeof stats.compilation.assets['index.html'] === 'undefined') {
|
|
244
|
+
console.warn("Applet has to have ".concat(chalk.green('index.html'), " in output files."));
|
|
245
|
+
return;
|
|
246
|
+
}
|
|
247
|
+
},
|
|
242
248
|
stop: function () {
|
|
243
249
|
server_1.close();
|
|
244
250
|
},
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,iCAAmC;AACnC,2BAA6B;AAC7B,2BAA6B;AAC7B,yBAA2B;AAC3B,2BAA6B;AAC7B,2BAA6B;AAC7B,kCAAoC;AACpC,6BAA+B;AAC/B,0CAA4C;AAC5C,6BAA+B;AAC/B,2CAA6C;AAC7C,+BAA0B;AAC1B,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,iCAAmC;AACnC,2BAA6B;AAC7B,2BAA6B;AAC7B,yBAA2B;AAC3B,2BAA6B;AAC7B,2BAA6B;AAC7B,kCAAoC;AACpC,6BAA+B;AAC/B,0CAA4C;AAC5C,6BAA+B;AAC/B,2CAA6C;AAC7C,+BAA0B;AAC1B,0FAI6D;AAC7D,kDAGiC;AACjC,0EAAyE;AAEzE,IAAM,KAAK,GAAG,IAAA,eAAK,EAAC,iCAAiC,CAAC,CAAC;AAavD,SAAS,wBAAwB,CAAC,UAA4B;IAC7D,IAAI,UAAU,GAAG,UAAmC,CAAC;IACrD,IAAI,CAAC,CAAC,kBAAkB,IAAI,UAAU,CAAC,EAAE;QACxC,oIAAoI;QACpI;;;;YAII;QACJ,UAAU,GAAG,QAAQ,CAAC;KACtB;IACD,OAAO,UAAU,CAAC;AACnB,CAAC;AAED;IAEC,gBACS,O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CAAC,CAAC;oCACjF,OAAO;iCACP;4BACF,CAAC;4BACD,IAAI;gCACH,QAAM,CAAC,KAAK,EAAE,CAAC;4BAChB,CAAC;yBACD,EAAC;;;oBAEF,OAAO,CAAC,KAAK,CAAC,OAAK,CAAC,CAAC;oBACrB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;;;;;;CAEjB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signageos/webpack-plugin",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Webpack Plugin for emulating sOS JS API in browser",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"files": [
|
|
@@ -52,32 +52,32 @@
|
|
|
52
52
|
"serve-static": "1.14.1"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
|
-
"@signageos/front-display": ">=
|
|
56
|
-
"webpack": "^
|
|
55
|
+
"@signageos/front-display": ">=11.0.0",
|
|
56
|
+
"webpack": "^5.0.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@signageos/codestyle": "0.0.15",
|
|
60
|
+
"@signageos/front-display": "11.0.0",
|
|
60
61
|
"@types/chalk": "2.2.0",
|
|
61
62
|
"@types/command-line-args": "5.2.0",
|
|
62
63
|
"@types/command-line-usage": "5.0.2",
|
|
63
64
|
"@types/cors": "2.8.6",
|
|
64
65
|
"@types/debug": "4.1.5",
|
|
65
|
-
"@types/express": "4.17.
|
|
66
|
+
"@types/express": "4.17.14",
|
|
66
67
|
"@types/fs-extra": "8.1.0",
|
|
67
68
|
"@types/globby": "9.1.0",
|
|
68
69
|
"@types/ini": "1.3.30",
|
|
69
70
|
"@types/lodash": "4.14.168",
|
|
70
71
|
"@types/mime": "2.0.1",
|
|
71
72
|
"@types/mocha": "7.0.2",
|
|
72
|
-
"@types/node": "
|
|
73
|
-
"@types/serve-static": "1.
|
|
74
|
-
"@types/webpack": "4.41.26",
|
|
73
|
+
"@types/node": "16.18.3",
|
|
74
|
+
"@types/serve-static": "1.15.0",
|
|
75
75
|
"depcheck": "1.4.3",
|
|
76
76
|
"mocha": "8.4.0",
|
|
77
77
|
"ts-node": "8.6.2",
|
|
78
78
|
"tslint": "6.0.0",
|
|
79
79
|
"typescript": "4.6.2",
|
|
80
|
-
"webpack": "
|
|
80
|
+
"webpack": "5.73.0"
|
|
81
81
|
},
|
|
82
82
|
"publishConfig": {
|
|
83
83
|
"registry": "https://registry.npmjs.org/",
|
package/CHANGELOG.md
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
# Changelog
|
|
2
|
-
All notable changes to this project will be documented in this file.
|
|
3
|
-
|
|
4
|
-
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
|
5
|
-
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
6
|
-
|
|
7
|
-
## [0.2.0] - 2022-04-06
|
|
8
|
-
### Added
|
|
9
|
-
- Ask for organization when default is not set yet and offer to save the default organization
|
|
10
|
-
|
|
11
|
-
## [0.1.2] - 2022-01-18
|
|
12
|
-
### Fixed
|
|
13
|
-
- Compatibility with peer dependency for front-display version 9.13.0+ (because of changed API)
|
|
14
|
-
|
|
15
|
-
## [0.1.1] - 2021-02-22
|
|
16
|
-
### Fixed
|
|
17
|
-
- `localhost:8090` based development of applet works now
|
|
18
|
-
|
|
19
|
-
## [0.1.0] - 2021-01-29
|
|
20
|
-
### Added
|
|
21
|
-
- Reloading connected devices after build.
|
|
22
|
-
|
|
23
|
-
## [0.0.4] - 2020-10-13
|
|
24
|
-
### Fixed
|
|
25
|
-
- Remove unnecessary dependencies to keep plugin small
|
|
26
|
-
|
|
27
|
-
### Security
|
|
28
|
-
- Fix dependabot alerts
|
|
29
|
-
|
|
30
|
-
## [0.0.2] - 2020-03-04
|
|
31
|
-
### Fixed
|
|
32
|
-
- Public registry release
|
|
33
|
-
- Universal import for any modules style
|
|
34
|
-
|
|
35
|
-
## [0.0.1]
|
|
36
|
-
### Added
|
|
37
|
-
- Package is available in npm registry https://www.npmjs.com/package/@signageos/webpack-plugin (moved from @signageos/cli)
|