Skip to content

Commit

Permalink
Fixup npm publication script to properly deprecate the package
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaptic committed Jan 3, 2024
1 parent cbf1542 commit e7a0a32
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/npm_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- name: Publish npm package
run: |
yarn publish
npm deprecate soroban-client@latest \
"⚠️ This package is now deprecated: transition to `stellar-sdk@beta`, instead! 🚚 All future updates and bug fixes will happen there. Please refer to the migration guide for details on porting your codebase: https://github.com/stellar/js-soroban-client/tree/main/docs/migration.md"
npm deprecate soroban-client@"<= 1.0.1" \
"⚠️ This package is now deprecated: transition to @stellar/stellar-sdk@latest, instead! 🚚 All future updates and bug fixes will happen there. Please refer to the migration guide for details on porting your codebase: https://github.com/stellar/js-soroban-client/tree/main/docs/migration.md"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "soroban-client",
"version": "1.0.0",
"version": "1.0.1",
"description": "A library for working with Stellar's Soroban RPC servers.",
"author": "Stellar Development Foundation <[email protected]>",
"homepage": "https://github.com/stellar/js-soroban-client",
Expand All @@ -17,7 +17,7 @@
"soroban"
],
"main": "./lib/index.js",
"browser": "./dist/soroban-client.js",
"browser": "./dist/soroban-client.min.js",
"types": "./lib/index.d.ts",
"files": [
"/types",
Expand Down

0 comments on commit e7a0a32

Please sign in to comment.