@24i/smartapps-bigscreen-rnv-build-engine 0.0.2-alpha.1349 → 0.0.2-alpha.1351

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.
Files changed (48) hide show
  1. package/dist/src/index.js +2 -5
  2. package/dist/src/resolvers/resolveDeployLocations.js +20 -4
  3. package/dist/src/resolvers/resolveGenericRnvConfig.js +5 -8
  4. package/dist/src/scripts/release/deployToAppCenter.js +21 -5
  5. package/dist/src/scripts/release/githubRelease.js +23 -7
  6. package/dist/src/scripts/release/sentryRelease.js +20 -4
  7. package/dist/src/scripts/utils/cmdUtils.js +8 -8
  8. package/dist/src/scripts/utils/fsUtils.js +26 -7
  9. package/dist/src/scripts/utils/gitUtils.js +52 -32
  10. package/dist/src/scripts/utils/index.js +24 -9
  11. package/dist/src/scripts/utils/stringUtils.js +3 -3
  12. package/dist/src/sdks/sdk-tizen/index.js +46 -30
  13. package/dist/src/sdks/sdk-webos/index.js +25 -9
  14. package/dist/src/sdks/sdkUtils.js +4 -4
  15. package/dist/src/tasks/deploy/aswS3/aws.js +20 -4
  16. package/dist/src/tasks/deploy/aswS3/deployS3.js +5 -8
  17. package/dist/src/tasks/deploy/hbbtv/deployHbbtv.js +5 -8
  18. package/dist/src/tasks/task.rnv.build.js +22 -6
  19. package/dist/src/tasks/task.rnv.hooks.run.js +20 -4
  20. package/dist/src/tasks/task.rnv.start.js +20 -4
  21. package/dist/src/utils/zipBuildsByPlatforms.js +20 -4
  22. package/dist/templates/platforms/_shared/template.js +2 -1
  23. package/dist/templates/platforms/_shared/webpack.base.js +35 -20
  24. package/dist/templates/platforms/entone/webpack.config.dev.js +23 -3
  25. package/dist/templates/platforms/entone/webpack.config.prod.js +23 -3
  26. package/dist/templates/platforms/hbbtv/webpack.config.dev.js +23 -3
  27. package/dist/templates/platforms/hbbtv/webpack.config.prod.js +23 -3
  28. package/dist/templates/platforms/tizen/webpack.config.dev.js +23 -3
  29. package/dist/templates/platforms/tizen/webpack.config.prod.js +23 -3
  30. package/dist/templates/platforms/webos/webpack.config.dev.js +23 -3
  31. package/dist/templates/platforms/webos/webpack.config.prod.js +23 -3
  32. package/dist/templates/platforms/webtv/webpack.config.dev.js +23 -3
  33. package/dist/templates/platforms/webtv/webpack.config.prod.js +23 -3
  34. package/dist/types/src/scripts/utils/index.d.ts +4 -5
  35. package/dist/types/src/types/c.d.ts +4 -0
  36. package/dist/types/templates/platforms/_shared/template.d.ts +1 -1
  37. package/dist/types/templates/platforms/_shared/webpack.base.d.ts +80 -1
  38. package/dist/types/templates/platforms/entone/webpack.config.dev.d.ts +2 -2
  39. package/dist/types/templates/platforms/entone/webpack.config.prod.d.ts +2 -2
  40. package/dist/types/templates/platforms/hbbtv/webpack.config.dev.d.ts +2 -2
  41. package/dist/types/templates/platforms/hbbtv/webpack.config.prod.d.ts +2 -2
  42. package/dist/types/templates/platforms/tizen/webpack.config.dev.d.ts +2 -2
  43. package/dist/types/templates/platforms/tizen/webpack.config.prod.d.ts +2 -2
  44. package/dist/types/templates/platforms/webos/webpack.config.dev.d.ts +2 -2
  45. package/dist/types/templates/platforms/webos/webpack.config.prod.d.ts +2 -2
  46. package/dist/types/templates/platforms/webtv/webpack.config.dev.d.ts +2 -2
  47. package/dist/types/templates/platforms/webtv/webpack.config.prod.d.ts +2 -2
  48. package/package.json +5 -3
@@ -1,6 +1,26 @@
1
1
  "use strict";
2
- const Configs = require('./webpack.base');
3
- const Extend = require('./webpack.extend');
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
14
+ var __importStar = (this && this.__importStar) || function (mod) {
15
+ if (mod && mod.__esModule) return mod;
16
+ var result = {};
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
+ __setModuleDefault(result, mod);
19
+ return result;
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ const Configs = __importStar(require("./webpack.base"));
23
+ const Extend = __importStar(require("./webpack.extend"));
4
24
  const config = {
5
25
  currentDir: __dirname,
6
26
  metaTags: { viewport: `content="width=${Extend.resolution.width}, user-scalable=no"` },
@@ -21,7 +41,7 @@ const plugins = [
21
41
  ];
22
42
  if (config.analyzer)
23
43
  plugins.push(C.Plugins.analyzer);
24
- module.exports = {
44
+ exports.default = {
25
45
  entry: C.entry,
26
46
  devServer: C.devServer,
27
47
  output: C.output,
@@ -1,6 +1,26 @@
1
1
  "use strict";
2
- const Configs = require('./webpack.base');
3
- const Extend = require('./webpack.extend');
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
14
+ var __importStar = (this && this.__importStar) || function (mod) {
15
+ if (mod && mod.__esModule) return mod;
16
+ var result = {};
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
+ __setModuleDefault(result, mod);
19
+ return result;
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ const Configs = __importStar(require("./webpack.base"));
23
+ const Extend = __importStar(require("./webpack.extend"));
4
24
  const config = {
5
25
  currentDir: __dirname,
6
26
  metaTags: { viewport: `content="width=${Extend.resolution.width}, user-scalable=no"` },
@@ -18,7 +38,7 @@ const plugins = [
18
38
  ];
19
39
  if (config.analyzer)
20
40
  plugins.push(C.Plugins.analyzer);
21
- module.exports = {
41
+ exports.default = {
22
42
  entry: C.entry,
23
43
  output: C.output,
24
44
  module: {
@@ -1,6 +1,26 @@
1
1
  "use strict";
2
- const Configs = require('./webpack.base');
3
- const Extend = require('./webpack.extend');
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
14
+ var __importStar = (this && this.__importStar) || function (mod) {
15
+ if (mod && mod.__esModule) return mod;
16
+ var result = {};
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
+ __setModuleDefault(result, mod);
19
+ return result;
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ const Configs = __importStar(require("./webpack.base"));
23
+ const Extend = __importStar(require("./webpack.extend"));
4
24
  const config = {
5
25
  currentDir: __dirname,
6
26
  metaTags: {
@@ -24,7 +44,7 @@ const plugins = [
24
44
  ];
25
45
  if (config.analyzer)
26
46
  plugins.push(C.Plugins.analyzer);
27
- module.exports = {
47
+ exports.default = {
28
48
  entry: { ...C.entry },
29
49
  devServer: C.devServer,
30
50
  output: C.output,
@@ -1,6 +1,26 @@
1
1
  "use strict";
2
- const Configs = require('./webpack.base');
3
- const Extend = require('./webpack.extend');
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
14
+ var __importStar = (this && this.__importStar) || function (mod) {
15
+ if (mod && mod.__esModule) return mod;
16
+ var result = {};
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
+ __setModuleDefault(result, mod);
19
+ return result;
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ const Configs = __importStar(require("./webpack.base"));
23
+ const Extend = __importStar(require("./webpack.extend"));
4
24
  const config = {
5
25
  currentDir: __dirname,
6
26
  metaTags: {
@@ -20,7 +40,7 @@ const plugins = [
20
40
  ];
21
41
  if (config.analyzer)
22
42
  plugins.push(C.Plugins.analyzer);
23
- module.exports = {
43
+ exports.default = {
24
44
  entry: { ...C.entry },
25
45
  output: C.output,
26
46
  module: {
@@ -1,6 +1,26 @@
1
1
  "use strict";
2
- const Configs = require('./webpack.base');
3
- const Extend = require('./webpack.extend');
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
14
+ var __importStar = (this && this.__importStar) || function (mod) {
15
+ if (mod && mod.__esModule) return mod;
16
+ var result = {};
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
+ __setModuleDefault(result, mod);
19
+ return result;
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ const Configs = __importStar(require("./webpack.base"));
23
+ const Extend = __importStar(require("./webpack.extend"));
4
24
  const config = {
5
25
  currentDir: __dirname,
6
26
  metaTags: { viewport: `content="width=${Extend.resolution.width}, user-scalable=no"` },
@@ -20,7 +40,7 @@ const plugins = [
20
40
  ];
21
41
  if (config.analyzer)
22
42
  plugins.push(C.Plugins.analyzer);
23
- module.exports = {
43
+ exports.default = {
24
44
  entry: C.entry,
25
45
  devServer: C.devServer,
26
46
  output: C.output,
@@ -1,6 +1,26 @@
1
1
  "use strict";
2
- const Configs = require('./webpack.base');
3
- const Extend = require('./webpack.extend');
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
+ }) : (function(o, m, k, k2) {
6
+ if (k2 === undefined) k2 = k;
7
+ o[k2] = m[k];
8
+ }));
9
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
10
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
11
+ }) : function(o, v) {
12
+ o["default"] = v;
13
+ });
14
+ var __importStar = (this && this.__importStar) || function (mod) {
15
+ if (mod && mod.__esModule) return mod;
16
+ var result = {};
17
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
18
+ __setModuleDefault(result, mod);
19
+ return result;
20
+ };
21
+ Object.defineProperty(exports, "__esModule", { value: true });
22
+ const Configs = __importStar(require("./webpack.base"));
23
+ const Extend = __importStar(require("./webpack.extend"));
4
24
  const config = {
5
25
  currentDir: __dirname,
6
26
  metaTags: { viewport: `content="width=${Extend.resolution.width}, user-scalable=no"` },
@@ -18,7 +38,7 @@ const plugins = [
18
38
  ];
19
39
  if (config.analyzer)
20
40
  plugins.push(C.Plugins.analyzer);
21
- module.exports = {
41
+ exports.default = {
22
42
  entry: C.entry,
23
43
  output: C.output,
24
44
  module: {
@@ -1,5 +1,4 @@
1
- import cmdUtils = require("./cmdUtils");
2
- import fsUtils = require("./fsUtils");
3
- import gitUtils = require("./gitUtils");
4
- import stringUtils = require("./stringUtils");
5
- export { cmdUtils, fsUtils, gitUtils, stringUtils };
1
+ export * as cmdUtils from "./cmdUtils";
2
+ export * as fsUtils from "./fsUtils";
3
+ export * as gitUtils from "./gitUtils";
4
+ export * as stringUtils from "./stringUtils";
@@ -17,6 +17,10 @@ interface RnvC {
17
17
  dist: string;
18
18
  };
19
19
  };
20
+ releaseNotes: {
21
+ relativePath: string;
22
+ requiredRows: string[];
23
+ };
20
24
  };
21
25
  defaults: {
22
26
  supportedPlatforms: string[];
@@ -1,2 +1,2 @@
1
- export = htmlTemp;
1
+ export default htmlTemp;
2
2
  declare function htmlTemp(options: any): any;
@@ -1 +1,80 @@
1
- export {};
1
+ export function generateConfig(config: any): {
2
+ Rules: {
3
+ babel: {
4
+ test: RegExp;
5
+ include: string[];
6
+ use: {
7
+ loader: string;
8
+ options: {
9
+ transpileOnly: boolean;
10
+ allowTsInNodeModules: boolean;
11
+ };
12
+ }[];
13
+ };
14
+ css: {
15
+ test: RegExp;
16
+ use: any[];
17
+ };
18
+ image: {
19
+ test: RegExp;
20
+ use: {
21
+ loader: string;
22
+ options: {
23
+ outputPath: string;
24
+ publicPath: string;
25
+ };
26
+ };
27
+ };
28
+ fonts: {
29
+ test: RegExp;
30
+ use: {
31
+ loader: string;
32
+ options: {
33
+ outputPath: string;
34
+ publicPath: string;
35
+ };
36
+ };
37
+ };
38
+ sourcemap: {
39
+ test: RegExp;
40
+ use: string[];
41
+ enforce: string;
42
+ exclude: RegExp[];
43
+ };
44
+ mjs: {
45
+ test: RegExp;
46
+ include: RegExp;
47
+ type: string;
48
+ };
49
+ };
50
+ Plugins: {
51
+ forkTsChecker: ForkTsCheckerWebpackPlugin;
52
+ webpack: webpack.DefinePlugin;
53
+ html: any;
54
+ harddisk: any;
55
+ analyzer: any;
56
+ css: any;
57
+ fileManager: any;
58
+ };
59
+ extensions: any[];
60
+ aliases: {
61
+ '@24i/smartapps-bigscreen-device': string;
62
+ };
63
+ entry: {
64
+ polyfill: string;
65
+ bundle: string;
66
+ };
67
+ devServer: {
68
+ host: any;
69
+ };
70
+ output: {
71
+ filename: string;
72
+ publicPath: string;
73
+ path: string;
74
+ };
75
+ projectDir: string;
76
+ platformBuildsDir: string;
77
+ appBuildDir: string;
78
+ };
79
+ import * as ForkTsCheckerWebpackPlugin from "fork-ts-checker-webpack-plugin";
80
+ import * as webpack from "webpack";
@@ -1,2 +1,2 @@
1
- declare const _exports: any;
2
- export = _exports;
1
+ declare var _default: any;
2
+ export default _default;
@@ -1,2 +1,2 @@
1
- declare const _exports: any;
2
- export = _exports;
1
+ declare var _default: any;
2
+ export default _default;
@@ -1,2 +1,2 @@
1
- declare const _exports: any;
2
- export = _exports;
1
+ declare var _default: any;
2
+ export default _default;
@@ -1,2 +1,2 @@
1
- declare const _exports: any;
2
- export = _exports;
1
+ declare var _default: any;
2
+ export default _default;
@@ -1,2 +1,2 @@
1
- declare const _exports: any;
2
- export = _exports;
1
+ declare var _default: any;
2
+ export default _default;
@@ -1,2 +1,2 @@
1
- declare const _exports: any;
2
- export = _exports;
1
+ declare var _default: any;
2
+ export default _default;
@@ -1,2 +1,2 @@
1
- declare const _exports: any;
2
- export = _exports;
1
+ declare var _default: any;
2
+ export default _default;
@@ -1,2 +1,2 @@
1
- declare const _exports: any;
2
- export = _exports;
1
+ declare var _default: any;
2
+ export default _default;
@@ -1,2 +1,2 @@
1
- declare const _exports: any;
2
- export = _exports;
1
+ declare var _default: any;
2
+ export default _default;
@@ -1,2 +1,2 @@
1
- declare const _exports: any;
2
- export = _exports;
1
+ declare var _default: any;
2
+ export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@24i/smartapps-bigscreen-rnv-build-engine",
3
- "version": "0.0.2-alpha.1349+ed004b2c",
3
+ "version": "0.0.2-alpha.1351+9f71e052",
4
4
  "description": "Package with build engine for SmartApps BigScreen projects...",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",
@@ -15,6 +15,7 @@
15
15
  "lintcheck": "npm run eslint && npm run stylelint",
16
16
  "typecheck": "tsc --noEmit",
17
17
  "test": "jest",
18
+ "checks": "npm run lintcheck && npm run typecheck && npm run test",
18
19
  "prepublishOnly": "npm run build"
19
20
  },
20
21
  "dependencies": {
@@ -51,10 +52,11 @@
51
52
  "webpack-dev-server": "3.11.2"
52
53
  },
53
54
  "devDependencies": {
54
- "@types/ssh2": "^0.5.47"
55
+ "@types/node": "16.3.1",
56
+ "@types/ssh2": "0.5.47"
55
57
  },
56
58
  "keywords": [],
57
59
  "author": "24i",
58
60
  "license": "ISC",
59
- "gitHead": "ed004b2cb6a04ed4dbd4f74538db4a3469321c60"
61
+ "gitHead": "9f71e052536423ccbc8653ea4ae75a55afb72675"
60
62
  }