@pega/custom-dx-components 25.1.10-alpha-0.6 → 25.1.10-alpha-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/README.md CHANGED
@@ -14,7 +14,7 @@ Ensure you have access to the following in your system:
14
14
 
15
15
  - System node version >= 22.15.0
16
16
 
17
- - System npm version 10
17
+ - System npm version 10.9.2
18
18
 
19
19
  ## Latest Documentation
20
20
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pega/custom-dx-components",
3
- "version": "25.1.10-alpha-0.6",
3
+ "version": "25.1.10-alpha-0.7",
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.27.1",
20
20
  "@babel/preset-react": "^7.27.1",
21
21
  "@pega/auth": "^0.2.24",
22
- "@pega/constellation-dx-components-build-utils": "^2.0.6",
22
+ "@pega/constellation-dx-components-build-utils": "^2.0.7",
23
23
  "@pega/inquirer-fuzzy-path": "^3.0.0",
24
24
  "ajv": "^8.17.1",
25
25
  "ajv-keywords": "^5.1.0",
@@ -89,6 +89,7 @@ export const Base{{COMPONENT_CLASS_NAME}}: Story = (args: any) => {
89
89
  />
90
90
  );
91
91
  }
92
+ return <></>;
92
93
  },
93
94
  ignoreSuggestion: () => {/* nothing */},
94
95
  acceptSuggestion: () => {/* nothing */},
@@ -14,7 +14,7 @@ Ensure you have access to the following in your system:
14
14
 
15
15
  - System node version >= 22.15.0
16
16
 
17
- - System npm version 10
17
+ - System npm version 10.9.2
18
18
 
19
19
  ## Latest Documentation
20
20
 
@@ -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": "~25.1.10-alpha-0.6",
111
+ "@pega/custom-dx-components": "~25.1.10-alpha-0.7",
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",
@@ -22,7 +22,8 @@ import {
22
22
  getConfigDefaults,
23
23
  getInputConfigForCommand,
24
24
  convertYNToBoolean,
25
- checkForBranch } from '../../util.js';
25
+ checkForBranch,
26
+ applyPegaData } from '../../util.js';
26
27
 
27
28
  import { getPublishComponentQuestions, publishComponentToServer, zipComponent } from './helper.js';
28
29
  import { default as buildLibrary } from '../build-lib/index.js';
@@ -61,9 +62,12 @@ addDebugLog("publish", "", "+");
61
62
  // const currentVersion = devBuild ? `${orgLib.version}-dev`: orgLib.version;
62
63
  const currentVersion = orgLib.buildVersion;
63
64
  const serverConfg = await getPegaServerConfig();
65
+ let configJson = {};
66
+ await applyPegaData(configJson);
64
67
 
65
68
  console.log();
66
69
  console.log(`Publishing to server: ${chalk.green.bold(`${serverConfg.server}`)}`);
70
+ console.log(`Cosmos version: ${chalk.green.bold(`${configJson.packageCosmosVersion}`)}`);
67
71
 
68
72
  if (useInputConfig) {
69
73
  const inputConfig = await getInputConfigForCommand("publish");
@@ -7,7 +7,8 @@ import {
7
7
  getComponents,
8
8
  checkLibraryAndArchives,
9
9
  getPegaServerConfig,
10
- getLibraryBasedCL } from '../../util.js';
10
+ getLibraryBasedCL,
11
+ applyPegaData } from '../../util.js';
11
12
 
12
13
  export const showCurrentStatus = async () => {
13
14
 
@@ -15,7 +16,7 @@ export const showCurrentStatus = async () => {
15
16
  const componentList = await getComponents();
16
17
  const isLibraryBased = getLibraryBased();
17
18
  const isLibraryBasedCL = getLibraryBasedCL();
18
- const pegaServer = await getPegaServerConfig();
19
+ const pegaServer = await getPegaServerConfig(true);
19
20
 
20
21
  console.log("");
21
22
  console.log("\tCurrent status");
@@ -89,6 +89,7 @@ export const BasePegaDxilMyPage: Story = (args: any) => {
89
89
  />
90
90
  );
91
91
  }
92
+ return <></>;
92
93
  },
93
94
  ignoreSuggestion: () => {/* nothing */},
94
95
  acceptSuggestion: () => {/* nothing */},
@@ -89,6 +89,7 @@ export const BasePegaDxilMyPage: Story = (args: any) => {
89
89
  />
90
90
  );
91
91
  }
92
+ return <></>;
92
93
  },
93
94
  ignoreSuggestion: () => {/* nothing */},
94
95
  acceptSuggestion: () => {/* nothing */},
@@ -89,6 +89,7 @@ export const BasePegaDxilMyPage: Story = (args: any) => {
89
89
  />
90
90
  );
91
91
  }
92
+ return <></>;
92
93
  },
93
94
  ignoreSuggestion: () => {/* nothing */},
94
95
  acceptSuggestion: () => {/* nothing */},