Skip to content

Commit

Permalink
Merge 67c2c10 into d464697
Browse files Browse the repository at this point in the history
  • Loading branch information
curtis-h committed Jul 5, 2024
2 parents d464697 + 67c2c10 commit 8ba7c95
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@goncalo-frade-iohk @yshyn-iohk @elribonazo @hamada147 @curtis-h @cristianIOHK
@goncalo-frade-iohk @yshyn-iohk @elribonazo @curtis-h @cristianIOHK

# Test related:
/tests/ @amagyar-iohk @todorkoleviohk @curtis-h @elribonazo
Expand Down
15 changes: 3 additions & 12 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@ jobs:
fetch-depth: 0
submodules: 'true'

- name: Setup Node.js for @input-output-hk
uses: actions/setup-node@v3
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
node-version: "lts/*"
registry-url: https://npm.pkg.github.com/
scope: "@input-output-hk"

- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
Expand All @@ -72,21 +63,21 @@ jobs:
run: |
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- name: Setup Node.js for @hyperledger-labs
- name: Setup Node.js for @hyperledger
uses: actions/setup-node@v3
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
node-version: "lts/*"
registry-url: https://npm.pkg.github.com/
scope: "@hyperledger-labs"
scope: "@hyperledger"

- name: Pack sdk
run: |
npm install
npm run build
npm pack
echo "PACKAGE_NAME=$(find . -maxdepth 1 -name atala-prism-wallet-sdk-* | tr -d '\n')" >> "$GITHUB_ENV"
echo "PACKAGE_NAME=$(find . -maxdepth 1 -name hyperledger-identus-edge-agent-sdk* | tr -d '\n')" >> "$GITHUB_ENV"
- name: Install local dependency
working-directory: integration-tests/e2e-tests
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:

- name: Release
env:
NODE_AUTH_TOKEN: ${{ secrets.ATALA_NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
GIT_AUTHOR_EMAIL: ${{ steps.import_gpg.outputs.email }}
GIT_COMMITTER_EMAIL: ${{ steps.import_gpg.outputs.email }}
Expand All @@ -62,4 +62,4 @@ jobs:
npx semantic-release -e ./release-dev.config.js
else
npx semantic-release -e ./release-prod.config.js
fi
fi
2 changes: 1 addition & 1 deletion integration-tests/e2e-tests/run-local-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ npm install
npm run build
npm pack

PACKAGE_NAME=$(find . -maxdepth 1 -name atala-prism-wallet-sdk-* | tr -d '\n')
PACKAGE_NAME=$(find . -maxdepth 1 -name hyperledger-identus-edge-agent-sdk* | tr -d '\n')
echo "Generated package: $PACKAGE_NAME"

# e2e
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@atala/prism-wallet-sdk",
"name": "@hyperledger/identus-edge-agent-sdk",
"version": "3.1.0",
"description": "Identus SDK - Typescript",
"main": "./index.cjs",
Expand Down Expand Up @@ -49,7 +49,7 @@
"author": "IOHK",
"repository": {
"type": "git",
"url": "https://github.com/input-output-hk/atala-prism-wallet-sdk-ts.git"
"url": "https://github.com/hyperledger/identus-edge-agent-sdk-ts.git"
},
"license": "Apache-2.0",
"peerDependenciesMeta": {
Expand Down Expand Up @@ -229,4 +229,4 @@
"overrides": {
"ws": "^8.17.1"
}
}
}
3 changes: 1 addition & 2 deletions publish.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ npm run build
npm run docs

# Gets the published versions in the registry
published_versions=$(echo "$(npm view @atala/prism-wallet-sdk versions)" | tr -d " '")
published_versions=$(echo "$(npm view @hyperledger/identus-edge-agent-sdk versions)" | tr -d " '")

# Checks if it's been already published to npmjs
if [[ $published_versions == *$release_version* ]]; then
Expand All @@ -28,4 +28,3 @@ if [[ $published_versions == *$release_version* ]]; then
else
npm publish --access public
fi

0 comments on commit 8ba7c95

Please sign in to comment.