@wavemaker/angular-codegen 11.0.0-next.140027 → 11.0.0-next.140032
Sign up to get free protection for your applications and to get access to all the features.
- angular-codegen/angular-app/angular.json +111 -80
- angular-codegen/angular-app/package-lock.json +60768 -17477
- angular-codegen/angular-app/package.json +21 -20
- angular-codegen/angular-app/src/assets/styles/css/wm-style.css +1 -1
- angular-codegen/angular-app/src/framework/services/lazy-component-ref-provider.service.ts +31 -31
- angular-codegen/angular-app/src/framework/util/lazy-module-routes.ts +4 -0
- angular-codegen/angular-app/src/main.ts +1 -1
- angular-codegen/angular-app/tsconfig.json +9 -0
- angular-codegen/angular-app/tsconfig.web-app.json +9 -0
- angular-codegen/dependencies/transpilation-mobile.cjs.js +9293 -7416
- angular-codegen/dependencies/transpilation-web.cjs.js +9293 -7416
- angular-codegen/download-packages.js +1 -1
- angular-codegen/package-lock.json +6540 -1253
- angular-codegen/package.json +1 -1
- angular-codegen/src/codegen.js +1 -1
- angular-codegen/src/gen-lazy-module-routes.js +1 -0
- angular-codegen/src/handlebar-helpers.js +1 -1
- angular-codegen/src/update-angular-json.js +1 -1
- angular-codegen/templates/app.module.ts.hbs +2 -0
- angular-codegen/templates/lazy-module-routes.ts.hbs +3 -0
@@ -36,7 +36,7 @@ const downloadNPMPackage = (packageInfo) => {
|
|
36
36
|
// To check global app runtime node modules.
|
37
37
|
if (!isNPMPackageExist(PATH_NPM_PACKAGE_SUCCESS, packageInfo.successMsg)) {
|
38
38
|
fs.mkdirSync(PATH_NPM_PACKAGE, { recursive: true });
|
39
|
-
let npmInstallCMD = 'npm install ';
|
39
|
+
let npmInstallCMD = 'npm install --legacy-peer-deps ';
|
40
40
|
if (packageInfo.packageJsonFile && fs.existsSync(packageInfo.packageJsonFile)) {
|
41
41
|
fs.copyFileSync(packageInfo.packageJsonFile, PATH_NPM_PACKAGE + '/package.json');
|
42
42
|
} else {
|