@pega/custom-dx-components 25.1.16 → 25.1.18
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/README.md
CHANGED
|
@@ -37,9 +37,9 @@ Ensure you have access to the following in your system:
|
|
|
37
37
|
|
|
38
38
|
- Git version 2.30 or later
|
|
39
39
|
|
|
40
|
-
- System node version >=
|
|
40
|
+
- System node version >= 24.4.1
|
|
41
41
|
|
|
42
|
-
- System npm version
|
|
42
|
+
- System npm version 11.4.2
|
|
43
43
|
|
|
44
44
|
## Latest Documentation
|
|
45
45
|
|
package/package.json
CHANGED
|
@@ -37,9 +37,9 @@ Ensure you have access to the following in your system:
|
|
|
37
37
|
|
|
38
38
|
- Git version 2.30 or later
|
|
39
39
|
|
|
40
|
-
- System node version >=
|
|
40
|
+
- System node version >= 24.4.1
|
|
41
41
|
|
|
42
|
-
- System npm version
|
|
42
|
+
- System npm version 11.4.2
|
|
43
43
|
|
|
44
44
|
## Latest Documentation
|
|
45
45
|
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"@babel/preset-react": "^7.27.1",
|
|
109
109
|
"@babel/preset-typescript": "^7.27.1",
|
|
110
110
|
"@pega/configs": "^0.16.3",
|
|
111
|
-
"@pega/custom-dx-components": "~25.1.
|
|
111
|
+
"@pega/custom-dx-components": "~25.1.18",
|
|
112
112
|
"@pega/pcore-pconnect-typedefs": "^4.1.0",
|
|
113
113
|
"@storybook/addon-actions": "^8.6.14",
|
|
114
114
|
"@storybook/addon-essentials": "^8.6.14",
|
|
@@ -419,9 +419,8 @@ export default async (option) => {
|
|
|
419
419
|
throw new Error (`${chalk.redBright(`Error: Invalid componentKey in config.json for component '${data.name}'.\n --> Component prefix Org_Lib: '${sPrefix}' must match '${configDef.currentOrgLib}'. \n --> These represent organization and library values found in package.json and tasks.config.json respectively. `)}`);
|
|
420
420
|
}
|
|
421
421
|
|
|
422
|
-
if (data.componentKey
|
|
422
|
+
if (data.componentKey !== componentToValidate) {
|
|
423
423
|
throw new Error (`${chalk.redBright(`Error: Invalid folder name or componentKey in config.json for component '${data.name}'.\n --> Component folder name: '${componentToValidate}' must match component key '${data.componentKey}'.\n --> NOTE: Values are case sensitve.`)}`);
|
|
424
|
-
|
|
425
424
|
}
|
|
426
425
|
|
|
427
426
|
}
|
package/src/util.js
CHANGED
|
@@ -1347,11 +1347,28 @@ export const showVersion = async () => {
|
|
|
1347
1347
|
|
|
1348
1348
|
const nodeMajorVersion = parseInt(arNodeVersion[0]);
|
|
1349
1349
|
const nodeMinorVersion = parseInt(arNodeVersion[1]);
|
|
1350
|
+
const nodePatchVersion = parseInt(arNodeVersion[2]);
|
|
1350
1351
|
|
|
1351
|
-
if (nodeMajorVersion <
|
|
1352
|
+
if (nodeMajorVersion < 24) {
|
|
1352
1353
|
console.log(
|
|
1353
1354
|
chalk.redBright(
|
|
1354
|
-
`DX Component Builder - requires node
|
|
1355
|
+
`DX Component Builder - requires node v24.14.1 or greater, current version: ${process.version}`
|
|
1356
|
+
)
|
|
1357
|
+
);
|
|
1358
|
+
process.exit(1);
|
|
1359
|
+
}
|
|
1360
|
+
else if ( nodeMajorVersion == 24 && nodeMinorVersion < 4) {
|
|
1361
|
+
console.log(
|
|
1362
|
+
chalk.redBright(
|
|
1363
|
+
`DX Component Builder - requires node v24.14.1 or greater, current version: ${process.version}`
|
|
1364
|
+
)
|
|
1365
|
+
);
|
|
1366
|
+
process.exit(1);
|
|
1367
|
+
}
|
|
1368
|
+
else if (nodeMajorVersion == 24 && nodeMinorVersion == 4 && nodePatchVersion < 1 ) {
|
|
1369
|
+
console.log(
|
|
1370
|
+
chalk.redBright(
|
|
1371
|
+
`DX Component Builder - requires node v24.14.1 or greater, current version: ${process.version}`
|
|
1355
1372
|
)
|
|
1356
1373
|
);
|
|
1357
1374
|
process.exit(1);
|