diff --git a/.changeset/README.md b/.changeset/README.md deleted file mode 100644 index a706b1bf..00000000 --- a/.changeset/README.md +++ /dev/null @@ -1,73 +0,0 @@ -### Package update - -Run the following command to update the package: - -```bash -yarn changeset -``` - -Then follow the instructions in the terminal: - -```bash -🦋 What kind of change is this for logos? (current version is x.x.x) -❯ patch - minor - major -``` - -```bash -🦋 Please enter a summary for this change (this will be in the changelogs). -🦋 (submit empty line to open external editor) -🦋 Summary › [CHANGES] -``` - -After that, you will be asked to confirm the changeset: - -```bash -🦋 Summary › [CHANGES] -🦋 -🦋 === Summary of changesets === -🦋 patch: logos -🦋 -🦋 Is this your desired changeset? (Y/n) › true -``` - -If you confirm, the changeset will be created and you will be asked to publish it: - -```bash -🦋 Changeset added! - you can now commit it -🦋 -🦋 If you want to modify or expand on the changeset summary, you can find it here -🦋 info .changeset/[MD_FILE] -✨ Done. -``` - -Commit the changeset and push it to the repository: - -```bash -git add . -git commit -m "chore: update logos" -git push -``` - -Merge the changeset to the main branch: - -```bash -git checkout main -git merge [BRANCH_NAME] -git push -``` - -To publish the package, merge main to the `production` branch: - -```bash -git checkout production -git merge main -git push -``` - -Changeset will raise a PR to the `production` branch. After the PR is merged, the package will be published to npm. - -Following the publish `changeset` will update the `CHANGELOG.md` and `package.json` files in `production` branch. - -Merge the `production` branch to the `main` branch to keep the `main` branch up to date. diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index 46118f8d..8be94aa8 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -62,4 +62,12 @@ jobs: commit: "ci: release logos package" title: "ci: release logos package" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Merge main to production + if: steps.changesets.outputs.published == 'true' + uses: devmasx/merge-branch@master + with: + type: now + from_branch: main + target_branch: production + github_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ea58e15..4daa93e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # @api3/logos +## 2.8.5 + +### Patch Changes + +- 8c45d99: # What's Changed + Release created by the release script. + Logos updated. + ## 2.8.4 ### Patch Changes diff --git a/package.json b/package.json index 1c16472a..8e90c082 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@phase21/logos", - "version": "2.8.4", + "version": "2.8.5", "license": "MIT", "sideEffects": false, "scripts": { @@ -23,7 +23,7 @@ "@changesets/changelog-github": "^0.5.0", "@changesets/cli": "^2.27.1", "@phase21/api-integrations": "^1.1.0", - "@phase21/chains": "^4.6.1", + "@phase21/chains": "^4.7.0", "dropbox": "^10.34.0", "node-fetch": "^2.7.0", "dotenv": "^16.4.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fa435e51..d332d02f 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,8 +28,8 @@ importers: specifier: ^1.1.0 version: 1.1.0(eslint@8.56.0)(jest@27.5.1)(typescript@5.3.3) '@phase21/chains': - specifier: ^4.6.1 - version: 4.6.1(typescript@5.3.3) + specifier: ^4.7.0 + version: 4.7.0(typescript@5.3.3) dotenv: specifier: ^16.4.1 version: 16.4.1 @@ -67,8 +67,8 @@ importers: specifier: ^1.1.0 version: 1.1.0(eslint@8.56.0)(jest@27.5.1)(typescript@5.3.3) '@phase21/chains': - specifier: ^4.6.1 - version: 4.6.1(typescript@5.3.3) + specifier: ^4.7.0 + version: 4.7.0(typescript@5.3.3) '@phase21/logos': specifier: workspace:* version: link:.. @@ -4897,8 +4897,8 @@ packages: - utf-8-validate dev: true - /@phase21/chains@4.6.1(typescript@5.3.3): - resolution: {integrity: sha512-+rLVQMG7Z0x48JwyP35/X9Rv2eJq4TTf+q+5MXun5Qxqrvg3glyEEW7gUXdZncRE9tLsK8RQ1OJxN7Y+sezprg==} + /@phase21/chains@4.7.0(typescript@5.3.3): + resolution: {integrity: sha512-4a6I9UCHe9sdL1zcdUZ4Y0E8TmrPEyhkqAsuyxbgUOAOKFoH0CkQItFSkFKbsPMh7iei6sj0RwM01WCFAapuXg==} dependencies: viem: 2.7.3(typescript@5.3.3)(zod@3.22.4) zod: 3.22.4 diff --git a/raw/chains/Chain736160594.svg b/raw/chains/Chain736160594.svg index ff09b0fd..efa500ec 100644 --- a/raw/chains/Chain736160594.svg +++ b/raw/chains/Chain736160594.svg @@ -1 +1,5 @@ - \ No newline at end of file + + + + + diff --git a/raw/chains/Chain84532.svg b/raw/chains/Chain84532.svg new file mode 100644 index 00000000..87e00ac2 --- /dev/null +++ b/raw/chains/Chain84532.svg @@ -0,0 +1,4 @@ + + + + diff --git a/viewer/package.json b/viewer/package.json index 505d4b2a..8c703e02 100644 --- a/viewer/package.json +++ b/viewer/package.json @@ -4,7 +4,7 @@ "homepage": "https://api3dao.github.io/logos/", "private": true, "devDependencies": { - "@phase21/chains": "^4.6.1", + "@phase21/chains": "^4.7.0", "@chakra-ui/icons": "^2.1.1", "@chakra-ui/react": "^2.8.2", "@emotion/react": "^11.11.3", diff --git a/viewer/src/Components/MissingLogosView.js b/viewer/src/Components/MissingLogosView.js index bedb8122..47b4694e 100644 --- a/viewer/src/Components/MissingLogosView.js +++ b/viewer/src/Components/MissingLogosView.js @@ -29,7 +29,7 @@ const MissingBatchView = ({ header, batch, method }) => {