@24i/smartapps-bigscreen-rnv-build-engine 0.0.2-alpha.1354 → 0.0.2-alpha.1355

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 (83) hide show
  1. package/dist/templates/platforms/_shared/webpack.base.js +39 -55
  2. package/dist/templates/platforms/entone/webpack.config.dev.js +6 -22
  3. package/dist/templates/platforms/entone/webpack.config.prod.js +6 -22
  4. package/dist/templates/platforms/hbbtv/webpack.config.dev.js +6 -22
  5. package/dist/templates/platforms/hbbtv/webpack.config.prod.js +6 -22
  6. package/dist/templates/platforms/tizen/webpack.config.dev.js +6 -22
  7. package/dist/templates/platforms/tizen/webpack.config.prod.js +6 -22
  8. package/dist/templates/platforms/webos/webpack.config.dev.js +7 -23
  9. package/dist/templates/platforms/webos/webpack.config.prod.js +7 -23
  10. package/dist/templates/platforms/webtv/webpack.config.dev.js +6 -22
  11. package/dist/templates/platforms/webtv/webpack.config.prod.js +6 -22
  12. package/package.json +2 -3
  13. package/dist/types/src/constants/buildSchemes.d.ts +0 -11
  14. package/dist/types/src/constants/index.d.ts +0 -2
  15. package/dist/types/src/constants/platforms.d.ts +0 -8
  16. package/dist/types/src/index.d.ts +0 -18
  17. package/dist/types/src/resolvers/index.d.ts +0 -9
  18. package/dist/types/src/resolvers/resolveBaseUrl.d.ts +0 -6
  19. package/dist/types/src/resolvers/resolveBuildVersion.d.ts +0 -6
  20. package/dist/types/src/resolvers/resolveBuildVersionOffset.d.ts +0 -3
  21. package/dist/types/src/resolvers/resolveDeployLocations.d.ts +0 -9
  22. package/dist/types/src/resolvers/resolveGenericRnvConfig.d.ts +0 -4
  23. package/dist/types/src/resolvers/resolveHbbtvDeployConfig.d.ts +0 -10
  24. package/dist/types/src/resolvers/resolveHbbtvDeployUrl.d.ts +0 -3
  25. package/dist/types/src/resolvers/resolveHbbtvRemoteBuildDirRelativePath.d.ts +0 -3
  26. package/dist/types/src/resolvers/resolveZippedPlatformBuildsRelativeFilePath.d.ts +0 -3
  27. package/dist/types/src/scripts/buildAllWithScheme.d.ts +0 -1
  28. package/dist/types/src/scripts/gitReleaser/afterVersionBump.d.ts +0 -1
  29. package/dist/types/src/scripts/gitReleaser/beforeVersionBump.d.ts +0 -1
  30. package/dist/types/src/scripts/gitReleaser/checkReleaseNotes.d.ts +0 -1
  31. package/dist/types/src/scripts/gitReleaser/pushRelease.d.ts +0 -1
  32. package/dist/types/src/scripts/gitReleaser/pushReleaseCandidate.d.ts +0 -1
  33. package/dist/types/src/scripts/gitReleaser/pushReleaseNotes.d.ts +0 -1
  34. package/dist/types/src/scripts/release/deleteSourceMaps.d.ts +0 -1
  35. package/dist/types/src/scripts/release/deployToAppCenter.d.ts +0 -1
  36. package/dist/types/src/scripts/release/githubRelease.d.ts +0 -1
  37. package/dist/types/src/scripts/release/notifySlack/makePayload.d.ts +0 -9
  38. package/dist/types/src/scripts/release/notifySlack/notifySlack.d.ts +0 -1
  39. package/dist/types/src/scripts/release/notifySlack/slackBlockKitBuilder.d.ts +0 -26
  40. package/dist/types/src/scripts/release/sentryRelease.d.ts +0 -1
  41. package/dist/types/src/scripts/release/urlsMarkdown.d.ts +0 -1
  42. package/dist/types/src/scripts/releaseAllWithScheme.d.ts +0 -1
  43. package/dist/types/src/scripts/utils/cmdUtils.d.ts +0 -4
  44. package/dist/types/src/scripts/utils/fsUtils.d.ts +0 -2
  45. package/dist/types/src/scripts/utils/gitUtils.d.ts +0 -14
  46. package/dist/types/src/scripts/utils/index.d.ts +0 -4
  47. package/dist/types/src/scripts/utils/stringUtils.d.ts +0 -1
  48. package/dist/types/src/sdks/index.d.ts +0 -5
  49. package/dist/types/src/sdks/sdk-tizen/index.d.ts +0 -5
  50. package/dist/types/src/sdks/sdk-webos/index.d.ts +0 -4
  51. package/dist/types/src/sdks/sdk-webpack/index.d.ts +0 -4
  52. package/dist/types/src/sdks/sdkUtils.d.ts +0 -2
  53. package/dist/types/src/tasks/deploy/aswS3/aws.d.ts +0 -2
  54. package/dist/types/src/tasks/deploy/aswS3/deployS3.d.ts +0 -1
  55. package/dist/types/src/tasks/deploy/hbbtv/deployHbbtv.d.ts +0 -1
  56. package/dist/types/src/tasks/engineTasks.d.ts +0 -13
  57. package/dist/types/src/tasks/task.rnv.build.d.ts +0 -9
  58. package/dist/types/src/tasks/task.rnv.configure.d.ts +0 -9
  59. package/dist/types/src/tasks/task.rnv.configureSoft.d.ts +0 -9
  60. package/dist/types/src/tasks/task.rnv.deploy.d.ts +0 -9
  61. package/dist/types/src/tasks/task.rnv.hooks.run.d.ts +0 -13
  62. package/dist/types/src/tasks/task.rnv.package.d.ts +0 -9
  63. package/dist/types/src/tasks/task.rnv.project.configure.d.ts +0 -9
  64. package/dist/types/src/tasks/task.rnv.start.d.ts +0 -9
  65. package/dist/types/src/types/c.d.ts +0 -320
  66. package/dist/types/src/types/index.d.ts +0 -1
  67. package/dist/types/src/utils/forEachSupportedPlatformFlavour.d.ts +0 -1
  68. package/dist/types/src/utils/replaceRelevantStringsInConfig/index.d.ts +0 -1
  69. package/dist/types/src/utils/replaceRelevantStringsInConfig/replaceRelevantStringsInConfig.d.ts +0 -1
  70. package/dist/types/src/utils/replaceRelevantStringsInConfig/replaceTemplateString.d.ts +0 -1
  71. package/dist/types/src/utils/zipBuildsByPlatforms.d.ts +0 -1
  72. package/dist/types/templates/platforms/_shared/template.d.ts +0 -2
  73. package/dist/types/templates/platforms/_shared/webpack.base.d.ts +0 -80
  74. package/dist/types/templates/platforms/entone/webpack.config.dev.d.ts +0 -2
  75. package/dist/types/templates/platforms/entone/webpack.config.prod.d.ts +0 -2
  76. package/dist/types/templates/platforms/hbbtv/webpack.config.dev.d.ts +0 -2
  77. package/dist/types/templates/platforms/hbbtv/webpack.config.prod.d.ts +0 -2
  78. package/dist/types/templates/platforms/tizen/webpack.config.dev.d.ts +0 -2
  79. package/dist/types/templates/platforms/tizen/webpack.config.prod.d.ts +0 -2
  80. package/dist/types/templates/platforms/webos/webpack.config.dev.d.ts +0 -2
  81. package/dist/types/templates/platforms/webos/webpack.config.prod.d.ts +0 -2
  82. package/dist/types/templates/platforms/webtv/webpack.config.dev.d.ts +0 -2
  83. package/dist/types/templates/platforms/webtv/webpack.config.prod.d.ts +0 -2
@@ -10,42 +10,26 @@ var __assign = (this && this.__assign) || function () {
10
10
  };
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
16
- }) : (function(o, m, k, k2) {
17
- if (k2 === undefined) k2 = k;
18
- o[k2] = m[k];
19
- }));
20
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
21
- Object.defineProperty(o, "default", { enumerable: true, value: v });
22
- }) : function(o, v) {
23
- o["default"] = v;
24
- });
25
- var __importStar = (this && this.__importStar) || function (mod) {
26
- if (mod && mod.__esModule) return mod;
27
- var result = {};
28
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
29
- __setModuleDefault(result, mod);
30
- return result;
31
- };
32
13
  var __spreadArray = (this && this.__spreadArray) || function (to, from) {
33
14
  for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
34
15
  to[j] = from[i];
35
16
  return to;
36
17
  };
18
+ var __importDefault = (this && this.__importDefault) || function (mod) {
19
+ return (mod && mod.__esModule) ? mod : { "default": mod };
20
+ };
37
21
  Object.defineProperty(exports, "__esModule", { value: true });
38
22
  exports.generateConfig = void 0;
39
- var fs = __importStar(require("fs"));
40
- var path = __importStar(require("path"));
41
- var MiniCssExtractPlugin = __importStar(require("mini-css-extract-plugin"));
42
- var FileManagerPlugin = __importStar(require("filemanager-webpack-plugin"));
43
- var webpack = __importStar(require("webpack"));
44
- var HtmlWebpackPlugin = __importStar(require("html-webpack-plugin"));
45
- var HtmlWebpackHarddiskPlugin = __importStar(require("html-webpack-harddisk-plugin"));
23
+ var html_webpack_harddisk_plugin_1 = __importDefault(require("html-webpack-harddisk-plugin"));
24
+ var webpack_1 = __importDefault(require("webpack"));
25
+ var fs_1 = __importDefault(require("fs"));
26
+ var path_1 = __importDefault(require("path"));
46
27
  var webpack_bundle_analyzer_1 = require("webpack-bundle-analyzer");
28
+ var mini_css_extract_plugin_1 = __importDefault(require("mini-css-extract-plugin"));
29
+ var filemanager_webpack_plugin_1 = __importDefault(require("filemanager-webpack-plugin"));
30
+ var html_webpack_plugin_1 = __importDefault(require("html-webpack-plugin"));
31
+ var fork_ts_checker_webpack_plugin_1 = __importDefault(require("fork-ts-checker-webpack-plugin"));
47
32
  var smartapps_bigscreen_rnv_build_engine_1 = require("@24i/smartapps-bigscreen-rnv-build-engine");
48
- var ForkTsCheckerWebpackPlugin = require('fork-ts-checker-webpack-plugin');
49
33
  var getAnimationType = function (isAnimated) {
50
34
  if (isAnimated === void 0) { isAnimated = false; }
51
35
  return (isAnimated ? 'animated' : 'basic');
@@ -83,12 +67,12 @@ var includeRtlFiles = function (_a) {
83
67
  var resourcePath = _a.resourcePath;
84
68
  if (!shouldIncludeRtlFiles)
85
69
  return content;
86
- var fileName = path.basename(resourcePath);
87
- var filePath = path.dirname(resourcePath);
70
+ var fileName = path_1.default.basename(resourcePath);
71
+ var filePath = path_1.default.dirname(resourcePath);
88
72
  if (fileName.indexOf('.styles.') === -1)
89
73
  return content;
90
- var rtlFile = path.resolve(filePath, 'rtl.scss');
91
- if (fs.existsSync(rtlFile)) {
74
+ var rtlFile = path_1.default.resolve(filePath, 'rtl.scss');
75
+ if (fs_1.default.existsSync(rtlFile)) {
92
76
  return content + "\n@import './rtl';";
93
77
  }
94
78
  return content;
@@ -99,17 +83,17 @@ var getAppRuntimeConfigPath = function (baseUrl, isBuildHosted) {
99
83
  if (baseUrl === void 0) { baseUrl = ''; }
100
84
  if (isBuildHosted === void 0) { isBuildHosted = false; }
101
85
  var isBuildHostedAndHasBaseUrl = isBuildHosted && !!baseUrl;
102
- var relativePath = path.join(isBuildHostedAndHasBaseUrl ? './public' : '', 'content', appRuntimeCfgName);
86
+ var relativePath = path_1.default.join(isBuildHostedAndHasBaseUrl ? './public' : '', 'content', appRuntimeCfgName);
103
87
  return isBuildHostedAndHasBaseUrl
104
88
  ? baseUrl + "/" + relativePath
105
89
  : relativePath;
106
90
  };
107
91
  function generateConfig(config) {
108
- var projectDir = path.resolve(config.currentDir, '../../');
109
- var platformBuildsDir = path.resolve(config.currentDir, '../');
110
- var appBuildDir = path.resolve(config.currentDir);
111
- var appBuildEngineProjectDir = path.resolve(config.currentDir, config.buildFolder);
112
- var appBuildEngineProjectPublicDir = path.resolve(appBuildEngineProjectDir, 'public');
92
+ var projectDir = path_1.default.resolve(config.currentDir, '../../');
93
+ var platformBuildsDir = path_1.default.resolve(config.currentDir, '../');
94
+ var appBuildDir = path_1.default.resolve(config.currentDir);
95
+ var appBuildEngineProjectDir = path_1.default.resolve(config.currentDir, config.buildFolder);
96
+ var appBuildEngineProjectPublicDir = path_1.default.resolve(appBuildEngineProjectDir, 'public');
113
97
  var platformSchemeAppIdObj = {
114
98
  platform: config.platform,
115
99
  scheme: config.scheme,
@@ -128,7 +112,7 @@ function generateConfig(config) {
128
112
  var rules = {};
129
113
  rules.babel = {
130
114
  test: /\.[tj]sx?$/,
131
- include: modulePaths.map(function (v) { return path.resolve(projectDir, v); }),
115
+ include: modulePaths.map(function (v) { return path_1.default.resolve(projectDir, v); }),
132
116
  use: [
133
117
  {
134
118
  loader: 'ts-loader',
@@ -143,7 +127,7 @@ function generateConfig(config) {
143
127
  test: /\.s?css$/,
144
128
  use: [
145
129
  isDevServer ? 'css-hot-loader' : null,
146
- MiniCssExtractPlugin.loader,
130
+ mini_css_extract_plugin_1.default.loader,
147
131
  'css-loader',
148
132
  {
149
133
  loader: 'sass-loader',
@@ -196,19 +180,19 @@ function generateConfig(config) {
196
180
  aliases[key] = config.moduleAliases[key];
197
181
  }
198
182
  else {
199
- aliases[key] = path.resolve(projectDir, config.moduleAliases[key].projectPath);
183
+ aliases[key] = path_1.default.resolve(projectDir, config.moduleAliases[key].projectPath);
200
184
  }
201
185
  });
202
186
  }
203
187
  var plugins = {};
204
- plugins.forkTsChecker = new ForkTsCheckerWebpackPlugin({
188
+ plugins.forkTsChecker = new fork_ts_checker_webpack_plugin_1.default({
205
189
  typescript: {
206
190
  enabled: true,
207
191
  memoryLimit: 4096,
208
192
  },
209
193
  });
210
194
  var appRuntimeConfigPath = getAppRuntimeConfigPath(baseUrl, isBuildHosted);
211
- plugins.webpack = new webpack.DefinePlugin({
195
+ plugins.webpack = new webpack_1.default.DefinePlugin({
212
196
  WEBPACK_INJECTION_APP_CONFIG_ID: JSON.stringify(config.appConfigId || ''),
213
197
  WEBPACK_INJECTION_APP_CREATED: JSON.stringify(new Date().toISOString()),
214
198
  WEBPACK_INJECTION_APP_RESOLUTION: JSON.stringify(getResolutionString(config)),
@@ -217,21 +201,21 @@ function generateConfig(config) {
217
201
  WEBPACK_INJECTION_APP_PLATFORM: JSON.stringify(PLATFORM || ''),
218
202
  WEBPACK_INJECTION_APP_RUNTIME_CONFIG_PATH: JSON.stringify(appRuntimeConfigPath),
219
203
  });
220
- plugins.html = new HtmlWebpackPlugin({
204
+ plugins.html = new html_webpack_plugin_1.default({
221
205
  alwaysWriteToDisk: true,
222
- filename: path.resolve(appBuildEngineProjectPublicDir, './index.html'),
223
- template: path.resolve(appBuildDir, './template.js'),
206
+ filename: path_1.default.resolve(appBuildEngineProjectPublicDir, './index.html'),
207
+ template: path_1.default.resolve(appBuildDir, './template.js'),
224
208
  minify: false,
225
209
  templateParameters: __assign(__assign({}, config), { debug: process.env.DEBUG, debugIp: process.env.DEBUG_IP, platform: PLATFORM, environment: config.environment, baseUrl: baseUrl }),
226
210
  xhtml: PLATFORM === smartapps_bigscreen_rnv_build_engine_1.Constants.Platforms.HBBTV,
227
211
  });
228
- plugins.harddisk = new HtmlWebpackHarddiskPlugin();
212
+ plugins.harddisk = new html_webpack_harddisk_plugin_1.default();
229
213
  plugins.analyzer = new webpack_bundle_analyzer_1.BundleAnalyzerPlugin();
230
- plugins.css = new MiniCssExtractPlugin({
214
+ plugins.css = new mini_css_extract_plugin_1.default({
231
215
  filename: 'content/css/[name].css',
232
216
  });
233
- var copiedDirWithPublicContentPath = path.join(appBuildDir, "../" + path.parse(appBuildDir).name + "-public");
234
- plugins.fileManager = new FileManagerPlugin({
217
+ var copiedDirWithPublicContentPath = path_1.default.join(appBuildDir, "../" + path_1.default.parse(appBuildDir).name + "-public");
218
+ plugins.fileManager = new filemanager_webpack_plugin_1.default({
235
219
  events: {
236
220
  onStart: [
237
221
  {
@@ -244,8 +228,8 @@ function generateConfig(config) {
244
228
  isDevServer ? {
245
229
  move: [
246
230
  {
247
- source: path.join(appBuildDir, 'project', 'public', 'content', appRuntimeCfgName),
248
- destination: path.join(appBuildEngineProjectPublicDir, 'content', appRuntimeCfgName),
231
+ source: path_1.default.join(appBuildDir, 'project', 'public', 'content', appRuntimeCfgName),
232
+ destination: path_1.default.join(appBuildEngineProjectPublicDir, 'content', appRuntimeCfgName),
249
233
  },
250
234
  ],
251
235
  } : null,
@@ -253,11 +237,11 @@ function generateConfig(config) {
253
237
  copy: [
254
238
  {
255
239
  source: appBuildEngineProjectPublicDir,
256
- destination: path.join(copiedDirWithPublicContentPath, 'project', 'public'),
240
+ destination: path_1.default.join(copiedDirWithPublicContentPath, 'project', 'public'),
257
241
  },
258
242
  ],
259
243
  delete: [
260
- path.join(appBuildEngineProjectPublicDir, 'content'),
244
+ path_1.default.join(appBuildEngineProjectPublicDir, 'content'),
261
245
  ],
262
246
  } : null,
263
247
  ].filter(Boolean),
@@ -273,8 +257,8 @@ function generateConfig(config) {
273
257
  host: devServerHost,
274
258
  };
275
259
  var entry = {
276
- polyfill: path.resolve(projectDir, 'polyfill/index.ts'),
277
- bundle: path.resolve(projectDir, config.entryFile + ".js"),
260
+ polyfill: path_1.default.resolve(projectDir, 'polyfill/index.ts'),
261
+ bundle: path_1.default.resolve(projectDir, config.entryFile + ".js"),
278
262
  };
279
263
  return {
280
264
  Rules: rules,
@@ -10,30 +10,14 @@ var __assign = (this && this.__assign) || function () {
10
10
  };
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
16
- }) : (function(o, m, k, k2) {
17
- if (k2 === undefined) k2 = k;
18
- o[k2] = m[k];
19
- }));
20
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
21
- Object.defineProperty(o, "default", { enumerable: true, value: v });
22
- }) : function(o, v) {
23
- o["default"] = v;
24
- });
25
- var __importStar = (this && this.__importStar) || function (mod) {
26
- if (mod && mod.__esModule) return mod;
27
- var result = {};
28
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
29
- __setModuleDefault(result, mod);
30
- return result;
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
31
15
  };
32
16
  Object.defineProperty(exports, "__esModule", { value: true });
33
- var Configs = __importStar(require("./webpack.base"));
34
- var Extend = __importStar(require("./webpack.extend"));
35
- var config = __assign({ currentDir: __dirname, metaTags: { viewport: "content=\"width=" + Extend.resolution.width + ", user-scalable=no\"" }, environment: 'development', customScripts: [], devServerHost: '0.0.0.0' }, Extend);
36
- var C = Configs.generateConfig(config);
17
+ var webpack_base_1 = __importDefault(require("./webpack.base"));
18
+ var webpack_extend_1 = __importDefault(require("./webpack.extend"));
19
+ var config = __assign({ currentDir: __dirname, metaTags: { viewport: "content=\"width=" + webpack_extend_1.default.resolution.width + ", user-scalable=no\"" }, environment: 'development', customScripts: [], devServerHost: '0.0.0.0' }, webpack_extend_1.default);
20
+ var C = webpack_base_1.default.generateConfig(config);
37
21
  var plugins = [
38
22
  C.Plugins.forkTsChecker,
39
23
  C.Plugins.webpack,
@@ -10,30 +10,14 @@ var __assign = (this && this.__assign) || function () {
10
10
  };
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
16
- }) : (function(o, m, k, k2) {
17
- if (k2 === undefined) k2 = k;
18
- o[k2] = m[k];
19
- }));
20
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
21
- Object.defineProperty(o, "default", { enumerable: true, value: v });
22
- }) : function(o, v) {
23
- o["default"] = v;
24
- });
25
- var __importStar = (this && this.__importStar) || function (mod) {
26
- if (mod && mod.__esModule) return mod;
27
- var result = {};
28
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
29
- __setModuleDefault(result, mod);
30
- return result;
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
31
15
  };
32
16
  Object.defineProperty(exports, "__esModule", { value: true });
33
- var Configs = __importStar(require("./webpack.base"));
34
- var Extend = __importStar(require("./webpack.extend"));
35
- var config = __assign({ currentDir: __dirname, metaTags: { viewport: "content=\"width=" + Extend.resolution.width + ", user-scalable=no\"" }, environment: 'production' }, Extend);
36
- var C = Configs.generateConfig(config);
17
+ var webpack_base_1 = __importDefault(require("./webpack.base"));
18
+ var webpack_extend_1 = __importDefault(require("./webpack.extend"));
19
+ var config = __assign({ currentDir: __dirname, metaTags: { viewport: "content=\"width=" + webpack_extend_1.default.resolution.width + ", user-scalable=no\"" }, environment: 'production' }, webpack_extend_1.default);
20
+ var C = webpack_base_1.default.generateConfig(config);
37
21
  var plugins = [
38
22
  C.Plugins.forkTsChecker,
39
23
  C.Plugins.webpack,
@@ -10,34 +10,18 @@ var __assign = (this && this.__assign) || function () {
10
10
  };
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
16
- }) : (function(o, m, k, k2) {
17
- if (k2 === undefined) k2 = k;
18
- o[k2] = m[k];
19
- }));
20
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
21
- Object.defineProperty(o, "default", { enumerable: true, value: v });
22
- }) : function(o, v) {
23
- o["default"] = v;
24
- });
25
- var __importStar = (this && this.__importStar) || function (mod) {
26
- if (mod && mod.__esModule) return mod;
27
- var result = {};
28
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
29
- __setModuleDefault(result, mod);
30
- return result;
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
31
15
  };
32
16
  Object.defineProperty(exports, "__esModule", { value: true });
33
- var Configs = __importStar(require("./webpack.base"));
34
- var Extend = __importStar(require("./webpack.extend"));
17
+ var webpack_base_1 = __importDefault(require("./webpack.base"));
18
+ var webpack_extend_1 = __importDefault(require("./webpack.extend"));
35
19
  var config = __assign({ currentDir: __dirname, docType: "\n<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE html PUBLIC \"-//HbbTV//1.1.1//EN\" \"http://www.hbbtv.org/dtd/HbbTV-1.1.1.dtd\">\n ", htmlTag: '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">', metaTags: "\n <meta http-equiv=\"content-type\" content=\"application/vnd.hbbtv.xhtml+xml\" charset=\"UTF-8\" />\n <meta http-equiv=\"cache-control\" content=\"max-age=0\" />\n <meta http-equiv=\"cache-control\" content=\"no-cache\" />\n <meta http-equiv=\"expires\" content=\"0\" />\n <meta http-equiv=\"expires\" content=\"Tue, 01 Jan 1980 1:00:00 GMT\" />\n <meta http-equiv=\"pragma\" content=\"no-cache\" />\n ", environment: 'development', customScripts: [], devServerHost: '0.0.0.0', bodyPrepend: [
36
20
  '<object id="oipfCap" type="application/oipfCapabilities" style="position: absolute; left: 0; top: 0; width: 0; height: 0;"></object>',
37
21
  '<object id="oipfAppMan" type="application/oipfApplicationManager" style="position: absolute; left: 0; top: 0; width: 0; height: 0;"></object>',
38
22
  '<object id="oipfConfig" type="application/oipfConfiguration" style="position: absolute; left: 0; top: 0; width: 0; height: 0;"></object>',
39
- ].join('\n ') }, Extend);
40
- var C = Configs.generateConfig(config);
23
+ ].join('\n ') }, webpack_extend_1.default);
24
+ var C = webpack_base_1.default.generateConfig(config);
41
25
  var plugins = [
42
26
  C.Plugins.forkTsChecker,
43
27
  C.Plugins.webpack,
@@ -10,34 +10,18 @@ var __assign = (this && this.__assign) || function () {
10
10
  };
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
16
- }) : (function(o, m, k, k2) {
17
- if (k2 === undefined) k2 = k;
18
- o[k2] = m[k];
19
- }));
20
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
21
- Object.defineProperty(o, "default", { enumerable: true, value: v });
22
- }) : function(o, v) {
23
- o["default"] = v;
24
- });
25
- var __importStar = (this && this.__importStar) || function (mod) {
26
- if (mod && mod.__esModule) return mod;
27
- var result = {};
28
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
29
- __setModuleDefault(result, mod);
30
- return result;
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
31
15
  };
32
16
  Object.defineProperty(exports, "__esModule", { value: true });
33
- var Configs = __importStar(require("./webpack.base"));
34
- var Extend = __importStar(require("./webpack.extend"));
17
+ var webpack_base_1 = __importDefault(require("./webpack.base"));
18
+ var webpack_extend_1 = __importDefault(require("./webpack.extend"));
35
19
  var config = __assign({ currentDir: __dirname, docType: "\n<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!DOCTYPE html PUBLIC \"-//HbbTV//1.1.1//EN\" \"http://www.hbbtv.org/dtd/HbbTV-1.1.1.dtd\">\n ", htmlTag: '<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">', metaTags: "\n <meta http-equiv=\"content-type\" content=\"application/vnd.hbbtv.xhtml+xml\" charset=\"UTF-8\" />\n <meta http-equiv=\"cache-control\" content=\"max-age=0\" />\n <meta http-equiv=\"cache-control\" content=\"no-cache\" />\n <meta http-equiv=\"expires\" content=\"0\" />\n <meta http-equiv=\"expires\" content=\"Tue, 01 Jan 1980 1:00:00 GMT\" />\n <meta http-equiv=\"pragma\" content=\"no-cache\" />\n ", environment: 'production', bodyPrepend: [
36
20
  '<object id="oipfCap" type="application/oipfCapabilities" style="position: absolute; left: 0; top: 0; width: 0; height: 0;"></object>',
37
21
  '<object id="oipfAppMan" type="application/oipfApplicationManager" style="position: absolute; left: 0; top: 0; width: 0; height: 0;"></object>',
38
22
  '<object id="oipfConfig" type="application/oipfConfiguration" style="position: absolute; left: 0; top: 0; width: 0; height: 0;"></object>',
39
- ].join('\n ') }, Extend);
40
- var C = Configs.generateConfig(config);
23
+ ].join('\n ') }, webpack_extend_1.default);
24
+ var C = webpack_base_1.default.generateConfig(config);
41
25
  var plugins = [
42
26
  C.Plugins.forkTsChecker,
43
27
  C.Plugins.webpack,
@@ -10,30 +10,14 @@ var __assign = (this && this.__assign) || function () {
10
10
  };
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
16
- }) : (function(o, m, k, k2) {
17
- if (k2 === undefined) k2 = k;
18
- o[k2] = m[k];
19
- }));
20
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
21
- Object.defineProperty(o, "default", { enumerable: true, value: v });
22
- }) : function(o, v) {
23
- o["default"] = v;
24
- });
25
- var __importStar = (this && this.__importStar) || function (mod) {
26
- if (mod && mod.__esModule) return mod;
27
- var result = {};
28
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
29
- __setModuleDefault(result, mod);
30
- return result;
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
31
15
  };
32
16
  Object.defineProperty(exports, "__esModule", { value: true });
33
- var Configs = __importStar(require("./webpack.base"));
34
- var Extend = __importStar(require("./webpack.extend"));
35
- var config = __assign({ currentDir: __dirname, metaTags: { viewport: "content=\"width=" + Extend.resolution.width + ", user-scalable=no\"" }, environment: 'development', customScripts: [], devServerHost: '0.0.0.0', enableHotReload: true }, Extend);
36
- var C = Configs.generateConfig(config);
17
+ var webpack_base_1 = __importDefault(require("./webpack.base"));
18
+ var webpack_extend_1 = __importDefault(require("./webpack.extend"));
19
+ var config = __assign({ currentDir: __dirname, metaTags: { viewport: "content=\"width=" + webpack_extend_1.default.resolution.width + ", user-scalable=no\"" }, environment: 'development', customScripts: [], devServerHost: '0.0.0.0', enableHotReload: true }, webpack_extend_1.default);
20
+ var C = webpack_base_1.default.generateConfig(config);
37
21
  var plugins = [
38
22
  C.Plugins.forkTsChecker,
39
23
  C.Plugins.webpack,
@@ -10,30 +10,14 @@ var __assign = (this && this.__assign) || function () {
10
10
  };
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
16
- }) : (function(o, m, k, k2) {
17
- if (k2 === undefined) k2 = k;
18
- o[k2] = m[k];
19
- }));
20
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
21
- Object.defineProperty(o, "default", { enumerable: true, value: v });
22
- }) : function(o, v) {
23
- o["default"] = v;
24
- });
25
- var __importStar = (this && this.__importStar) || function (mod) {
26
- if (mod && mod.__esModule) return mod;
27
- var result = {};
28
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
29
- __setModuleDefault(result, mod);
30
- return result;
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
31
15
  };
32
16
  Object.defineProperty(exports, "__esModule", { value: true });
33
- var Configs = __importStar(require("./webpack.base"));
34
- var Extend = __importStar(require("./webpack.extend"));
35
- var config = __assign({ currentDir: __dirname, metaTags: { viewport: "content=\"width=" + Extend.resolution.width + ", user-scalable=no\"" }, environment: 'production' }, Extend);
36
- var C = Configs.generateConfig(config);
17
+ var webpack_base_1 = __importDefault(require("./webpack.base"));
18
+ var webpack_extend_1 = __importDefault(require("./webpack.extend"));
19
+ var config = __assign({ currentDir: __dirname, metaTags: { viewport: "content=\"width=" + webpack_extend_1.default.resolution.width + ", user-scalable=no\"" }, environment: 'production' }, webpack_extend_1.default);
20
+ var C = webpack_base_1.default.generateConfig(config);
37
21
  var plugins = [
38
22
  C.Plugins.forkTsChecker,
39
23
  C.Plugins.webpack,
@@ -10,32 +10,16 @@ var __assign = (this && this.__assign) || function () {
10
10
  };
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
16
- }) : (function(o, m, k, k2) {
17
- if (k2 === undefined) k2 = k;
18
- o[k2] = m[k];
19
- }));
20
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
21
- Object.defineProperty(o, "default", { enumerable: true, value: v });
22
- }) : function(o, v) {
23
- o["default"] = v;
24
- });
25
- var __importStar = (this && this.__importStar) || function (mod) {
26
- if (mod && mod.__esModule) return mod;
27
- var result = {};
28
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
29
- __setModuleDefault(result, mod);
30
- return result;
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
31
15
  };
32
16
  Object.defineProperty(exports, "__esModule", { value: true });
33
- var Configs = __importStar(require("./webpack.base"));
34
- var Extend = __importStar(require("./webpack.extend"));
17
+ var webpack_base_1 = __importDefault(require("./webpack.base"));
18
+ var webpack_extend_1 = __importDefault(require("./webpack.extend"));
35
19
  var config = __assign({ currentDir: __dirname, metaTags: {
36
- viewport: "content=\"width=" + Extend.resolution.width + ", initial-scale=1, shrink-to-fit=no\"",
37
- }, environment: 'development', buildFolder: 'public', customScripts: [], devServerHost: '0.0.0.0', enableHotReload: true }, Extend);
38
- var C = Configs.generateConfig(config);
20
+ viewport: "content=\"width=" + webpack_extend_1.default.resolution.width + ", initial-scale=1, shrink-to-fit=no\"",
21
+ }, environment: 'development', buildFolder: 'public', customScripts: [], devServerHost: '0.0.0.0', enableHotReload: true }, webpack_extend_1.default);
22
+ var C = webpack_base_1.default.generateConfig(config);
39
23
  var plugins = [
40
24
  C.Plugins.forkTsChecker,
41
25
  C.Plugins.webpack,
@@ -10,32 +10,16 @@ var __assign = (this && this.__assign) || function () {
10
10
  };
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
16
- }) : (function(o, m, k, k2) {
17
- if (k2 === undefined) k2 = k;
18
- o[k2] = m[k];
19
- }));
20
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
21
- Object.defineProperty(o, "default", { enumerable: true, value: v });
22
- }) : function(o, v) {
23
- o["default"] = v;
24
- });
25
- var __importStar = (this && this.__importStar) || function (mod) {
26
- if (mod && mod.__esModule) return mod;
27
- var result = {};
28
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
29
- __setModuleDefault(result, mod);
30
- return result;
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
31
15
  };
32
16
  Object.defineProperty(exports, "__esModule", { value: true });
33
- var Configs = __importStar(require("./webpack.base"));
34
- var Extend = __importStar(require("./webpack.extend"));
17
+ var webpack_base_1 = __importDefault(require("./webpack.base"));
18
+ var webpack_extend_1 = __importDefault(require("./webpack.extend"));
35
19
  var config = __assign({ currentDir: __dirname, metaTags: {
36
- viewport: "content=\"width=" + Extend.resolution.width + ", initial-scale=1, shrink-to-fit=no\"",
37
- }, environment: 'production' }, Extend);
38
- var C = Configs.generateConfig(config);
20
+ viewport: "content=\"width=" + webpack_extend_1.default.resolution.width + ", initial-scale=1, shrink-to-fit=no\"",
21
+ }, environment: 'production' }, webpack_extend_1.default);
22
+ var C = webpack_base_1.default.generateConfig(config);
39
23
  var plugins = [
40
24
  C.Plugins.forkTsChecker,
41
25
  C.Plugins.webpack,
@@ -10,30 +10,14 @@ var __assign = (this && this.__assign) || function () {
10
10
  };
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
16
- }) : (function(o, m, k, k2) {
17
- if (k2 === undefined) k2 = k;
18
- o[k2] = m[k];
19
- }));
20
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
21
- Object.defineProperty(o, "default", { enumerable: true, value: v });
22
- }) : function(o, v) {
23
- o["default"] = v;
24
- });
25
- var __importStar = (this && this.__importStar) || function (mod) {
26
- if (mod && mod.__esModule) return mod;
27
- var result = {};
28
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
29
- __setModuleDefault(result, mod);
30
- return result;
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
31
15
  };
32
16
  Object.defineProperty(exports, "__esModule", { value: true });
33
- var Configs = __importStar(require("./webpack.base"));
34
- var Extend = __importStar(require("./webpack.extend"));
35
- var config = __assign({ currentDir: __dirname, metaTags: { viewport: "content=\"width=" + Extend.resolution.width + ", user-scalable=no\"" }, environment: 'development', customScripts: [], devServerHost: '0.0.0.0' }, Extend);
36
- var C = Configs.generateConfig(config);
17
+ var webpack_base_1 = __importDefault(require("./webpack.base"));
18
+ var webpack_extend_1 = __importDefault(require("./webpack.extend"));
19
+ var config = __assign({ currentDir: __dirname, metaTags: { viewport: "content=\"width=" + webpack_extend_1.default.resolution.width + ", user-scalable=no\"" }, environment: 'development', customScripts: [], devServerHost: '0.0.0.0' }, webpack_extend_1.default);
20
+ var C = webpack_base_1.default.generateConfig(config);
37
21
  var plugins = [
38
22
  C.Plugins.forkTsChecker,
39
23
  C.Plugins.webpack,
@@ -10,30 +10,14 @@ var __assign = (this && this.__assign) || function () {
10
10
  };
11
11
  return __assign.apply(this, arguments);
12
12
  };
13
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
14
- if (k2 === undefined) k2 = k;
15
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
16
- }) : (function(o, m, k, k2) {
17
- if (k2 === undefined) k2 = k;
18
- o[k2] = m[k];
19
- }));
20
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
21
- Object.defineProperty(o, "default", { enumerable: true, value: v });
22
- }) : function(o, v) {
23
- o["default"] = v;
24
- });
25
- var __importStar = (this && this.__importStar) || function (mod) {
26
- if (mod && mod.__esModule) return mod;
27
- var result = {};
28
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
29
- __setModuleDefault(result, mod);
30
- return result;
13
+ var __importDefault = (this && this.__importDefault) || function (mod) {
14
+ return (mod && mod.__esModule) ? mod : { "default": mod };
31
15
  };
32
16
  Object.defineProperty(exports, "__esModule", { value: true });
33
- var Configs = __importStar(require("./webpack.base"));
34
- var Extend = __importStar(require("./webpack.extend"));
35
- var config = __assign({ currentDir: __dirname, metaTags: { viewport: "content=\"width=" + Extend.resolution.width + ", user-scalable=no\"" }, environment: 'production' }, Extend);
36
- var C = Configs.generateConfig(config);
17
+ var webpack_base_1 = __importDefault(require("./webpack.base"));
18
+ var webpack_extend_1 = __importDefault(require("./webpack.extend"));
19
+ var config = __assign({ currentDir: __dirname, metaTags: { viewport: "content=\"width=" + webpack_extend_1.default.resolution.width + ", user-scalable=no\"" }, environment: 'production' }, webpack_extend_1.default);
20
+ var C = webpack_base_1.default.generateConfig(config);
37
21
  var plugins = [
38
22
  C.Plugins.forkTsChecker,
39
23
  C.Plugins.webpack,
package/package.json CHANGED
@@ -1,9 +1,8 @@
1
1
  {
2
2
  "name": "@24i/smartapps-bigscreen-rnv-build-engine",
3
- "version": "0.0.2-alpha.1354+55b352e4",
3
+ "version": "0.0.2-alpha.1355+98aa0cc5",
4
4
  "description": "Package with build engine for SmartApps BigScreen projects...",
5
5
  "main": "dist/src/index.js",
6
- "types": "dist/src/index.d.ts",
7
6
  "scripts": {
8
7
  "build:clean": "rm -rf dist",
9
8
  "build": "npm run build:clean && tsc && npm run copy:projects",
@@ -58,5 +57,5 @@
58
57
  "keywords": [],
59
58
  "author": "24i",
60
59
  "license": "ISC",
61
- "gitHead": "55b352e4e57fbe11be5d9c9ed7e8704d0e9f8aae"
60
+ "gitHead": "98aa0cc581fe8ab2f671462be4f6c391369ecfe9"
62
61
  }
@@ -1,11 +0,0 @@
1
- declare const BuildSchemes: {
2
- DEBUG: string;
3
- DEV: string;
4
- DEV_LATEST: string;
5
- RC: string;
6
- RC_LATEST: string;
7
- RELEASE: string;
8
- RELEASE_LATEST: string;
9
- RELEASE_DIST: string;
10
- };
11
- export { BuildSchemes, };
@@ -1,2 +0,0 @@
1
- export { BuildSchemes } from './buildSchemes';
2
- export { Platforms } from './platforms';