@wavemaker/rn-codegen 11.14.1-24.647644 → 11.14.1-27.647700
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/npm-shrinkwrap.json +109 -109
- package/package-lock.json +109 -109
- package/package.json +2 -2
- package/src/app.generator.js +26 -1
- package/src/app.generator.js.map +1 -1
- package/src/project.service.js +8 -0
- package/src/project.service.js.map +1 -1
- package/src/templates/app.template +34 -0
- package/src/templates/bootstrap.template +3 -1
- package/src/templates/package.web.json +4 -4
- package/src/templates/project/esbuild/esbuild.script.js +8 -3
- package/src/templates/project/package.json +4 -4
package/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wavemaker/rn-codegen",
|
|
3
|
-
"version": "11.14.1-
|
|
3
|
+
"version": "11.14.1-27.647700",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@wavemaker/rn-codegen",
|
|
9
|
-
"version": "11.14.1-
|
|
9
|
+
"version": "11.14.1-27.647700",
|
|
10
10
|
"hasInstallScript": true,
|
|
11
11
|
"license": "ISC",
|
|
12
12
|
"dependencies": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"@types/node": "18.11.10",
|
|
19
19
|
"@types/prettier": "2.7.1",
|
|
20
20
|
"@types/yargs": "17.0.15",
|
|
21
|
-
"@wavemaker/foundation-css": "11.14.1-
|
|
21
|
+
"@wavemaker/foundation-css": "11.14.1-27.647700",
|
|
22
22
|
"adm-zip": "0.5.9",
|
|
23
23
|
"axios": "1.8.3",
|
|
24
24
|
"clean-css": "5.1.5",
|
|
@@ -124,13 +124,13 @@
|
|
|
124
124
|
}
|
|
125
125
|
},
|
|
126
126
|
"node_modules/@babel/core/node_modules/@babel/generator": {
|
|
127
|
-
"version": "7.29.
|
|
128
|
-
"integrity": "sha512-
|
|
127
|
+
"version": "7.29.8",
|
|
128
|
+
"integrity": "sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==",
|
|
129
129
|
"dev": true,
|
|
130
130
|
"license": "MIT",
|
|
131
131
|
"dependencies": {
|
|
132
|
-
"@babel/parser": "^7.29.
|
|
133
|
-
"@babel/types": "^7.29.
|
|
132
|
+
"@babel/parser": "^7.29.8",
|
|
133
|
+
"@babel/types": "^7.29.8",
|
|
134
134
|
"@jridgewell/gen-mapping": "^0.3.12",
|
|
135
135
|
"@jridgewell/trace-mapping": "^0.3.28",
|
|
136
136
|
"jsesc": "^3.0.2"
|
|
@@ -140,12 +140,12 @@
|
|
|
140
140
|
}
|
|
141
141
|
},
|
|
142
142
|
"node_modules/@babel/core/node_modules/@babel/parser": {
|
|
143
|
-
"version": "7.29.
|
|
144
|
-
"integrity": "sha512-
|
|
143
|
+
"version": "7.29.8",
|
|
144
|
+
"integrity": "sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==",
|
|
145
145
|
"dev": true,
|
|
146
146
|
"license": "MIT",
|
|
147
147
|
"dependencies": {
|
|
148
|
-
"@babel/types": "^7.29.
|
|
148
|
+
"@babel/types": "^7.29.8"
|
|
149
149
|
},
|
|
150
150
|
"bin": {
|
|
151
151
|
"parser": "bin/babel-parser.js"
|
|
@@ -155,17 +155,17 @@
|
|
|
155
155
|
}
|
|
156
156
|
},
|
|
157
157
|
"node_modules/@babel/core/node_modules/@babel/traverse": {
|
|
158
|
-
"version": "7.29.
|
|
159
|
-
"integrity": "sha512-
|
|
158
|
+
"version": "7.29.8",
|
|
159
|
+
"integrity": "sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg==",
|
|
160
160
|
"dev": true,
|
|
161
161
|
"license": "MIT",
|
|
162
162
|
"dependencies": {
|
|
163
163
|
"@babel/code-frame": "^7.29.7",
|
|
164
|
-
"@babel/generator": "^7.29.
|
|
164
|
+
"@babel/generator": "^7.29.8",
|
|
165
165
|
"@babel/helper-globals": "^7.29.7",
|
|
166
|
-
"@babel/parser": "^7.29.
|
|
166
|
+
"@babel/parser": "^7.29.8",
|
|
167
167
|
"@babel/template": "^7.29.7",
|
|
168
|
-
"@babel/types": "^7.29.
|
|
168
|
+
"@babel/types": "^7.29.8",
|
|
169
169
|
"debug": "^4.3.1"
|
|
170
170
|
},
|
|
171
171
|
"engines": {
|
|
@@ -285,13 +285,13 @@
|
|
|
285
285
|
}
|
|
286
286
|
},
|
|
287
287
|
"node_modules/@babel/helper-module-imports/node_modules/@babel/generator": {
|
|
288
|
-
"version": "7.29.
|
|
289
|
-
"integrity": "sha512-
|
|
288
|
+
"version": "7.29.8",
|
|
289
|
+
"integrity": "sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==",
|
|
290
290
|
"dev": true,
|
|
291
291
|
"license": "MIT",
|
|
292
292
|
"dependencies": {
|
|
293
|
-
"@babel/parser": "^7.29.
|
|
294
|
-
"@babel/types": "^7.29.
|
|
293
|
+
"@babel/parser": "^7.29.8",
|
|
294
|
+
"@babel/types": "^7.29.8",
|
|
295
295
|
"@jridgewell/gen-mapping": "^0.3.12",
|
|
296
296
|
"@jridgewell/trace-mapping": "^0.3.28",
|
|
297
297
|
"jsesc": "^3.0.2"
|
|
@@ -301,12 +301,12 @@
|
|
|
301
301
|
}
|
|
302
302
|
},
|
|
303
303
|
"node_modules/@babel/helper-module-imports/node_modules/@babel/parser": {
|
|
304
|
-
"version": "7.29.
|
|
305
|
-
"integrity": "sha512-
|
|
304
|
+
"version": "7.29.8",
|
|
305
|
+
"integrity": "sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==",
|
|
306
306
|
"dev": true,
|
|
307
307
|
"license": "MIT",
|
|
308
308
|
"dependencies": {
|
|
309
|
-
"@babel/types": "^7.29.
|
|
309
|
+
"@babel/types": "^7.29.8"
|
|
310
310
|
},
|
|
311
311
|
"bin": {
|
|
312
312
|
"parser": "bin/babel-parser.js"
|
|
@@ -316,17 +316,17 @@
|
|
|
316
316
|
}
|
|
317
317
|
},
|
|
318
318
|
"node_modules/@babel/helper-module-imports/node_modules/@babel/traverse": {
|
|
319
|
-
"version": "7.29.
|
|
320
|
-
"integrity": "sha512-
|
|
319
|
+
"version": "7.29.8",
|
|
320
|
+
"integrity": "sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg==",
|
|
321
321
|
"dev": true,
|
|
322
322
|
"license": "MIT",
|
|
323
323
|
"dependencies": {
|
|
324
324
|
"@babel/code-frame": "^7.29.7",
|
|
325
|
-
"@babel/generator": "^7.29.
|
|
325
|
+
"@babel/generator": "^7.29.8",
|
|
326
326
|
"@babel/helper-globals": "^7.29.7",
|
|
327
|
-
"@babel/parser": "^7.29.
|
|
327
|
+
"@babel/parser": "^7.29.8",
|
|
328
328
|
"@babel/template": "^7.29.7",
|
|
329
|
-
"@babel/types": "^7.29.
|
|
329
|
+
"@babel/types": "^7.29.8",
|
|
330
330
|
"debug": "^4.3.1"
|
|
331
331
|
},
|
|
332
332
|
"engines": {
|
|
@@ -363,13 +363,13 @@
|
|
|
363
363
|
}
|
|
364
364
|
},
|
|
365
365
|
"node_modules/@babel/helper-module-transforms/node_modules/@babel/generator": {
|
|
366
|
-
"version": "7.29.
|
|
367
|
-
"integrity": "sha512-
|
|
366
|
+
"version": "7.29.8",
|
|
367
|
+
"integrity": "sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==",
|
|
368
368
|
"dev": true,
|
|
369
369
|
"license": "MIT",
|
|
370
370
|
"dependencies": {
|
|
371
|
-
"@babel/parser": "^7.29.
|
|
372
|
-
"@babel/types": "^7.29.
|
|
371
|
+
"@babel/parser": "^7.29.8",
|
|
372
|
+
"@babel/types": "^7.29.8",
|
|
373
373
|
"@jridgewell/gen-mapping": "^0.3.12",
|
|
374
374
|
"@jridgewell/trace-mapping": "^0.3.28",
|
|
375
375
|
"jsesc": "^3.0.2"
|
|
@@ -379,12 +379,12 @@
|
|
|
379
379
|
}
|
|
380
380
|
},
|
|
381
381
|
"node_modules/@babel/helper-module-transforms/node_modules/@babel/parser": {
|
|
382
|
-
"version": "7.29.
|
|
383
|
-
"integrity": "sha512-
|
|
382
|
+
"version": "7.29.8",
|
|
383
|
+
"integrity": "sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==",
|
|
384
384
|
"dev": true,
|
|
385
385
|
"license": "MIT",
|
|
386
386
|
"dependencies": {
|
|
387
|
-
"@babel/types": "^7.29.
|
|
387
|
+
"@babel/types": "^7.29.8"
|
|
388
388
|
},
|
|
389
389
|
"bin": {
|
|
390
390
|
"parser": "bin/babel-parser.js"
|
|
@@ -394,17 +394,17 @@
|
|
|
394
394
|
}
|
|
395
395
|
},
|
|
396
396
|
"node_modules/@babel/helper-module-transforms/node_modules/@babel/traverse": {
|
|
397
|
-
"version": "7.29.
|
|
398
|
-
"integrity": "sha512-
|
|
397
|
+
"version": "7.29.8",
|
|
398
|
+
"integrity": "sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg==",
|
|
399
399
|
"dev": true,
|
|
400
400
|
"license": "MIT",
|
|
401
401
|
"dependencies": {
|
|
402
402
|
"@babel/code-frame": "^7.29.7",
|
|
403
|
-
"@babel/generator": "^7.29.
|
|
403
|
+
"@babel/generator": "^7.29.8",
|
|
404
404
|
"@babel/helper-globals": "^7.29.7",
|
|
405
|
-
"@babel/parser": "^7.29.
|
|
405
|
+
"@babel/parser": "^7.29.8",
|
|
406
406
|
"@babel/template": "^7.29.7",
|
|
407
|
-
"@babel/types": "^7.29.
|
|
407
|
+
"@babel/types": "^7.29.8",
|
|
408
408
|
"debug": "^4.3.1"
|
|
409
409
|
},
|
|
410
410
|
"engines": {
|
|
@@ -728,11 +728,11 @@
|
|
|
728
728
|
}
|
|
729
729
|
},
|
|
730
730
|
"node_modules/@babel/template/node_modules/@babel/parser": {
|
|
731
|
-
"version": "7.29.
|
|
732
|
-
"integrity": "sha512-
|
|
731
|
+
"version": "7.29.8",
|
|
732
|
+
"integrity": "sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==",
|
|
733
733
|
"license": "MIT",
|
|
734
734
|
"dependencies": {
|
|
735
|
-
"@babel/types": "^7.29.
|
|
735
|
+
"@babel/types": "^7.29.8"
|
|
736
736
|
},
|
|
737
737
|
"bin": {
|
|
738
738
|
"parser": "bin/babel-parser.js"
|
|
@@ -762,12 +762,12 @@
|
|
|
762
762
|
}
|
|
763
763
|
},
|
|
764
764
|
"node_modules/@babel/traverse/node_modules/@babel/generator": {
|
|
765
|
-
"version": "7.29.
|
|
766
|
-
"integrity": "sha512-
|
|
765
|
+
"version": "7.29.8",
|
|
766
|
+
"integrity": "sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==",
|
|
767
767
|
"license": "MIT",
|
|
768
768
|
"dependencies": {
|
|
769
|
-
"@babel/parser": "^7.29.
|
|
770
|
-
"@babel/types": "^7.29.
|
|
769
|
+
"@babel/parser": "^7.29.8",
|
|
770
|
+
"@babel/types": "^7.29.8",
|
|
771
771
|
"@jridgewell/gen-mapping": "^0.3.12",
|
|
772
772
|
"@jridgewell/trace-mapping": "^0.3.28",
|
|
773
773
|
"jsesc": "^3.0.2"
|
|
@@ -777,11 +777,11 @@
|
|
|
777
777
|
}
|
|
778
778
|
},
|
|
779
779
|
"node_modules/@babel/traverse/node_modules/@babel/parser": {
|
|
780
|
-
"version": "7.29.
|
|
781
|
-
"integrity": "sha512-
|
|
780
|
+
"version": "7.29.8",
|
|
781
|
+
"integrity": "sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==",
|
|
782
782
|
"license": "MIT",
|
|
783
783
|
"dependencies": {
|
|
784
|
-
"@babel/types": "^7.29.
|
|
784
|
+
"@babel/types": "^7.29.8"
|
|
785
785
|
},
|
|
786
786
|
"bin": {
|
|
787
787
|
"parser": "bin/babel-parser.js"
|
|
@@ -802,8 +802,8 @@
|
|
|
802
802
|
}
|
|
803
803
|
},
|
|
804
804
|
"node_modules/@babel/types": {
|
|
805
|
-
"version": "7.29.
|
|
806
|
-
"integrity": "sha512-
|
|
805
|
+
"version": "7.29.8",
|
|
806
|
+
"integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==",
|
|
807
807
|
"license": "MIT",
|
|
808
808
|
"dependencies": {
|
|
809
809
|
"@babel/helper-string-parser": "^7.29.7",
|
|
@@ -1030,8 +1030,8 @@
|
|
|
1030
1030
|
"license": "MIT"
|
|
1031
1031
|
},
|
|
1032
1032
|
"node_modules/@jest/reporters/node_modules/brace-expansion": {
|
|
1033
|
-
"version": "1.1.
|
|
1034
|
-
"integrity": "sha512-
|
|
1033
|
+
"version": "1.1.18",
|
|
1034
|
+
"integrity": "sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==",
|
|
1035
1035
|
"dev": true,
|
|
1036
1036
|
"license": "MIT",
|
|
1037
1037
|
"dependencies": {
|
|
@@ -1213,8 +1213,8 @@
|
|
|
1213
1213
|
}
|
|
1214
1214
|
},
|
|
1215
1215
|
"node_modules/@sinclair/typebox": {
|
|
1216
|
-
"version": "0.27.
|
|
1217
|
-
"integrity": "sha512-
|
|
1216
|
+
"version": "0.27.12",
|
|
1217
|
+
"integrity": "sha512-hhyNJ+nbR6ZR7pToHvllEFun9TL0sbL+tk/ON75lo+Xas054uez98qRbsuNt7MBCyZKK4+8Yli/OAGZhmfBZ/g==",
|
|
1218
1218
|
"dev": true,
|
|
1219
1219
|
"license": "MIT"
|
|
1220
1220
|
},
|
|
@@ -1259,12 +1259,12 @@
|
|
|
1259
1259
|
}
|
|
1260
1260
|
},
|
|
1261
1261
|
"node_modules/@types/babel__core/node_modules/@babel/parser": {
|
|
1262
|
-
"version": "7.29.
|
|
1263
|
-
"integrity": "sha512-
|
|
1262
|
+
"version": "7.29.8",
|
|
1263
|
+
"integrity": "sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==",
|
|
1264
1264
|
"dev": true,
|
|
1265
1265
|
"license": "MIT",
|
|
1266
1266
|
"dependencies": {
|
|
1267
|
-
"@babel/types": "^7.29.
|
|
1267
|
+
"@babel/types": "^7.29.8"
|
|
1268
1268
|
},
|
|
1269
1269
|
"bin": {
|
|
1270
1270
|
"parser": "bin/babel-parser.js"
|
|
@@ -1491,8 +1491,8 @@
|
|
|
1491
1491
|
}
|
|
1492
1492
|
},
|
|
1493
1493
|
"node_modules/@wavemaker/foundation-css": {
|
|
1494
|
-
"version": "11.14.1-
|
|
1495
|
-
"integrity": "sha512-
|
|
1494
|
+
"version": "11.14.1-27.647700",
|
|
1495
|
+
"integrity": "sha512-6TXMJFczXjYVEj0FxMNgyGh0bCOfqaFD0HgHhiZxBdtMvJFySWPzRry7Qboo+AC0539c1M1LE4iHU0lFM+Kp9Q==",
|
|
1496
1496
|
"license": "ISC",
|
|
1497
1497
|
"dependencies": {
|
|
1498
1498
|
"chroma-js": "^3.1.2"
|
|
@@ -1661,12 +1661,12 @@
|
|
|
1661
1661
|
}
|
|
1662
1662
|
},
|
|
1663
1663
|
"node_modules/babel-plugin-istanbul/node_modules/@babel/parser": {
|
|
1664
|
-
"version": "7.29.
|
|
1665
|
-
"integrity": "sha512-
|
|
1664
|
+
"version": "7.29.8",
|
|
1665
|
+
"integrity": "sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==",
|
|
1666
1666
|
"dev": true,
|
|
1667
1667
|
"license": "MIT",
|
|
1668
1668
|
"dependencies": {
|
|
1669
|
-
"@babel/types": "^7.29.
|
|
1669
|
+
"@babel/types": "^7.29.8"
|
|
1670
1670
|
},
|
|
1671
1671
|
"bin": {
|
|
1672
1672
|
"parser": "bin/babel-parser.js"
|
|
@@ -1786,8 +1786,8 @@
|
|
|
1786
1786
|
"license": "MIT"
|
|
1787
1787
|
},
|
|
1788
1788
|
"node_modules/baseline-browser-mapping": {
|
|
1789
|
-
"version": "2.
|
|
1790
|
-
"integrity": "sha512-
|
|
1789
|
+
"version": "2.11.15",
|
|
1790
|
+
"integrity": "sha512-FwMjJJ7HnyZpWe+oWxegG0fezZyBZUagI5LZEoO3GCbtbKNwRfMH9Ue5d5v01PNePBy1QSfPSDTTeVL0Hb9EzA==",
|
|
1791
1791
|
"dev": true,
|
|
1792
1792
|
"license": "Apache-2.0",
|
|
1793
1793
|
"bin": {
|
|
@@ -1813,15 +1813,15 @@
|
|
|
1813
1813
|
"license": "ISC"
|
|
1814
1814
|
},
|
|
1815
1815
|
"node_modules/brace-expansion": {
|
|
1816
|
-
"version": "5.0.
|
|
1817
|
-
"integrity": "sha512-
|
|
1816
|
+
"version": "5.0.9",
|
|
1817
|
+
"integrity": "sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==",
|
|
1818
1818
|
"dev": true,
|
|
1819
1819
|
"license": "MIT",
|
|
1820
1820
|
"dependencies": {
|
|
1821
1821
|
"balanced-match": "^4.0.2"
|
|
1822
1822
|
},
|
|
1823
1823
|
"engines": {
|
|
1824
|
-
"node": "
|
|
1824
|
+
"node": "20 || >=22"
|
|
1825
1825
|
}
|
|
1826
1826
|
},
|
|
1827
1827
|
"node_modules/braces": {
|
|
@@ -1837,8 +1837,8 @@
|
|
|
1837
1837
|
}
|
|
1838
1838
|
},
|
|
1839
1839
|
"node_modules/browserslist": {
|
|
1840
|
-
"version": "4.28.
|
|
1841
|
-
"integrity": "sha512-
|
|
1840
|
+
"version": "4.28.8",
|
|
1841
|
+
"integrity": "sha512-V2NpofLblG64mfOtSgDhOJESZEGogzDMBv/q+W6oc4LXWP/q75eOXoOaaOu1EOadB9U4Bwx/e0yzbvwKH8zalA==",
|
|
1842
1842
|
"dev": true,
|
|
1843
1843
|
"funding": [
|
|
1844
1844
|
{
|
|
@@ -1856,11 +1856,11 @@
|
|
|
1856
1856
|
],
|
|
1857
1857
|
"license": "MIT",
|
|
1858
1858
|
"dependencies": {
|
|
1859
|
-
"baseline-browser-mapping": "^2.
|
|
1860
|
-
"caniuse-lite": "^1.0.
|
|
1861
|
-
"electron-to-chromium": "^1.5.
|
|
1862
|
-
"node-releases": "^2.0.
|
|
1863
|
-
"update-browserslist-db": "^1.
|
|
1859
|
+
"baseline-browser-mapping": "^2.11.12",
|
|
1860
|
+
"caniuse-lite": "^1.0.30001809",
|
|
1861
|
+
"electron-to-chromium": "^1.5.402",
|
|
1862
|
+
"node-releases": "^2.0.53",
|
|
1863
|
+
"update-browserslist-db": "^1.3.0"
|
|
1864
1864
|
},
|
|
1865
1865
|
"bin": {
|
|
1866
1866
|
"browserslist": "cli.js"
|
|
@@ -1966,8 +1966,8 @@
|
|
|
1966
1966
|
}
|
|
1967
1967
|
},
|
|
1968
1968
|
"node_modules/caniuse-lite": {
|
|
1969
|
-
"version": "1.0.
|
|
1970
|
-
"integrity": "sha512-
|
|
1969
|
+
"version": "1.0.30001809",
|
|
1970
|
+
"integrity": "sha512-xxWVywk6a6Arlk+hymeycyn/VgqEfLDxupvhH/xiY5SJ/18kmi9o6MiO320DCUzypORHLtvh0I4i04tUhCNHNQ==",
|
|
1971
1971
|
"dev": true,
|
|
1972
1972
|
"funding": [
|
|
1973
1973
|
{
|
|
@@ -2111,8 +2111,8 @@
|
|
|
2111
2111
|
}
|
|
2112
2112
|
},
|
|
2113
2113
|
"node_modules/color-name": {
|
|
2114
|
-
"version": "2.1.
|
|
2115
|
-
"integrity": "sha512-
|
|
2114
|
+
"version": "2.1.1",
|
|
2115
|
+
"integrity": "sha512-p2FdgwVx1a9yWBHP2wI0VgShkDpgN4kZISkxdNipGBJWpa5G6b04OINlVWCyJj0JmfvcPrgqt95E9k8yvaOJFg==",
|
|
2116
2116
|
"dev": true,
|
|
2117
2117
|
"license": "MIT",
|
|
2118
2118
|
"engines": {
|
|
@@ -2450,8 +2450,8 @@
|
|
|
2450
2450
|
}
|
|
2451
2451
|
},
|
|
2452
2452
|
"node_modules/electron-to-chromium": {
|
|
2453
|
-
"version": "1.5.
|
|
2454
|
-
"integrity": "sha512-
|
|
2453
|
+
"version": "1.5.409",
|
|
2454
|
+
"integrity": "sha512-ChI4N44d0B4A6C8prnNjMOaGgE59fUyEVYcRYm2XEXIjMbbvF5i9UL1cblDbpGqiU0uS8FE8UcKxqZqTXdmzbQ==",
|
|
2455
2455
|
"dev": true,
|
|
2456
2456
|
"license": "ISC"
|
|
2457
2457
|
},
|
|
@@ -3191,12 +3191,12 @@
|
|
|
3191
3191
|
}
|
|
3192
3192
|
},
|
|
3193
3193
|
"node_modules/istanbul-lib-instrument/node_modules/@babel/parser": {
|
|
3194
|
-
"version": "7.29.
|
|
3195
|
-
"integrity": "sha512-
|
|
3194
|
+
"version": "7.29.8",
|
|
3195
|
+
"integrity": "sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==",
|
|
3196
3196
|
"dev": true,
|
|
3197
3197
|
"license": "MIT",
|
|
3198
3198
|
"dependencies": {
|
|
3199
|
-
"@babel/types": "^7.29.
|
|
3199
|
+
"@babel/types": "^7.29.8"
|
|
3200
3200
|
},
|
|
3201
3201
|
"bin": {
|
|
3202
3202
|
"parser": "bin/babel-parser.js"
|
|
@@ -3455,8 +3455,8 @@
|
|
|
3455
3455
|
"license": "MIT"
|
|
3456
3456
|
},
|
|
3457
3457
|
"node_modules/jest-config/node_modules/brace-expansion": {
|
|
3458
|
-
"version": "1.1.
|
|
3459
|
-
"integrity": "sha512-
|
|
3458
|
+
"version": "1.1.18",
|
|
3459
|
+
"integrity": "sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==",
|
|
3460
3460
|
"dev": true,
|
|
3461
3461
|
"license": "MIT",
|
|
3462
3462
|
"dependencies": {
|
|
@@ -3784,8 +3784,8 @@
|
|
|
3784
3784
|
"license": "MIT"
|
|
3785
3785
|
},
|
|
3786
3786
|
"node_modules/jest-runtime/node_modules/brace-expansion": {
|
|
3787
|
-
"version": "1.1.
|
|
3788
|
-
"integrity": "sha512-
|
|
3787
|
+
"version": "1.1.18",
|
|
3788
|
+
"integrity": "sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==",
|
|
3789
3789
|
"dev": true,
|
|
3790
3790
|
"license": "MIT",
|
|
3791
3791
|
"dependencies": {
|
|
@@ -3970,8 +3970,8 @@
|
|
|
3970
3970
|
"license": "MIT"
|
|
3971
3971
|
},
|
|
3972
3972
|
"node_modules/js-yaml": {
|
|
3973
|
-
"version": "3.
|
|
3974
|
-
"integrity": "sha512-
|
|
3973
|
+
"version": "3.15.1",
|
|
3974
|
+
"integrity": "sha512-S99WuO3HlhO3XN41EtYUNl9zzXjoJx7QvmipxsJVxtCBT0YHEFy+iOJhjSvrmV12nYhWpZaM8lPHkJm0yUMbag==",
|
|
3975
3975
|
"dev": true,
|
|
3976
3976
|
"license": "MIT",
|
|
3977
3977
|
"dependencies": {
|
|
@@ -4251,12 +4251,12 @@
|
|
|
4251
4251
|
}
|
|
4252
4252
|
},
|
|
4253
4253
|
"node_modules/minimatch": {
|
|
4254
|
-
"version": "10.2.
|
|
4255
|
-
"integrity": "sha512-
|
|
4254
|
+
"version": "10.2.6",
|
|
4255
|
+
"integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==",
|
|
4256
4256
|
"dev": true,
|
|
4257
4257
|
"license": "BlueOak-1.0.0",
|
|
4258
4258
|
"dependencies": {
|
|
4259
|
-
"brace-expansion": "^5.0.
|
|
4259
|
+
"brace-expansion": "^5.0.8"
|
|
4260
4260
|
},
|
|
4261
4261
|
"engines": {
|
|
4262
4262
|
"node": "18 || 20 || >=22"
|
|
@@ -4364,8 +4364,8 @@
|
|
|
4364
4364
|
"license": "MIT"
|
|
4365
4365
|
},
|
|
4366
4366
|
"node_modules/node-releases": {
|
|
4367
|
-
"version": "2.0.
|
|
4368
|
-
"integrity": "sha512-
|
|
4367
|
+
"version": "2.0.53",
|
|
4368
|
+
"integrity": "sha512-D9UOmYG3UH1V+ENW56t5QXBwJw1YEY18ruVeus89Rw+SyIgjPkCO84bRzO3uNIYosJbNwiabWVn48o3uJLjxFQ==",
|
|
4369
4369
|
"dev": true,
|
|
4370
4370
|
"license": "MIT",
|
|
4371
4371
|
"engines": {
|
|
@@ -4546,8 +4546,8 @@
|
|
|
4546
4546
|
}
|
|
4547
4547
|
},
|
|
4548
4548
|
"node_modules/path-scurry/node_modules/lru-cache": {
|
|
4549
|
-
"version": "11.5.
|
|
4550
|
-
"integrity": "sha512-
|
|
4549
|
+
"version": "11.5.2",
|
|
4550
|
+
"integrity": "sha512-4pfM1Ff0x50o0tQwb5ucw/RzNyD0/YJME6IVcStalZuMWxdt3sR3huStTtxz4PUmvZfRguvDejasvQ2kifR11g==",
|
|
4551
4551
|
"dev": true,
|
|
4552
4552
|
"license": "BlueOak-1.0.0",
|
|
4553
4553
|
"engines": {
|
|
@@ -4833,8 +4833,8 @@
|
|
|
4833
4833
|
"license": "MIT"
|
|
4834
4834
|
},
|
|
4835
4835
|
"node_modules/rimraf/node_modules/brace-expansion": {
|
|
4836
|
-
"version": "1.1.
|
|
4837
|
-
"integrity": "sha512-
|
|
4836
|
+
"version": "1.1.18",
|
|
4837
|
+
"integrity": "sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==",
|
|
4838
4838
|
"license": "MIT",
|
|
4839
4839
|
"dependencies": {
|
|
4840
4840
|
"balanced-match": "^1.0.0",
|
|
@@ -4898,8 +4898,8 @@
|
|
|
4898
4898
|
"optional": true
|
|
4899
4899
|
},
|
|
4900
4900
|
"node_modules/sax": {
|
|
4901
|
-
"version": "1.6.
|
|
4902
|
-
"integrity": "sha512-
|
|
4901
|
+
"version": "1.6.1",
|
|
4902
|
+
"integrity": "sha512-42tBVwLWnaQvW5zc4HbZrTuWccECCZfBi92FDuwtqxasH+JbPB3/FOKb1m222K42R4WxuxzzMsTswfzgtSu64Q==",
|
|
4903
4903
|
"license": "BlueOak-1.0.0",
|
|
4904
4904
|
"optional": true,
|
|
4905
4905
|
"engines": {
|
|
@@ -5162,8 +5162,8 @@
|
|
|
5162
5162
|
}
|
|
5163
5163
|
},
|
|
5164
5164
|
"node_modules/tar-fs": {
|
|
5165
|
-
"version": "2.1.
|
|
5166
|
-
"integrity": "sha512-
|
|
5165
|
+
"version": "2.1.5",
|
|
5166
|
+
"integrity": "sha512-OboTd8mmMhZDNPV+UjQcK9yKAatXu2aJ+r1w4im1Otd4M4fl2hwvdoXUxIYHFTHWK/3y3FarBP70v3vwmGlOxw==",
|
|
5167
5167
|
"license": "MIT",
|
|
5168
5168
|
"dependencies": {
|
|
5169
5169
|
"chownr": "^1.1.1",
|
|
@@ -5208,8 +5208,8 @@
|
|
|
5208
5208
|
"license": "MIT"
|
|
5209
5209
|
},
|
|
5210
5210
|
"node_modules/test-exclude/node_modules/brace-expansion": {
|
|
5211
|
-
"version": "1.1.
|
|
5212
|
-
"integrity": "sha512-
|
|
5211
|
+
"version": "1.1.18",
|
|
5212
|
+
"integrity": "sha512-Edep/X9fGqVNmzKBVsDYIOtD+z1tuezV70LBjdCst9Tqu76lsnvRiZ6oTic1n+/BIwX6QDGAO94PN4N2SADvtw==",
|
|
5213
5213
|
"dev": true,
|
|
5214
5214
|
"license": "MIT",
|
|
5215
5215
|
"dependencies": {
|
|
@@ -5390,8 +5390,8 @@
|
|
|
5390
5390
|
}
|
|
5391
5391
|
},
|
|
5392
5392
|
"node_modules/update-browserslist-db": {
|
|
5393
|
-
"version": "1.
|
|
5394
|
-
"integrity": "sha512-
|
|
5393
|
+
"version": "1.3.1",
|
|
5394
|
+
"integrity": "sha512-ZZ61DsRsOnakl74HAmp3oSN4aXUmEWXf+i/yv0h7tIBfICc3VdrFErQKUUKPgu3AMsTUMbcongALEN4l6GSUrQ==",
|
|
5395
5395
|
"dev": true,
|
|
5396
5396
|
"funding": [
|
|
5397
5397
|
{
|
|
@@ -5521,8 +5521,8 @@
|
|
|
5521
5521
|
}
|
|
5522
5522
|
},
|
|
5523
5523
|
"node_modules/ws": {
|
|
5524
|
-
"version": "7.5.
|
|
5525
|
-
"integrity": "sha512-
|
|
5524
|
+
"version": "7.5.13",
|
|
5525
|
+
"integrity": "sha512-rsKI6xDBFVf4r/x8XyChGK04QR/XHroxs/jUcoWvtEZM8TPU/X/uIY9B1CsSzYws9ZJb/6bbBu7dPhFW00CAoA==",
|
|
5526
5526
|
"license": "MIT",
|
|
5527
5527
|
"engines": {
|
|
5528
5528
|
"node": ">=8.3.0"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wavemaker/rn-codegen",
|
|
3
|
-
"version": "11.14.1-
|
|
3
|
+
"version": "11.14.1-27.647700",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"bin": {
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"puppeteer": "5.4.0",
|
|
43
43
|
"rimraf": "3.0.2",
|
|
44
44
|
"yargs": "16.2.0",
|
|
45
|
-
"@wavemaker/foundation-css": "11.14.1-
|
|
45
|
+
"@wavemaker/foundation-css": "11.14.1-27.647700"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@types/adm-zip": "0.5.0",
|
package/src/app.generator.js
CHANGED
|
@@ -467,6 +467,26 @@ class AppGenerator {
|
|
|
467
467
|
(0, utils_1.writeFile)(`${this.projectPath}/wm_rn_config.json`, JSON.stringify(config, null, 4));
|
|
468
468
|
});
|
|
469
469
|
}
|
|
470
|
+
// Copies each enabled profile's pre-built <profile>.json into the generated app, and removes stale ones.
|
|
471
|
+
generateGlobalConfig() {
|
|
472
|
+
if (this.incBuilder) {
|
|
473
|
+
console.log(`Copying Global config.`);
|
|
474
|
+
}
|
|
475
|
+
return this.projectService.getRNConfig().then(data => {
|
|
476
|
+
const config = JSON.parse(data);
|
|
477
|
+
const enabledProfiles = config.enabledProfiles || [];
|
|
478
|
+
// Tracks profiles generated last time, so one removed (or whose file was deleted outright) still gets cleaned up.
|
|
479
|
+
const manifestPath = `${this.projectPath}/.profiles-manifest.json`;
|
|
480
|
+
const previousProfiles = fs_extra_1.default.existsSync(manifestPath) ? JSON.parse(fs_extra_1.default.readFileSync(manifestPath, 'utf8')) : [];
|
|
481
|
+
previousProfiles
|
|
482
|
+
.filter((profileName) => !enabledProfiles.includes(profileName))
|
|
483
|
+
.forEach((profileName) => fs_extra_1.default.removeSync(`${this.projectPath}/${profileName}.json`));
|
|
484
|
+
(0, utils_1.writeFile)(manifestPath, JSON.stringify(enabledProfiles));
|
|
485
|
+
return Promise.all(enabledProfiles.map(profileName => this.projectService.getGlobalConfig(profileName).then(data => {
|
|
486
|
+
(0, utils_1.writeFile)(`${this.projectPath}/${profileName}.json`, data);
|
|
487
|
+
})));
|
|
488
|
+
});
|
|
489
|
+
}
|
|
470
490
|
removeOldKeys(splash) {
|
|
471
491
|
const keysToRemove = ['animationSrc', 'width', 'height', 'modifiedSrc'];
|
|
472
492
|
const filterKeys = (obj) => Object.fromEntries(Object.entries(obj).filter(([key]) => !keysToRemove.includes(key)));
|
|
@@ -600,7 +620,10 @@ class AppGenerator {
|
|
|
600
620
|
supportedLocales: supportedLocales,
|
|
601
621
|
animatedSplash: animatedSplash,
|
|
602
622
|
sslPinning: sslPinning,
|
|
603
|
-
enableWavePulse: enableWavePulse
|
|
623
|
+
enableWavePulse: enableWavePulse,
|
|
624
|
+
enableDesignTokens: !!config.preferences.enableDesignTokens,
|
|
625
|
+
enableAdaptiveColorMode: !!config.enableAdaptiveColorMode,
|
|
626
|
+
enabledProfiles: config.enabledProfiles || []
|
|
604
627
|
});
|
|
605
628
|
(0, utils_1.writeFile)(`${this.projectPath}/App.js`, output);
|
|
606
629
|
});
|
|
@@ -1667,6 +1690,8 @@ class AppGenerator {
|
|
|
1667
1690
|
.then((build) => (build && this.generateFonts()))
|
|
1668
1691
|
.then(() => !this.incBuilder || this.incBuilder.isConfigModified())
|
|
1669
1692
|
.then((build) => (build && this.generateRNConfig()))
|
|
1693
|
+
.then(() => !this.incBuilder || this.incBuilder.isConfigModified() || this.incBuilder.isResourceModified())
|
|
1694
|
+
.then((build) => (build && this.generateGlobalConfig()))
|
|
1670
1695
|
.then(() => !this.incBuilder || this.incBuilder.isFormatterModified())
|
|
1671
1696
|
.then((build) => (build && this.generateFormatters()))
|
|
1672
1697
|
.then(() => !this.incBuilder || this.incBuilder.isConfigModified())
|