@pega/custom-dx-components 25.1.10-alpha-0.14 → 25.1.11

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/custom-dx-components",
3
- "version": "25.1.10-alpha-0.14",
3
+ "version": "25.1.11",
4
4
  "description": "Utility for building custom UI components",
5
5
  "bin": "./bin/index.js",
6
6
  "keywords": [
@@ -25,7 +25,7 @@
25
25
  "@babel/plugin-transform-class-properties": "^7.27.1",
26
26
  "@babel/preset-react": "^7.27.1",
27
27
  "@pega/auth": "^0.2.31",
28
- "@pega/constellation-dx-components-build-utils": "^2.0.9",
28
+ "@pega/constellation-dx-components-build-utils": "^2.0.11",
29
29
  "@pega/inquirer-fuzzy-path": "^3.0.0",
30
30
  "ajv": "^8.17.1",
31
31
  "ajv-keywords": "^5.1.0",
@@ -66,7 +66,7 @@
66
66
  "typescript": "~5.8.3",
67
67
  "unarchive": "^1.1.3",
68
68
  "url-loader": "4.1.1",
69
- "webpack": "5.100.2",
69
+ "webpack": "5.101.0",
70
70
  "webpack-cli": "^6.0.1"
71
71
  },
72
72
  "devDependencies": {
@@ -162,7 +162,7 @@ export const updateSavedExportFilePath = async(filePath) => {
162
162
  let relativePath = "";
163
163
  if (filePath !== defaultPath) {
164
164
  // same starting path, so we can save the relative
165
- relativePath = filePath.replace(defaultPath.concat("/"), "");
165
+ relativePath = filePath.replace(defaultPath.concat(path.sep), "");
166
166
  }
167
167
 
168
168
  await setConfigExportRelativePath(relativePath);
@@ -350,7 +350,7 @@ export const updateSavedFilePath = async(filePath) => {
350
350
  let relativePath = "";
351
351
  if (filePath !== defaultPath) {
352
352
  // same starting path, so we can save the relative
353
- relativePath = filePath.replace(defaultPath.concat("/"), "");
353
+ relativePath = filePath.replace(defaultPath.concat(path.sep), "");
354
354
  }
355
355
 
356
356
  await setConfigImportRelativePath(relativePath);
@@ -82,9 +82,9 @@
82
82
  "pega"
83
83
  ],
84
84
  "dependencies": {
85
- "@pega/cosmos-react-condition-builder": "^8.3.6",
86
- "@pega/cosmos-react-core": "^8.3.6",
87
- "@pega/cosmos-react-work": "^8.3.6",
85
+ "@pega/cosmos-react-condition-builder": "^8.4.1",
86
+ "@pega/cosmos-react-core": "^8.4.1",
87
+ "@pega/cosmos-react-work": "^8.4.1",
88
88
  "@pega/eslint-config": "^0.16.3",
89
89
  "@pega/tsconfig": "^0.16.3",
90
90
  "babel-loader": "^10.0.0",
@@ -107,7 +107,7 @@
107
107
  "@babel/preset-react": "^7.27.1",
108
108
  "@babel/preset-typescript": "^7.27.1",
109
109
  "@pega/configs": "^0.16.3",
110
- "@pega/custom-dx-components": "~25.1.10-alpha-0.14",
110
+ "@pega/custom-dx-components": "~25.1.11",
111
111
  "@pega/pcore-pconnect-typedefs": "^4.1.0",
112
112
  "@storybook/addon-actions": "^8.6.14",
113
113
  "@storybook/addon-essentials": "^8.6.14",
@@ -294,6 +294,7 @@ addDebugLog("publish", "", "+");
294
294
 
295
295
  await tasks.run().catch(err => {
296
296
  console.log(chalk.bold.red(err.toString()));
297
+ process.exit(1);
297
298
  });
298
299
 
299
300
 
@@ -489,6 +489,7 @@ addDebugLog("publishLibrary", "", "+");
489
489
  else {
490
490
  console.log(chalk.bold.redBright(`No library versions named ${libraryName}.`));
491
491
  console.log(chalk.bold.redBright(`You need to build library ${libraryName} first.`));
492
+ process.exit(1);
492
493
  }
493
494
 
494
495