From 09c8b56ac5b984521303bd2a4237d0116e10ab46 Mon Sep 17 00:00:00 2001 From: Federico Luzzi Date: Tue, 25 Jul 2023 09:40:10 +0100 Subject: [PATCH 1/2] Changeset bump (#304) * feat(frontend): enable decentralization mode toggle while in library mode (#275) Co-authored-by: Federico Luzzi * chore(frontend): v0.7.1 * feat(frontend): new links across the frontend (#276) * feat(frontend): new links across the frontend * chore(frontend): add landing page link to the footer * chore(frontend): add 'about' external landing page link to the navbar --------- Co-authored-by: Federico Luzzi * fix(ui): disable click on tokens while loading (#278) * feat(frontend,ui): typography review (#277) * feat(frontend): new links across the frontend * chore(frontend): add landing page link to the footer * chore(frontend): add 'about' external landing page link to the navbar * feat(ui): new typography styles for both markdown and standard typography * feat(frontend): adapt frontend to new ui config * feat(ui): new line height for headings * chore(ui): slightly tweak headings letter spacing * fix(ui): make sure switzer font family is applied to markdown component's titles * feat(frontend): reduce carrot logo width in footer --------- Co-authored-by: Federico Luzzi * chore(ui): v0.47.0 * feat(frontend): remove forced decentralization mode setting in library mode * chore(frontend): v0.7.2 * feat(frontend): new favicons (#279) * feat(frontend): new favicons * feat(frontend): new og thumb image --------- Co-authored-by: Federico Luzzi * chore: upgrade dependencies (#280) Co-authored-by: Federico Luzzi * chore(sdk): v1.27.4 * chore(ui): v0.47.1 * chore(react): v0.47.1 * chore(frontend): v0.7.3 * chore: explicity ts type imports * chore(sdk): v1.27.5 * chore(ui): v0.47.2 * chore(react): v0.47.2 * chore(frontend): v0.7.4 * feat(ui): update step card title sizes * chore(ui): v0.48.0 * fix(ui): fix select types (#281) * fix(ui): fix select types * fix(frontrend,ui): fix select typing --------- Co-authored-by: Federico Luzzi * chore(ui): v0.48.1 * chore(frontend): v0.7.5 * chore(ui): fix types on select component * chore(ui): v0.48.2 * feat(ui): avoid dorcing text size reduction for headings on mobile * chore(ui): v0.48.3 * Fetch latest KPI tokens (#282) * feat(sdk): add fetchLatestKPITokenAddresses fetcher * fix(frontend): use new fetcher in the useLatestKPITokens hook * fix(sdk): sort the KPI token by asc * fix(frontend): reverse the latest KPI tokens array * refactor: replace slice with cast * refactor(sdk): move fetchers validation to common functions * feat(ui): typography update (#283) Co-authored-by: Federico Luzzi * fix(frontend): remove minimum height on hero * fix(frontend): fix video not visible on safari in hero * Add default block explorers for supported chains (#284) * fix(frontend): add default block explorers for supported chains * chore: upgrade dependencies * chore: rollback to react-redux v8.0.7 * fix(ui): allow non serializable select values (#285) * fix(ui): allow non serializable select values * chore(ui): add use callback * fix(ui): remove extra check --------- Co-authored-by: Federico Luzzi * chore(ui): v0.48.4 * chore(sdk): format currency amount instead of token amount * chore(sdk): v1.28.0 * fix(ui): fix sans body text typography config (#286) Co-authored-by: Federico Luzzi * fix(ui): typography heading text size fix (#287) * fix(ui): fix sans body text typography config * chore(ui): v0.48.5 * fix(ui): fix heading typography config --------- Co-authored-by: Federico Luzzi * chore(ui): v0.48.6 * fix(frontend): use ankr rpc for gnosis (#288) * Collateral recover transaction (#289) * feat(frontend): add ERC20 recover transaction types * feat(react): add recover ERC20 transaction types * feat(sdk): update KPI token abi * chore(sdk): v1.28.1 * chore(sdk): v0.48.0 * chore(frontend): v0.8.0 * Upgrade dependencies (#290) * chore: upgrade dependencies * fix: downgrade eslint-config-turbo to v1.10.3 * fix: lock eslint-config-turbo version * chore(sdk): v1.28.2 * chore(sdk): v1.28.2 * chore(ui): v0.48.7 * chore(react): v0.48.1 * chore(frontend): v0.8.1 * chore: upgrade deps (#291) * chore: upgrade patched dependencies * chore: upgrade minor deps * chore: upgrade remaining dependencies * chore: update peer dependencies and shared dependencies json --------- Co-authored-by: Federico Luzzi * feat(react): avoid passing t function to federated components (#292) Co-authored-by: Federico Luzzi * chore(react): v0.49.0 * chore(frontend): v0.9.0 * fix(subgraph): fix upgrade templates issue on subgraph (#294) * chore(subgraph): update abis * fix(subgraph): fix template upgrades overwriting previous template version --------- Co-authored-by: Federico Luzzi * Revert "feat(react): avoid passing t function to federated components (#292)" (#295) This reverts commit a1d2d3cbd5b9ea484c6261e462361c0054da5066. Co-authored-by: Federico Luzzi * chore(react): v0.50.0 * chore(frontend): v0.10.0 * feat(react): avoid passing t function to federated components (#292) (#296) Co-authored-by: Federico Luzzi * Revert "feat(react): avoid passing t function to federated components (#292) (#296)" This reverts commit 1e75952e9ffd91c77498c31b2ee1a2f5d6d7dd7a. * chore: update addresses (#297) * chore(sdk): update addresses * chore(sdk): update abis * chore(subgraph): update gnosis addresses --------- Co-authored-by: Federico Luzzi * chore(sdk): v1.29.0 * chore(ui): v0.48.8 * chore(react): v0.50.1 * chore(frontend): v0.11.0 * feat(react): avoid passing t function to federated components (#292) Co-authored-by: Federico Luzzi * chore(react): v0.50.2 * chore(frontend): v0.11.1 * Revert "feat(react): avoid passing t function to federated components (#292)" This reverts commit 06ec417feee84059a8b436c610f7d3c62e9d455a. * chore(react): v0.50.3 * chore(frontend): v0.11.2 * Css issue when loading ERC20 tokens (#293) * fix(ui): css issue when loading ERC20 tokens * fix(frontend): replace expired discord link * fix(frontend): minor css issue * Improve mobile menu, fix minor issues (#298) * feat(frontend): improve mobile side menu * fix(frontend): issues with the campaigns page * chore: update repo link * feat(frontend): mp4 source in hero video * feat: introduce new ipfs pinning proxy (#299) * feat: introduce new ipfs pinning proxy * chore(frontend): remove extra if --------- Co-authored-by: Federico Luzzi * Avoid resolving all the KPI tokens at once (#300) * feat(frontend): avoid resolving all the kpi tokens at once * feat(frontend): responsiveness and style fixes and hide template filters on campaigns page * chore(frontend): ordering change in fathomrc * fix(frontend): avoid grid flashing when tokens have been fetched but not yet transformed into array --------- Co-authored-by: Federico Luzzi * chore: upgrade patched dependencies * chore: upgrade minor dependencies and update storybook * chore: upgrade prettier and eslint * chore: update typescript eslint plugin * chore: upgrade more dependencies * chore: add changeset CI (#301) * chore: add changeset CI * docs: add CHANGELOG.md file with changeset info * chore: remove .yarn folder --------- Co-authored-by: Federico Luzzi * chore: add first changeset * fix: add custom commit message to changeset (#303) --------- Co-authored-by: Federico Luzzi Co-authored-by: Paolo Guerra --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b020cbec9..ef6f489a0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,6 +18,8 @@ jobs: - name: Create release pull request or publish to npm id: changesets uses: changesets/action@v1 + with: + commit: "chore: version packages" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} From 0990ff20ff7aabdf8fb3b311a7fe58ca2e6a0d48 Mon Sep 17 00:00:00 2001 From: Federico Luzzi Date: Tue, 25 Jul 2023 10:22:19 +0100 Subject: [PATCH 2/2] Changeset (#307) * feat(frontend): enable decentralization mode toggle while in library mode (#275) Co-authored-by: Federico Luzzi * chore(frontend): v0.7.1 * feat(frontend): new links across the frontend (#276) * feat(frontend): new links across the frontend * chore(frontend): add landing page link to the footer * chore(frontend): add 'about' external landing page link to the navbar --------- Co-authored-by: Federico Luzzi * fix(ui): disable click on tokens while loading (#278) * feat(frontend,ui): typography review (#277) * feat(frontend): new links across the frontend * chore(frontend): add landing page link to the footer * chore(frontend): add 'about' external landing page link to the navbar * feat(ui): new typography styles for both markdown and standard typography * feat(frontend): adapt frontend to new ui config * feat(ui): new line height for headings * chore(ui): slightly tweak headings letter spacing * fix(ui): make sure switzer font family is applied to markdown component's titles * feat(frontend): reduce carrot logo width in footer --------- Co-authored-by: Federico Luzzi * chore(ui): v0.47.0 * feat(frontend): remove forced decentralization mode setting in library mode * chore(frontend): v0.7.2 * feat(frontend): new favicons (#279) * feat(frontend): new favicons * feat(frontend): new og thumb image --------- Co-authored-by: Federico Luzzi * chore: upgrade dependencies (#280) Co-authored-by: Federico Luzzi * chore(sdk): v1.27.4 * chore(ui): v0.47.1 * chore(react): v0.47.1 * chore(frontend): v0.7.3 * chore: explicity ts type imports * chore(sdk): v1.27.5 * chore(ui): v0.47.2 * chore(react): v0.47.2 * chore(frontend): v0.7.4 * feat(ui): update step card title sizes * chore(ui): v0.48.0 * fix(ui): fix select types (#281) * fix(ui): fix select types * fix(frontrend,ui): fix select typing --------- Co-authored-by: Federico Luzzi * chore(ui): v0.48.1 * chore(frontend): v0.7.5 * chore(ui): fix types on select component * chore(ui): v0.48.2 * feat(ui): avoid dorcing text size reduction for headings on mobile * chore(ui): v0.48.3 * Fetch latest KPI tokens (#282) * feat(sdk): add fetchLatestKPITokenAddresses fetcher * fix(frontend): use new fetcher in the useLatestKPITokens hook * fix(sdk): sort the KPI token by asc * fix(frontend): reverse the latest KPI tokens array * refactor: replace slice with cast * refactor(sdk): move fetchers validation to common functions * feat(ui): typography update (#283) Co-authored-by: Federico Luzzi * fix(frontend): remove minimum height on hero * fix(frontend): fix video not visible on safari in hero * Add default block explorers for supported chains (#284) * fix(frontend): add default block explorers for supported chains * chore: upgrade dependencies * chore: rollback to react-redux v8.0.7 * fix(ui): allow non serializable select values (#285) * fix(ui): allow non serializable select values * chore(ui): add use callback * fix(ui): remove extra check --------- Co-authored-by: Federico Luzzi * chore(ui): v0.48.4 * chore(sdk): format currency amount instead of token amount * chore(sdk): v1.28.0 * fix(ui): fix sans body text typography config (#286) Co-authored-by: Federico Luzzi * fix(ui): typography heading text size fix (#287) * fix(ui): fix sans body text typography config * chore(ui): v0.48.5 * fix(ui): fix heading typography config --------- Co-authored-by: Federico Luzzi * chore(ui): v0.48.6 * fix(frontend): use ankr rpc for gnosis (#288) * Collateral recover transaction (#289) * feat(frontend): add ERC20 recover transaction types * feat(react): add recover ERC20 transaction types * feat(sdk): update KPI token abi * chore(sdk): v1.28.1 * chore(sdk): v0.48.0 * chore(frontend): v0.8.0 * Upgrade dependencies (#290) * chore: upgrade dependencies * fix: downgrade eslint-config-turbo to v1.10.3 * fix: lock eslint-config-turbo version * chore(sdk): v1.28.2 * chore(sdk): v1.28.2 * chore(ui): v0.48.7 * chore(react): v0.48.1 * chore(frontend): v0.8.1 * chore: upgrade deps (#291) * chore: upgrade patched dependencies * chore: upgrade minor deps * chore: upgrade remaining dependencies * chore: update peer dependencies and shared dependencies json --------- Co-authored-by: Federico Luzzi * feat(react): avoid passing t function to federated components (#292) Co-authored-by: Federico Luzzi * chore(react): v0.49.0 * chore(frontend): v0.9.0 * fix(subgraph): fix upgrade templates issue on subgraph (#294) * chore(subgraph): update abis * fix(subgraph): fix template upgrades overwriting previous template version --------- Co-authored-by: Federico Luzzi * Revert "feat(react): avoid passing t function to federated components (#292)" (#295) This reverts commit a1d2d3cbd5b9ea484c6261e462361c0054da5066. Co-authored-by: Federico Luzzi * chore(react): v0.50.0 * chore(frontend): v0.10.0 * feat(react): avoid passing t function to federated components (#292) (#296) Co-authored-by: Federico Luzzi * Revert "feat(react): avoid passing t function to federated components (#292) (#296)" This reverts commit 1e75952e9ffd91c77498c31b2ee1a2f5d6d7dd7a. * chore: update addresses (#297) * chore(sdk): update addresses * chore(sdk): update abis * chore(subgraph): update gnosis addresses --------- Co-authored-by: Federico Luzzi * chore(sdk): v1.29.0 * chore(ui): v0.48.8 * chore(react): v0.50.1 * chore(frontend): v0.11.0 * feat(react): avoid passing t function to federated components (#292) Co-authored-by: Federico Luzzi * chore(react): v0.50.2 * chore(frontend): v0.11.1 * Revert "feat(react): avoid passing t function to federated components (#292)" This reverts commit 06ec417feee84059a8b436c610f7d3c62e9d455a. * chore(react): v0.50.3 * chore(frontend): v0.11.2 * Css issue when loading ERC20 tokens (#293) * fix(ui): css issue when loading ERC20 tokens * fix(frontend): replace expired discord link * fix(frontend): minor css issue * Improve mobile menu, fix minor issues (#298) * feat(frontend): improve mobile side menu * fix(frontend): issues with the campaigns page * chore: update repo link * feat(frontend): mp4 source in hero video * feat: introduce new ipfs pinning proxy (#299) * feat: introduce new ipfs pinning proxy * chore(frontend): remove extra if --------- Co-authored-by: Federico Luzzi * Avoid resolving all the KPI tokens at once (#300) * feat(frontend): avoid resolving all the kpi tokens at once * feat(frontend): responsiveness and style fixes and hide template filters on campaigns page * chore(frontend): ordering change in fathomrc * fix(frontend): avoid grid flashing when tokens have been fetched but not yet transformed into array --------- Co-authored-by: Federico Luzzi * chore: upgrade patched dependencies * chore: upgrade minor dependencies and update storybook * chore: upgrade prettier and eslint * chore: update typescript eslint plugin * chore: upgrade more dependencies * chore: add changeset CI (#301) * chore: add changeset CI * docs: add CHANGELOG.md file with changeset info * chore: remove .yarn folder --------- Co-authored-by: Federico Luzzi * chore: add first changeset * fix: add custom commit message to changeset (#303) * fix: changeset (#306) * fix: release action * chore: remove previous changeset and update config --------- Co-authored-by: Federico Luzzi * chore: add changeset --------- Co-authored-by: Federico Luzzi Co-authored-by: Paolo Guerra --- .changeset/config.json | 20 ++++++++++--------- ...d-lamps-grow.md => stale-zebras-accept.md} | 2 +- .github/workflows/release.yml | 2 +- 3 files changed, 13 insertions(+), 11 deletions(-) rename .changeset/{good-lamps-grow.md => stale-zebras-accept.md} (100%) diff --git a/.changeset/config.json b/.changeset/config.json index ab848d1a1..0516021f2 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -1,11 +1,13 @@ { - "$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json", - "changelog": "@changesets/cli/changelog", - "commit": false, - "fixed": [], - "linked": [], - "access": "restricted", - "baseBranch": "main", - "updateInternalDependencies": "patch", - "ignore": [] + "$schema": "https://unpkg.com/@changesets/config@2.3.1/schema.json", + "changelog": "@changesets/cli/changelog", + "commit": false, + "fixed": [], + "linked": [], + "access": "restricted", + "baseBranch": "main", + "updateInternalDependencies": "patch", + "___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": { + "onlyUpdatePeerDependentsWhenOutOfRange": true + } } diff --git a/.changeset/good-lamps-grow.md b/.changeset/stale-zebras-accept.md similarity index 100% rename from .changeset/good-lamps-grow.md rename to .changeset/stale-zebras-accept.md index e409cb03a..faa94e595 100644 --- a/.changeset/good-lamps-grow.md +++ b/.changeset/stale-zebras-accept.md @@ -1,8 +1,8 @@ --- -"@carrot-kpi/shared-state": minor "@carrot-kpi/host-frontend": minor "@carrot-kpi/react": minor "@carrot-kpi/sdk": minor +"@carrot-kpi/shared-state": minor "@carrot-kpi/ui": minor --- diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ef6f489a0..f56cfca99 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,5 +24,5 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - name: Publish - if: steps.changesets.outputs.hasChangesets == 'false' + if: steps.changesets.outputs.hasChangesets == 'true' run: yarn changeset:publish