@shoutem/ui 8.1.3-rc.3 → 8.1.3-rc.4
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/package.json
CHANGED
|
@@ -8,7 +8,7 @@ function removeMobileOnlyDependencies() {
|
|
|
8
8
|
const uiPackageJson = JSON.parse(uiPackageJsonRawData);
|
|
9
9
|
|
|
10
10
|
const uiDependencies = { ...uiPackageJson.dependencies };
|
|
11
|
-
const mobileOnlyDependencies = uiPackageJson
|
|
11
|
+
const { mobileOnlyDependencies } = uiPackageJson;
|
|
12
12
|
|
|
13
13
|
mobileOnlyDependencies.forEach(dep => delete uiDependencies[dep]);
|
|
14
14
|
|
|
@@ -33,7 +33,8 @@ function removeMobileOnlyDependencies() {
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
36
|
-
const
|
|
36
|
+
const ROOT_CONFIG_JSON_PATH = '../../../package.json';
|
|
37
|
+
const rootConfigJsonRawData = fs.readFileSync(ROOT_CONFIG_JSON_PATH);
|
|
37
38
|
const rootConfigJson = JSON.parse(rootConfigJsonRawData);
|
|
38
39
|
|
|
39
40
|
if (rootConfigJson.platform === 'web') {
|