@wavemaker/angular-codegen 11.5.0-next.40301 → 11.5.0-rc.5392

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.
@@ -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) => {
@@ -255,8 +257,6 @@ const generateSha1 = (content) => {
255
257
  } else {
256
258
  isDevBuild = fs.existsSync(`${process.cwd()}/dist/ng-bundle/wm-android-styles.js`);
257
259
  isProdBuild = fs.existsSync(`${process.cwd()}/dist/ng-bundle/wm-android-styles.css`);
258
- $("script[type='module']").remove();
259
- $('script[nomodule]').removeAttr('nomodule');
260
260
  }
261
261
 
262
262
  if (isProdBuild) {
@@ -3,32 +3,31 @@
3
3
  "version": "0.0.0",
4
4
  "scripts": {
5
5
  "ng": "ng",
6
- "start": "./node_modules/@angular/cli/bin/ng serve",
7
- "build": "./node_modules/@angular/cli/bin/ng build",
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/@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",
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/@angular/cli/bin/ng lint",
16
- "e2e": "./node_modules/@angular/cli/bin/ng e2e",
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": "12.2.16",
23
- "@angular/common": "12.2.16",
24
- "@angular/compiler": "12.2.16",
25
- "@angular/core": "12.2.16",
26
- "@angular/forms": "12.2.16",
27
- "@angular/platform-browser": "12.2.16",
28
- "@angular/platform-browser-dynamic": "12.2.16",
29
- "@angular/router": "12.2.16",
30
- "@angular/service-worker": "12.2.16",
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,12 +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.5.0-next.40301",
50
+ "@wavemaker/variables": "11.5.0-rc.5392",
51
51
  "@ztree/ztree_v3": "^3.5.48",
52
- "angular-imask": "6.0.4",
52
+ "angular-imask": "6.3.0",
53
53
  "angular2-websocket": "0.9.7",
54
54
  "core-js": "2.5.4",
55
55
  "d3": "3.5.17",
@@ -57,41 +57,41 @@
57
57
  "hammerjs": "2.0.8",
58
58
  "he": "1.2.0",
59
59
  "iscroll": "5.2.0",
60
- "jquery": "3.6.0",
60
+ "jquery": "3.7.1",
61
61
  "jquery-ui": "1.13.2",
62
62
  "js-cookie": "2.2.0",
63
63
  "jssha": "^3.1.2",
64
64
  "lodash": "4.17.21",
65
- "ng-circle-progress": "1.6.0",
66
- "ngx-bootstrap": "6.2.0",
67
- "ngx-color-picker": "10.1.0",
68
- "ngx-toastr": "13.2.1",
65
+ "ng-circle-progress": "1.5.1",
66
+ "ngx-bootstrap": "9.0.0",
67
+ "ngx-color-picker": "12.0.1",
68
+ "ngx-toastr": "16.0.2",
69
69
  "rxjs": "6.6.0",
70
70
  "rxjs-compat": "6.4.0",
71
71
  "summernote": "0.8.18",
72
- "tslib": "^2.0.0",
73
- "x2js": "3.2.6",
72
+ "tslib": "2.4.1",
73
+ "x2js": "^3.4.4",
74
74
  "zone.js": "~0.11.4",
75
- "@wavemaker/app-ng-runtime": "11.5.0-next.40301"
75
+ "@wavemaker/app-ng-runtime": "11.5.0-rc.5392"
76
76
  },
77
77
  "devDependencies": {
78
- "@ampproject/rollup-plugin-closure-compiler": "0.8.5",
79
- "@angular-builders/custom-webpack": "11.1.1",
80
- "@angular-devkit/build-angular": "12.2.16",
81
- "@angular/cli": "12.2.16",
82
- "@angular/compiler-cli": "12.2.16",
83
- "@angular/language-service": "12.2.16",
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",
84
84
  "@babel/plugin-transform-runtime": "^7.14.5",
85
- "@compodoc/compodoc": "1.1.11",
85
+ "@compodoc/compodoc": "^1.1.19",
86
86
  "@types/jasmine": "2.8.8",
87
87
  "@types/jasminewd2": "2.0.3",
88
88
  "@types/jquery": "3.3.22",
89
89
  "@types/node": "12.11.1",
90
90
  "@types/sizzle": "^2.3.3",
91
- "brotli-webpack-plugin": "1.1.0",
92
- "cheerio": "1.0.0-rc.2",
91
+ "babel-loader": "^9.1.2",
92
+ "cheerio": "^1.0.0-rc.12",
93
93
  "codelyzer": "5.1.2",
94
- "compression-webpack-plugin": "4.0.1",
94
+ "compression-webpack-plugin": "10.0.0",
95
95
  "core-js-builder": "2.5.7",
96
96
  "fs": "0.0.1-security",
97
97
  "fs-extra": "7.0.1",
@@ -108,21 +108,27 @@
108
108
  "karma-mocha-reporter": "2.2.5",
109
109
  "moment": "2.29.4",
110
110
  "moment-timezone": "^0.5.34",
111
- "ng-packagr": "12.2.7",
111
+ "ng-packagr": "15.2.2",
112
112
  "npm-run-all": "4.1.5",
113
113
  "owasp-dependency-check": "0.0.21",
114
114
  "rimraf": "2.6.3",
115
- "rollup": "0.65.2",
116
- "rollup-plugin-alias": "1.4.0",
117
- "rollup-plugin-commonjs": "9.2.0",
115
+ "rollup": "3.9.1",
116
+ "@rollup/plugin-alias": "4.0.2",
117
+ "@rollup/plugin-commonjs": "24.0.0",
118
118
  "rollup-plugin-includepaths": "0.2.3",
119
- "rollup-plugin-multi-entry": "2.1.0",
120
- "rollup-plugin-node-resolve": "3.4.0",
119
+ "@rollup/plugin-multi-entry": "6.0.0",
120
+ "@rollup/plugin-node-resolve": "15.0.1",
121
+ "terser": "^5.15.1",
121
122
  "sonarqube-scanner": "^2.8.2",
122
123
  "ts-node": "7.0.1",
123
124
  "tslint": "~6.1.0",
124
- "typescript": "4.3.5",
125
+ "typescript": "4.9.5",
125
126
  "util": "0.11.1",
126
127
  "yargs": "^17.3.1"
127
- }
128
+ },
129
+ "engines": {
130
+ "node": ">=18.16.1",
131
+ "npm": ">=9.5.1"
132
+ },
133
+ "engineStrict": true
128
134
  }