@pega/custom-dx-components 0.25.49-TEST-0.5 → 0.25.49-TEST-0.7
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
|
@@ -107,20 +107,12 @@ export default async options => {
|
|
|
107
107
|
'node_modules/@pega/custom-dx-components'
|
|
108
108
|
);
|
|
109
109
|
|
|
110
|
-
if (!fs.existsSync(options.componentDirectory)){
|
|
111
|
-
fs.mkdirSync(options.componentDirectory, { recursive: true });
|
|
112
|
-
};
|
|
113
|
-
|
|
114
110
|
|
|
115
111
|
options.componentLibraryUtilsDirectory = path.join(
|
|
116
112
|
options.targetDirectory,
|
|
117
113
|
'node_modules/@pega/constellation-dx-components-build-utils'
|
|
118
114
|
);
|
|
119
115
|
|
|
120
|
-
if (!fs.existsSync(options.componentLibraryUtilsDirectory)){
|
|
121
|
-
fs.mkdirSync(options.componentLibraryUtilsDirectory, { recursive: true });
|
|
122
|
-
};
|
|
123
|
-
|
|
124
116
|
const installDependenciesText = `Installing dependencies. This will take a couple of minutes.`;
|
|
125
117
|
|
|
126
118
|
const tasks = new Listr(
|
|
@@ -151,20 +143,30 @@ export default async options => {
|
|
|
151
143
|
execa('npm', ['i', '--force', '--no-audit', '--no-fund', '--loglevel=error'], { cwd: options.targetDirectory })
|
|
152
144
|
},
|
|
153
145
|
|
|
146
|
+
/*
|
|
154
147
|
{
|
|
155
148
|
title: 'Installing tasks dependencies',
|
|
156
|
-
task: () =>
|
|
157
|
-
|
|
149
|
+
task: () => {
|
|
150
|
+
if (!fs.existsSync(options.componentDirectory)){
|
|
151
|
+
fs.mkdirSync(options.componentDirectory, { recursive: true });
|
|
152
|
+
};
|
|
153
|
+
execa('npm', ['i', '--force', '--no-audit', '--no-fund', '--loglevel=error'], { cwd: options.componentDirectory });
|
|
154
|
+
}
|
|
155
|
+
|
|
158
156
|
},
|
|
159
157
|
{
|
|
160
158
|
title: 'Installing tasks library dependencies',
|
|
161
|
-
task: () =>
|
|
159
|
+
task: () => {
|
|
160
|
+
if (!fs.existsSync(options.componentLibraryUtilsDirectory)){
|
|
161
|
+
fs.mkdirSync(options.componentLibraryUtilsDirectory, { recursive: true });
|
|
162
|
+
};
|
|
162
163
|
execa('npm', ['i', '--force', '--no-audit', '--no-fund', '--loglevel=error'], {
|
|
163
164
|
cwd: options.componentLibraryUtilsDirectory
|
|
164
|
-
})
|
|
165
|
-
|
|
166
|
-
|
|
165
|
+
});
|
|
166
|
+
}
|
|
167
167
|
|
|
168
|
+
},
|
|
169
|
+
*/
|
|
168
170
|
|
|
169
171
|
{
|
|
170
172
|
title: 'Updating',
|
|
@@ -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.7",
|
|
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",
|