@24i/smartapps-bigscreen-rnv-build-engine 0.0.2-alpha.1326 → 0.0.2-alpha.1328

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 (54) hide show
  1. package/dist/src/constants/buildSchemes.js +14 -0
  2. package/dist/src/constants/index.js +12 -0
  3. package/dist/src/index.js +27 -0
  4. package/dist/src/resolvers/index.js +14 -0
  5. package/dist/src/{utils → resolvers}/resolveBaseUrl.js +6 -5
  6. package/dist/src/{utils → resolvers}/resolveBuildVersion.js +12 -10
  7. package/dist/src/scripts/release/deployToAppCenter.js +3 -0
  8. package/dist/src/scripts/release/githubRelease.js +3 -0
  9. package/dist/src/scripts/release/notifySlack/makePayload.js +5 -0
  10. package/dist/src/scripts/release/notifySlack/notifySlack.js +19 -0
  11. package/dist/src/scripts/release/sentryRelease.js +3 -0
  12. package/dist/src/sdks/index.js +55 -0
  13. package/dist/src/sdks/sdk-tizen/index.js +39 -0
  14. package/dist/src/sdks/sdk-webos/index.js +39 -0
  15. package/dist/src/sdks/sdk-webpack/index.js +36 -0
  16. package/dist/src/sdks/sdkUtils.js +36 -0
  17. package/dist/src/tasks/deploy/aswS3/aws.js +3 -0
  18. package/dist/src/tasks/deploy/aswS3/deployS3.js +60 -2
  19. package/dist/src/tasks/deploy/hbbtv/deployHbbtv.js +39 -0
  20. package/dist/src/tasks/task.rnv.build.js +41 -2
  21. package/dist/src/tasks/task.rnv.configure.js +36 -0
  22. package/dist/src/tasks/task.rnv.configureSoft.js +36 -0
  23. package/dist/src/tasks/task.rnv.deploy.js +36 -0
  24. package/dist/src/tasks/task.rnv.hooks.run.js +39 -0
  25. package/dist/src/tasks/task.rnv.package.js +36 -0
  26. package/dist/src/tasks/task.rnv.project.configure.js +55 -0
  27. package/dist/src/tasks/task.rnv.start.js +39 -0
  28. package/dist/src/types/c.js +2 -0
  29. package/dist/src/types/index.js +2 -0
  30. package/dist/src/utils/getBaseConfig.js +27 -0
  31. package/dist/src/utils/getDeployLocations.js +11 -4
  32. package/dist/src/utils/replaceRelevantStringsInConfig/index.js +7 -0
  33. package/dist/src/utils/zipBuildsByPlatforms.js +3 -0
  34. package/dist/templates/platforms/_shared/template.js +11 -0
  35. package/dist/templates/platforms/_shared/webpack.base.js +24 -6
  36. package/dist/templates/platforms/entone/webpack.config.dev.js +11 -0
  37. package/dist/templates/platforms/entone/webpack.config.prod.js +11 -0
  38. package/dist/templates/platforms/hbbtv/webpack.config.dev.js +11 -0
  39. package/dist/templates/platforms/hbbtv/webpack.config.prod.js +11 -0
  40. package/dist/templates/platforms/tizen/webpack.config.dev.js +11 -0
  41. package/dist/templates/platforms/tizen/webpack.config.prod.js +11 -0
  42. package/dist/templates/platforms/webos/webpack.config.dev.js +11 -0
  43. package/dist/templates/platforms/webos/webpack.config.prod.js +11 -0
  44. package/dist/templates/platforms/webtv/webpack.config.dev.js +11 -0
  45. package/dist/templates/platforms/webtv/webpack.config.prod.js +11 -0
  46. package/dist/types/src/constants/buildSchemes.d.ts +11 -0
  47. package/dist/types/src/constants/index.d.ts +1 -0
  48. package/dist/types/src/index.d.ts +3 -0
  49. package/dist/types/src/resolvers/index.d.ts +2 -0
  50. package/dist/types/src/{utils → resolvers}/resolveBaseUrl.d.ts +3 -2
  51. package/dist/types/src/{utils → resolvers}/resolveBuildVersion.d.ts +3 -2
  52. package/dist/types/src/types/c.d.ts +46 -0
  53. package/dist/types/src/types/index.d.ts +1 -0
  54. package/package.json +3 -3
@@ -1,4 +1,15 @@
1
1
  "use strict";
2
+ var __assign = (this && this.__assign) || function () {
3
+ __assign = Object.assign || function(t) {
4
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
5
+ s = arguments[i];
6
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
+ t[p] = s[p];
8
+ }
9
+ return t;
10
+ };
11
+ return __assign.apply(this, arguments);
12
+ };
2
13
  var Configs = require('./webpack.base');
3
14
  var Extend = require('./webpack.extend');
4
15
  var config = __assign({ currentDir: __dirname, metaTags: { viewport: "content=\"width=" + Extend.resolution.width + ", user-scalable=no\"" }, environment: 'production' }, Extend);
@@ -0,0 +1,11 @@
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, };
@@ -0,0 +1 @@
1
+ export { BuildSchemes } from './buildSchemes';
@@ -13,3 +13,6 @@ declare namespace _default {
13
13
  };
14
14
  }
15
15
  export default _default;
16
+ import * as Constants from "./constants";
17
+ import * as Resolvers from "./resolvers";
18
+ export { Constants, Resolvers };
@@ -0,0 +1,2 @@
1
+ export { resolveBuildVersion } from './resolveBuildVersion';
2
+ export { resolveBaseUrl } from './resolveBaseUrl';
@@ -1,5 +1,6 @@
1
- export function resolveBaseUrl({ platform, scheme, appConfigId }: {
1
+ declare const resolveBaseUrl: ({ platform, scheme, appConfigId }: {
2
2
  platform?: string | undefined;
3
3
  scheme?: string | undefined;
4
4
  appConfigId?: string | undefined;
5
- }): string;
5
+ }) => string;
6
+ export { resolveBaseUrl, };
@@ -1,5 +1,6 @@
1
- export function resolveBuildVersion({ platform, scheme, appConfigId }: {
1
+ declare const resolveBuildVersion: ({ platform, scheme, appConfigId }: {
2
2
  platform?: string | undefined;
3
3
  scheme?: string | undefined;
4
4
  appConfigId?: string | undefined;
5
- }): string;
5
+ }) => string;
6
+ export { resolveBuildVersion, };
@@ -0,0 +1,46 @@
1
+ interface RnvC {
2
+ buildConfig: {
3
+ common: {
4
+ packageVersion?: string;
5
+ deploy?: {
6
+ aws3?: {
7
+ bucketName?: string;
8
+ };
9
+ };
10
+ };
11
+ };
12
+ cli?: {
13
+ webosAres?: string;
14
+ webosAresDeviceInfo?: string;
15
+ webosAresInstall?: string;
16
+ webosAresLaunch?: string;
17
+ webosAresNovacom?: string;
18
+ webosAresPackage?: string;
19
+ webosAresSetup?: string;
20
+ tizen?: string;
21
+ tizenEmulator?: string;
22
+ tizenSdb?: string;
23
+ };
24
+ files?: {
25
+ project: {
26
+ appConfigBase: {
27
+ dir: string;
28
+ };
29
+ config: {};
30
+ package: {};
31
+ };
32
+ workspace?: {
33
+ config?: {
34
+ sdks?: {
35
+ [key: string]: string;
36
+ };
37
+ };
38
+ };
39
+ };
40
+ platform?: string;
41
+ runtime: {
42
+ scheme?: string;
43
+ appConfigId?: string;
44
+ };
45
+ }
46
+ export { RnvC, };
@@ -0,0 +1 @@
1
+ export { RnvC } from './c';
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.1326+e116f6c6",
3
+ "version": "0.0.2-alpha.1328+4ab6db07",
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",
@@ -13,7 +13,7 @@
13
13
  "eslint": "eslint \"./engine/src/**/*.{js,jsx,ts,tsx}\" \"./templates/**/*.{js,jsx,ts,tsx}\"",
14
14
  "stylelint": "stylelint \"./src/**/*.scss\" --aei --cache --rd --risd --rdd",
15
15
  "lintcheck": "npm run eslint && npm run stylelint",
16
- "typecheck": "tsc --noEmit --checkJs",
16
+ "typecheck": "tsc --noEmit",
17
17
  "test": "jest",
18
18
  "prepublishOnly": "npm run build"
19
19
  },
@@ -56,5 +56,5 @@
56
56
  "keywords": [],
57
57
  "author": "24i",
58
58
  "license": "ISC",
59
- "gitHead": "e116f6c652e1b4e9aadc8bff39da88c762bbf996"
59
+ "gitHead": "4ab6db078f267f86439c71341614a7a7ef12e743"
60
60
  }