From 3791309f8e201e208683bc25e9700238076fd6f3 Mon Sep 17 00:00:00 2001 From: George Date: Wed, 3 Jan 2024 10:21:48 -0800 Subject: [PATCH] Release v1.0.1 (#175) * Fixup npm publication script to properly deprecate the package * Add changelog entry --- .github/workflows/npm_publish.yml | 4 ++-- CHANGELOG.md | 6 ++++++ package.json | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/npm_publish.yml b/.github/workflows/npm_publish.yml index 6ee7469e..a5ffd798 100644 --- a/.github/workflows/npm_publish.yml +++ b/.github/workflows/npm_publish.yml @@ -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 }} diff --git a/CHANGELOG.md b/CHANGELOG.md index beeccfb5..64522df7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,12 @@ **This repository has been deprecated** in favor of the [`stellar-sdk`](https://github.com/stellar/js-stellar-sdk) package. Please read the [migration guide](https://gist.github.com/Shaptic/5ce4f16d9cce7118f391fbde398c2f30) for how to upgrade to that package. Future changes will only be made there. +## v1.0.1 + +### Fixed +* The package is now correctly marked in `npm` as deprecated. + + ## v1.0.0 ### Breaking Changes diff --git a/package.json b/package.json index b5d819a0..4219709d 100644 --- a/package.json +++ b/package.json @@ -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 ", "homepage": "https://github.com/stellar/js-soroban-client", @@ -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",