@pega/custom-dx-components 0.25.49-TEST-0.4 → 0.25.49-TEST-0.5

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.25.49-TEST-0.4",
3
+ "version": "0.25.49-TEST-0.5",
4
4
  "description": "Utility for building custom UI components",
5
5
  "keywords": [
6
6
  "pega",
@@ -106,11 +106,21 @@ export default async options => {
106
106
  options.targetDirectory,
107
107
  'node_modules/@pega/custom-dx-components'
108
108
  );
109
+
110
+ if (!fs.existsSync(options.componentDirectory)){
111
+ fs.mkdirSync(options.componentDirectory, { recursive: true });
112
+ };
113
+
114
+
109
115
  options.componentLibraryUtilsDirectory = path.join(
110
116
  options.targetDirectory,
111
117
  'node_modules/@pega/constellation-dx-components-build-utils'
112
118
  );
113
119
 
120
+ if (!fs.existsSync(options.componentLibraryUtilsDirectory)){
121
+ fs.mkdirSync(options.componentLibraryUtilsDirectory, { recursive: true });
122
+ };
123
+
114
124
  const installDependenciesText = `Installing dependencies. This will take a couple of minutes.`;
115
125
 
116
126
  const tasks = new Listr(
@@ -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": "~0.25.49-TEST-0.4",
110
+ "@pega/custom-dx-components": "~0.25.49-TEST-0.5",
111
111
  "@pega/pcore-pconnect-typedefs": "^4.1.0-alpha.1",
112
112
  "@storybook/addon-actions": "^8.6.14",
113
113
  "@storybook/addon-essentials": "^8.6.14",