This pull request includes several updates to the GitHub workflows, package versions, and configuration files. The most important changes include updating the Node.js version, adding security hardening steps, and removing dependencies for the hashconnect package.
Workflow Updates:
.github/workflows/all.publish.yml: Updated Node.js version from 18.x to 20.x and added a step to harden the runner using step-security/harden-runner.
backend/package.json, backend/package-lock.json: Updated version from 1.24.0 to 1.25.0 and modified test scripts to use npx jest. [1][2]
cli/package.json, cli/package-lock.json: Updated version from 1.24.0 to 1.25.0, added cross-env and shx dependencies, and updated the postbuild script. [1][2][3][4]
contracts/package.json, contracts/package-lock.json: Updated version from 1.24.0 to 1.25.0. [1][2]
Configuration and Dependency Management:
hashconnect/lib/.editorconfig, hashconnect/lib/.eslintrc.js, hashconnect/lib/.gitignore, hashconnect/lib/.gitlab-ci.yml, hashconnect/lib/.npmignore: Removed configuration files for the hashconnect package. [1][2][3][4][5]
Description:
This pull request includes several updates to the GitHub workflows, package versions, and configuration files. The most important changes include updating the Node.js version, adding security hardening steps, and removing dependencies for the
hashconnect
package.Workflow Updates:
.github/workflows/all.publish.yml
: Updated Node.js version from18.x
to20.x
and added a step to harden the runner usingstep-security/harden-runner
..github/workflows/all.testWithRpc.yml
: Changed the runner totoken-studio-linux-medium
, added a Docker installation step, and updated the Node.js version to20.x
. [1] [2]Package Version Updates:
backend/package.json
,backend/package-lock.json
: Updated version from1.24.0
to1.25.0
and modified test scripts to usenpx jest
. [1] [2]cli/package.json
,cli/package-lock.json
: Updated version from1.24.0
to1.25.0
, addedcross-env
andshx
dependencies, and updated thepostbuild
script. [1] [2] [3] [4]contracts/package.json
,contracts/package-lock.json
: Updated version from1.24.0
to1.25.0
. [1] [2]Configuration and Dependency Management:
hashconnect/lib/.editorconfig
,hashconnect/lib/.eslintrc.js
,hashconnect/lib/.gitignore
,hashconnect/lib/.gitlab-ci.yml
,hashconnect/lib/.npmignore
: Removed configuration files for thehashconnect
package. [1] [2] [3] [4] [5]Testing and Mocking:
cli/__mocks__/hedera-wallet-connect.js
: Added a mock file forhedera-wallet-connect
.cli/jest.config.js
: Updated Jest configuration to use the new mock file. Related issue(s):Checklist