diff --git a/.github/workflows/publish-package-snapshot.yaml b/.github/workflows/publish-package-snapshot.yaml deleted file mode 100644 index fb1cf46..0000000 --- a/.github/workflows/publish-package-snapshot.yaml +++ /dev/null @@ -1,52 +0,0 @@ -name: Publish package snapshot - -# This workflow can be triggered from the UI -on: - workflow_dispatch: - -concurrency: ${{ github.workflow }}-${{ github.ref }} - -env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - -jobs: - publish: - name: Publish - runs-on: ubuntu-latest - steps: - - name: Checkout Repo - uses: actions/checkout@v3 - - - name: Setup Node.js 16.x - uses: actions/setup-node@v3 - with: - node-version-file: ".nvmrc" - registry: "https://registry.npmjs.org" - always-auth: true - scope: "@layerzerolabs" - cache: "yarn" - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - - name: Install Dependencies - id: install - run: yarn install --frozen-lockfile --prefer-offline - - - name: Build package - id: build - run: yarn build - - # Without setting up a github credentials, lerna will freak out when running lerna version - # - # We also can't skip the git commit because the publish step would freak out on uncommited changes in the repo - - name: Setup version commit github account - run: git config --global user.email "commitbot@layerzerolabs.org" && git config --global user.name "Commit Bot" - - # Now we create a snapshot version (git commit and tag are also created) - - name: Create snapshot versions - run: yarn lerna version prerelease --preid dev-${{ github.sha }} --allow-branch ${{ github.ref_name }} --yes --no-push - - - name: Publish snapshot versions - # We'll publish the version under dev tag - # This is important since we don't want to be publishing under latest - run: yarn lerna publish from-package --pre-dist-tag dev --no-verify-access --yes diff --git a/.github/workflows/publish-packages.yaml b/.github/workflows/publish-packages.yaml deleted file mode 100644 index b95977d..0000000 --- a/.github/workflows/publish-packages.yaml +++ /dev/null @@ -1,40 +0,0 @@ -name: Publish packages - -on: - push: - branches: - - main - - "release/*" - -concurrency: ${{ github.workflow }}-${{ github.ref }} - -env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - -jobs: - publish: - name: Publish - runs-on: ubuntu-latest - steps: - - name: Checkout Repo - uses: actions/checkout@v3 - - - name: Setup Node.js 16.x - uses: actions/setup-node@v3 - with: - node-version-file: ".nvmrc" - cache: "yarn" - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - - name: Install Dependencies - id: install - run: yarn install --frozen-lockfile --prefer-offline - - - name: Build packages - id: build - run: yarn build - - - name: Publish packages - id: publish - run: yarn lerna publish from-package --yes diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml deleted file mode 100644 index cb9f07b..0000000 --- a/.github/workflows/test.yaml +++ /dev/null @@ -1,43 +0,0 @@ -name: Run smoke tests - -on: pull_request - -concurrency: - group: ${{ github.workflow }}-${{ github.ref }} - cancel-in-progress: true - -env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - -jobs: - build: - name: Build and test - runs-on: ubuntu-latest - steps: - - name: Checkout Repo - uses: actions/checkout@v3 - with: - # Since we only want to run tests & build on the affected packages, we'll - # need to use the --since turbo CLI option which requires the whole range - # of commits between the base and the head to be present - # - # In order to do that we'll fetch all the commits from this PR (and add 1 to account for the base) - fetch-depth: $(( ${{ github.event.pull_request.commits }} + 1 )) - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version-file: '.nvmrc' - cache: 'yarn' - - - name: Install Dependencies - id: install - run: yarn install --frozen-lockfile --prefer-offline - - - name: Build - id: build - run: yarn build - - - name: Test - id: test - run: yarn test diff --git a/README.md b/README.md index ffdead3..6882147 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -# Alpha software +# Deprecated -The latest version of the SDK is used in production in the LayerZero Interface, -but it is considered Alpha software and may contain bugs or change significantly between patch versions. -If you have questions about how to use the SDK, please reach out in the `#development` channel of the LayerZero Discord. \ No newline at end of file +[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/) + +The packages in this repository have moved to [LayerZero-Labs/ui-monorepo](https://github.com/LayerZero-Labs/ui-monorepo) and will no longer receive updates here. diff --git a/packages/lz-sdk/README.md b/packages/lz-sdk/README.md new file mode 100644 index 0000000..dcb355d --- /dev/null +++ b/packages/lz-sdk/README.md @@ -0,0 +1,5 @@ +# Deprecated + +[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/) + +This package has moved to [LayerZero-Labs/ui-monorepo](https://github.com/LayerZero-Labs/ui-monorepo/tree/main/packages/lz-sdk) and will no longer receive updates here. diff --git a/packages/sg-sdk/README.md b/packages/sg-sdk/README.md index fd5212d..0c03793 100644 --- a/packages/sg-sdk/README.md +++ b/packages/sg-sdk/README.md @@ -1 +1,5 @@ # Stargate SDK + +[![No Maintenance Intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/) + +This package has moved to [LayerZero-Labs/ui-monorepo](https://github.com/LayerZero-Labs/ui-monorepo/tree/main/packages/sg-sdk) and will no longer receive updates here.