@wavemaker/angular-codegen 11.0.0-next.138502 → 11.0.0-next.138551
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 +18 -6
- angular-codegen/angular-app/build-scripts/post-build.js +0 -2
- angular-codegen/angular-app/package-lock.json +39834 -46963
- angular-codegen/angular-app/package.json +44 -47
- angular-codegen/angular-app/src/.browserslistrc +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 +4676 -1970
- angular-codegen/dependencies/transpilation-web.cjs.js +4676 -1970
- angular-codegen/package.json +1 -1
|
@@ -3,57 +3,55 @@
|
|
|
3
3
|
"version": "0.0.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"ng": "ng",
|
|
6
|
-
"start": "ng serve",
|
|
7
|
-
"build": "ng build",
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"
|
|
11
|
-
"
|
|
6
|
+
"start": "./node_modules/@angular/cli/bin/ng serve",
|
|
7
|
+
"build": "./node_modules/@angular/cli/bin/ng build",
|
|
8
|
+
"postbuild": "node build-scripts/post-build.js",
|
|
9
|
+
"test": "./node_modules/@angular/cli/bin/ng test",
|
|
10
|
+
"test_components": "./node_modules/@angular/cli/bin/ng t @wm/components/base",
|
|
11
|
+
"test_mobile": "./node_modules/@angular/cli/bin/ng t @wm/mobile/components/basic",
|
|
12
|
+
"test_variables": "./node_modules/@angular/cli/bin/ng t @wm/variables",
|
|
12
13
|
"test-all": "npm run test_variables && npm run test_components",
|
|
13
14
|
"test-prod": "npm run test-all > karma-test-report.txt; node combine-coverage.js >> karma-test-report.txt",
|
|
14
|
-
"lint": "ng lint",
|
|
15
|
-
"e2e": "ng e2e",
|
|
16
|
-
"optimizecss": "gulp --gulpfile build-scripts/optimize-css.gulpfile.js"
|
|
17
|
-
"postbuild": "node build-scripts/post-build.js"
|
|
15
|
+
"lint": "./node_modules/@angular/cli/bin/ng lint",
|
|
16
|
+
"e2e": "./node_modules/@angular/cli/bin/ng e2e",
|
|
17
|
+
"optimizecss": "gulp --gulpfile build-scripts/optimize-css.gulpfile.js"
|
|
18
18
|
},
|
|
19
19
|
"private": true,
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@angular/animations": "
|
|
22
|
-
"@angular/common": "
|
|
23
|
-
"@angular/compiler": "
|
|
24
|
-
"@angular/core": "
|
|
25
|
-
"@angular/forms": "
|
|
26
|
-
"@angular/platform-browser": "
|
|
27
|
-
"@angular/platform-browser-dynamic": "
|
|
28
|
-
"@angular/router": "
|
|
29
|
-
"@angular/service-worker": "
|
|
21
|
+
"@angular/animations": "12.2.16",
|
|
22
|
+
"@angular/common": "12.2.16",
|
|
23
|
+
"@angular/compiler": "12.2.16",
|
|
24
|
+
"@angular/core": "12.2.16",
|
|
25
|
+
"@angular/forms": "12.2.16",
|
|
26
|
+
"@angular/platform-browser": "12.2.16",
|
|
27
|
+
"@angular/platform-browser-dynamic": "12.2.16",
|
|
28
|
+
"@angular/router": "12.2.16",
|
|
29
|
+
"@angular/service-worker": "12.2.16",
|
|
30
30
|
"@babel/runtime": "^7.14.8",
|
|
31
|
-
"@
|
|
32
|
-
"@
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@
|
|
37
|
-
"@
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
41
|
-
"@
|
|
42
|
-
"@
|
|
43
|
-
"@
|
|
44
|
-
"@
|
|
45
|
-
"@
|
|
46
|
-
"@ionic-native/vibration": "4.10.0",
|
|
31
|
+
"@awesome-cordova-plugins/app-version": "5.39.1",
|
|
32
|
+
"@awesome-cordova-plugins/barcode-scanner": "5.39.1",
|
|
33
|
+
"@awesome-cordova-plugins/calendar": "5.39.1",
|
|
34
|
+
"@awesome-cordova-plugins/camera": "5.39.1",
|
|
35
|
+
"@awesome-cordova-plugins/core": "5.39.1",
|
|
36
|
+
"@awesome-cordova-plugins/device": "5.39.1",
|
|
37
|
+
"@awesome-cordova-plugins/diagnostic": "5.39.1",
|
|
38
|
+
"@awesome-cordova-plugins/file": "5.39.1",
|
|
39
|
+
"@awesome-cordova-plugins/file-opener": "5.39.1",
|
|
40
|
+
"@awesome-cordova-plugins/geolocation": "5.39.1",
|
|
41
|
+
"@awesome-cordova-plugins/location-accuracy": "5.39.1",
|
|
42
|
+
"@awesome-cordova-plugins/media-capture": "5.39.1",
|
|
43
|
+
"@awesome-cordova-plugins/network": "5.39.1",
|
|
44
|
+
"@awesome-cordova-plugins/sqlite": "5.39.1",
|
|
45
|
+
"@awesome-cordova-plugins/vibration": "5.39.1",
|
|
47
46
|
"@wavemaker.com/nvd3": "1.0.0",
|
|
48
47
|
"angular-imask": "6.0.4",
|
|
49
48
|
"angular2-websocket": "0.9.7",
|
|
50
|
-
"core-js": "2.5.4",
|
|
51
49
|
"d3": "3.5.17",
|
|
52
50
|
"fullcalendar": "3.10.0",
|
|
53
51
|
"hammerjs": "2.0.8",
|
|
54
52
|
"he": "1.2.0",
|
|
55
53
|
"iscroll": "5.2.0",
|
|
56
|
-
"jquery": "3.
|
|
54
|
+
"jquery": "3.6.0",
|
|
57
55
|
"jquery-ui": "1.13.0",
|
|
58
56
|
"js-cookie": "2.2.0",
|
|
59
57
|
"jssha": "^3.1.2",
|
|
@@ -67,16 +65,16 @@
|
|
|
67
65
|
"summernote": "0.8.11",
|
|
68
66
|
"tslib": "^2.0.0",
|
|
69
67
|
"x2js": "3.2.6",
|
|
70
|
-
"zone.js": "~0.
|
|
71
|
-
"@wavemaker/app-ng-runtime": "11.0.0-next.
|
|
68
|
+
"zone.js": "~0.11.4",
|
|
69
|
+
"@wavemaker/app-ng-runtime": "11.0.0-next.138551"
|
|
72
70
|
},
|
|
73
71
|
"devDependencies": {
|
|
74
72
|
"@ampproject/rollup-plugin-closure-compiler": "0.8.5",
|
|
75
73
|
"@angular-builders/custom-webpack": "11.1.1",
|
|
76
|
-
"@angular-devkit/build-angular": "
|
|
77
|
-
"@angular/cli": "
|
|
78
|
-
"@angular/compiler-cli": "
|
|
79
|
-
"@angular/language-service": "
|
|
74
|
+
"@angular-devkit/build-angular": "12.2.16",
|
|
75
|
+
"@angular/cli": "12.2.16",
|
|
76
|
+
"@angular/compiler-cli": "12.2.16",
|
|
77
|
+
"@angular/language-service": "12.2.16",
|
|
80
78
|
"@babel/plugin-transform-runtime": "^7.14.5",
|
|
81
79
|
"@compodoc/compodoc": "1.1.11",
|
|
82
80
|
"@types/jasmine": "2.8.8",
|
|
@@ -88,7 +86,6 @@
|
|
|
88
86
|
"cheerio": "1.0.0-rc.2",
|
|
89
87
|
"codelyzer": "5.1.2",
|
|
90
88
|
"compression-webpack-plugin": "4.0.1",
|
|
91
|
-
"core-js-builder": "2.5.7",
|
|
92
89
|
"fs": "0.0.1-security",
|
|
93
90
|
"fs-extra": "7.0.1",
|
|
94
91
|
"istanbul-api": "1.2.2",
|
|
@@ -96,14 +93,14 @@
|
|
|
96
93
|
"jasmine": "3.5.0",
|
|
97
94
|
"jasmine-core": "~3.5.0",
|
|
98
95
|
"jasmine-spec-reporter": "~5.0.0",
|
|
99
|
-
"karma": "~
|
|
96
|
+
"karma": "~6.3.15",
|
|
100
97
|
"karma-chrome-launcher": "~3.1.0",
|
|
101
98
|
"karma-coverage-istanbul-reporter": "~3.0.2",
|
|
102
99
|
"karma-jasmine": "~4.0.0",
|
|
103
100
|
"karma-jasmine-html-reporter": "^1.5.0",
|
|
104
101
|
"karma-mocha-reporter": "2.2.5",
|
|
105
102
|
"moment": "2.24.0",
|
|
106
|
-
"ng-packagr": "
|
|
103
|
+
"ng-packagr": "12.2.7",
|
|
107
104
|
"npm-run-all": "4.1.5",
|
|
108
105
|
"rimraf": "2.6.3",
|
|
109
106
|
"rollup": "0.65.2",
|
|
@@ -114,7 +111,7 @@
|
|
|
114
111
|
"rollup-plugin-node-resolve": "3.4.0",
|
|
115
112
|
"ts-node": "7.0.1",
|
|
116
113
|
"tslint": "~6.1.0",
|
|
117
|
-
"typescript": "4.
|
|
114
|
+
"typescript": "4.3.5",
|
|
118
115
|
"util": "0.11.1",
|
|
119
116
|
"yargs": "^17.3.1"
|
|
120
117
|
}
|
|
@@ -13,4 +13,4 @@ export const environment = {
|
|
|
13
13
|
* This import should be commented out in production mode because it will have a negative impact
|
|
14
14
|
* on performance if an error is thrown.
|
|
15
15
|
*/
|
|
16
|
-
// import 'zone.js/
|
|
16
|
+
// import 'zone.js/plugins/zone-error'; // Included with Angular CLI.
|
|
@@ -61,7 +61,7 @@ import 'core-js/es6/reflect';
|
|
|
61
61
|
/***************************************************************************************************
|
|
62
62
|
* Zone JS is required by default for Angular itself.
|
|
63
63
|
*/
|
|
64
|
-
import 'zone.js
|
|
64
|
+
import 'zone.js'; // Included with Angular CLI.
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
/***************************************************************************************************
|
|
@@ -20,10 +20,13 @@ const { executeSyncCmd, MSG_NG_RUNTIME_LOG, MSG_NG_RUNTIME_SUCCESS } = require(
|
|
|
20
20
|
/**
|
|
21
21
|
* @TODO: This is a temporary workaround to extract deploy-url from 'ngBuildParams', need to be replaced in future.
|
|
22
22
|
*/
|
|
23
|
-
const
|
|
23
|
+
const updateDeployUrl = (ngBuildParams) => {
|
|
24
24
|
let buildArgs = ngBuildParams.split(' ');
|
|
25
25
|
const deployParam = buildArgs.find(i => i.startsWith("--deploy-url="));
|
|
26
|
-
|
|
26
|
+
if(!deployParam) {
|
|
27
|
+
buildArgs.push("--deploy-url=ng-bundle/");
|
|
28
|
+
}
|
|
29
|
+
return ngBuildParams = buildArgs.join(" ");
|
|
27
30
|
};
|
|
28
31
|
|
|
29
32
|
/**
|
|
@@ -56,10 +59,10 @@ const buildAngularApp = (args) => {
|
|
|
56
59
|
process.exit(err.code || err.pid);
|
|
57
60
|
}
|
|
58
61
|
|
|
59
|
-
|
|
62
|
+
let ngBuildParams = updateDeployUrl(args.ngBuildParams);
|
|
60
63
|
const NG_BUILD_MSG = 'NG BUILD MIGHT HAVE FAILED WITH HEAP OUT OF MEMORY, RE-EXECUTE THE BUILD BY INCREASING THE MAX-OLD-SPACE-SIZE ARGUMENT VALUE FOR BUILD.UI.NODE.ARGS PROPERTY IN DEPLOYMENT PROFILE';
|
|
61
64
|
// Generating the angular build and post build process.
|
|
62
|
-
executeSyncCmd('cd ' + args.appTarget + ' && node ' + args.nodeVMArgs + ' ' + '
|
|
65
|
+
executeSyncCmd('cd ' + args.appTarget + ' && node ' + args.nodeVMArgs + ' ' + 'npm run build -- ' + ngBuildParams, null, MSG_NG_RUNTIME_LOG, false, NG_BUILD_MSG);
|
|
63
66
|
}
|
|
64
67
|
|
|
65
68
|
|