@24i/smartapps-bigscreen-rnv-build-engine 0.17.1-alpha.2054 → 0.17.1-alpha.2055
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.
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@24i/smartapps-bigscreen-rnv-build-engine",
|
|
3
|
+
"version": "0.17.1-alpha.2055",
|
|
4
|
+
"description": "Package with build engine for SmartApps BIGscreen projects...",
|
|
5
|
+
"main": "dist/src/index.js",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"build:clean": "rm -rf dist",
|
|
8
|
+
"build": "npm run build:clean && tsc && npm run copy:projects",
|
|
9
|
+
"copy:project:tizen": "mkdir -p dist/templates/platforms/tizen && cp -R templates/platforms/tizen/project dist/templates/platforms/tizen/",
|
|
10
|
+
"copy:project:webos": "mkdir -p dist/templates/platforms/webos && cp -R templates/platforms/webos/project dist/templates/platforms/webos/",
|
|
11
|
+
"copy:projects": "npm run copy:project:tizen && npm run copy:project:webos",
|
|
12
|
+
"eslint": "eslint \"./src/**/*.{js,jsx,ts,tsx}\" \"./templates/**/*.{js,jsx,ts,tsx}\"",
|
|
13
|
+
"stylelint": "stylelint \"./src/**/*.scss\" --aei --rd --risd --rdd",
|
|
14
|
+
"lintcheck": "npm run eslint && npm run stylelint",
|
|
15
|
+
"typecheck": "tsc --noEmit",
|
|
16
|
+
"lintcheck:cached": "npm run eslint -- --cache && npm run stylelint -- --cache",
|
|
17
|
+
"typecheck:cached": "tsc --noEmit --incremental",
|
|
18
|
+
"test": "jest --passWithNoTests",
|
|
19
|
+
"prepublishOnly": "npm run build",
|
|
20
|
+
"postinstall": "node fixDependency.js"
|
|
21
|
+
},
|
|
22
|
+
"deleteDependencies": [
|
|
23
|
+
{
|
|
24
|
+
"path": "../../unzip2/node_modules/graceful-fs/",
|
|
25
|
+
"version": "^4.2.8"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"path": "./node_modules/fstream/node_modules/graceful-fs/",
|
|
29
|
+
"version": "^4.2.8"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"path": "../../fstream/node_modules/graceful-fs/",
|
|
33
|
+
"version": "^4.2.8"
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"xml2js": "^0.4.23"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@types/inquirer": "8.2.1",
|
|
41
|
+
"@types/ip": "1.1.0",
|
|
42
|
+
"@types/mini-css-extract-plugin": "1.4.3",
|
|
43
|
+
"@types/node": "18.0.3",
|
|
44
|
+
"@types/semver": "7.3.10",
|
|
45
|
+
"@types/ssh2": "1.11.4",
|
|
46
|
+
"@types/tapable": "2.2.2",
|
|
47
|
+
"@types/webpack": "5.28.0",
|
|
48
|
+
"@types/xml2js": "0.4.11",
|
|
49
|
+
"nock": "13.2.8",
|
|
50
|
+
"svgo": "1.3.2"
|
|
51
|
+
},
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"@24i/smartapps-bigscreen-device": "*",
|
|
54
|
+
"@rnv/sdk-webpack": "0.35.0-alpha.2",
|
|
55
|
+
"assign-deep": "1.0.1",
|
|
56
|
+
"core-js": "3.22.4",
|
|
57
|
+
"coveralls": "3.1.1",
|
|
58
|
+
"css-hot-loader": "1.4.4",
|
|
59
|
+
"css-loader": "5.2.7",
|
|
60
|
+
"filemanager-webpack-plugin": "6.1.7",
|
|
61
|
+
"fork-ts-checker-webpack-plugin": "7.2.11",
|
|
62
|
+
"glob": "8.0.1",
|
|
63
|
+
"html-webpack-harddisk-plugin": "2.0.0",
|
|
64
|
+
"html-webpack-plugin": "5.5.0",
|
|
65
|
+
"ip": "1.1.5",
|
|
66
|
+
"manifoldjs-windows10": "0.1.8",
|
|
67
|
+
"mini-css-extract-plugin": "2.6.0",
|
|
68
|
+
"node-ssh": "12.0.4",
|
|
69
|
+
"ora": "5.4.1",
|
|
70
|
+
"raf": "3.4.1",
|
|
71
|
+
"regenerator-runtime": "0.13.9",
|
|
72
|
+
"renative-template-blank": "0.35.0-alpha.2",
|
|
73
|
+
"rnv": "0.35.0-alpha.2",
|
|
74
|
+
"sass": "1.51.0",
|
|
75
|
+
"sass-loader": "12.6.0",
|
|
76
|
+
"source-map-loader": "3.0.1",
|
|
77
|
+
"svgo": "1.3.2",
|
|
78
|
+
"ts-loader": "9.3.0",
|
|
79
|
+
"webpack": "5.72.0",
|
|
80
|
+
"webpack-cli": "4.10.0",
|
|
81
|
+
"webpack-dev-server": "4.9.0",
|
|
82
|
+
"webpack-spritesmith": "1.1.0"
|
|
83
|
+
},
|
|
84
|
+
"keywords": [],
|
|
85
|
+
"author": "24i",
|
|
86
|
+
"license": "ISC",
|
|
87
|
+
"gitHead": "e2d768806787e222c8e6f5bdf25cd6e97a1167cd"
|
|
88
|
+
}
|
|
@@ -28,6 +28,7 @@ const path = __importStar(require("path"));
|
|
|
28
28
|
const rnv_1 = require("rnv");
|
|
29
29
|
const crypto_1 = require("rnv/dist/core/systemManager/crypto");
|
|
30
30
|
const replaceRelevantStringsInConfig_1 = require("../utils/replaceRelevantStringsInConfig");
|
|
31
|
+
const package_json_1 = require("../../package.json");
|
|
31
32
|
const { configurePlugins, overrideTemplatePlugins, resolvePluginDependants, } = rnv_1.PluginManager;
|
|
32
33
|
const { chalk, logTask, logInfo } = rnv_1.Logger;
|
|
33
34
|
const { checkIsRenativeProject, generateRuntimeConfig } = rnv_1.ConfigManager;
|
|
@@ -39,7 +40,7 @@ const { checkAndCreateBabelConfig, copyRuntimeAssets, cleanPlaformAssets, checkA
|
|
|
39
40
|
const { configureEngines, getEngineRunnerByPlatform } = rnv_1.EngineManager;
|
|
40
41
|
const { executeTask, initializeTask, findSuitableTask } = rnv_1.TaskManager;
|
|
41
42
|
const patchEngineTemplatesPath = (c) => {
|
|
42
|
-
const templatesPath = path.join(process.cwd(), 'node_modules',
|
|
43
|
+
const templatesPath = path.join(process.cwd(), 'node_modules', package_json_1.name, 'dist', 'templates');
|
|
43
44
|
const engine = getEngineRunnerByPlatform(c, c.platform);
|
|
44
45
|
engine.originalTemplatePlatformsDir = path.join(templatesPath, 'platforms');
|
|
45
46
|
engine.originalTemplateAssetsDir = path.join(templatesPath, 'assets');
|
package/package.json
CHANGED