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

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 (73) hide show
  1. package/dist/templates/platforms/_shared/webpack.base.js +39 -55
  2. package/package.json +2 -3
  3. package/dist/types/src/constants/buildSchemes.d.ts +0 -11
  4. package/dist/types/src/constants/index.d.ts +0 -2
  5. package/dist/types/src/constants/platforms.d.ts +0 -8
  6. package/dist/types/src/index.d.ts +0 -18
  7. package/dist/types/src/resolvers/index.d.ts +0 -9
  8. package/dist/types/src/resolvers/resolveBaseUrl.d.ts +0 -6
  9. package/dist/types/src/resolvers/resolveBuildVersion.d.ts +0 -6
  10. package/dist/types/src/resolvers/resolveBuildVersionOffset.d.ts +0 -3
  11. package/dist/types/src/resolvers/resolveDeployLocations.d.ts +0 -9
  12. package/dist/types/src/resolvers/resolveGenericRnvConfig.d.ts +0 -4
  13. package/dist/types/src/resolvers/resolveHbbtvDeployConfig.d.ts +0 -10
  14. package/dist/types/src/resolvers/resolveHbbtvDeployUrl.d.ts +0 -3
  15. package/dist/types/src/resolvers/resolveHbbtvRemoteBuildDirRelativePath.d.ts +0 -3
  16. package/dist/types/src/resolvers/resolveZippedPlatformBuildsRelativeFilePath.d.ts +0 -3
  17. package/dist/types/src/scripts/buildAllWithScheme.d.ts +0 -1
  18. package/dist/types/src/scripts/gitReleaser/afterVersionBump.d.ts +0 -1
  19. package/dist/types/src/scripts/gitReleaser/beforeVersionBump.d.ts +0 -1
  20. package/dist/types/src/scripts/gitReleaser/checkReleaseNotes.d.ts +0 -1
  21. package/dist/types/src/scripts/gitReleaser/pushRelease.d.ts +0 -1
  22. package/dist/types/src/scripts/gitReleaser/pushReleaseCandidate.d.ts +0 -1
  23. package/dist/types/src/scripts/gitReleaser/pushReleaseNotes.d.ts +0 -1
  24. package/dist/types/src/scripts/release/deleteSourceMaps.d.ts +0 -1
  25. package/dist/types/src/scripts/release/deployToAppCenter.d.ts +0 -1
  26. package/dist/types/src/scripts/release/githubRelease.d.ts +0 -1
  27. package/dist/types/src/scripts/release/notifySlack/makePayload.d.ts +0 -9
  28. package/dist/types/src/scripts/release/notifySlack/notifySlack.d.ts +0 -1
  29. package/dist/types/src/scripts/release/notifySlack/slackBlockKitBuilder.d.ts +0 -26
  30. package/dist/types/src/scripts/release/sentryRelease.d.ts +0 -1
  31. package/dist/types/src/scripts/release/urlsMarkdown.d.ts +0 -1
  32. package/dist/types/src/scripts/releaseAllWithScheme.d.ts +0 -1
  33. package/dist/types/src/scripts/utils/cmdUtils.d.ts +0 -4
  34. package/dist/types/src/scripts/utils/fsUtils.d.ts +0 -2
  35. package/dist/types/src/scripts/utils/gitUtils.d.ts +0 -14
  36. package/dist/types/src/scripts/utils/index.d.ts +0 -4
  37. package/dist/types/src/scripts/utils/stringUtils.d.ts +0 -1
  38. package/dist/types/src/sdks/index.d.ts +0 -5
  39. package/dist/types/src/sdks/sdk-tizen/index.d.ts +0 -5
  40. package/dist/types/src/sdks/sdk-webos/index.d.ts +0 -4
  41. package/dist/types/src/sdks/sdk-webpack/index.d.ts +0 -4
  42. package/dist/types/src/sdks/sdkUtils.d.ts +0 -2
  43. package/dist/types/src/tasks/deploy/aswS3/aws.d.ts +0 -2
  44. package/dist/types/src/tasks/deploy/aswS3/deployS3.d.ts +0 -1
  45. package/dist/types/src/tasks/deploy/hbbtv/deployHbbtv.d.ts +0 -1
  46. package/dist/types/src/tasks/engineTasks.d.ts +0 -13
  47. package/dist/types/src/tasks/task.rnv.build.d.ts +0 -9
  48. package/dist/types/src/tasks/task.rnv.configure.d.ts +0 -9
  49. package/dist/types/src/tasks/task.rnv.configureSoft.d.ts +0 -9
  50. package/dist/types/src/tasks/task.rnv.deploy.d.ts +0 -9
  51. package/dist/types/src/tasks/task.rnv.hooks.run.d.ts +0 -13
  52. package/dist/types/src/tasks/task.rnv.package.d.ts +0 -9
  53. package/dist/types/src/tasks/task.rnv.project.configure.d.ts +0 -9
  54. package/dist/types/src/tasks/task.rnv.start.d.ts +0 -9
  55. package/dist/types/src/types/c.d.ts +0 -320
  56. package/dist/types/src/types/index.d.ts +0 -1
  57. package/dist/types/src/utils/forEachSupportedPlatformFlavour.d.ts +0 -1
  58. package/dist/types/src/utils/replaceRelevantStringsInConfig/index.d.ts +0 -1
  59. package/dist/types/src/utils/replaceRelevantStringsInConfig/replaceRelevantStringsInConfig.d.ts +0 -1
  60. package/dist/types/src/utils/replaceRelevantStringsInConfig/replaceTemplateString.d.ts +0 -1
  61. package/dist/types/src/utils/zipBuildsByPlatforms.d.ts +0 -1
  62. package/dist/types/templates/platforms/_shared/template.d.ts +0 -2
  63. package/dist/types/templates/platforms/_shared/webpack.base.d.ts +0 -80
  64. package/dist/types/templates/platforms/entone/webpack.config.dev.d.ts +0 -2
  65. package/dist/types/templates/platforms/entone/webpack.config.prod.d.ts +0 -2
  66. package/dist/types/templates/platforms/hbbtv/webpack.config.dev.d.ts +0 -2
  67. package/dist/types/templates/platforms/hbbtv/webpack.config.prod.d.ts +0 -2
  68. package/dist/types/templates/platforms/tizen/webpack.config.dev.d.ts +0 -2
  69. package/dist/types/templates/platforms/tizen/webpack.config.prod.d.ts +0 -2
  70. package/dist/types/templates/platforms/webos/webpack.config.dev.d.ts +0 -2
  71. package/dist/types/templates/platforms/webos/webpack.config.prod.d.ts +0 -2
  72. package/dist/types/templates/platforms/webtv/webpack.config.dev.d.ts +0 -2
  73. 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,
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.1356+92f9fbaa",
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": "92f9fbaa0f6e80b8a0dce2937a18eb9b546359e6"
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';
@@ -1,8 +0,0 @@
1
- declare const Platforms: {
2
- ENTONE: string;
3
- HBBTV: string;
4
- TIZEN: string;
5
- WEBOS: string;
6
- WEBTV: string;
7
- };
8
- export { Platforms, };
@@ -1,18 +0,0 @@
1
- declare namespace _default {
2
- export function initializeRuntimeConfig(c: any): any;
3
- export const tasks: any;
4
- export { CNF as config };
5
- export const projectDirName: string;
6
- export const serverDirName: string;
7
- export const ejectPlatform: null;
8
- export const platforms: {
9
- [x: string]: {
10
- extenstions: any[];
11
- defaultPort: number;
12
- };
13
- };
14
- }
15
- export default _default;
16
- import * as Constants from "./constants";
17
- import * as Resolvers from "./resolvers";
18
- export { Constants, Resolvers };
@@ -1,9 +0,0 @@
1
- export { resolveBaseUrl } from './resolveBaseUrl';
2
- export { resolveBuildVersion } from './resolveBuildVersion';
3
- export { resolveBuildVersionOffset } from './resolveBuildVersionOffset';
4
- export { resolveDeployLocations } from './resolveDeployLocations';
5
- export { resolveHbbtvRemoteBuildDirRelativePath } from './resolveHbbtvRemoteBuildDirRelativePath';
6
- export { resolveHbbtvDeployUrl } from './resolveHbbtvDeployUrl';
7
- export { resolveHbbtvDeployConfig } from './resolveHbbtvDeployConfig';
8
- export { getBaseConfig } from './resolveGenericRnvConfig';
9
- export { resolveZippedPlatformBuildsRelativeFilePath, } from './resolveZippedPlatformBuildsRelativeFilePath';
@@ -1,6 +0,0 @@
1
- declare const resolveBaseUrl: ({ platform, scheme, appConfigId }: {
2
- platform?: string | undefined;
3
- scheme?: string | undefined;
4
- appConfigId?: string | undefined;
5
- }) => string;
6
- export { resolveBaseUrl, };
@@ -1,6 +0,0 @@
1
- declare const resolveBuildVersion: ({ platform, scheme, appConfigId }: {
2
- platform?: string | undefined;
3
- scheme?: string | undefined;
4
- appConfigId?: string | undefined;
5
- }) => string;
6
- export { resolveBuildVersion, };
@@ -1,3 +0,0 @@
1
- import { RnvC } from '../types';
2
- declare const resolveBuildVersionOffset: (c: RnvC) => string;
3
- export { resolveBuildVersionOffset, };
@@ -1,9 +0,0 @@
1
- import { RnvC } from '../types';
2
- declare const resolveDeployLocations: (c: RnvC) => {
3
- versions: {
4
- [x: string]: {
5
- platforms: {};
6
- };
7
- };
8
- };
9
- export { resolveDeployLocations, };
@@ -1,4 +0,0 @@
1
- import { RnvC } from '../types';
2
- export declare function isObject(item: any): any;
3
- declare const getBaseConfig: () => RnvC;
4
- export { getBaseConfig, };
@@ -1,10 +0,0 @@
1
- declare const resolveHbbtvDeployConfig: () => {
2
- host: string;
3
- username: string;
4
- privateKeyRelativePath: string;
5
- passphrase: string | undefined;
6
- hostHomeDir: string;
7
- dockerHtmlRootDir: string;
8
- dockerContainerName: string;
9
- };
10
- export { resolveHbbtvDeployConfig, };
@@ -1,3 +0,0 @@
1
- import { RnvC } from '../types';
2
- declare const resolveHbbtvDeployUrl: (c: RnvC, scheme: string, appConfigId: string) => string;
3
- export { resolveHbbtvDeployUrl, };
@@ -1,3 +0,0 @@
1
- import { RnvC } from '../types';
2
- declare const resolveHbbtvRemoteBuildDirRelativePath: (c: RnvC, scheme?: string | undefined, appConfigId?: string | undefined) => string;
3
- export { resolveHbbtvRemoteBuildDirRelativePath, };
@@ -1,3 +0,0 @@
1
- import { RnvC } from '../types';
2
- declare const resolveZippedPlatformBuildsRelativeFilePath: (c: RnvC, platformName: string) => string;
3
- export { resolveZippedPlatformBuildsRelativeFilePath, };
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export function checkReleaseNotes(c: any): void;
@@ -1 +0,0 @@
1
- export {};
@@ -1 +0,0 @@
1
- export function deleteSourceMaps(c: any): void;
@@ -1 +0,0 @@
1
- export function deployToAppCenter(c: any): void;
@@ -1 +0,0 @@
1
- export function githubRelease(c: any): void;
@@ -1,9 +0,0 @@
1
- export function makeDevelopmentPayload(c: any): {
2
- blocks: any[];
3
- };
4
- export function makeReleaseCandidatePayload(c: any): {
5
- blocks: any[];
6
- };
7
- export function makeDistributionPayload(c: any): {
8
- blocks: any[];
9
- };
@@ -1 +0,0 @@
1
- export function notifySlack(c: any): void;
@@ -1,26 +0,0 @@
1
- export namespace Section {
2
- function mrkdwn(text: any): {
3
- type: string;
4
- text: {
5
- type: string;
6
- text: any;
7
- };
8
- };
9
- }
10
- export namespace Actions {
11
- function buttons(btnsData: any): {
12
- type: string;
13
- elements: any;
14
- };
15
- }
16
- export namespace Divider {
17
- function plain(): {
18
- type: string;
19
- };
20
- }
21
- export namespace Context {
22
- function mrkdwns(texts: any): {
23
- type: string;
24
- elements: any;
25
- };
26
- }
@@ -1 +0,0 @@
1
- export function sentryRelease(c: any): void;
@@ -1 +0,0 @@
1
- export function getUrlsMarkdown(c: any, customPlatformList: any): string;
@@ -1 +0,0 @@
1
- export {};
@@ -1,4 +0,0 @@
1
- export function cmdSync(command: any, options: any): string;
2
- export function cmdSyncInheritOut(command: any): string;
3
- export function cmdSyncPipeOut(command: any): string;
4
- export function cmdSyncTrimOut(command: any): string;
@@ -1,2 +0,0 @@
1
- export function getFileContentAsString(filePath: any): string;
2
- export function assertPath(path: any): void;
@@ -1,14 +0,0 @@
1
- export function statusList(): any[];
2
- export function getCurrentBranchName(): string;
3
- export function pullRequest(fromBranch: any, toBranch: any, prTitle: any): void;
4
- export function remoteBranchExists(expectedBranchName: any): boolean;
5
- export function pull(): string;
6
- export function addAll(): string;
7
- export function add(fileList: any): string;
8
- export function checkout(branchName: any): string;
9
- export function createBranch(branchName: any): string;
10
- export function commit(commitMessage: any, noVerify: any): string;
11
- export function push(branchName: any, noVerify: any): string;
12
- export function assertEmptyStatusList(): void;
13
- export function assertCurrentBranch(expectedBranchName: any): void;
14
- export function assertRemoteBranch(expectedBranchName: any): void;
@@ -1,4 +0,0 @@
1
- export * as cmdUtils from "./cmdUtils";
2
- export * as fsUtils from "./fsUtils";
3
- export * as gitUtils from "./gitUtils";
4
- export * as stringUtils from "./stringUtils";
@@ -1 +0,0 @@
1
- export function splitByNewLine(string?: string): string[];
@@ -1,5 +0,0 @@
1
- import * as SDKWebos from "./sdk-webos";
2
- import * as SDKTizen from "./sdk-tizen";
3
- import * as SDKWebpack from "./sdk-webpack";
4
- export function handlePlatformSdk(c: any): Promise<true | void>;
5
- export { SDKWebos, SDKTizen, SDKWebpack };
@@ -1,5 +0,0 @@
1
- export function buildTizenProject(c: any): Promise<boolean>;
2
- export function configureTizenGlobal(c: any): Promise<any>;
3
- export function configureTizenProject(c: any): Promise<void>;
4
- export function handleTizenSdk(c: any): Promise<void>;
5
- export function runTizen(c: any, target: any): Promise<void>;
@@ -1,4 +0,0 @@
1
- export function runWebOS(c: any): Promise<void>;
2
- export function buildWebOSProject(c: any): Promise<void>;
3
- export function configureWebOSProject(c: any): Promise<void>;
4
- export function handleWebosSdk(c: any): Promise<void>;
@@ -1,4 +0,0 @@
1
- export function buildWeb(c: any): Promise<any>;
2
- export function configureWebProject(c: any): Promise<void>;
3
- export function deployWeb(): boolean;
4
- export function exportWeb(): boolean;
@@ -1,2 +0,0 @@
1
- export function registerSdkPath(c: any, sdkKey: any, sdkValue: any): Promise<void>;
2
- export function installSdk(installerUrl: any, installPath: any): Promise<string>;
@@ -1,2 +0,0 @@
1
- export function cp(source: any, destination: any): void;
2
- export function rm(remoteDirPath: any): void;
@@ -1 +0,0 @@
1
- export function deployToS3(c: any): Promise<boolean>;
@@ -1 +0,0 @@
1
- export function deployHbbTV(c: any): Promise<void>;
@@ -1,13 +0,0 @@
1
- export const engineTaskList: ({
2
- description: string;
3
- fn: (c: any, parentTask: any, originTask: any) => Promise<any>;
4
- task: string;
5
- params: any;
6
- platforms: string[];
7
- } | {
8
- description: string;
9
- fn: (c: any, parentTask: any, originTask: any) => Promise<any>;
10
- task: any;
11
- params: any;
12
- platforms: never[];
13
- })[];
@@ -1,9 +0,0 @@
1
- export namespace customRnvBuildTask {
2
- export const description: string;
3
- export { buildFn as fn };
4
- export const task: string;
5
- export const params: any;
6
- export const platforms: string[];
7
- }
8
- declare function buildFn(c: any, parentTask: any, originTask: any): Promise<void>;
9
- export {};
@@ -1,9 +0,0 @@
1
- export namespace customRnvConfigureTask {
2
- export const description: string;
3
- export { configureFn as fn };
4
- export const task: string;
5
- export const params: any;
6
- export const platforms: string[];
7
- }
8
- declare function configureFn(c: any, parentTask: any, originTask: any): Promise<any>;
9
- export {};
@@ -1,9 +0,0 @@
1
- export namespace customRnvConfigureSoftTask {
2
- export const description: string;
3
- export { configureSoftFn as fn };
4
- export { TASK_CONFIGURE_SOFT as task };
5
- export const params: any;
6
- export const platforms: never[];
7
- }
8
- declare function configureSoftFn(c: any, parentTask: any, originTask: any): Promise<boolean>;
9
- export {};
@@ -1,9 +0,0 @@
1
- export namespace customRnvDeployTask {
2
- export const description: string;
3
- export { deployFn as fn };
4
- export const task: string;
5
- export const params: any;
6
- export const platforms: string[];
7
- }
8
- declare function deployFn(c: any, parentTask: any, originTask: any): Promise<boolean>;
9
- export {};
@@ -1,13 +0,0 @@
1
- export namespace customRnvHooksRunTask {
2
- export const description: string;
3
- export { hooksRunFn as fn };
4
- export { TASK_HOOKS_RUN as task };
5
- export const params: any;
6
- export const platforms: never[];
7
- export const skipAppConfig: boolean;
8
- export const skipPlatforms: boolean;
9
- export const forceBuildHookRebuild: boolean;
10
- export const isGlobalScope: boolean;
11
- }
12
- declare function hooksRunFn(c: any, parentTask: any, originTask: any): Promise<boolean>;
13
- export {};
@@ -1,9 +0,0 @@
1
- export namespace customRnvPackageTask {
2
- export const description: string;
3
- export { packageFn as fn };
4
- export const task: string;
5
- export const params: any;
6
- export const platforms: string[];
7
- }
8
- declare function packageFn(c: any, parentTask: any, originTask: any): Promise<boolean>;
9
- export {};
@@ -1,9 +0,0 @@
1
- export namespace customRnvProjectConfigureTask {
2
- export const description: string;
3
- export { projectConfigureFn as fn };
4
- export { TASK_PROJECT_CONFIGURE as task };
5
- export const params: any;
6
- export const platforms: never[];
7
- }
8
- declare function projectConfigureFn(c: any, parentTask: any, originTask: any): Promise<any>;
9
- export {};
@@ -1,9 +0,0 @@
1
- export namespace customRnvStartTask {
2
- export const description: string;
3
- export { startFn as fn };
4
- export const task: string;
5
- export const params: any;
6
- export const platforms: string[];
7
- }
8
- declare function startFn(c: any, parentTask: any, originTask: any): Promise<any>;
9
- export {};
@@ -1,320 +0,0 @@
1
- interface RnvC {
2
- buildConfig: {
3
- configPropsInjects: {
4
- [key: string]: string;
5
- };
6
- common: {
7
- packageVersion?: string;
8
- deploy?: {
9
- aws3?: {
10
- bucketName?: string;
11
- };
12
- };
13
- git: {
14
- branchNames: {
15
- dev: string;
16
- rc: string;
17
- dist: string;
18
- };
19
- };
20
- releaseNotes: {
21
- relativePath: string;
22
- requiredRows: string[];
23
- };
24
- };
25
- defaults: {
26
- supportedPlatforms: string[];
27
- };
28
- platforms: {
29
- [key: string]: {
30
- deploy?: {
31
- supportedFlavours?: string[];
32
- };
33
- [key: string]: any;
34
- };
35
- };
36
- paths: {
37
- platformBuildsDir: string;
38
- };
39
- };
40
- cli: {
41
- webosAres?: string;
42
- webosAresDeviceInfo?: string;
43
- webosAresInstall?: string;
44
- webosAresLaunch?: string;
45
- webosAresNovacom?: string;
46
- webosAresPackage?: string;
47
- webosAresSetup?: string;
48
- tizen?: string;
49
- tizenEmulator?: string;
50
- tizenSdb?: string;
51
- };
52
- paths: {
53
- rnv: {
54
- pluginTemplates: {
55
- configs: {
56
- [key: string]: any;
57
- };
58
- config: string;
59
- dir: string;
60
- };
61
- platformTemplates: {
62
- [key: string]: any;
63
- };
64
- projectTemplates: {
65
- dir: string;
66
- config: string;
67
- };
68
- platformTemplate: {
69
- [key: string]: any;
70
- };
71
- plugins: {
72
- [key: string]: any;
73
- };
74
- engines: {
75
- dir: string;
76
- };
77
- projectTemplate: {
78
- dir: string;
79
- };
80
- dir: string;
81
- package: string;
82
- configWorkspaces: string;
83
- };
84
- workspace: {
85
- project: {
86
- appConfigBase: {
87
- [key: string]: any;
88
- };
89
- builds: {
90
- [key: string]: any;
91
- };
92
- assets: {
93
- [key: string]: any;
94
- };
95
- platformTemplates: {
96
- [key: string]: any;
97
- };
98
- appConfigsDirs: string[];
99
- appConfigsDirNames: string[];
100
- };
101
- appConfig: {
102
- configs: string[];
103
- configsPrivate: string[];
104
- configsLocal: string[];
105
- };
106
- dir: string;
107
- config: string;
108
- configLocal: string;
109
- configPrivate: string;
110
- appConfigsDir: string;
111
- };
112
- defaultWorkspace: {
113
- project: {
114
- appConfigBase: {
115
- [key: string]: any;
116
- };
117
- builds: {
118
- [key: string]: any;
119
- };
120
- assets: {
121
- [key: string]: any;
122
- };
123
- platformTemplates: {
124
- [key: string]: any;
125
- };
126
- appConfigsDirs: any[];
127
- appConfigsDirNames: any[];
128
- };
129
- appConfig: {
130
- configs: any[];
131
- configsPrivate: any[];
132
- configsLocal: any[];
133
- };
134
- };
135
- project: {
136
- appConfigBase: {
137
- dir: string;
138
- pluginsDir: string;
139
- fontsDir: string[];
140
- };
141
- builds: {
142
- dir: string;
143
- };
144
- assets: {
145
- dir: string;
146
- runtimeDir: string;
147
- config: string;
148
- };
149
- platformTemplates: {
150
- [key: string]: any;
151
- };
152
- appConfigsDirs: any[];
153
- appConfigsDirNames: any[];
154
- nodeModulesDir: string;
155
- srcDir: string;
156
- appConfigsDir: string;
157
- package: string;
158
- rnCliConfig: string;
159
- babelConfig: string;
160
- dir: string;
161
- config: string;
162
- configLocal: string;
163
- configPrivate: string;
164
- };
165
- appConfig: {
166
- configs: any[];
167
- configsPrivate: any[];
168
- configsLocal: any[];
169
- };
170
- GLOBAL_RNV_DIR: string;
171
- GLOBAL_RNV_CONFIG: string;
172
- buildHooks: {
173
- dir: string;
174
- dist: {
175
- dir: string;
176
- index: string;
177
- };
178
- };
179
- home: {
180
- dir: string;
181
- };
182
- template: {
183
- appConfigBase: {
184
- [key: string]: any;
185
- };
186
- builds: {
187
- [key: string]: any;
188
- };
189
- assets: {
190
- [key: string]: any;
191
- };
192
- platformTemplates: {
193
- [key: string]: any;
194
- };
195
- };
196
- };
197
- files: {
198
- rnv: {
199
- pluginTemplates: {
200
- [key: string]: any;
201
- };
202
- platformTemplates: {
203
- [key: string]: any;
204
- };
205
- projectTemplates: {
206
- [key: string]: any;
207
- };
208
- platformTemplate: {
209
- [key: string]: any;
210
- };
211
- plugins: {
212
- [key: string]: any;
213
- };
214
- engines: {
215
- [key: string]: any;
216
- };
217
- projectTemplate: {
218
- [key: string]: any;
219
- };
220
- package: string;
221
- configWorkspaces: {
222
- workspaces: {
223
- rnv: {
224
- path: string;
225
- };
226
- };
227
- };
228
- };
229
- project: {
230
- appConfigBase: {
231
- dir?: string;
232
- };
233
- builds: {
234
- [key: string]: any;
235
- };
236
- assets: {
237
- [key: string]: any;
238
- };
239
- platformTemplates: {
240
- [key: string]: any;
241
- };
242
- package: {
243
- [key: string]: any;
244
- };
245
- };
246
- workspace: {
247
- config?: {
248
- sdks?: {
249
- [key: string]: string;
250
- };
251
- };
252
- project: {
253
- appConfigBase: {
254
- [key: string]: any;
255
- };
256
- builds: {
257
- [key: string]: any;
258
- };
259
- assets: {
260
- [key: string]: any;
261
- };
262
- platformTemplates: {
263
- [key: string]: any;
264
- };
265
- };
266
- appConfig: {
267
- configs: string[];
268
- configsPrivate: string[];
269
- configsLocal: string[];
270
- };
271
- };
272
- defaultWorkspace: {
273
- project: {
274
- appConfigBase: {
275
- [key: string]: any;
276
- };
277
- builds: {
278
- [key: string]: any;
279
- };
280
- assets: {
281
- [key: string]: any;
282
- };
283
- platformTemplates: {
284
- [key: string]: any;
285
- };
286
- };
287
- appConfig: {
288
- configs: string[];
289
- configsPrivate: string[];
290
- configsLocal: string[];
291
- };
292
- };
293
- appConfig: {
294
- configs: string[];
295
- configsPrivate: string[];
296
- configsLocal: string[];
297
- };
298
- };
299
- platform: string;
300
- runtime: {
301
- enginesByPlatform: {
302
- [key: string]: any;
303
- };
304
- enginesByIndex: any[];
305
- enginesById: {
306
- [key: string]: any;
307
- };
308
- scheme: string;
309
- appId: string;
310
- };
311
- program: {
312
- [key: string]: any;
313
- };
314
- process: {
315
- [key: string]: any;
316
- };
317
- command: string;
318
- subCommand: string;
319
- }
320
- export { RnvC, };
@@ -1 +0,0 @@
1
- export { RnvC } from './c';
@@ -1 +0,0 @@
1
- export function forEachSupportedPlatformFlavour(c: any, cb: any): void;
@@ -1 +0,0 @@
1
- export { replaceRelevantStringsInConfig } from "./replaceRelevantStringsInConfig";
@@ -1 +0,0 @@
1
- export function replaceRelevantStringsInConfig(c: any): void;
@@ -1 +0,0 @@
1
- export function replaceTemplateString(c: any, string?: string): any;
@@ -1 +0,0 @@
1
- export function zipBuildsByPlatforms(c: any): void;
@@ -1,2 +0,0 @@
1
- export default htmlTemp;
2
- declare function htmlTemp(options: any): any;
@@ -1,80 +0,0 @@
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 ForkTsCheckerWebpackPlugin = require("fork-ts-checker-webpack-plugin/lib/ForkTsCheckerWebpackPlugin");
80
- import * as webpack from "webpack";
@@ -1,2 +0,0 @@
1
- declare var _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare var _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare var _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare var _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare var _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare var _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare var _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare var _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare var _default: any;
2
- export default _default;
@@ -1,2 +0,0 @@
1
- declare var _default: any;
2
- export default _default;