@pega/custom-dx-components 0.25.49-TEST-0.4 → 0.25.49-TEST-0.6
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
package/src/tasks/init/index.js
CHANGED
|
@@ -106,6 +106,8 @@ export default async options => {
|
|
|
106
106
|
options.targetDirectory,
|
|
107
107
|
'node_modules/@pega/custom-dx-components'
|
|
108
108
|
);
|
|
109
|
+
|
|
110
|
+
|
|
109
111
|
options.componentLibraryUtilsDirectory = path.join(
|
|
110
112
|
options.targetDirectory,
|
|
111
113
|
'node_modules/@pega/constellation-dx-components-build-utils'
|
|
@@ -143,15 +145,25 @@ export default async options => {
|
|
|
143
145
|
|
|
144
146
|
{
|
|
145
147
|
title: 'Installing tasks dependencies',
|
|
146
|
-
task: () =>
|
|
147
|
-
|
|
148
|
+
task: () => {
|
|
149
|
+
if (!fs.existsSync(options.componentDirectory)){
|
|
150
|
+
fs.mkdirSync(options.componentDirectory, { recursive: true });
|
|
151
|
+
};
|
|
152
|
+
execa('npm', ['i', '--force', '--no-audit', '--no-fund', '--loglevel=error'], { cwd: options.componentDirectory });
|
|
153
|
+
}
|
|
154
|
+
|
|
148
155
|
},
|
|
149
156
|
{
|
|
150
157
|
title: 'Installing tasks library dependencies',
|
|
151
|
-
task: () =>
|
|
158
|
+
task: () => {
|
|
159
|
+
if (!fs.existsSync(options.componentLibraryUtilsDirectory)){
|
|
160
|
+
fs.mkdirSync(options.componentLibraryUtilsDirectory, { recursive: true });
|
|
161
|
+
};
|
|
152
162
|
execa('npm', ['i', '--force', '--no-audit', '--no-fund', '--loglevel=error'], {
|
|
153
163
|
cwd: options.componentLibraryUtilsDirectory
|
|
154
|
-
})
|
|
164
|
+
});
|
|
165
|
+
}
|
|
166
|
+
|
|
155
167
|
},
|
|
156
168
|
|
|
157
169
|
|
|
@@ -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.
|
|
110
|
+
"@pega/custom-dx-components": "~0.25.49-TEST-0.6",
|
|
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",
|