@pega/custom-dx-components 0.242.55 → 0.242.57

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": "0.242.55",
3
+ "version": "0.242.57",
4
4
  "description": "Utility for building custom UI components",
5
5
  "bin": "./bin/index.js",
6
6
  "scripts": {
@@ -100,7 +100,7 @@
100
100
  },
101
101
  "devDependencies": {
102
102
  "@pega/configs": "^0.15.1",
103
- "@pega/custom-dx-components": "~0.242.55",
103
+ "@pega/custom-dx-components": "~0.242.57",
104
104
  "@pega/pcore-pconnect-typedefs": "~3.2.0-alpha.1",
105
105
  "@storybook/addon-actions": "^7.6.19",
106
106
  "@storybook/addon-essentials": "^7.6.19",
package/src/util.js CHANGED
@@ -558,7 +558,13 @@ if (showDebug) addDebugLog("removeTopLevelConfigFiles", `directory: ${directory}
558
558
 
559
559
  if (configFiles && configFiles.length > 0) {
560
560
  for (const configF of configFiles) {
561
- if (configF !== "package-lock.json" && configF !== "package.json" && configF !== "tasks.config.json" ) {
561
+ // don't remove these files, otherwise, remove it
562
+ if (configF !== "package-lock.json" &&
563
+ configF !== "package.json" &&
564
+ configF !== "tasks.config.json" &&
565
+ configF !== ".gitignore" &&
566
+ configF !== ".npmrc" &&
567
+ configF !== ".prettierignore") {
562
568
  fs.rmSync( join(directory, configF), { recursive: true, force: true, maxRetries: 2 });
563
569
  }
564
570
  }