@wavemaker-ai/angular-codegen 1.0.0-rc.647712 → 12.0.0-rc.335

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker-ai/angular-app",
3
- "version": "1.0.0-rc.647712",
3
+ "version": "12.0.0-rc.335",
4
4
  "scripts": {
5
5
  "ng": "ng",
6
6
  "start": "./node_modules/.bin/ng serve",
@@ -21,24 +21,24 @@
21
21
  ".npmrc"
22
22
  ],
23
23
  "dependencies": {
24
- "@angular/animations": "20.3.19",
25
- "@angular/common": "20.3.28",
26
- "@angular/compiler": "20.3.28",
27
- "@angular/core": "20.3.28",
28
- "@angular/forms": "20.3.19",
29
- "@angular/platform-browser": "20.3.19",
30
- "@angular/platform-browser-dynamic": "20.3.19",
31
- "@angular/router": "20.3.19",
32
- "@angular/service-worker": "20.3.28",
24
+ "@angular/animations": "21.2.20",
25
+ "@angular/common": "21.2.20",
26
+ "@angular/compiler": "21.2.20",
27
+ "@angular/core": "21.2.20",
28
+ "@angular/forms": "21.2.20",
29
+ "@angular/platform-browser": "21.2.20",
30
+ "@angular/platform-browser-dynamic": "21.2.20",
31
+ "@angular/router": "21.2.20",
32
+ "@angular/service-worker": "21.2.20",
33
33
  "@fullcalendar/core": "6.1.18",
34
34
  "@fullcalendar/daygrid": "6.1.18",
35
35
  "@fullcalendar/interaction": "6.1.18",
36
36
  "@fullcalendar/list": "6.1.18",
37
37
  "@fullcalendar/timegrid": "6.1.18",
38
38
  "@metrichor/jmespath": "0.3.1",
39
- "@wavemaker-ai/custom-widgets-m3": "1.0.0-rc.647712",
40
- "@wavemaker-ai/foundation-css": "1.0.0-rc.647712",
41
- "@wavemaker-ai/variables": "1.0.0-rc.647712",
39
+ "@wavemaker-ai/custom-widgets-m3": "12.0.0-rc.335",
40
+ "@wavemaker-ai/foundation-css": "12.0.0-rc.335",
41
+ "@wavemaker-ai/variables": "12.0.0-rc.335",
42
42
  "@wavemaker/focus-trap": "1.0.1",
43
43
  "@wavemaker/nvd3": "1.8.16",
44
44
  "@ztree/ztree_v3": "3.5.48",
@@ -54,28 +54,28 @@
54
54
  "moment": "2.30.1",
55
55
  "moment-timezone": "0.6.0",
56
56
  "ng-circle-progress": "1.7.1",
57
- "ngx-bootstrap": "20.0.2",
57
+ "ngx-bootstrap": "21.2.0",
58
58
  "ngx-color-picker": "20.1.1",
59
- "ngx-toastr": "19.1.0",
59
+ "ngx-toastr": "20.0.5",
60
60
  "rxjs": "7.8.2",
61
61
  "summernote": "0.9.1",
62
62
  "tslib": "2.8.1",
63
63
  "x2js": "3.4.4",
64
- "zone.js": "0.15.1",
65
- "@wavemaker-ai/app-ng-runtime": "1.0.0-rc.647712"
64
+ "zone.js": "0.16.2",
65
+ "@wavemaker-ai/app-ng-runtime": "12.0.0-rc.335"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@ampproject/rollup-plugin-closure-compiler": "0.27.0",
69
- "@angular-builders/custom-webpack": "20.0.0",
70
- "@angular-devkit/build-angular": "20.3.34",
71
- "@angular-eslint/builder": "20.1.1",
72
- "@angular-eslint/eslint-plugin": "20.1.1",
73
- "@angular-eslint/eslint-plugin-template": "20.1.1",
74
- "@angular-eslint/schematics": "20.1.1",
75
- "@angular-eslint/template-parser": "20.1.1",
76
- "@angular/cli": "20.3.19",
77
- "@angular/compiler-cli": "20.3.28",
78
- "@angular/language-service": "20.3.19",
69
+ "@angular-builders/custom-webpack": "21.1.0",
70
+ "@angular-devkit/build-angular": "21.2.20",
71
+ "@angular-eslint/builder": "21.4.0",
72
+ "@angular-eslint/eslint-plugin": "21.4.0",
73
+ "@angular-eslint/eslint-plugin-template": "21.4.0",
74
+ "@angular-eslint/schematics": "21.4.0",
75
+ "@angular-eslint/template-parser": "21.4.0",
76
+ "@angular/cli": "21.2.20",
77
+ "@angular/compiler-cli": "21.2.20",
78
+ "@angular/language-service": "21.2.20",
79
79
  "@compodoc/compodoc": "1.2.1",
80
80
  "@rollup/plugin-alias": "5.1.1",
81
81
  "@rollup/plugin-commonjs": "28.0.6",
@@ -97,10 +97,10 @@
97
97
  "jest": "30.0.5",
98
98
  "jest-canvas-mock": "2.5.2",
99
99
  "jest-environment-jsdom": "30.0.5",
100
- "jest-preset-angular": "15.0.0",
100
+ "jest-preset-angular": "16.1.5",
101
101
  "license-checker": "25.0.1",
102
102
  "moment-locales-webpack-plugin": "1.2.0",
103
- "ng-packagr": "20.3.2",
103
+ "ng-packagr": "21.2.3",
104
104
  "owasp-dependency-check": "0.0.25",
105
105
  "rimraf": "6.0.1",
106
106
  "rollup": "4.60.1",
@@ -122,11 +122,14 @@
122
122
  },
123
123
  "overrides": {
124
124
  "@babel/core": "7.29.7",
125
+ "adm-zip": "0.6.0",
125
126
  "ajv": "8.18.0",
127
+ "esbuild": "0.28.2",
126
128
  "less": "4.9.0",
127
129
  "magic-string": "0.30.21",
128
130
  "picomatch": "4.0.4",
129
131
  "postcss": "8.5.26",
132
+ "undici": "7.29.0",
130
133
  "uuid": "14.0.0",
131
134
  "vite": {
132
135
  ".": "7.3.6",
@@ -1,5 +1,9 @@
1
1
 
2
2
  // This file is automatically loaded when running `jest` commands
3
+ import { patchNgxBootstrapFiles } from '../build-scripts/ngx-bootstrap-patch.mjs';
4
+
5
+ patchNgxBootstrapFiles();
6
+
3
7
  import { setupZoneTestEnv } from 'jest-preset-angular/setup-env/zone';
4
8
  import { ToastrModule } from 'ngx-toastr';
5
9
  import { TestBed } from '@angular/core/testing';
@@ -8,7 +8,7 @@
8
8
  "declaration": false,
9
9
  "target": "es2022",
10
10
  "module": "es2022",
11
- "moduleResolution": "node",
11
+ "moduleResolution": "bundler",
12
12
  "esModuleInterop": true,
13
13
  "emitDecoratorMetadata": true,
14
14
  "experimentalDecorators": true,
@@ -36,7 +36,9 @@
36
36
  "node_modules/@wavemaker-ai/app-ng-runtime/core"
37
37
  ],
38
38
  "@wavemaker-ai/variables": [
39
- "node_modules/@wavemaker-ai/variables/"
39
+ ".yalc/@wavemaker-ai/variables/dist/es2015/index",
40
+ "node_modules/@wavemaker-ai/variables/dist/es2015/index",
41
+ ".yalc/@wavemaker-ai/variables/index"
40
42
  ],
41
43
  "@wavemaker-ai/custom-widgets-m3": [
42
44
  "node_modules/@wavemaker-ai/custom-widgets-m3/"
@@ -7,15 +7,16 @@
7
7
  "sourceMap": true,
8
8
  "declaration": false,
9
9
  "target": "es2022",
10
- "module": "es2020",
11
- "moduleResolution": "node",
10
+ "module": "es2022",
11
+ "moduleResolution": "bundler",
12
+ "esModuleInterop": true,
12
13
  "emitDecoratorMetadata": true,
13
14
  "experimentalDecorators": true,
14
15
  "typeRoots": [
15
16
  "node_modules/@types"
16
17
  ],
17
18
  "lib": [
18
- "es2018",
19
+ "es2022",
19
20
  "dom"
20
21
  ],
21
22
  "paths": {
@@ -34,6 +35,17 @@
34
35
  "@wm/core": [
35
36
  "node_modules/@wavemaker-ai/app-ng-runtime/core"
36
37
  ],
38
+ "@wavemaker-ai/variables": [
39
+ ".yalc/@wavemaker-ai/variables/dist/es2015/index",
40
+ "node_modules/@wavemaker-ai/variables/dist/es2015/index",
41
+ ".yalc/@wavemaker-ai/variables/index"
42
+ ],
43
+ "@wavemaker-ai/custom-widgets-m3": [
44
+ "node_modules/@wavemaker-ai/custom-widgets-m3/"
45
+ ],
46
+ "@wm/components/base": [
47
+ "node_modules/@wavemaker-ai/app-ng-runtime/components/base"
48
+ ],
37
49
  "@wm/components/basic/*": [
38
50
  "node_modules/@wavemaker-ai/app-ng-runtime/components/basic/*"
39
51
  ],
@@ -73,9 +85,12 @@
73
85
  "@wm/runtime/dynamic": [
74
86
  "node_modules/@wavemaker-ai/app-ng-runtime/runtime/dynamic"
75
87
  ]
76
- }
88
+ },
89
+ "useDefineForClassFields": false
77
90
  },
78
91
  "angularCompilerOptions": {
79
- "compilationMode": "full"
92
+ "compilationMode": "full",
93
+ "strictMetadataEmit": false,
94
+ "strictTemplates": false
80
95
  }
81
96
  }
@@ -82,9 +82,9 @@ const processAngularAppPackage = async (sourcePath, targetPath, packageName, isO
82
82
  // Install dependencies
83
83
  const installPath = isOptimized ? sourcePath : targetPath;
84
84
  try {
85
- if (global.buildConfigObj.runInspection && !isOptimized && fs.existsSync(path.join(global.buildConfigObj.appSrc, "build-src/package-override.json")) && fs.existsSync(path.join(installPath, 'package.json'))) {
85
+ if (!isOptimized && fs.existsSync(path.join(global.buildConfigObj.appSrc, "build-src/package-override.json")) && fs.existsSync(path.join(installPath, 'package.json'))) {
86
86
  let packageJson = JSON.parse(fs.readFileSync(path.join(installPath, 'package.json'), 'utf8'));
87
- packageJson = await mergePackageJsonWithOverrideJson(global.buildConfigObj.appSrc, packageJson);
87
+ packageJson = await mergePackageJsonWithOverrideJson(global.buildConfigObj.appSrc, packageJson, global.buildConfigObj.runInspection);
88
88
  fs.writeFileSync(path.join(installPath, 'package.json'), JSON.stringify(packageJson, null, 4));
89
89
  console.log("Successfully updated generated-app package.json with package-override.json");
90
90
  }