@wavemaker/angular-codegen 11.15.5-rc.261 → 11.15.5-rc.262
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/angular-app/dependency-report.html +1 -1
- package/angular-app/npm-shrinkwrap.json +874 -694
- package/angular-app/package-lock.json +874 -694
- package/angular-app/package.json +5 -5
- package/angular-app/src/assets/styles/css/wm-style.css +1 -1
- package/build-angular-app.js +2 -2
- package/dependencies/custom-widgets-bundle.cjs.js +14 -37
- package/npm-shrinkwrap.json +59 -59
- package/package-lock.json +59 -59
- package/package.json +2 -2
- package/src/expr-parser-utils.js +1 -1
- package/src/gen-app-skeleton.js +1 -1
- package/src/wm-utils.js +1 -1
package/build-angular-app.js
CHANGED
|
@@ -82,9 +82,9 @@ const processAngularAppPackage = async (sourcePath, targetPath, packageName, isO
|
|
|
82
82
|
// Install dependencies
|
|
83
83
|
const installPath = isOptimized ? sourcePath : targetPath;
|
|
84
84
|
try {
|
|
85
|
-
if (
|
|
85
|
+
if (!isOptimized && fs.existsSync(path.join(global.buildConfigObj.appSrc, "build-src/package-override.json")) && fs.existsSync(path.join(installPath, 'package.json'))) {
|
|
86
86
|
let packageJson = JSON.parse(fs.readFileSync(path.join(installPath, 'package.json'), 'utf8'));
|
|
87
|
-
packageJson = await mergePackageJsonWithOverrideJson(global.buildConfigObj.appSrc, packageJson);
|
|
87
|
+
packageJson = await mergePackageJsonWithOverrideJson(global.buildConfigObj.appSrc, packageJson, global.buildConfigObj.runInspection);
|
|
88
88
|
fs.writeFileSync(path.join(installPath, 'package.json'), JSON.stringify(packageJson, null, 4));
|
|
89
89
|
console.log("Successfully updated generated-app package.json with package-override.json");
|
|
90
90
|
}
|