@pega/custom-dx-components 0.242.19 → 0.242.20
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.
|
|
3
|
+
"version": "0.242.20",
|
|
4
4
|
"description": "Utility for building custom UI components",
|
|
5
5
|
"bin": "./bin/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"@babel/plugin-transform-class-properties": "^7.23.3",
|
|
20
20
|
"@babel/preset-react": "^7.23.3",
|
|
21
21
|
"@pega/auth": "^0.1.6",
|
|
22
|
-
"@pega/constellation-dx-components-build-utils": "^1.0.1-dev-0.
|
|
22
|
+
"@pega/constellation-dx-components-build-utils": "^1.0.1-dev-0.16",
|
|
23
23
|
"ajv": "^8.12.0",
|
|
24
24
|
"ajv-keywords": "^5.1.0",
|
|
25
25
|
"archiver": "^7.0.1",
|
|
@@ -140,9 +140,25 @@ export const deleteServerComponents = async (sourceOfComponents, answers) => {
|
|
|
140
140
|
({library, organization} = lpAnswers);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
143
|
+
let spinner;
|
|
144
|
+
let data;
|
|
145
|
+
try {
|
|
146
|
+
spinner = ora('Fetching components from server').start();
|
|
147
|
+
data = await getComponentsFromServer(library, organization);
|
|
148
|
+
spinner.stop();
|
|
149
|
+
}
|
|
150
|
+
catch (error) {
|
|
151
|
+
spinner.stop();
|
|
152
|
+
if (error.indexOf("ECONNREFUSED") >= 0) {
|
|
153
|
+
console.log(`\n${chalk.bold.red('Error occurred in authentication. Please regenerate using authenticate')}`);
|
|
154
|
+
}
|
|
155
|
+
else {
|
|
156
|
+
console.log(`${chalk.bold.red(error)}`);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
// spinner.stop();
|
|
160
|
+
process.exit(1);
|
|
161
|
+
}
|
|
146
162
|
|
|
147
163
|
|
|
148
164
|
let serverComponents;
|
|
@@ -10,23 +10,24 @@
|
|
|
10
10
|
"authenticate": "custom-dx-components authenticate",
|
|
11
11
|
"buildComponent": "custom-dx-components buildComponent",
|
|
12
12
|
"buildAllComponents": "custom-dx-components buildAllComponents",
|
|
13
|
-
"buildLibrary": "custom-dx-components buildLibrary",
|
|
14
13
|
"create": "custom-dx-components create",
|
|
15
14
|
"createAll": "custom-dx-components createAll",
|
|
16
15
|
"publish": "custom-dx-components publish",
|
|
17
16
|
"publishAll": "custom-dx-components publishAll",
|
|
18
|
-
"publishLibrary": "custom-dx-components publishLibrary",
|
|
19
17
|
"rename": "custom-dx-components rename",
|
|
20
|
-
"renameLibrary": "custom-dx-components renameLibrary",
|
|
21
18
|
"list": "custom-dx-components list",
|
|
22
|
-
"listLibrary": "custom-dx-components listLibrary",
|
|
23
19
|
"validate-schema": "custom-dx-components validateSchema",
|
|
24
20
|
"update": "custom-dx-components update",
|
|
25
21
|
"delete": "custom-dx-components delete",
|
|
26
22
|
"deleteAll": "custom-dx-components deleteAll",
|
|
27
|
-
"deleteLibrary": "custom-dx-components deleteLibrary",
|
|
28
23
|
"promoteWebPack": "custom-dx-components promoteWebPack",
|
|
29
24
|
"revertWebPack": "custom-dx-components revertWebPack",
|
|
25
|
+
"_library_comments": "library based commands",
|
|
26
|
+
"buildLibrary": "custom-dx-components buildLibrary",
|
|
27
|
+
"publishLibrary": "custom-dx-components publishLibrary",
|
|
28
|
+
"renameLibrary": "custom-dx-components renameLibrary",
|
|
29
|
+
"listLibrary": "custom-dx-components listLibrary",
|
|
30
|
+
"deleteLibrary": "custom-dx-components deleteLibrary",
|
|
30
31
|
"_internal-test-coverage": "node --input-type=module --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand node_modules/@pega/custom-dx-component --ci --testResultsProcessor='jest-junit' --coverage",
|
|
31
32
|
"_internal-test": "echo 'Running functional and unit tests will DELETE existing local components, proceed (y/n)?' && read proceed && if test \"$proceed\" = \"y\"; then npm run _internal-test-full; fi ",
|
|
32
33
|
"_internal-test-full": "npm run _internal-test-functional && npm run _internal-test-unit",
|
|
@@ -80,7 +81,7 @@
|
|
|
80
81
|
},
|
|
81
82
|
"devDependencies": {
|
|
82
83
|
"@pega/configs": "^0.6.0",
|
|
83
|
-
"@pega/custom-dx-components": "0.242.
|
|
84
|
+
"@pega/custom-dx-components": "0.242.20",
|
|
84
85
|
"@pega/pcore-pconnect-typedefs": "~3.0.0",
|
|
85
86
|
"@storybook/addon-actions": "^7.6.7",
|
|
86
87
|
"@storybook/addon-essentials": "^7.6.19",
|