Skip to content

Commit bf3978b

Browse files
committed
chore: Update to publish explicitly with npm
Signed-off-by: Roger Barker <[email protected]>
1 parent ff76d42 commit bf3978b

File tree

8 files changed

+18
-20
lines changed

8 files changed

+18
-20
lines changed

.github/workflows/publish_release.yaml

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -463,12 +463,12 @@ jobs:
463463
HG_SDK_PKG_NAME="${{ env.HASHGRAPH_SDK_PKG_NAME }}-${{ needs.validate-release.outputs.sdk-version }}.tgz"
464464
465465
echo "::group::Expected Package Names"
466-
echo "hl-proto-pkg-name=$(clean_pkg_name ${HL_PROTO_PKG_NAME/#@/})" | tee -a "${GITHUB_OUTPUT}"
467-
echo "hl-crypto-pkg-name=$(clean_pkg_name ${HL_CRYPTO_PKG_NAME/#@/})" | tee -a "${GITHUB_OUTPUT}"
468-
echo "hl-sdk-pkg-name=$(clean_pkg_name ${HL_SDK_PKG_NAME/#@/})" | tee -a "${GITHUB_OUTPUT}"
469-
echo "hg-proto-pkg-name=$(clean_pkg_name ${HG_PROTO_PKG_NAME/#@/})" | tee -a "${GITHUB_OUTPUT}"
470-
echo "hg-crypto-pkg-name=$(clean_pkg_name ${HG_CRYPTO_PKG_NAME/#@/})" | tee -a "${GITHUB_OUTPUT}"
471-
echo "hg-sdk-pkg-name=$(clean_pkg_name ${HG_SDK_PKG_NAME/#@/})" | tee -a "${GITHUB_OUTPUT}"
466+
echo "hl-proto-pkg-name=$(clean_pkg_name ${HL_PROTO_PKG_NAME})" | tee -a "${GITHUB_OUTPUT}"
467+
echo "hl-crypto-pkg-name=$(clean_pkg_name ${HL_CRYPTO_PKG_NAME})" | tee -a "${GITHUB_OUTPUT}"
468+
echo "hl-sdk-pkg-name=$(clean_pkg_name ${HL_SDK_PKG_NAME})" | tee -a "${GITHUB_OUTPUT}"
469+
echo "hg-proto-pkg-name=$(clean_pkg_name ${HG_PROTO_PKG_NAME})" | tee -a "${GITHUB_OUTPUT}"
470+
echo "hg-crypto-pkg-name=$(clean_pkg_name ${HG_CRYPTO_PKG_NAME})" | tee -a "${GITHUB_OUTPUT}"
471+
echo "hg-sdk-pkg-name=$(clean_pkg_name ${HG_SDK_PKG_NAME})" | tee -a "${GITHUB_OUTPUT}"
472472
echo "::endgroup::"
473473
474474
- name: Build Proto Release Package (${{ env.HIERO_PROTO_PKG_NAME }})
@@ -620,18 +620,16 @@ jobs:
620620
with:
621621
version: 3.35.1
622622

623-
- name: Install PNPM
624-
uses: step-security/action-setup@3d419c73e38e670dbffe349ffff26dd13c164640 # v4.2.0
625-
with:
626-
version: 10.24.0
627-
628623
- name: Setup Node
629624
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
630625
with:
631626
node-version: 22
632-
cache: pnpm
627+
cache: npm
633628
registry-url: 'https://registry.npmjs.org'
634629

630+
- name: Install NPM latest
631+
run: npm install -g [email protected]
632+
635633
# Publish proto artifacts
636634
- name: Download HL Proto Package Artifact
637635
if: ${{ needs.validate-release.outputs.hiero-proto-publish-required == 'true' }}

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
# 2.79.0-beta.8
8+
# 2.79.0-beta.10
99

1010
### Added
1111

@@ -44,7 +44,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4444

4545
### Fixed
4646

47-
- Restored backward compatibility for custom network configurations in the web environment that inc9ude a URL scheme (e.g., https://node00.swirldslabs.com:443). The SDK now normalizes these endpoints internally to the expected host:port format to prevent breaking existing integrations. A deprecation warning is logged to encourage migration to the correct format.[#3480](https://github.com/hiero-ledger/hiero-sdk-js/pull/3480)
47+
- Restored backward compatibility for custom network configurations in the web environment that include a URL scheme (e.g., https://node00.swirldslabs.com:443). The SDK now normalizes these endpoints internally to the expected host:port format to prevent breaking existing integrations. A deprecation warning is logged to encourage migration to the correct format.[#3480](https://github.com/hiero-ledger/hiero-sdk-js/pull/3480)
4848

4949
### Deprecated
5050

Taskfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,4 +204,4 @@ tasks:
204204

205205
"publish":
206206
cmds:
207-
- pnpm publish {{.TARBALL}} {{.CLI_ARGS}}
207+
- npm publish {{.TARBALL}} {{.CLI_ARGS}}

common_js_test/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"author": "",
1010
"license": "ISC",
1111
"dependencies": {
12-
"@hiero-ledger/sdk": "2.79.0-beta.9",
12+
"@hiero-ledger/sdk": "2.79.0-beta.10",
1313
"chai": "4.3.6",
1414
"mocha": "10.6.0"
1515
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hiero-ledger/sdk",
3-
"version": "2.79.0-beta.9",
3+
"version": "2.79.0-beta.10",
44
"description": "Hiero SDK",
55
"types": "./lib/index.d.ts",
66
"main": "./lib/index.cjs",

packages/cryptography/Taskfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,4 +101,4 @@ tasks:
101101

102102
publish:
103103
cmds:
104-
- pnpm publish {{.TARBALL}} {{.CLI_ARGS}}
104+
- npm publish {{.TARBALL}} {{.CLI_ARGS}}

packages/proto/Taskfile.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,4 +150,4 @@ tasks:
150150

151151
publish:
152152
cmds:
153-
- pnpm publish {{.TARBALL}} {{.CLI_ARGS}}
153+
- npm publish {{.TARBALL}} {{.CLI_ARGS}}

tck/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"author": "",
1212
"license": "ISC",
1313
"dependencies": {
14-
"@hiero-ledger/sdk": "2.79.0-beta.9",
14+
"@hiero-ledger/sdk": "2.79.0-beta.10",
1515
"ansi-regex": "6.2.2",
1616
"ansi-styles": "6.2.3",
1717
"body-parser": "1.20.3",

0 commit comments

Comments
 (0)