@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.
- package/angular-app/build-scripts/ngx-bootstrap-patch.mjs +18 -3
- package/angular-app/dependency-report.html +1 -1
- package/angular-app/npm-shrinkwrap.json +15337 -16261
- package/angular-app/package-lock.json +15337 -16261
- package/angular-app/package.json +32 -29
- package/angular-app/src/setup-jest.js +4 -0
- package/angular-app/tsconfig.json +4 -2
- package/angular-app/tsconfig.web-app.json +20 -5
- package/build-angular-app.js +2 -2
- package/dependencies/custom-widgets-bundle.cjs.js +12 -27
- package/dependencies/expression-parser.cjs.js +23304 -28805
- package/dependencies/pipe-provider.cjs.js +103040 -153938
- package/dependencies/transpilation-web.cjs.js +47010 -70735
- package/npm-shrinkwrap.json +136 -130
- package/package-lock.json +136 -130
- package/package.json +2 -2
- package/src/gen-app-skeleton.js +1 -1
- package/src/wm-utils.js +1 -1
- package/templates/app.config.ts.hbs +8 -4
package/angular-app/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wavemaker-ai/angular-app",
|
|
3
|
-
"version": "
|
|
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": "
|
|
25
|
-
"@angular/common": "
|
|
26
|
-
"@angular/compiler": "
|
|
27
|
-
"@angular/core": "
|
|
28
|
-
"@angular/forms": "
|
|
29
|
-
"@angular/platform-browser": "
|
|
30
|
-
"@angular/platform-browser-dynamic": "
|
|
31
|
-
"@angular/router": "
|
|
32
|
-
"@angular/service-worker": "
|
|
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": "
|
|
40
|
-
"@wavemaker-ai/foundation-css": "
|
|
41
|
-
"@wavemaker-ai/variables": "
|
|
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": "
|
|
57
|
+
"ngx-bootstrap": "21.2.0",
|
|
58
58
|
"ngx-color-picker": "20.1.1",
|
|
59
|
-
"ngx-toastr": "
|
|
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.
|
|
65
|
-
"@wavemaker-ai/app-ng-runtime": "
|
|
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": "
|
|
70
|
-
"@angular-devkit/build-angular": "
|
|
71
|
-
"@angular-eslint/builder": "
|
|
72
|
-
"@angular-eslint/eslint-plugin": "
|
|
73
|
-
"@angular-eslint/eslint-plugin-template": "
|
|
74
|
-
"@angular-eslint/schematics": "
|
|
75
|
-
"@angular-eslint/template-parser": "
|
|
76
|
-
"@angular/cli": "
|
|
77
|
-
"@angular/compiler-cli": "
|
|
78
|
-
"@angular/language-service": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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
|
-
"
|
|
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": "
|
|
11
|
-
"moduleResolution": "
|
|
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
|
-
"
|
|
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
|
}
|
package/build-angular-app.js
CHANGED
|
@@ -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 (
|
|
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
|
}
|