@wavemaker/angular-codegen 10.13.2-rc.67 → 11.0.0-next.138551
Sign up to get free protection for your applications and to get access to all the features.
- angular-codegen/angular-app/angular.json +50 -6
- angular-codegen/angular-app/build-scripts/post-build.js +0 -2
- angular-codegen/angular-app/package-lock.json +52029 -14596
- angular-codegen/angular-app/package.json +47 -48
- angular-codegen/angular-app/src/.browserslistrc +1 -1
- angular-codegen/angular-app/src/assets/styles/css/wm-style.css +1 -1
- angular-codegen/angular-app/src/environments/environment.ts +1 -1
- angular-codegen/angular-app/src/polyfills.ts +1 -1
- angular-codegen/build-angular-app.js +7 -4
- angular-codegen/dependencies/transpilation-mobile.cjs.js +5010 -2314
- angular-codegen/dependencies/transpilation-web.cjs.js +5010 -2314
- angular-codegen/download-packages.js +1 -1
- angular-codegen/package-lock.json +6540 -1253
- angular-codegen/package.json +1 -1
- angular-codegen/templates/app.module.ts.hbs +2 -0
@@ -19,7 +19,10 @@
|
|
19
19
|
"indexTransform": "./build-scripts/index-html-transform.js",
|
20
20
|
"deployUrl": "ng-bundle/",
|
21
21
|
"outputPath": "dist/ng-bundle",
|
22
|
-
"index":
|
22
|
+
"index": {
|
23
|
+
"input": "src/index.html",
|
24
|
+
"output": "../index.html"
|
25
|
+
},
|
23
26
|
"main": "src/main.ts",
|
24
27
|
"polyfills": "src/polyfills.ts",
|
25
28
|
"tsConfig": "src/tsconfig.app.json",
|
@@ -93,7 +96,6 @@
|
|
93
96
|
"optimization": true,
|
94
97
|
"outputHashing": "all",
|
95
98
|
"sourceMap": false,
|
96
|
-
"extractCss": true,
|
97
99
|
"namedChunks": false,
|
98
100
|
"aot": true,
|
99
101
|
"extractLicenses": true,
|
@@ -116,7 +118,6 @@
|
|
116
118
|
"optimization": false,
|
117
119
|
"outputHashing": "all",
|
118
120
|
"sourceMap": false,
|
119
|
-
"extractCss": true,
|
120
121
|
"namedChunks": true,
|
121
122
|
"aot": true,
|
122
123
|
"extractLicenses": false,
|
@@ -135,7 +136,10 @@
|
|
135
136
|
"builder": "@angular-devkit/build-angular:browser",
|
136
137
|
"options": {
|
137
138
|
"outputPath": "dist",
|
138
|
-
"index":
|
139
|
+
"index": {
|
140
|
+
"input": "src/index.html",
|
141
|
+
"output": "../index.html"
|
142
|
+
},
|
139
143
|
"main": "src/main.ts",
|
140
144
|
"polyfills": "src/polyfills.ts",
|
141
145
|
"tsConfig": "src/tsconfig.app.json",
|
@@ -174,13 +178,21 @@
|
|
174
178
|
"./node_modules/iscroll/build/iscroll.js",
|
175
179
|
"./node_modules/js-cookie/src/js.cookie.js",
|
176
180
|
"./node_modules/jssha/dist/sha256.js"
|
177
|
-
]
|
181
|
+
],
|
182
|
+
"aot": false,
|
183
|
+
"vendorChunk": true,
|
184
|
+
"extractLicenses": false,
|
185
|
+
"buildOptimizer": false,
|
186
|
+
"sourceMap": true,
|
187
|
+
"optimization": false,
|
188
|
+
"namedChunks": true
|
178
189
|
},
|
179
190
|
"configurations": {
|
180
191
|
"production": {
|
181
192
|
"browserTarget": "angular-app:build:production"
|
182
193
|
}
|
183
|
-
}
|
194
|
+
},
|
195
|
+
"defaultConfiguration": ""
|
184
196
|
},
|
185
197
|
"serve": {
|
186
198
|
"builder": "@angular-devkit/build-angular:dev-server",
|
@@ -1032,6 +1044,38 @@
|
|
1032
1044
|
}
|
1033
1045
|
}
|
1034
1046
|
},
|
1047
|
+
"@wm/components/containers/linear-layout": {
|
1048
|
+
"root": "projects/components/widgets/containers/linear-layout",
|
1049
|
+
"sourceRoot": "projects/components/widgets/containers/linear-layout/src",
|
1050
|
+
"projectType": "library",
|
1051
|
+
"prefix": "lib",
|
1052
|
+
"architect": {
|
1053
|
+
"build": {
|
1054
|
+
"builder": "@angular-devkit/build-angular:ng-packagr",
|
1055
|
+
"options": {
|
1056
|
+
"tsConfig": "projects/components/widgets/tsconfig.lib.json",
|
1057
|
+
"project": "projects/components/widgets/containers/linear-layout/package.json"
|
1058
|
+
},
|
1059
|
+
"configurations": {
|
1060
|
+
"production": {
|
1061
|
+
"tsConfig": "projects/components/widgets/containers/linear-layout/tsconfig.lib.prod.json"
|
1062
|
+
}
|
1063
|
+
}
|
1064
|
+
},
|
1065
|
+
"lint": {
|
1066
|
+
"builder": "@angular-devkit/build-angular:tslint",
|
1067
|
+
"options": {
|
1068
|
+
"tsConfig": [
|
1069
|
+
"projects/components/widgets/tsconfig.lib.json",
|
1070
|
+
"projects/components/widgets/tsconfig.spec.json"
|
1071
|
+
],
|
1072
|
+
"exclude": [
|
1073
|
+
"**/node_modules/**"
|
1074
|
+
]
|
1075
|
+
}
|
1076
|
+
}
|
1077
|
+
}
|
1078
|
+
},
|
1035
1079
|
"@wm/components/containers/panel": {
|
1036
1080
|
"root": "projects/components/widgets/containers/panel",
|
1037
1081
|
"sourceRoot": "projects/components/widgets/containers/panel/src",
|
@@ -263,10 +263,8 @@ const generateSha1 = (content) => {
|
|
263
263
|
deployUrl = deployUrl.slice(0, deployUrl.length - 1);
|
264
264
|
}
|
265
265
|
|
266
|
-
fs.copyFileSync('./dist/ng-bundle/index.html', './dist/index.html');
|
267
266
|
const contents = await readFile(`./dist/index.html`, `utf8`);
|
268
267
|
$ = cheerio.load(contents);
|
269
|
-
$('script').attr('defer', 'true');
|
270
268
|
setMobileProjectType(angularJson);
|
271
269
|
if (!isMobileProject) {
|
272
270
|
isProdBuild = fs.existsSync(`${process.cwd()}/dist/ng-bundle/wm-styles.css`);
|