@wavemaker/angular-codegen 11.4.0-next.140972 → 11.4.0-next.140979
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/.npmrc +1 -0
- angular-codegen/angular-app/.npmrc +1 -0
- angular-codegen/angular-app/angular.json +95 -1005
- angular-codegen/angular-app/build-scripts/post-build.js +2 -0
- angular-codegen/angular-app/package.json +52 -45
- angular-codegen/angular-app/src/assets/styles/css/wm-style.css +1 -1
- angular-codegen/angular-app/src/polyfills.ts +23 -39
- angular-codegen/angular-app/tsconfig.json +4 -3
- angular-codegen/angular-app/tsconfig.web-app.json +2 -2
- angular-codegen/angular-app/wm-custom-webpack.config.js +8 -11
- angular-codegen/dependencies/app.component.html +6 -0
- angular-codegen/dependencies/expression-parser.cjs.js +10791 -11677
- angular-codegen/dependencies/pipe-provider.cjs.js +110894 -57406
- angular-codegen/dependencies/transpilation-mobile.cjs.js +43350 -27523
- angular-codegen/dependencies/transpilation-web.cjs.js +43350 -27523
- angular-codegen/package-lock.json +6853 -943
- angular-codegen/package.json +7 -2
- angular-codegen/src/gen-app-skeleton.js +1 -1
- angular-codegen/src/pages-util.js +1 -1
- angular-codegen/src/update-angular-json.js +1 -1
- angular-codegen/templates/app.module.ts.hbs +24 -4
- angular-codegen/templates/page/page.component.ts.hbs +5 -5
- angular-codegen/templates/page/page.module.ts.hbs +1 -1
- angular-codegen/templates/partial/partial.component.ts.hbs +5 -5
- angular-codegen/templates/partial/partial.module.ts.hbs +1 -1
- angular-codegen/angular-app/package-lock.json +0 -23229
@@ -28,6 +28,8 @@ const generateHash = async (filepath) => {
|
|
28
28
|
return hash.digest('hex');
|
29
29
|
};
|
30
30
|
const generateHashForScripts = (updatedFilenames) => {
|
31
|
+
//from angular 12(IVY), scripts array in angular json, doesn't allow `@` symbol in the name/value
|
32
|
+
//so removed `@` from wavemaker.com in the file name and adding it back in the post-build.js file
|
31
33
|
const scriptsMap = {};
|
32
34
|
return new Promise(resolve => {
|
33
35
|
fs.readdir(opPath, (err, items) => {
|
@@ -3,32 +3,31 @@
|
|
3
3
|
"version": "0.0.0",
|
4
4
|
"scripts": {
|
5
5
|
"ng": "ng",
|
6
|
-
"start": "./node_modules
|
7
|
-
"build": "./node_modules
|
6
|
+
"start": "./node_modules/.bin/ng serve",
|
7
|
+
"build": "./node_modules/.bin/ng build",
|
8
8
|
"postbuild": "node build-scripts/post-build.js",
|
9
|
-
"test": "./node_modules
|
10
|
-
"test_components": "./node_modules
|
11
|
-
"test_mobile": "./node_modules
|
12
|
-
"test_variables": "./node_modules
|
9
|
+
"test": "./node_modules/.bin/ng test",
|
10
|
+
"test_components": "./node_modules/.bin/ng t @wm/components/base",
|
11
|
+
"test_mobile": "./node_modules/.bin/ng t @wm/mobile/components/basic",
|
12
|
+
"test_variables": "./node_modules/.bin/ng t @wm/variables",
|
13
13
|
"test-all": "npm run test_variables && npm run test_components",
|
14
14
|
"test-prod": "npm run test-all > karma-test-report.txt; node combine-coverage.js >> karma-test-report.txt",
|
15
|
-
"lint": "./node_modules
|
16
|
-
"e2e": "./node_modules
|
15
|
+
"lint": "./node_modules/.bin/ng lint",
|
16
|
+
"e2e": "./node_modules/.bin/ng e2e",
|
17
17
|
"optimizecss": "gulp --gulpfile build-scripts/optimize-css.gulpfile.js",
|
18
18
|
"owasp": "owasp-dependency-check --project \"wavemaker-ng-runtime\" -f \"ALL\""
|
19
19
|
},
|
20
20
|
"private": true,
|
21
21
|
"dependencies": {
|
22
|
-
"@angular/animations": "
|
23
|
-
"@angular/common": "
|
24
|
-
"@angular/compiler": "
|
25
|
-
"@angular/core": "
|
26
|
-
"@angular/forms": "
|
27
|
-
"@angular/platform-browser": "
|
28
|
-
"@angular/platform-browser-dynamic": "
|
29
|
-
"@angular/router": "
|
30
|
-
"@angular/service-worker": "
|
31
|
-
"@babel/runtime": "^7.14.8",
|
22
|
+
"@angular/animations": "15.2.9",
|
23
|
+
"@angular/common": "15.2.9",
|
24
|
+
"@angular/compiler": "15.2.9",
|
25
|
+
"@angular/core": "15.2.9",
|
26
|
+
"@angular/forms": "15.2.9",
|
27
|
+
"@angular/platform-browser": "15.2.9",
|
28
|
+
"@angular/platform-browser-dynamic": "15.2.9",
|
29
|
+
"@angular/router": "15.2.9",
|
30
|
+
"@angular/service-worker": "15.2.9",
|
32
31
|
"@awesome-cordova-plugins/app-version": "5.39.1",
|
33
32
|
"@awesome-cordova-plugins/barcode-scanner": "5.39.1",
|
34
33
|
"@awesome-cordova-plugins/calendar": "5.39.1",
|
@@ -44,11 +43,13 @@
|
|
44
43
|
"@awesome-cordova-plugins/network": "5.39.1",
|
45
44
|
"@awesome-cordova-plugins/sqlite": "5.39.1",
|
46
45
|
"@awesome-cordova-plugins/vibration": "5.39.1",
|
46
|
+
"@babel/runtime": "^7.14.8",
|
47
47
|
"@metrichor/jmespath": "^0.3.1",
|
48
48
|
"@wavemaker.com/nvd3": "1.0.0",
|
49
49
|
"@wavemaker/focus-trap": "^1.0.0",
|
50
|
-
"@wavemaker/variables": "11.4.0-next.
|
51
|
-
"
|
50
|
+
"@wavemaker/variables": "11.4.0-next.140979",
|
51
|
+
"@ztree/ztree_v3": "^3.5.48",
|
52
|
+
"angular-imask": "6.3.0",
|
52
53
|
"angular2-websocket": "0.9.7",
|
53
54
|
"core-js": "2.5.4",
|
54
55
|
"d3": "3.5.17",
|
@@ -61,36 +62,36 @@
|
|
61
62
|
"js-cookie": "2.2.0",
|
62
63
|
"jssha": "^3.1.2",
|
63
64
|
"lodash": "4.17.21",
|
64
|
-
"ng-circle-progress": "1.
|
65
|
-
"ngx-bootstrap": "
|
66
|
-
"ngx-color-picker": "
|
67
|
-
"ngx-toastr": "
|
65
|
+
"ng-circle-progress": "1.5.1",
|
66
|
+
"ngx-bootstrap": "8.0.0",
|
67
|
+
"ngx-color-picker": "12.0.1",
|
68
|
+
"ngx-toastr": "16.0.2",
|
68
69
|
"rxjs": "6.6.0",
|
69
70
|
"rxjs-compat": "6.4.0",
|
70
71
|
"summernote": "0.8.18",
|
71
|
-
"tslib": "
|
72
|
-
"x2js": "3.
|
72
|
+
"tslib": "2.4.1",
|
73
|
+
"x2js": "^3.4.4",
|
73
74
|
"zone.js": "~0.11.4",
|
74
|
-
"@wavemaker/app-ng-runtime": "11.4.0-next.
|
75
|
+
"@wavemaker/app-ng-runtime": "11.4.0-next.140979"
|
75
76
|
},
|
76
77
|
"devDependencies": {
|
77
|
-
"@ampproject/rollup-plugin-closure-compiler": "0.
|
78
|
-
"@angular-builders/custom-webpack": "
|
79
|
-
"@angular-devkit/build-angular": "
|
80
|
-
"@angular/cli": "
|
81
|
-
"@angular/compiler-cli": "
|
82
|
-
"@angular/language-service": "
|
78
|
+
"@ampproject/rollup-plugin-closure-compiler": "^0.27.0",
|
79
|
+
"@angular-builders/custom-webpack": "15.0.0",
|
80
|
+
"@angular-devkit/build-angular": "15.2.8",
|
81
|
+
"@angular/cli": "15.2.8",
|
82
|
+
"@angular/compiler-cli": "15.2.9",
|
83
|
+
"@angular/language-service": "15.2.9",
|
83
84
|
"@babel/plugin-transform-runtime": "^7.14.5",
|
84
|
-
"@compodoc/compodoc": "1.1.
|
85
|
+
"@compodoc/compodoc": "^1.1.19",
|
85
86
|
"@types/jasmine": "2.8.8",
|
86
87
|
"@types/jasminewd2": "2.0.3",
|
87
88
|
"@types/jquery": "3.3.22",
|
88
89
|
"@types/node": "12.11.1",
|
89
90
|
"@types/sizzle": "^2.3.3",
|
90
|
-
"
|
91
|
-
"cheerio": "1.0.0-rc.
|
91
|
+
"babel-loader": "^9.1.2",
|
92
|
+
"cheerio": "^1.0.0-rc.12",
|
92
93
|
"codelyzer": "5.1.2",
|
93
|
-
"compression-webpack-plugin": "
|
94
|
+
"compression-webpack-plugin": "10.0.0",
|
94
95
|
"core-js-builder": "2.5.7",
|
95
96
|
"fs": "0.0.1-security",
|
96
97
|
"fs-extra": "7.0.1",
|
@@ -107,21 +108,27 @@
|
|
107
108
|
"karma-mocha-reporter": "2.2.5",
|
108
109
|
"moment": "2.29.4",
|
109
110
|
"moment-timezone": "^0.5.34",
|
110
|
-
"ng-packagr": "
|
111
|
+
"ng-packagr": "15.2.2",
|
111
112
|
"npm-run-all": "4.1.5",
|
112
113
|
"owasp-dependency-check": "0.0.21",
|
113
114
|
"rimraf": "2.6.3",
|
114
|
-
"rollup": "
|
115
|
-
"rollup
|
116
|
-
"rollup
|
115
|
+
"rollup": "3.9.1",
|
116
|
+
"@rollup/plugin-alias": "4.0.2",
|
117
|
+
"@rollup/plugin-commonjs": "24.0.0",
|
117
118
|
"rollup-plugin-includepaths": "0.2.3",
|
118
|
-
"rollup
|
119
|
-
"rollup
|
119
|
+
"@rollup/plugin-multi-entry": "6.0.0",
|
120
|
+
"@rollup/plugin-node-resolve": "15.0.1",
|
121
|
+
"terser": "^5.15.1",
|
120
122
|
"sonarqube-scanner": "^2.8.2",
|
121
123
|
"ts-node": "7.0.1",
|
122
124
|
"tslint": "~6.1.0",
|
123
|
-
"typescript": "4.
|
125
|
+
"typescript": "4.9.5",
|
124
126
|
"util": "0.11.1",
|
125
127
|
"yargs": "^17.3.1"
|
126
|
-
}
|
128
|
+
},
|
129
|
+
"engines": {
|
130
|
+
"node": ">=18.16.1",
|
131
|
+
"npm": ">=9.5.1"
|
132
|
+
},
|
133
|
+
"engineStrict": true
|
127
134
|
}
|