@pega/custom-dx-components 0.25.40 → 0.25.42
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
|
@@ -3,7 +3,9 @@ import chalk from 'chalk';
|
|
|
3
3
|
|
|
4
4
|
import {
|
|
5
5
|
showVersion,
|
|
6
|
+
getLibraryBased,
|
|
6
7
|
getConfigDefaults,
|
|
8
|
+
checkLibraryAndArchives,
|
|
7
9
|
getConfigDevServerPort
|
|
8
10
|
} from '../../util.js';
|
|
9
11
|
|
|
@@ -15,6 +17,16 @@ import {
|
|
|
15
17
|
|
|
16
18
|
|
|
17
19
|
await showVersion();
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
const isLibraryBased = getLibraryBased();
|
|
23
|
+
if (!isLibraryBased) {
|
|
24
|
+
console.log(`Command only supported for ${chalk.bold.green('library mode')} components.`);
|
|
25
|
+
process.exit();
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
await checkLibraryAndArchives();
|
|
29
|
+
|
|
18
30
|
const devPort = await getConfigDevServerPort();
|
|
19
31
|
const confDef = getConfigDefaults();
|
|
20
32
|
|
|
@@ -108,7 +108,7 @@
|
|
|
108
108
|
"@babel/preset-react": "^7.27.1",
|
|
109
109
|
"@babel/preset-typescript": "^7.27.1",
|
|
110
110
|
"@pega/configs": "^0.16.3",
|
|
111
|
-
"@pega/custom-dx-components": "~0.25.
|
|
111
|
+
"@pega/custom-dx-components": "~0.25.42",
|
|
112
112
|
"@pega/pcore-pconnect-typedefs": "^4.1.0-alpha.1",
|
|
113
113
|
"@storybook/addon-actions": "^8.6.14",
|
|
114
114
|
"@storybook/addon-essentials": "^8.6.14",
|
|
@@ -116,7 +116,7 @@ export const showHelpV2 = (isCL) => {
|
|
|
116
116
|
console.log(`${chalk.cyan('npm run startStorybook')}\t\tstorybook components for testing`);
|
|
117
117
|
console.log(`${chalk.cyan('npm run test')}\t\t\trun component unit tests`);
|
|
118
118
|
if (isCL) {
|
|
119
|
-
console.log(`${chalk.cyan('npm run startDevServer')}\t\tdebug runtime with
|
|
119
|
+
console.log(`${chalk.cyan('npm run startDevServer')}\t\tdebug runtime with browser break points using a local component server`);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
122
|
console.log("");
|