@wavemaker/angular-codegen 11.0.3-next.23403 → 11.0.3-rc.5186
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.
- angular-codegen/angular-app/angular.json +20 -8
- angular-codegen/angular-app/build-scripts/post-build.js +0 -2
- angular-codegen/angular-app/package-lock.json +7814 -4598
- angular-codegen/angular-app/package.json +32 -32
- angular-codegen/angular-app/src/.browserslistrc +1 -1
- angular-codegen/angular-app/src/assets/styles/css/wm-responsive.css +1 -1
- angular-codegen/angular-app/src/assets/styles/css/wm-style.css +1 -1
- angular-codegen/angular-app/src/assets/styles/images/remote-sync-icon.png +0 -0
- angular-codegen/angular-app/src/environments/environment.ts +1 -1
- angular-codegen/angular-app/src/main.ts +1 -5
- angular-codegen/angular-app/src/polyfills.ts +1 -1
- angular-codegen/build-angular-app.js +7 -4
- angular-codegen/dependencies/expression-parser.cjs.js +5054 -2600
- angular-codegen/dependencies/pipe-provider.cjs.js +5296 -2644
- angular-codegen/dependencies/transpilation-mobile.cjs.js +4677 -1973
- angular-codegen/dependencies/transpilation-web.cjs.js +4677 -1973
- angular-codegen/package.json +1 -1
- angular-codegen/src/codegen.js +1 -1
- angular-codegen/src/expr-parser-utils.js +1 -1
- angular-codegen/src/pages-util.js +1 -1
- angular-codegen/src/update-angular-json.js +1 -1
@@ -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",
|
@@ -74,7 +77,7 @@
|
|
74
77
|
"./node_modules/@wavemaker/app-ng-runtime/scripts/swipey/swipey.jquery.plugin.js",
|
75
78
|
"./node_modules/@wavemaker/app-ng-runtime/scripts/jquery.ui.touch-punch/jquery.ui.touch-punch.min.js",
|
76
79
|
"./node_modules/moment/min/moment.min.js",
|
77
|
-
"./node_modules/fullcalendar/
|
80
|
+
"./node_modules/fullcalendar/main.min.js",
|
78
81
|
"./node_modules/summernote/dist/summernote-lite.min.js",
|
79
82
|
"./node_modules/hammerjs/hammer.min.js",
|
80
83
|
"./node_modules/iscroll/build/iscroll.js",
|
@@ -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",
|
@@ -168,19 +172,27 @@
|
|
168
172
|
"./node_modules/jquery-ui/ui/widgets/droppable.js",
|
169
173
|
"./libraries/scripts/datatable/datatable.js",
|
170
174
|
"./node_modules/moment/min/moment.min.js",
|
171
|
-
"./node_modules/fullcalendar/
|
175
|
+
"./node_modules/fullcalendar/main.min.js",
|
172
176
|
"./node_modules/summernote/dist/summernote-lite.min.js",
|
173
177
|
"./node_modules/hammerjs/hammer.min.js",
|
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",
|
@@ -246,10 +246,8 @@ const generateSha1 = (content) => {
|
|
246
246
|
deployUrl = deployUrl.slice(0, deployUrl.length - 1);
|
247
247
|
}
|
248
248
|
|
249
|
-
fs.copyFileSync('./dist/ng-bundle/index.html', './dist/index.html');
|
250
249
|
const contents = await readFile(`./dist/index.html`, `utf8`);
|
251
250
|
$ = cheerio.load(contents);
|
252
|
-
$('script').attr('defer', 'true');
|
253
251
|
setMobileProjectType(angularJson);
|
254
252
|
if (!isMobileProject) {
|
255
253
|
isProdBuild = fs.existsSync(`${process.cwd()}/dist/ng-bundle/wm-styles.css`);
|