@pega/custom-dx-components 24.2.15 → 24.2.17
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.json
CHANGED
|
@@ -430,6 +430,13 @@ addDebugLog("create", "", "+");
|
|
|
430
430
|
description,
|
|
431
431
|
allowedApplications
|
|
432
432
|
} = answers;
|
|
433
|
+
|
|
434
|
+
// if description is blank, change to label
|
|
435
|
+
let goodDescription = description;
|
|
436
|
+
if (goodDescription === "") {
|
|
437
|
+
goodDescription = componentLabel;
|
|
438
|
+
}
|
|
439
|
+
|
|
433
440
|
await validateCompile(
|
|
434
441
|
{
|
|
435
442
|
componentName,
|
|
@@ -439,7 +446,7 @@ addDebugLog("create", "", "+");
|
|
|
439
446
|
framework,
|
|
440
447
|
type,
|
|
441
448
|
subtype,
|
|
442
|
-
description,
|
|
449
|
+
description: goodDescription,
|
|
443
450
|
allowedApplications
|
|
444
451
|
},
|
|
445
452
|
options
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
},
|
|
102
102
|
"devDependencies": {
|
|
103
103
|
"@pega/configs": "^0.15.1",
|
|
104
|
-
"@pega/custom-dx-components": "~24.2.
|
|
104
|
+
"@pega/custom-dx-components": "~24.2.17",
|
|
105
105
|
"@pega/pcore-pconnect-typedefs": "3.2.1",
|
|
106
106
|
"@storybook/addon-actions": "^7.6.19",
|
|
107
107
|
"@storybook/addon-essentials": "^7.6.19",
|
|
@@ -369,6 +369,11 @@ export default async (option) => {
|
|
|
369
369
|
|
|
370
370
|
if (valid) {
|
|
371
371
|
|
|
372
|
+
if (data.description === "") {
|
|
373
|
+
throw new Error(`Invalid schema json in config.json: 'description' cannot be blank.`);
|
|
374
|
+
process.exit(1);
|
|
375
|
+
}
|
|
376
|
+
|
|
372
377
|
if (
|
|
373
378
|
componentToValidate &&
|
|
374
379
|
!/^[A-Za-z0-9]+_[A-Za-z0-9]+_[A-Za-z0-9]+$/.test(componentToValidate)
|
package/src/util.js
CHANGED
|
@@ -850,8 +850,11 @@ if (showDebug) addDebugLog("getPegaServerConfig", "", "+");
|
|
|
850
850
|
|
|
851
851
|
if (OAuthData) {
|
|
852
852
|
const oOAuthData = JSON.parse(OAuthData);
|
|
853
|
-
|
|
854
|
-
|
|
853
|
+
if (oOAuthData["isolation-ids"]) {
|
|
854
|
+
const isolationId = oOAuthData["isolation-ids"].write;
|
|
855
|
+
pegaConfig['server-config'].isolationId = isolationId[0];
|
|
856
|
+
}
|
|
857
|
+
|
|
855
858
|
}
|
|
856
859
|
|
|
857
860
|
}
|