@pega/custom-dx-components 25.1.10 → 25.1.12

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",
3
+ "version": "25.1.12",
4
4
  "description": "Utility for building custom UI components",
5
5
  "bin": "./bin/index.js",
6
6
  "keywords": [
@@ -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);
@@ -30,7 +30,7 @@ addDebugLog("getFilePathQuestions", "", "");
30
30
  {
31
31
  name: 'filePath',
32
32
  type: 'fuzzypath',
33
- message: 'Enter full file path of zip file location:',
33
+ message: 'Enter full path of the component folder',
34
34
  default: defaultPath,
35
35
  excludePath: nodePath => nodePath.startsWith('node_modules'),
36
36
  // excludePath :: (String) -> Bool
@@ -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",
110
+ "@pega/custom-dx-components": "~25.1.12",
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",