@24i/smartapps-bigscreen-rnv-build-engine 0.17.11 → 0.17.12-alpha.2-test
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.
- package/dist/src/scripts/buildAllWithScheme.js +1 -1
- package/dist/src/scripts/buildAllWithSchemes.js +1 -1
- package/dist/src/scripts/buildProductionPackagesAll.js +1 -1
- package/dist/src/scripts/releaseAllWithScheme.js +1 -1
- package/dist/src/scripts/releaseAllWithSchemes.js +1 -1
- package/dist/templates/platforms/_shared/webpack.base.js +8 -0
- package/package.json +2 -1
|
@@ -5,7 +5,7 @@ const forEachSupportedPlatformFlavour_1 = require("../utils/forEachSupportedPlat
|
|
|
5
5
|
const resolvers_1 = require("../resolvers");
|
|
6
6
|
const buildTask = (options) => {
|
|
7
7
|
const { scheme, platform, flavour } = options;
|
|
8
|
-
const cmd = `npx rnv build -s ${scheme} -p ${platform} -c ${flavour} --ci`;
|
|
8
|
+
const cmd = `npx rnv build -s ${scheme} -p ${platform} -c ${flavour} --ci --mono`;
|
|
9
9
|
(0, child_process_1.execSync)(cmd, { stdio: 'inherit' });
|
|
10
10
|
};
|
|
11
11
|
const buildAllWithScheme = () => {
|
|
@@ -49,7 +49,7 @@ const buildTask = (options, c) => {
|
|
|
49
49
|
;
|
|
50
50
|
fs.rmSync(buildDirPath, { recursive: true, force: true });
|
|
51
51
|
fs.rmSync(publicBuildDirPath, { recursive: true, force: true });
|
|
52
|
-
const cmd = `npx rnv build -s ${scheme} -p ${platform} -c ${flavour} --ci`;
|
|
52
|
+
const cmd = `npx rnv build -s ${scheme} -p ${platform} -c ${flavour} --ci --mono`;
|
|
53
53
|
(0, child_process_1.execSync)(cmd, { stdio: 'inherit' });
|
|
54
54
|
const safeSchemeString = (0, getSafeSchemeString_1.getSafeSchemeString)(scheme);
|
|
55
55
|
const schemeBuildDir = path.join(platformBuildsDir, safeSchemeString, buildDirName);
|
|
@@ -42,7 +42,7 @@ const buildProductionTask = (options, c) => {
|
|
|
42
42
|
const buildDirPath = path.join(platformBuildsDir, buildDirName);
|
|
43
43
|
const buildOutputDirPath = path.join(buildDirPath, 'output');
|
|
44
44
|
fs.rmSync(buildDirPath, { recursive: true, force: true });
|
|
45
|
-
const cmd = `npx rnv build -s ${scheme} -p ${platform} -c ${flavour} --ci --productionPackagesHostedUrl`;
|
|
45
|
+
const cmd = `npx rnv build -s ${scheme} -p ${platform} -c ${flavour} --ci --mono --productionPackagesHostedUrl`;
|
|
46
46
|
(0, child_process_1.execSync)(cmd, { stdio: 'inherit' });
|
|
47
47
|
const zippedDir = path.join(getZippedDirRelativePath(c), platform);
|
|
48
48
|
fse.copySync(buildOutputDirPath, zippedDir);
|
|
@@ -12,7 +12,7 @@ const sentryRelease_1 = require("./release/sentryRelease");
|
|
|
12
12
|
const constants_1 = require("../constants");
|
|
13
13
|
const deployTask = (options) => {
|
|
14
14
|
const { scheme, platform, flavour } = options;
|
|
15
|
-
const cmd = `npx rnv deploy -s ${scheme} -p ${platform} -c ${flavour} --ci --only`;
|
|
15
|
+
const cmd = `npx rnv deploy -s ${scheme} -p ${platform} -c ${flavour} --ci --mono --only`;
|
|
16
16
|
(0, child_process_1.execSync)(cmd, { stdio: 'inherit' });
|
|
17
17
|
};
|
|
18
18
|
const deployBuilds = (c) => {
|
|
@@ -12,7 +12,7 @@ const sentryRelease_1 = require("./release/sentryRelease");
|
|
|
12
12
|
const constants_1 = require("../constants");
|
|
13
13
|
const deployTask = (options) => {
|
|
14
14
|
const { scheme, platform, flavour } = options;
|
|
15
|
-
const cmd = `npx rnv deploy -s ${scheme} -p ${platform} -c ${flavour} --ci --only --schemeFolder`;
|
|
15
|
+
const cmd = `npx rnv deploy -s ${scheme} -p ${platform} -c ${flavour} --ci --mono --only --schemeFolder`;
|
|
16
16
|
(0, child_process_1.execSync)(cmd, { stdio: 'inherit' });
|
|
17
17
|
};
|
|
18
18
|
const deployBuilds = (c) => {
|
|
@@ -53,6 +53,14 @@ const makeRules = (config, projectDir, isDevServer) => ({
|
|
|
53
53
|
options: {
|
|
54
54
|
transpileOnly: true,
|
|
55
55
|
allowTsInNodeModules: true,
|
|
56
|
+
getCustomTransformers: () => ({
|
|
57
|
+
before: [
|
|
58
|
+
require('@svgr/babel-plugin-remove-jsx-attribute').default,
|
|
59
|
+
{
|
|
60
|
+
attributes: ['aria-label', 'aria-hidden']
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
}),
|
|
56
64
|
},
|
|
57
65
|
},
|
|
58
66
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@24i/smartapps-bigscreen-rnv-build-engine",
|
|
3
|
-
"version": "0.17.
|
|
3
|
+
"version": "0.17.12-alpha.2-test",
|
|
4
4
|
"description": "Package with build engine for SmartApps BIGscreen projects...",
|
|
5
5
|
"main": "dist/src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
"xml2js": "^0.4.23"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
+
"@svgr/babel-plugin-remove-jsx-attribute": "^8.0.0",
|
|
42
43
|
"@types/fs-extra": "11.0.1",
|
|
43
44
|
"@types/inquirer": "8.2.1",
|
|
44
45
|
"@types/ip": "1.1.0",
|