@trackunit/iris-app 0.0.139 → 0.0.142
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
CHANGED
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
|
|
4
4
|
|
|
5
|
+
### [0.0.142](https://github.com/Trackunit/manager/compare/iris-app/0.0.141...iris-app/0.0.142) (2022-11-20)
|
|
6
|
+
|
|
7
|
+
### [0.0.141](https://github.com/Trackunit/manager/compare/iris-app/0.0.140...iris-app/0.0.141) (2022-11-16)
|
|
8
|
+
|
|
9
|
+
### Dependency Updates
|
|
10
|
+
|
|
11
|
+
* `iris-app-build-utilities` updated to version `0.0.1`
|
|
12
|
+
* `iris-app-api` updated to version `0.0.1`
|
|
13
|
+
* `iris-app-webpack-plugin` updated to version `0.0.1`
|
|
14
|
+
### [0.0.140](https://github.com/Trackunit/manager/compare/iris-app/0.0.139...iris-app/0.0.140) (2022-11-16)
|
|
15
|
+
|
|
16
|
+
### Dependency Updates
|
|
17
|
+
|
|
18
|
+
* `iris-app-build-utilities` updated to version `0.0.1`
|
|
19
|
+
* `iris-app-api` updated to version `0.0.1`
|
|
20
|
+
* `iris-app-webpack-plugin` updated to version `0.0.1`
|
|
5
21
|
### [0.0.139](https://github.com/Trackunit/manager/compare/iris-app/0.0.138...iris-app/0.0.139) (2022-11-14)
|
|
6
22
|
|
|
7
23
|
### Dependency Updates
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/iris-app",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.142",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"generators": "./generators.json",
|
|
@@ -13,16 +13,16 @@
|
|
|
13
13
|
"echarts": "^5.4.0",
|
|
14
14
|
"penpal": "^6.2.2",
|
|
15
15
|
"babel-plugin-styled-components": "1.13.3",
|
|
16
|
-
"@trackunit/iris-app-build-utilities": "0.0.
|
|
16
|
+
"@trackunit/iris-app-build-utilities": "0.0.66",
|
|
17
17
|
"tsconfig-paths": "^3.14.1",
|
|
18
18
|
"typescript": "4.7.3",
|
|
19
|
-
"@trackunit/iris-app-api": "0.0.
|
|
19
|
+
"@trackunit/iris-app-api": "0.0.61",
|
|
20
20
|
"node-fetch": "^2.6.7",
|
|
21
21
|
"libnpmpublish": "^6.0.5",
|
|
22
22
|
"open": "^8.4.0",
|
|
23
23
|
"pacote": "^13.6.2",
|
|
24
24
|
"semver": "^7.3.7",
|
|
25
|
-
"@trackunit/iris-app-webpack-plugin": "0.0.
|
|
25
|
+
"@trackunit/iris-app-webpack-plugin": "0.0.66",
|
|
26
26
|
"enquirer": "^2.3.6",
|
|
27
27
|
"tslib": "^2.4.0"
|
|
28
28
|
},
|
|
@@ -21,13 +21,8 @@ function doRunWebpackDevServer(config) {
|
|
|
21
21
|
baseUrl = `${server.options.https ? "https" : "http"}://${server.options.host}:${server.options.port}${devServerOptions?.devMiddleware?.publicPath}`;
|
|
22
22
|
};
|
|
23
23
|
const webpackServer = new WebpackDevServer(devServerConfig, webpackCompiler);
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
return () => webpackServer.stop();
|
|
27
|
-
}
|
|
28
|
-
catch (e) {
|
|
29
|
-
throw new Error("Could not start start dev server");
|
|
30
|
-
}
|
|
24
|
+
webpackServer.start().catch((err) => subscriber.error(err));
|
|
25
|
+
return () => webpackServer.stop();
|
|
31
26
|
});
|
|
32
27
|
}
|
|
33
28
|
exports.doRunWebpackDevServer = doRunWebpackDevServer;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webpackDevServer.js","sourceRoot":"","sources":["../../../../../../../libs/iris-app-sdk/iris-app/src/executors/serve/webpackDevServer.ts"],"names":[],"mappings":";;;AAAA,+BAAkC;AAClC,mCAAoC;AACpC,uDAAwD;AAExD,SAAgB,qBAAqB,CACnC,MAA6B;IAE7B,OAAO,IAAI,iBAAU,CAAC,UAAU,CAAC,EAAE;QACjC,MAAM,eAAe,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAEhD,IAAI,OAAe,CAAC;QAEpB,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,eAAe,EAAE,KAAK,CAAC,EAAE;YACtD,UAAU,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC;QACtC,CAAC,CAAC,CAAC;QAEH,MAAM,eAAe,GAAI,MAAgC,CAAC,SAAS,IAAI,EAAE,CAAC;QAE1E,MAAM,gBAAgB,GAAG,eAAe,CAAC,WAAW,CAAC;QAErD,eAAe,CAAC,WAAW,GAAG,UAAU,MAAwB;YAC9D,IAAI,gBAAgB,EAAE;gBACpB,gBAAgB,CAAC,MAAM,CAAC,CAAC;aAC1B;YAED,MAAM,gBAAgB,GAAmC,MAAM,CAAC,OAAO,CAAC;YAExE,OAAO,GAAG,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,MAAM,MAAM,CAAC,OAAO,CAAC,IAAI,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,GAClG,gBAAgB,EAAE,aAAa,EAAE,UACnC,EAAE,CAAC;QACL,CAAC,CAAC;QAEF,MAAM,aAAa,GAAG,IAAI,gBAAgB,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;QAE7E,
|
|
1
|
+
{"version":3,"file":"webpackDevServer.js","sourceRoot":"","sources":["../../../../../../../libs/iris-app-sdk/iris-app/src/executors/serve/webpackDevServer.ts"],"names":[],"mappings":";;;AAAA,+BAAkC;AAClC,mCAAoC;AACpC,uDAAwD;AAExD,SAAgB,qBAAqB,CACnC,MAA6B;IAE7B,OAAO,IAAI,iBAAU,CAAC,UAAU,CAAC,EAAE;QACjC,MAAM,eAAe,GAAG,OAAO,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC;QAEhD,IAAI,OAAe,CAAC;QAEpB,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC,eAAe,EAAE,KAAK,CAAC,EAAE;YACtD,UAAU,CAAC,IAAI,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,CAAC,CAAC;QACtC,CAAC,CAAC,CAAC;QAEH,MAAM,eAAe,GAAI,MAAgC,CAAC,SAAS,IAAI,EAAE,CAAC;QAE1E,MAAM,gBAAgB,GAAG,eAAe,CAAC,WAAW,CAAC;QAErD,eAAe,CAAC,WAAW,GAAG,UAAU,MAAwB;YAC9D,IAAI,gBAAgB,EAAE;gBACpB,gBAAgB,CAAC,MAAM,CAAC,CAAC;aAC1B;YAED,MAAM,gBAAgB,GAAmC,MAAM,CAAC,OAAO,CAAC;YAExE,OAAO,GAAG,GAAG,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,MAAM,MAAM,CAAC,OAAO,CAAC,IAAI,IAAI,MAAM,CAAC,OAAO,CAAC,IAAI,GAClG,gBAAgB,EAAE,aAAa,EAAE,UACnC,EAAE,CAAC;QACL,CAAC,CAAC;QAEF,MAAM,aAAa,GAAG,IAAI,gBAAgB,CAAC,eAAe,EAAE,eAAe,CAAC,CAAC;QAE7E,aAAa,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,CAAC,GAAU,EAAE,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC;QACnE,OAAO,GAAG,EAAE,CAAC,aAAa,CAAC,IAAI,EAAE,CAAC;IACpC,CAAC,CAAC,CAAC;AACL,CAAC;AAjCD,sDAiCC","sourcesContent":["import { Observable } from \"rxjs\";\nimport webpack = require(\"webpack\");\nimport WebpackDevServer = require(\"webpack-dev-server\");\n\nexport function doRunWebpackDevServer(\n config: webpack.Configuration\n): Observable<{ stats: webpack.Stats; baseUrl: string }> {\n return new Observable(subscriber => {\n const webpackCompiler = webpack.webpack(config);\n\n let baseUrl: string;\n\n webpackCompiler.hooks.done.tap(\"build-webpack\", stats => {\n subscriber.next({ stats, baseUrl });\n });\n\n const devServerConfig = (config as webpack.Configuration).devServer || {};\n\n const originalOnListen = devServerConfig.onListening;\n\n devServerConfig.onListening = function (server: WebpackDevServer) {\n if (originalOnListen) {\n originalOnListen(server);\n }\n\n const devServerOptions: WebpackDevServer.Configuration = server.options;\n\n baseUrl = `${server.options.https ? \"https\" : \"http\"}://${server.options.host}:${server.options.port}${\n devServerOptions?.devMiddleware?.publicPath\n }`;\n };\n\n const webpackServer = new WebpackDevServer(devServerConfig, webpackCompiler);\n\n webpackServer.start().catch((err: Error) => subscriber.error(err));\n return () => webpackServer.stop();\n });\n}\n"]}
|