Skip to content

Commit

Permalink
fix: pnpm changeset and wagmi-dev -> wevm (#216)
Browse files Browse the repository at this point in the history
* fix: pnpm changeset and wagmi-dev -> wevm

* chore: more wagmi-dev -> wevm
  • Loading branch information
Raiden1411 authored Nov 29, 2023
1 parent 093b3d2 commit c5a2b81
Show file tree
Hide file tree
Showing 14 changed files with 123 additions and 124 deletions.
5 changes: 1 addition & 4 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"access": "public",
"baseBranch": "main",
"changelog": [
"@changesets/changelog-github",
{ "repo": "wagmi-dev/abitype" }
],
"changelog": ["@changesets/changelog-github", { "repo": "wevm/abitype" }],
"commit": false,
"ignore": ["default-register", "functions", "performance"],
"updateInternalDependencies": "patch",
Expand Down
10 changes: 5 additions & 5 deletions .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

Thanks for your interest in contributing to ABIType! Please take a moment to review this document **before submitting a pull request.**

If you want to contribute, but aren't sure where to start, you can create a [new discussion](https://github.com/wagmi-dev/abitype/discussions).
If you want to contribute, but aren't sure where to start, you can create a [new discussion](https://github.com/wevm/abitype/discussions).

> **Note** **Please ask first before starting work on any significant new features.**
>
> It's never a fun experience to have your pull request declined after investing time and effort into a new feature. To avoid this from happening, we request that contributors create a [feature request](https://github.com/wagmi-dev/abitype/discussions/new?category=ideas) to first discuss any API changes or significant new ideas.
> It's never a fun experience to have your pull request declined after investing time and effort into a new feature. To avoid this from happening, we request that contributors create a [feature request](https://github.com/wevm/abitype/discussions/new?category=ideas) to first discuss any API changes or significant new ideas.
<br>

Expand Down Expand Up @@ -39,13 +39,13 @@ This guide covers more advanced topics. Pick the topics based on your needs.
To start contributing to the project, clone it to your local machine using git:

```bash
git clone https://github.com/wagmi-dev/abitype.git
git clone https://github.com/wevm/abitype.git
```

Or the [GitHub CLI](https://cli.github.com):

```bash
gh repo clone wagmi-dev/abitype
gh repo clone wevm/abitype
```

<div align="right">
Expand Down Expand Up @@ -160,7 +160,7 @@ The first time a PR with a changeset is merged after a release, a new PR will au

### Creating a snapshot release

If a PR has changesets, you can create a [snapshot release](https://github.com/changesets/changesets/blob/main/docs/snapshot-releases.md) by [manually dispatching](https://github.com/wagmi-dev/abitype/actions/workflows/snapshot.yml) the Snapshot workflow. This publishes a tagged version to npm with the PR branch name and timestamp.
If a PR has changesets, you can create a [snapshot release](https://github.com/changesets/changesets/blob/main/docs/snapshot-releases.md) by [manually dispatching](https://github.com/wevm/abitype/actions/workflows/snapshot.yml) the Snapshot workflow. This publishes a tagged version to npm with the PR branch name and timestamp.

<div align="right">
<a href="#advanced-guide">&uarr; back to top</a></b>
Expand Down
6 changes: 3 additions & 3 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: Report bugs or issues.
body:
- type: markdown
attributes:
value: Thanks for taking the time to fill out this bug report! The more info you provide, the more we can help you. If you are a [Sponsor](https://github.com/sponsors/wagmi-dev?metadata_campaign=gh_issue), your issues are prioritized.
value: Thanks for taking the time to fill out this bug report! The more info you provide, the more we can help you. If you are a [Sponsor](https://github.com/sponsors/wevm?metadata_campaign=gh_issue), your issues are prioritized.

- type: textarea
attributes:
Expand Down Expand Up @@ -58,7 +58,7 @@ body:
label: Validations
description: Before submitting this issue, please make sure you do the following.
options:
- label: Checked there isn't [already an issue](https://github.com/wagmi-dev/abitype/issues) that exists for the bug you encountered.
- label: Checked there isn't [already an issue](https://github.com/wevm/abitype/issues) that exists for the bug you encountered.
required: true
- label: Followed the [Code of Conduct](https://github.com/wagmi-dev/.github/blob/main/CODE_OF_CONDUCT.md).
- label: Followed the [Code of Conduct](https://github.com/wevm/.github/blob/main/CODE_OF_CONDUCT.md).
required: true
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Question
url: https://github.com/wagmi-dev/abitype/discussions/new?category=q-a
url: https://github.com/wevm/abitype/discussions/new?category=q-a
about: Ask questions and discuss with other community members.
- name: Feature Request
url: https://github.com/wagmi-dev/abitype/discussions/new?category=ideas
url: https://github.com/wevm/abitype/discussions/new?category=ideas
about: Requests features or brainstorm ideas for new functionality.
2 changes: 1 addition & 1 deletion .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ What changes are made in this PR? Is it a feature or a bug fix?

Before submitting this issue, please make sure you do the following.

- [ ] Read the [contributing guide](https://github.com/wagmi-dev/abitype/blob/main/.github/CONTRIBUTING.md)
- [ ] Read the [contributing guide](https://github.com/wevm/abitype/blob/main/.github/CONTRIBUTING.md)
- [ ] Added documentation related to the changes made.
- [ ] Added or updated tests (and snapshots) related to the changes made.
2 changes: 1 addition & 1 deletion .github/workflows/lock-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
issue-comment: |
This issue has been locked since it has been closed for more than 14 days.
If you found a concrete bug or regression related to it, please open a new [bug report](https://github.com/wagmi-dev/abitype/issues/new/choose) with a reproduction against the latest ABIType version. If you have any other comments you can create a new [discussion](https://github.com/wagmi-dev/abitype/discussions).
If you found a concrete bug or regression related to it, please open a new [bug report](https://github.com/wevm/abitype/issues/new/choose) with a reproduction against the latest ABIType version. If you have any other comments you can create a new [discussion](https://github.com/wevm/abitype/discussions).
issue-lock-reason: ''
issue-inactive-days: '14'
process-only: 'issues'
8 changes: 4 additions & 4 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export default withTwoslash(
indexName: 'abitype',
},
editLink: {
pattern: 'https://github.com/wagmi-dev/abitype/edit/main/docs/:path',
pattern: 'https://github.com/wevm/abitype/edit/main/docs/:path',
text: 'Suggest changes to this page',
},
footer: {
Expand All @@ -84,11 +84,11 @@ export default withTwoslash(
items: [
{
text: 'Release Notes ',
link: 'https://github.com/wagmi-dev/abitype/releases',
link: 'https://github.com/wevm/abitype/releases',
},
{
text: 'Contributing ',
link: 'https://github.com/wagmi-dev/abitype/blob/main/.github/CONTRIBUTING.md',
link: 'https://github.com/wevm/abitype/blob/main/.github/CONTRIBUTING.md',
},
],
},
Expand All @@ -98,7 +98,7 @@ export default withTwoslash(
siteTitle: false,
socialLinks: [
{ icon: 'twitter', link: 'https://twitter.com/wevm_dev' },
{ icon: 'github', link: 'https://github.com/wagmi-dev/abitype' },
{ icon: 'github', link: 'https://github.com/wevm/abitype' },
],
},
title: 'ABIType: Strict TypeScript types for Ethereum ABIs',
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/walkthrough.md
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ There are a few other ways to improve the typing that are out of scope for this
- `args` can be an empty array if the function doesn't take any arguments, but you could conditionally add `args` to `config` if it's not empty.
- `readContract`'s return type is an array, but you could unwrap it if the function only has one output or transform it to another type depending on your implementation.

The preceding points are all implemented in throughout the [examples](https://github.com/wagmi-dev/abitype/tree/main/examples) in this directory so check them out if you're interested.
The preceding points are all implemented in throughout the [examples](https://github.com/wevm/abitype/tree/main/examples) in this directory so check them out if you're interested.

[^1]: We use the `declare` keyword so we don't need to worry about the implementation. In this case, the implementation would look something like encoding arguments and sending with the [`eth_call`](https://ethereum.org/en/developers/docs/apis/json-rpc/#eth_call) RPC method.
[^2]: If this was a real function that read via RPC, we'd likely want to make it `async` and return a `Promise`, but we'll leave that out for simplicity.
Expand Down
20 changes: 10 additions & 10 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ titleTemplate: false
---

<p align="center" style="min-height:45px;width:100%;">
<img img-dark alt="ABIType" src="https://raw.githubusercontent.com/wagmi-dev/abitype/main/.github/logo-dark.svg" height="45" style="width:auto;">
<img img-light alt="ABIType" src="https://raw.githubusercontent.com/wagmi-dev/abitype/main/.github/logo-light.svg" height="45" style="width:auto;">
<img img-dark alt="ABIType" src="https://raw.githubusercontent.com/wevm/abitype/main/.github/logo-dark.svg" height="45" style="width:auto;">
<img img-light alt="ABIType" src="https://raw.githubusercontent.com/wevm/abitype/main/.github/logo-light.svg" height="45" style="width:auto;">
</p>

<div style="margin-top:1rem;display:flex;gap:0.5rem;min-height:48px;max-width:350px;flex-wrap:wrap;margin-right:auto;margin-left:auto;justify-content:center;margin-bottom:3rem;">
Expand All @@ -24,22 +24,22 @@ titleTemplate: false
<img img-light src="https://img.shields.io/npm/dm/abitype?colorA=fafafa&colorB=fafafa&style=flat" alt="Downloads per month">
</picture>
</a>
<a href="https://github.com/wagmi-dev/abitype/blob/main/LICENSE">
<a href="https://github.com/wevm/abitype/blob/main/LICENSE">
<picture>
<img img-dark src="https://img.shields.io/npm/l/abitype?colorA=2e2e33&colorB=2e2e33&style=flat" alt="MIT License">
<img img-light src="https://img.shields.io/npm/l/abitype?colorA=fafafa&colorB=fafafa&style=flat" alt="MIT License">
</picture>
</a>
<a href="https://github.com/wagmi-dev/abitype">
<a href="https://github.com/wevm/abitype">
<picture>
<img img-dark src="https://img.shields.io/github/stars/wagmi-dev/abitype?colorA=2e2e33&colorB=2e2e33&style=flat" alt="GitHub Repo stars">
<img img-light src="https://img.shields.io/github/stars/wagmi-dev/abitype?colorA=fafafa&colorB=fafafa&style=flat" alt="GitHub Repo stars">
<img img-dark src="https://img.shields.io/github/stars/wevm/abitype?colorA=2e2e33&colorB=2e2e33&style=flat" alt="GitHub Repo stars">
<img img-light src="https://img.shields.io/github/stars/wevm/abitype?colorA=fafafa&colorB=fafafa&style=flat" alt="GitHub Repo stars">
</picture>
</a>
<a href="https://bestofjs.org/projects/abitype">
<picture>
<img img-dark src="https://img.shields.io/endpoint?colorA=2e2e33&colorB=2e2e33&style=flat&url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=wagmi-dev%2Fabitype%26since=daily" alt="Best of JS">
<img img-light src="https://img.shields.io/endpoint?colorA=fafafa&colorB=fafafa&style=flat&url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=wagmi-dev%2Fabitype%26since=daily" alt="Best of JS">
<img img-dark src="https://img.shields.io/endpoint?colorA=2e2e33&colorB=2e2e33&style=flat&url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=wevm%2Fabitype%26since=daily" alt="Best of JS">
<img img-light src="https://img.shields.io/endpoint?colorA=fafafa&colorB=fafafa&style=flat&url=https://bestofjs-serverless.now.sh/api/project-badge?fullName=wevm%2Fabitype%26since=daily" alt="Best of JS">
</picture>
</a>
</div>
Expand Down Expand Up @@ -89,8 +89,8 @@ yarn add abitype
## Sponsor
If you find ABIType useful, please consider supporting development on [GitHub Sponsors](https://github.com/sponsors/wagmi-dev?metadata_campaign=abitype_docs) or sending crypto to `wagmi-dev.eth`. Thank you 🙏
If you find ABIType useful, please consider supporting development on [GitHub Sponsors](https://github.com/sponsors/wevm?metadata_campaign=abitype_docs) or sending crypto to `wevm.eth`. Thank you 🙏
## Community
If you have questions or need help, reach out to the community at the [ABIType GitHub Discussions](https://github.com/wagmi-dev/abitype/discussions).
If you have questions or need help, reach out to the community at the [ABIType GitHub Discussions](https://github.com/wevm/abitype/discussions).
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"scripts": {
"bench": "vitest bench -c ./packages/abitype/test/vitest.config.ts",
"build": "pnpm run --r --filter \"./packages/**\" build",
"changeset": "changeset",
"changeset:publish": "pnpm version:update && pnpm build && bun .scripts/generateProxyPackages.ts && changeset publish",
"changeset:version": "changeset version && pnpm version:update",
"clean": "pnpm run --r --parallel clean",
Expand Down
Loading

1 comment on commit c5a2b81

@vercel
Copy link

@vercel vercel bot commented on c5a2b81 Nov 29, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

abitype – ./

abitype-git-main-wagmi-dev.vercel.app
abitype.vercel.app
abitype.dev
abitype-wagmi-dev.vercel.app

Please sign in to comment.