@elliemae/pui-cli 8.54.12 → 8.55.5

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
@@ -1,8 +1,8 @@
1
1
  # Command Line Interface for UI Applications & Libraries
2
2
 
3
- [![Build Status](https://jenkins.dco.elmae/job/UIPlatform/job/Dev/job/pui-cli/job/master/badge/icon)](https://jenkins.dco.elmae/job/UIPlatform/job/Dev/job/pui-cli/job/master/)
3
+ [Build Job](https://jenkinsbuild.elliemae.cloud/job/UIPlatform/job/pui-cli/job/master)
4
4
 
5
- [SonarQube Report](https://sonar.ellielabs.com/overview?id=elliemae.pui.cli-master)
5
+ [SonarQube Report](https://sonarqube.jenkins.elliemae.cloud/overview?id=elliemae.pui.cli-master)
6
6
 
7
7
  ## Features
8
8
 
@@ -22,7 +22,7 @@
22
22
 
23
23
  ### v7 to v8
24
24
 
25
- [Changelog](https://confluence.elliemae.io/display/FEAE/CLI+ChangeLog#CLIChangeLog-v8)
25
+ [Changelog](https://confluence.ice.com/display/FEAE/CLI+ChangeLog#CLIChangeLog-v8)
26
26
 
27
27
  ### v6 to v7
28
28
 
package/dist/cjs/cli.js CHANGED
File without changes
@@ -1,4 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
- "sideEffects": false
3
+ "sideEffects": false,
4
+ "publishConfig": {
5
+ "access": "public"
6
+ }
4
7
  }
@@ -21,6 +21,7 @@ module.exports = {
21
21
  },
22
22
  ],
23
23
  '@semantic-release/npm',
24
+ './semantic-release-plugin.cjs',
24
25
  '@semantic-release/github',
25
26
  ],
26
27
  };
@@ -0,0 +1,35 @@
1
+ const fs = require('fs');
2
+ const path = require('path');
3
+
4
+ /**
5
+ * Semantic Release plugin to write publish info and set dist tag
6
+ * @see https://semantic-release.gitbook.io/semantic-release/developer-guide/plugin
7
+ */
8
+ module.exports = {
9
+ success: async (pluginConfig, context) => {
10
+ const { nextRelease, logger } = context;
11
+
12
+ // Debug: log what we receive
13
+ logger?.log?.('Plugin context keys:', Object.keys(context));
14
+ logger?.log?.('nextRelease:', nextRelease ? 'present' : 'undefined');
15
+
16
+ if (!nextRelease) {
17
+ logger?.log?.('No release information available');
18
+ return;
19
+ }
20
+
21
+ const distTag = nextRelease.channel || 'latest';
22
+ const fname = path.join(process.cwd(), 'publish-info.json');
23
+
24
+ try {
25
+ fs.writeFileSync(fname, JSON.stringify(nextRelease, null, 2));
26
+ logger?.log?.(`Wrote publish info to ${fname}`);
27
+ logger?.log?.(`Distribution tag set to: ${distTag}`);
28
+ } catch (error) {
29
+ logger?.error?.(`Failed to write publish info: ${error.message}`);
30
+ throw error;
31
+ }
32
+
33
+ process.env.DIST_TAG = distTag;
34
+ },
35
+ };
@@ -1,4 +1,7 @@
1
1
  {
2
2
  "type": "module",
3
- "sideEffects": false
3
+ "sideEffects": false,
4
+ "publishConfig": {
5
+ "access": "public"
6
+ }
4
7
  }
@@ -21,6 +21,7 @@ module.exports = {
21
21
  },
22
22
  ],
23
23
  '@semantic-release/npm',
24
+ './semantic-release-plugin.cjs',
24
25
  '@semantic-release/github',
25
26
  ],
26
27
  };
@@ -0,0 +1,35 @@
1
+ const fs = require('fs');
2
+ const path = require('path');
3
+
4
+ /**
5
+ * Semantic Release plugin to write publish info and set dist tag
6
+ * @see https://semantic-release.gitbook.io/semantic-release/developer-guide/plugin
7
+ */
8
+ module.exports = {
9
+ success: async (pluginConfig, context) => {
10
+ const { nextRelease, logger } = context;
11
+
12
+ // Debug: log what we receive
13
+ logger?.log?.('Plugin context keys:', Object.keys(context));
14
+ logger?.log?.('nextRelease:', nextRelease ? 'present' : 'undefined');
15
+
16
+ if (!nextRelease) {
17
+ logger?.log?.('No release information available');
18
+ return;
19
+ }
20
+
21
+ const distTag = nextRelease.channel || 'latest';
22
+ const fname = path.join(process.cwd(), 'publish-info.json');
23
+
24
+ try {
25
+ fs.writeFileSync(fname, JSON.stringify(nextRelease, null, 2));
26
+ logger?.log?.(`Wrote publish info to ${fname}`);
27
+ logger?.log?.(`Distribution tag set to: ${distTag}`);
28
+ } catch (error) {
29
+ logger?.error?.(`Failed to write publish info: ${error.message}`);
30
+ throw error;
31
+ }
32
+
33
+ process.env.DIST_TAG = distTag;
34
+ },
35
+ };
@@ -0,0 +1 @@
1
+ export function success(pluginConfig: any, context: any): Promise<void>;