@pega/custom-dx-components 0.25.49-TEST-0.3 → 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.3",
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(
@@ -144,12 +154,12 @@ export default async options => {
144
154
  {
145
155
  title: 'Installing tasks dependencies',
146
156
  task: () =>
147
- execa('npm', ['i', '--force', '--production=false'], { cwd: options.componentDirectory })
157
+ execa('npm', ['i', '--force', '--no-audit', '--no-fund', '--loglevel=error'], { cwd: options.componentDirectory })
148
158
  },
149
159
  {
150
160
  title: 'Installing tasks library dependencies',
151
161
  task: () =>
152
- execa('npm', ['i', '--force', '--production=false'], {
162
+ execa('npm', ['i', '--force', '--no-audit', '--no-fund', '--loglevel=error'], {
153
163
  cwd: options.componentLibraryUtilsDirectory
154
164
  })
155
165
  },
@@ -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.3",
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",