@pega/custom-dx-components 24.2.18 → 24.2.19

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": "24.2.18",
3
+ "version": "24.2.19",
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.2.19",
22
- "@pega/constellation-dx-components-build-utils": "^1.0.1",
22
+ "@pega/constellation-dx-components-build-utils": "^2.0.11",
23
23
  "ajv": "^8.12.0",
24
24
  "ajv-keywords": "^5.1.0",
25
25
  "archiver": "^7.0.1",
@@ -58,7 +58,7 @@
58
58
  "typescript": "~5.3.3",
59
59
  "unarchive": "^1.1.3",
60
60
  "url-loader": "4.1.1",
61
- "webpack": "5.74.0",
61
+ "webpack": "5.101.0",
62
62
  "webpack-cli": "^5.1.4"
63
63
  },
64
64
  "author": "Custom component dev",
@@ -78,9 +78,9 @@
78
78
  "author": "",
79
79
  "license": "Enter License",
80
80
  "dependencies": {
81
- "@pega/cosmos-react-condition-builder": "^7.1.2",
82
- "@pega/cosmos-react-core": "^7.1.2",
83
- "@pega/cosmos-react-work": "^7.1.2",
81
+ "@pega/cosmos-react-condition-builder": "^7.7.0",
82
+ "@pega/cosmos-react-core": "^7.7.0",
83
+ "@pega/cosmos-react-work": "^7.7.0",
84
84
  "@pega/eslint-config": "^0.10.2",
85
85
  "@pega/tsconfig": "^0.15.1",
86
86
  "babel-loader": "^9.1.3",
@@ -101,7 +101,7 @@
101
101
  },
102
102
  "devDependencies": {
103
103
  "@pega/configs": "^0.15.1",
104
- "@pega/custom-dx-components": "~24.2.18",
104
+ "@pega/custom-dx-components": "~24.2.19",
105
105
  "@pega/pcore-pconnect-typedefs": "3.2.1",
106
106
  "@storybook/addon-actions": "^7.6.19",
107
107
  "@storybook/addon-essentials": "^7.6.19",
@@ -87,8 +87,15 @@ addDebugLog("publish", "", "+");
87
87
  // marking as internal, so no questions will be ask
88
88
  options.params.push("internal");
89
89
 
90
- await buildLibrary(options);
91
- await publishLibrary(options);
90
+ try {
91
+ await buildLibrary(options);
92
+ await publishLibrary(options);
93
+ }
94
+ catch (err) {
95
+ console.log(chalk.redBright(err));
96
+ process.exit(1);
97
+ }
98
+
92
99
  }
93
100
 
94
101
  return true;
@@ -193,6 +200,7 @@ addDebugLog("publish", "", "+");
193
200
 
194
201
  await tasks.run().catch(err => {
195
202
  console.log(chalk.bold.red(err.toString()));
203
+ process.exit(1);
196
204
  });
197
205
 
198
206
 
@@ -242,7 +242,7 @@ addDebugLog("publishLibrary", "", "+");
242
242
  {
243
243
  name: 'override',
244
244
  type: 'confirm',
245
- message: `Do you wish to overrite it`,
245
+ message: `Do you wish to overwrite it`,
246
246
  default: false
247
247
  }
248
248
  ];
@@ -277,6 +277,7 @@ addDebugLog("publishLibrary", "END", "-");
277
277
  else {
278
278
  console.log(chalk.bold.redBright(`No library versions named ${libraryName}.`));
279
279
  console.log(chalk.bold.redBright(`You need to build library ${libraryName} first.`));
280
+ process.exit(1);
280
281
  }
281
282
 
282
283