@wavemaker/rn-codegen 11.15.5-rc.261 → 11.15.5-rc.262

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/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@wavemaker/rn-codegen",
3
- "version": "11.15.5-rc.261",
3
+ "version": "11.15.5-rc.262",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@wavemaker/rn-codegen",
9
- "version": "11.15.5-rc.261",
9
+ "version": "11.15.5-rc.262",
10
10
  "hasInstallScript": true,
11
11
  "license": "ISC",
12
12
  "dependencies": {
@@ -18,8 +18,8 @@
18
18
  "@types/node": "18.11.10",
19
19
  "@types/prettier": "2.7.1",
20
20
  "@types/yargs": "17.0.15",
21
- "@wavemaker/custom-widgets-m3": "11.15.5-rc.261",
22
- "@wavemaker/foundation-css": "11.15.5-rc.261",
21
+ "@wavemaker/custom-widgets-m3": "11.15.5-rc.262",
22
+ "@wavemaker/foundation-css": "11.15.5-rc.262",
23
23
  "adm-zip": "0.5.9",
24
24
  "axios": "1.8.3",
25
25
  "clean-css": "5.1.5",
@@ -1395,8 +1395,8 @@
1395
1395
  }
1396
1396
  },
1397
1397
  "node_modules/@jridgewell/sourcemap-codec": {
1398
- "version": "1.5.5",
1399
- "integrity": "sha512-cYQ9310grqxueWbl+WuIUIaiUaDcj7WOq5fVhEljNVgRfOUhY9fy2zTvfoqWsnebh8Sl70VScFbICvJnLKB0Og==",
1398
+ "version": "1.6.0",
1399
+ "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==",
1400
1400
  "license": "MIT"
1401
1401
  },
1402
1402
  "node_modules/@jridgewell/trace-mapping": {
@@ -1454,12 +1454,12 @@
1454
1454
  }
1455
1455
  },
1456
1456
  "node_modules/@jsonjoy.com/fs-core": {
1457
- "version": "4.68.1",
1458
- "integrity": "sha512-V5oZ4Gt9WJKyQef0n9cAd0N9qjSkIBm3E4MYsgNIWBk5aINCDPKxMPo1i29rBxqiT4Ixf1epklqV9VJMKIxwlw==",
1457
+ "version": "4.71.0",
1458
+ "integrity": "sha512-9DFR/j+bm+tig1abs1CWS1/r0IVjNUdTp/+q6R/PXayXpO1rgbUh7tkanGYP40I0zdxbOreN3tmzBpVHgfMKzg==",
1459
1459
  "license": "Apache-2.0",
1460
1460
  "dependencies": {
1461
- "@jsonjoy.com/fs-node-builtins": "4.68.1",
1462
- "@jsonjoy.com/fs-node-utils": "4.68.1",
1461
+ "@jsonjoy.com/fs-node-builtins": "4.71.0",
1462
+ "@jsonjoy.com/fs-node-utils": "4.71.0",
1463
1463
  "thingies": "^2.5.0"
1464
1464
  },
1465
1465
  "engines": {
@@ -1474,13 +1474,13 @@
1474
1474
  }
1475
1475
  },
1476
1476
  "node_modules/@jsonjoy.com/fs-fsa": {
1477
- "version": "4.68.1",
1478
- "integrity": "sha512-HCG72UioncuO7Gw09XNVG+S85e3cq2hrUC/mexBrsWsa3mI7eePkkqWie3uVYbtsb64OR9YGQs5SqaufDRYBcg==",
1477
+ "version": "4.71.0",
1478
+ "integrity": "sha512-dRw5ojxzep3lntVGVBLzQUMYj1hXLH+DAz9sK0vKU+594x/zA2nYPOiitlyhYtOJ2nv1FXNq7c55rgwANknIWw==",
1479
1479
  "license": "Apache-2.0",
1480
1480
  "dependencies": {
1481
- "@jsonjoy.com/fs-core": "4.68.1",
1482
- "@jsonjoy.com/fs-node-builtins": "4.68.1",
1483
- "@jsonjoy.com/fs-node-utils": "4.68.1",
1481
+ "@jsonjoy.com/fs-core": "4.71.0",
1482
+ "@jsonjoy.com/fs-node-builtins": "4.71.0",
1483
+ "@jsonjoy.com/fs-node-utils": "4.71.0",
1484
1484
  "thingies": "^2.5.0"
1485
1485
  },
1486
1486
  "engines": {
@@ -1495,15 +1495,15 @@
1495
1495
  }
1496
1496
  },
1497
1497
  "node_modules/@jsonjoy.com/fs-node": {
1498
- "version": "4.68.1",
1499
- "integrity": "sha512-R5D9mWtqdURzcOWj1vdXr3APCwX0xchtFT+kmW7fXLNDifWdDrnh26jSID8pdnUfFBxTyfHtFtTL/NWKzIH7kQ==",
1498
+ "version": "4.71.0",
1499
+ "integrity": "sha512-yt5Ak0otPdHPIlmMvF16aLG2qSZL52EYJ7HOkYpBcIPWw+kmT1FtTSj4oiV2OUkJbG8pLzA+RhMgrlRl85QuBw==",
1500
1500
  "license": "Apache-2.0",
1501
1501
  "dependencies": {
1502
- "@jsonjoy.com/fs-core": "4.68.1",
1503
- "@jsonjoy.com/fs-node-builtins": "4.68.1",
1504
- "@jsonjoy.com/fs-node-utils": "4.68.1",
1505
- "@jsonjoy.com/fs-print": "4.68.1",
1506
- "@jsonjoy.com/fs-snapshot": "4.68.1",
1502
+ "@jsonjoy.com/fs-core": "4.71.0",
1503
+ "@jsonjoy.com/fs-node-builtins": "4.71.0",
1504
+ "@jsonjoy.com/fs-node-utils": "4.71.0",
1505
+ "@jsonjoy.com/fs-print": "4.71.0",
1506
+ "@jsonjoy.com/fs-snapshot": "4.71.0",
1507
1507
  "glob-to-regex.js": "^1.0.0",
1508
1508
  "thingies": "^2.5.0"
1509
1509
  },
@@ -1519,8 +1519,8 @@
1519
1519
  }
1520
1520
  },
1521
1521
  "node_modules/@jsonjoy.com/fs-node-builtins": {
1522
- "version": "4.68.1",
1523
- "integrity": "sha512-HK1BTksysokNZxNspqDH0yPaqN9YgR/AYIlYiIaU2Ys4BOk5CdybI7r6BgiZuiiPiV8n4sK/kZdice7Znpy2Kw==",
1522
+ "version": "4.71.0",
1523
+ "integrity": "sha512-BSzl+QFSxZF58BxGjV1wqCJ+qSn3b2IZnb+z3hDQq6goqOO5RuxF8gRihjsFx17AfpEpa7XjYcP8XpQtDU8RrQ==",
1524
1524
  "license": "Apache-2.0",
1525
1525
  "engines": {
1526
1526
  "node": ">=10.0"
@@ -1534,13 +1534,13 @@
1534
1534
  }
1535
1535
  },
1536
1536
  "node_modules/@jsonjoy.com/fs-node-to-fsa": {
1537
- "version": "4.68.1",
1538
- "integrity": "sha512-lpKmU4X9e/oh8GIuAI7EXaS5QiLNM3KD15CkdhfS6PYmrGvoJqKQcyEfnLgnnaGslh/PFUMYSIZBCf2ejJGw8g==",
1537
+ "version": "4.71.0",
1538
+ "integrity": "sha512-OlXBZKIeDx5bIGcQmn0w+nVkLheCiuQSepKiBAiWSWimSdn8Q6Yc9ih2y8zStcJk31fieqnov9V+o8XTWn/5Rw==",
1539
1539
  "license": "Apache-2.0",
1540
1540
  "dependencies": {
1541
- "@jsonjoy.com/fs-fsa": "4.68.1",
1542
- "@jsonjoy.com/fs-node-builtins": "4.68.1",
1543
- "@jsonjoy.com/fs-node-utils": "4.68.1"
1541
+ "@jsonjoy.com/fs-fsa": "4.71.0",
1542
+ "@jsonjoy.com/fs-node-builtins": "4.71.0",
1543
+ "@jsonjoy.com/fs-node-utils": "4.71.0"
1544
1544
  },
1545
1545
  "engines": {
1546
1546
  "node": ">=10.0"
@@ -1554,11 +1554,11 @@
1554
1554
  }
1555
1555
  },
1556
1556
  "node_modules/@jsonjoy.com/fs-node-utils": {
1557
- "version": "4.68.1",
1558
- "integrity": "sha512-/GxfW1DWm9SCdkfbvqevLO/P5duobQfmKkHXxdMIDbcZMQeAgooAstIfZhkXpATzq9QbCQsnoWFM/dGHdZfndw==",
1557
+ "version": "4.71.0",
1558
+ "integrity": "sha512-YtzCL3jbKYx6LHxqS9ymJ9Ob7SO9cucI+kpNO3LijGNFEjFbvNsTlHkvFgocAMAjUk96TpQTCsYkzFQi1CdlAA==",
1559
1559
  "license": "Apache-2.0",
1560
1560
  "dependencies": {
1561
- "@jsonjoy.com/fs-node-builtins": "4.68.1",
1561
+ "@jsonjoy.com/fs-node-builtins": "4.71.0",
1562
1562
  "glob-to-regex.js": "^1.0.1"
1563
1563
  },
1564
1564
  "engines": {
@@ -1573,11 +1573,11 @@
1573
1573
  }
1574
1574
  },
1575
1575
  "node_modules/@jsonjoy.com/fs-print": {
1576
- "version": "4.68.1",
1577
- "integrity": "sha512-oGeZOGPYKK9v1CgeVeEDsLomH1lCnslSpqUN5GmPzrmAVGQlsmsdcXNA2O4lV8Y4xkuSuynx2ITBkUHJVaTbow==",
1576
+ "version": "4.71.0",
1577
+ "integrity": "sha512-OhfDSdvyO8uGV0U11OP+mOeVCPgjuP1HqCGR/TdBQLxHoDEWJAK3KOP5fPXo57H7i3G0x0Vmv8xPRHDle4XGzA==",
1578
1578
  "license": "Apache-2.0",
1579
1579
  "dependencies": {
1580
- "@jsonjoy.com/fs-node-utils": "4.68.1",
1580
+ "@jsonjoy.com/fs-node-utils": "4.71.0",
1581
1581
  "tree-dump": "^1.1.0"
1582
1582
  },
1583
1583
  "engines": {
@@ -1592,12 +1592,12 @@
1592
1592
  }
1593
1593
  },
1594
1594
  "node_modules/@jsonjoy.com/fs-snapshot": {
1595
- "version": "4.68.1",
1596
- "integrity": "sha512-XZfP0FDZN32bbc4t2bZN2qRrYHg5AktJnzk22HRoKGK4BprrbNRH2k5ceSNS/kupKYcofCs+O841+xaAbjnxwQ==",
1595
+ "version": "4.71.0",
1596
+ "integrity": "sha512-md+Wov365xa9A3nfW9YQTHLcweHHAee/e/0UoVRbldEHxboPJknuO3sEkNVVECO0dTqKra/ERaQylAMRrGWd0Q==",
1597
1597
  "license": "Apache-2.0",
1598
1598
  "dependencies": {
1599
1599
  "@jsonjoy.com/buffers": "^17.65.0",
1600
- "@jsonjoy.com/fs-node-utils": "4.68.1",
1600
+ "@jsonjoy.com/fs-node-utils": "4.71.0",
1601
1601
  "@jsonjoy.com/json-pack": "^17.65.0",
1602
1602
  "@jsonjoy.com/util": "^17.65.0"
1603
1603
  },
@@ -2085,13 +2085,13 @@
2085
2085
  }
2086
2086
  },
2087
2087
  "node_modules/@wavemaker/custom-widgets-m3": {
2088
- "version": "11.15.5-rc.261",
2089
- "integrity": "sha512-Z+tXjRjOmTdwD0lL5uFEPjLIEGNioRGF3SNMvfa9eJicgXgpGNOCAKsSTjF3QrXd/zN14Y/pqLvOxXiBd4c6jA==",
2088
+ "version": "11.15.5-rc.262",
2089
+ "integrity": "sha512-XHaIT39H1zUzm9EwKhL1Ib8S9AIgsZ2clsSby2WhO9FKzlXRxlvbFLknDBVaDgmPyU2qhSGgbgtVBv/dMpkMHw==",
2090
2090
  "license": "ISC"
2091
2091
  },
2092
2092
  "node_modules/@wavemaker/foundation-css": {
2093
- "version": "11.15.5-rc.261",
2094
- "integrity": "sha512-f8s5Cp3tc0l6fTS9zOdekmRkkPcWOcCbgXeiizGSaGE9Y/8Z2nvzBGhTsAhh/TzMt4I/0AbYs/T5w4Pu4+cJjA==",
2093
+ "version": "11.15.5-rc.262",
2094
+ "integrity": "sha512-vIA/sBFESUw80a5LHB9MjPc47CtNW2WEo6aoxGM+k0APuisFp8S/t2sOlMp4OLbx+Bl9rMmeI1RceyBAps5QrA==",
2095
2095
  "license": "ISC",
2096
2096
  "dependencies": {
2097
2097
  "ajv": "8.17.1",
@@ -2104,8 +2104,8 @@
2104
2104
  "license": "BSD-2-Clause"
2105
2105
  },
2106
2106
  "node_modules/@zip.js/zip.js": {
2107
- "version": "2.8.55",
2108
- "integrity": "sha512-MxnikN49/iB2AQOSUBjxlGYLsbEblCsZ5S84tmt+hcBlYCQQKG0qKO7UNX0AzFS8a5KlS8cyvwjZV3nNTF6WuQ==",
2107
+ "version": "2.11.1",
2108
+ "integrity": "sha512-x86tIhuszaDZ9ek8Tp9AkcSvyWffiTH8SiDNhsmtW+DoSKkTDnLkX3lHGG39whb6gMWo6q+cU6DYTF/2htjwuQ==",
2109
2109
  "license": "BSD-3-Clause",
2110
2110
  "engines": {
2111
2111
  "bun": ">=0.7.0",
@@ -2442,8 +2442,8 @@
2442
2442
  "license": "MIT"
2443
2443
  },
2444
2444
  "node_modules/baseline-browser-mapping": {
2445
- "version": "2.11.17",
2446
- "integrity": "sha512-KAUDn1OSS0fmPlGO+NOUMRcOQ/b/shUBH3OgkG73mPgdf+JD/BQ6fHboGxNOxnUmlwcq+lLq3dTkayRPuSfXwg==",
2445
+ "version": "2.11.21",
2446
+ "integrity": "sha512-uh8vpY/1/YyFkunIDFH/12p7/7VdPKA1hejMVEbdkEaWnUz0Hesvx5EbiU6XxjyHZIOju+ZMbQJkRh+es3/spQ==",
2447
2447
  "dev": true,
2448
2448
  "license": "Apache-2.0",
2449
2449
  "bin": {
@@ -2515,8 +2515,8 @@
2515
2515
  }
2516
2516
  },
2517
2517
  "node_modules/browserslist": {
2518
- "version": "4.28.8",
2519
- "integrity": "sha512-V2NpofLblG64mfOtSgDhOJESZEGogzDMBv/q+W6oc4LXWP/q75eOXoOaaOu1EOadB9U4Bwx/e0yzbvwKH8zalA==",
2518
+ "version": "4.28.9",
2519
+ "integrity": "sha512-EWazOblFYUvlGZcfGhPUPmYh3nikUxBVb+y9MJun5f3hBi812X+8MSQTujLBtgK3cf51fJWbWfOjyeO954d+Eg==",
2520
2520
  "dev": true,
2521
2521
  "funding": [
2522
2522
  {
@@ -2534,11 +2534,11 @@
2534
2534
  ],
2535
2535
  "license": "MIT",
2536
2536
  "dependencies": {
2537
- "baseline-browser-mapping": "^2.11.12",
2538
- "caniuse-lite": "^1.0.30001809",
2539
- "electron-to-chromium": "^1.5.402",
2540
- "node-releases": "^2.0.53",
2541
- "update-browserslist-db": "^1.3.0"
2537
+ "baseline-browser-mapping": "^2.11.20",
2538
+ "caniuse-lite": "^1.0.30001810",
2539
+ "electron-to-chromium": "^1.5.420",
2540
+ "node-releases": "^2.0.54",
2541
+ "update-browserslist-db": "^1.3.2"
2542
2542
  },
2543
2543
  "bin": {
2544
2544
  "browserslist": "cli.js"
@@ -2676,8 +2676,8 @@
2676
2676
  }
2677
2677
  },
2678
2678
  "node_modules/caniuse-lite": {
2679
- "version": "1.0.30001809",
2680
- "integrity": "sha512-xxWVywk6a6Arlk+hymeycyn/VgqEfLDxupvhH/xiY5SJ/18kmi9o6MiO320DCUzypORHLtvh0I4i04tUhCNHNQ==",
2679
+ "version": "1.0.30001810",
2680
+ "integrity": "sha512-TITQPUkaz+aVk5GL6NhOdwk1aEaNTSDPsGFWrTuhKGtjTF70jL/Oht2W4c6rXUe5fu7Ie19VIahAXHIIiWWNeg==",
2681
2681
  "dev": true,
2682
2682
  "funding": [
2683
2683
  {
@@ -3218,8 +3218,8 @@
3218
3218
  "license": "MIT"
3219
3219
  },
3220
3220
  "node_modules/electron-to-chromium": {
3221
- "version": "1.5.412",
3222
- "integrity": "sha512-z4rMe3esBzlzovKHj4gxJnsCGZRK5l4baUvm+gCGJBPE+gsyUMKsuU9tnEUtI1dOebXz1ytAPGjvXhmQ7rIPwA==",
3221
+ "version": "1.5.422",
3222
+ "integrity": "sha512-UvA/32XqrLDdZSn7Jllo1AYNcWji/G0d5M0GTViE7KoGBiMunw3a34Sb2KO4ZZyrSEhqsxFoVhWWJshdyfKqJA==",
3223
3223
  "dev": true,
3224
3224
  "license": "ISC"
3225
3225
  },
@@ -3447,8 +3447,8 @@
3447
3447
  "license": "MIT"
3448
3448
  },
3449
3449
  "node_modules/fast-uri": {
3450
- "version": "3.1.5",
3451
- "integrity": "sha512-gHwA1O9LDIcKunMKhObS/HimwtehO1nPUECKAu5TpKgaO19fcWEl4bliWe1jWxVFvIXztJjjQ4L8XQ1EU9f7Jw==",
3450
+ "version": "3.1.7",
3451
+ "integrity": "sha512-dOvZVzjdZdz7phd9v6jCbwxrBW3fK6n8Rc0CtdmM4bumzMnxywBYhuph6J819RRw/ku+rLbelwfMunktuzVVHg==",
3452
3452
  "funding": [
3453
3453
  {
3454
3454
  "type": "github",
@@ -4998,8 +4998,8 @@
4998
4998
  "license": "MIT"
4999
4999
  },
5000
5000
  "node_modules/js-yaml": {
5001
- "version": "3.15.1",
5002
- "integrity": "sha512-S99WuO3HlhO3XN41EtYUNl9zzXjoJx7QvmipxsJVxtCBT0YHEFy+iOJhjSvrmV12nYhWpZaM8lPHkJm0yUMbag==",
5001
+ "version": "3.15.2",
5002
+ "integrity": "sha512-6EuL879VkRA+1Cz578mKMiKvjPNEuk6+r1JaFzoSWejZmtf7xWbIyw1e3KkxlkzTIt9Taw6JBhEppG7utc1P+w==",
5003
5003
  "dev": true,
5004
5004
  "license": "MIT",
5005
5005
  "dependencies": {
@@ -5260,18 +5260,18 @@
5260
5260
  "license": "CC0-1.0"
5261
5261
  },
5262
5262
  "node_modules/memfs": {
5263
- "version": "4.68.1",
5264
- "integrity": "sha512-OD+IDRUvIxu3QHL+nFm9gdyugInD27FDJ+sl4B5QgomPHXMlbw+GP918P8VNKu2FkNlVeqBkpzkwROpamVifRw==",
5263
+ "version": "4.71.0",
5264
+ "integrity": "sha512-Zwrk7TpTXBkic7taZL+2QeppbauG0QOufRsT1zuXDYLW8jCajH0W1VSZ17+I7ODqiNbH9J1Vf1QJCqFlCfurDg==",
5265
5265
  "license": "Apache-2.0",
5266
5266
  "dependencies": {
5267
- "@jsonjoy.com/fs-core": "4.68.1",
5268
- "@jsonjoy.com/fs-fsa": "4.68.1",
5269
- "@jsonjoy.com/fs-node": "4.68.1",
5270
- "@jsonjoy.com/fs-node-builtins": "4.68.1",
5271
- "@jsonjoy.com/fs-node-to-fsa": "4.68.1",
5272
- "@jsonjoy.com/fs-node-utils": "4.68.1",
5273
- "@jsonjoy.com/fs-print": "4.68.1",
5274
- "@jsonjoy.com/fs-snapshot": "4.68.1",
5267
+ "@jsonjoy.com/fs-core": "4.71.0",
5268
+ "@jsonjoy.com/fs-fsa": "4.71.0",
5269
+ "@jsonjoy.com/fs-node": "4.71.0",
5270
+ "@jsonjoy.com/fs-node-builtins": "4.71.0",
5271
+ "@jsonjoy.com/fs-node-to-fsa": "4.71.0",
5272
+ "@jsonjoy.com/fs-node-utils": "4.71.0",
5273
+ "@jsonjoy.com/fs-print": "4.71.0",
5274
+ "@jsonjoy.com/fs-snapshot": "4.71.0",
5275
5275
  "@jsonjoy.com/json-pack": "^1.11.0",
5276
5276
  "@jsonjoy.com/util": "^1.9.0",
5277
5277
  "glob-to-regex.js": "^1.0.1",
@@ -5453,8 +5453,8 @@
5453
5453
  "license": "MIT"
5454
5454
  },
5455
5455
  "node_modules/node-releases": {
5456
- "version": "2.0.53",
5457
- "integrity": "sha512-D9UOmYG3UH1V+ENW56t5QXBwJw1YEY18ruVeus89Rw+SyIgjPkCO84bRzO3uNIYosJbNwiabWVn48o3uJLjxFQ==",
5456
+ "version": "2.0.54",
5457
+ "integrity": "sha512-YHs7BmmcsdAI5Ozuf8JZo6PT0mv2GIWC9vMfvUC3dp65M8hn7Ux8CPL+2oBI7juNuj9d0ndhTcznq2ODBps9cQ==",
5458
5458
  "dev": true,
5459
5459
  "license": "MIT",
5460
5460
  "engines": {
@@ -5998,8 +5998,8 @@
5998
5998
  "license": "MIT"
5999
5999
  },
6000
6000
  "node_modules/qs": {
6001
- "version": "6.15.3",
6002
- "integrity": "sha512-O9gl3zCl5h5blw1KGUzQKhA5oUXSl8rwUIM5o0S3nCXMliSvy5Dzx7/DJcI+SwgICv+IneSZwhBh1oSyEHA71A==",
6001
+ "version": "6.16.0",
6002
+ "integrity": "sha512-h6fhOIaRrID2CbEY2fqs+7t+UXZo+MLAnU5gRIq85uFtdiUPCdsApMlHhXogKVM4HM2DVbIjGNTTYH2OcmP1vA==",
6003
6003
  "license": "BSD-3-Clause",
6004
6004
  "dependencies": {
6005
6005
  "es-define-property": "^1.0.1",
@@ -6917,8 +6917,8 @@
6917
6917
  }
6918
6918
  },
6919
6919
  "node_modules/update-browserslist-db": {
6920
- "version": "1.3.1",
6921
- "integrity": "sha512-ZZ61DsRsOnakl74HAmp3oSN4aXUmEWXf+i/yv0h7tIBfICc3VdrFErQKUUKPgu3AMsTUMbcongALEN4l6GSUrQ==",
6920
+ "version": "1.3.2",
6921
+ "integrity": "sha512-UQ+MSxlhRm1bzjhU+DcuXfjFO1FzNtqhK5+9Yvlp90ItDLk5vT932A0rFu619nf7RVS+Y/VeaUW1jaRDqZ8VJw==",
6922
6922
  "dev": true,
6923
6923
  "funding": [
6924
6924
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wavemaker/rn-codegen",
3
- "version": "11.15.5-rc.261",
3
+ "version": "11.15.5-rc.262",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -25,8 +25,8 @@
25
25
  "@types/node": "18.11.10",
26
26
  "@types/prettier": "2.7.1",
27
27
  "@types/yargs": "17.0.15",
28
- "@wavemaker/custom-widgets-m3": "11.15.5-rc.261",
29
- "@wavemaker/foundation-css": "11.15.5-rc.261",
28
+ "@wavemaker/custom-widgets-m3": "11.15.5-rc.262",
29
+ "@wavemaker/foundation-css": "11.15.5-rc.262",
30
30
  "adm-zip": "0.5.9",
31
31
  "axios": "1.8.3",
32
32
  "clean-css": "5.1.5",
@@ -27,6 +27,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
27
27
  };
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  const fs_extra_1 = __importDefault(require("fs-extra"));
30
+ const crypto_1 = __importDefault(require("crypto"));
30
31
  const path_1 = require("path");
31
32
  const lodash_1 = require("lodash");
32
33
  const execa_1 = __importDefault(require("execa"));
@@ -795,13 +796,16 @@ class AppGenerator {
795
796
  }
796
797
  compileXComponentLib() {
797
798
  var _a, _b;
799
+ const componentsPath = `${this.projectService.path}/extensions/components`;
800
+ const componentsPackageJson = `${componentsPath}/package.json`;
801
+ const wmxDependenciesMarker = `${componentsPath}/.wmx-dependencies.info`;
798
802
  if (!this.incBuilder) {
799
803
  const projectPackages = fs_extra_1.default.readJsonSync(`${__dirname}/templates/project/package.json`, {
800
804
  encoding: 'utf8'
801
805
  });
802
806
  const reactVersion = (_a = projectPackages === null || projectPackages === void 0 ? void 0 : projectPackages.dependencies) === null || _a === void 0 ? void 0 : _a['react'];
803
807
  const reactNativeVersion = (_b = projectPackages === null || projectPackages === void 0 ? void 0 : projectPackages.dependencies) === null || _b === void 0 ? void 0 : _b['react-native'];
804
- const wmxComponentPackage = fs_extra_1.default.readJsonSync(`${this.projectService.path}/extensions/components/package.json`, {
808
+ const wmxComponentPackage = fs_extra_1.default.readJsonSync(componentsPackageJson, {
805
809
  encoding: 'utf8'
806
810
  });
807
811
  // semver considers ^x.x.x and ~x.x.x as invalid package versions.
@@ -810,20 +814,47 @@ class AppGenerator {
810
814
  wmxComponentPackage.devDependencies['@types/react'] = `${reactVersion}`;
811
815
  wmxComponentPackage.devDependencies['react-native'] = `${reactNativeVersion}`;
812
816
  }
813
- fs_extra_1.default.writeJSONSync(`${this.projectService.path}/extensions/components/package.json`, wmxComponentPackage);
814
- if (fs_extra_1.default.existsSync(`${this.projectService.path}/extensions/components/package-lock.json`)) {
815
- fs_extra_1.default.removeSync(`${this.projectService.path}/extensions/components/package-lock.json`);
816
- fs_extra_1.default.emptyDirSync(`${this.projectService.path}/extensions/components/node_modules`);
817
+ fs_extra_1.default.writeJSONSync(componentsPackageJson, wmxComponentPackage);
818
+ if (fs_extra_1.default.existsSync(`${componentsPath}/package-lock.json`)) {
819
+ fs_extra_1.default.removeSync(`${componentsPath}/package-lock.json`);
820
+ fs_extra_1.default.emptyDirSync(`${componentsPath}/node_modules`);
821
+ }
822
+ fs_extra_1.default.removeSync(wmxDependenciesMarker);
823
+ }
824
+ else if (fs_extra_1.default.existsSync(wmxDependenciesMarker)
825
+ && fs_extra_1.default.existsSync(`${componentsPath}/node_modules`)
826
+ && fs_extra_1.default.existsSync(`${this.projectPath}/wmx-components`)) {
827
+ try {
828
+ const marker = fs_extra_1.default.readJSONSync(wmxDependenciesMarker);
829
+ const currentHash = crypto_1.default.createHash('md5')
830
+ .update(fs_extra_1.default.readFileSync(componentsPackageJson, 'utf-8'), 'utf-8')
831
+ .digest('hex');
832
+ if (marker.packageHash === currentHash) {
833
+ console.log('wmx-components package.json unchanged since last build — skipping npm install/build.');
834
+ return Promise.resolve();
835
+ }
836
+ }
837
+ catch (e) {
838
+ console.error(e);
817
839
  }
818
840
  }
819
841
  return (0, execa_1.default)('npm', ['install'], {
820
- cwd: `${this.projectService.path}/extensions/components`
842
+ cwd: componentsPath
821
843
  }).then(() => {
822
844
  return (0, execa_1.default)('npm', ['run', 'build'], {
823
- cwd: `${this.projectService.path}/extensions/components`
845
+ cwd: componentsPath
824
846
  });
825
847
  }).then(() => {
826
- fs_extra_1.default.copySync(`${this.projectService.path}/extensions/components/build`, `${this.projectPath}/wmx-components`);
848
+ fs_extra_1.default.copySync(`${componentsPath}/build`, `${this.projectPath}/wmx-components`);
849
+ }).then(() => {
850
+ if (fs_extra_1.default.existsSync(`${componentsPath}/node_modules`)) {
851
+ fs_extra_1.default.copySync(`${componentsPath}/node_modules`, `${this.projectPath}/wmx-components/node_modules`);
852
+ }
853
+ }).then(() => {
854
+ const postBuildHash = crypto_1.default.createHash('md5')
855
+ .update(fs_extra_1.default.readFileSync(componentsPackageJson, 'utf-8'), 'utf-8')
856
+ .digest('hex');
857
+ fs_extra_1.default.writeJSONSync(wmxDependenciesMarker, { packageHash: postBuildHash, lastBuild: Date.now() });
827
858
  });
828
859
  }
829
860
  async generateWMXComponents(name, overwrite) {
@@ -1286,6 +1317,7 @@ class AppGenerator {
1286
1317
  .then(() => this.generatePartialConfig(pageConfigs));
1287
1318
  }
1288
1319
  async mergePackageJson() {
1320
+ var _a;
1289
1321
  if (this.incBuilder) {
1290
1322
  console.log(`Merging package.json .`);
1291
1323
  }
@@ -1300,22 +1332,31 @@ class AppGenerator {
1300
1332
  packageToOveride.scripts = (0, lodash_1.merge)(packageToOveride.scripts, webPackageJson.scripts);
1301
1333
  }
1302
1334
  if (this.wmxComponents.length > 0) {
1303
- packageToOveride.scripts.postinstall = [
1304
- 'npm install ./wmx-components',
1305
- ...((packageToOveride.scripts.postinstall || '')
1306
- .split('&&')
1307
- .filter((s) => s && !!s.trim()))
1308
- ].join(' && ');
1309
1335
  packageToOveride.dependencies['@wavemaker/wmx-component'] = 'file:wmx-components';
1310
1336
  if (!this.incBuilder || this.incBuilder.isWMXComponentModified()) {
1311
1337
  await this.compileXComponentLib();
1312
1338
  }
1313
1339
  }
1314
1340
  const packageOverride = await this.projectService.getPackageJSONOverride();
1315
- if (packageOverride) {
1316
- const packageOverriden = (0, lodash_1.merge)(packageToOveride, packageOverride);
1317
- fs_extra_1.default.writeFileSync(`${this.projectPath}/package.json`, JSON.stringify(packageOverriden, null, 4));
1341
+ let packageOverriden = packageOverride ? (0, lodash_1.merge)(packageToOveride, packageOverride) : packageToOveride;
1342
+ if (this.wmxComponents.length > 0) {
1343
+ const priorWmxInstallForms = [
1344
+ 'npm install ./wmx-components',
1345
+ 'npm install --prefix ./wmx-components',
1346
+ 'npm install --prefix ./wmx-components --cache ./wmx-components/.npm-cache'
1347
+ ];
1348
+ const remainingSteps = (((_a = packageOverriden.scripts) === null || _a === void 0 ? void 0 : _a.postinstall) || '')
1349
+ .split('&&')
1350
+ .map((s) => s.trim())
1351
+ .filter((s) => s && !priorWmxInstallForms.includes(s));
1352
+ if (remainingSteps.length > 0) {
1353
+ packageOverriden.scripts.postinstall = remainingSteps.join(' && ');
1354
+ }
1355
+ else if (packageOverriden.scripts) {
1356
+ delete packageOverriden.scripts.postinstall;
1357
+ }
1318
1358
  }
1359
+ fs_extra_1.default.writeFileSync(`${this.projectPath}/package.json`, JSON.stringify(packageOverriden, null, 4));
1319
1360
  }
1320
1361
  /**
1321
1362
  * update app.json with expo-video plugin