Skip to content

Commit

Permalink
chore: bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
tmm committed May 23, 2024
1 parent bd20d1e commit c706a9a
Show file tree
Hide file tree
Showing 24 changed files with 6,620 additions and 5,776 deletions.
37 changes: 19 additions & 18 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,24 @@ 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/wevm?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 [Wevm Sponsor](https://github.com/sponsors/wevm?metadata_campaign=gh_issue), your issues are prioritized.
- type: textarea
attributes:
label: Describe the bug
description: Clear and concise description of what the bug. If you intend to submit a PR for this issue, tell us in the description. Thanks!
placeholder: I am doing… What I expect is… What actually happening is
description: Clear and concise description of the bug. If you intend to submit a PR for this issue, tell us in the description. Thanks!
placeholder: I am doing… What I expect is… What is actually happening…
validations:
required: true

- type: input
id: reproduction
attributes:
label: Link to Minimal Reproducible Example
description: Please provide a link to a [TypeScript Playground](https://tsplay.dev/wjQvkW). This makes investigating issues and helping you out significantly easier! For most issues, you will likely get asked to provide a minimal reproducible example so why not add one now :) If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "needs reproduction" label. If no reproduction is provided after 3 days, it will be auto-closed.
description: "Please provide a link that can reproduce the problem: GitHub repository for runtime issues or [TypeScript Playground](https://tsplay.dev/wjQvkW) for type issues. For most issues, you will likely get asked to provide a minimal reproducible example so why not add one now :) If a report is vague (e.g. just snippets, generic error message, screenshot, etc.) and has no reproduction, it will receive a \"Needs Reproduction\" label and be auto-closed."
placeholder: https://tsplay.dev/wjQvkW
validations:
required: false
Expand All @@ -33,32 +36,30 @@ body:
attributes:
label: Package Version
description: What version of abitype are you using?
placeholder: x.y.z
placeholder: x.y.z (do not write `latest`)
validations:
required: true

- type: input
attributes:
label: TypeScript Version
description: What version of TypeScript are you using? ABIType requires `typescript@>=4.9.4`.
placeholder: x.y.z
description: What version of TypeScript are you using? ABIType requires `typescript@>=5.0.4`.
placeholder: x.y.z (do not write `latest`)
validations:
required: true

- type: checkboxes
attributes:
label: Check existing issues
description: By submitting this issue, you checked there isn't [already an issue](https://github.com/wevm/abitype/issues) for this bug.
options:
- label: I checked there isn't [already an issue](https://github.com/wevm/abitype/issues) for the bug I encountered.
required: true

- type: textarea
attributes:
label: Anything else?
description: Anything that will give us more context about the issue you are encountering. (You can attach images or files by clicking this area to highlight and then dragging files in.)
description: Anything that will give us more context about the issue you are encountering.
validations:
required: false

- type: checkboxes
id: checkboxes
attributes:
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/wevm/abitype/issues) that exists for the bug you encountered.
required: true
- label: Followed the [Code of Conduct](https://github.com/wevm/.github/blob/main/CODE_OF_CONDUCT.md).
required: true
18 changes: 0 additions & 18 deletions .github/actions/install-dependencies/action.yml

This file was deleted.

17 changes: 10 additions & 7 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
## Description
### Description

What changes are made in this PR? Is it a feature or a bug fix?
<!-- What is this PR solving? Write a clear description or reference the issues it solves (e.g. `fixes #123`). What other alternatives have you explored? Are there any parts you think require more attention from reviewers? -->

## Additional Information
<!----------------------------------------------------------------------
Before creating the pull request, please make sure you do the following:
Before submitting this issue, please make sure you do the following.
- Read the Contributing Guidelines at https://github.com/wevm/abitype/blob/main/.github/CONTRIBUTING.md
- Check that there isn't already a PR that solves the problem the same way. If you find a duplicate, please help us review it.
- Update the corresponding documentation if needed.
- Include relevant tests that fail without this PR, but pass with it.
- [ ] 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.
Thank you for contributing to ABIType!
----------------------------------------------------------------------->
43 changes: 0 additions & 43 deletions .github/workflows/canary.yml

This file was deleted.

23 changes: 20 additions & 3 deletions .github/workflows/changesets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ jobs:
changesets:
name: Create pull request or publish
needs: verify
permissions: write-all
permissions:
contents: write
id-token: write
pull-requests: write
runs-on: ubuntu-latest
timeout-minutes: 5

Expand All @@ -28,7 +31,7 @@ jobs:
fetch-depth: 0

- name: Install dependencies
uses: ./.github/actions/install-dependencies
uses: wevm/actions/.github/actions/pnpm@main

- name: Create version pull request or publish to npm
uses: changesets/action@v1
Expand All @@ -40,4 +43,18 @@ jobs:
version: pnpm changeset:version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish Prerelease
if: steps.changesets.outputs.published != 'true'
continue-on-error: true
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm config set "//registry.npmjs.org/:_authToken" "$NPM_TOKEN"
git reset --hard origin/main
pnpm clean
pnpm changeset version --no-git-tag --snapshot canary
pnpm changeset:prepublish
pnpm changeset publish --no-git-tag --snapshot canary --tag canary
17 changes: 0 additions & 17 deletions .github/workflows/close-issue.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/workflows/issue-labeled.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Issue Labeled

on:
issues:
types: [labeled]

jobs:
issue-labeled:
if: ${{ github.repository_owner == 'wevm' }}
uses: wevm/actions/.github/workflows/issue-labeled.yml@main
with:
needs-reproduction-body: |
Hello @${{ github.event.issue.user.login }}.
Please provide a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) using a [TypeScript Playground](https://www.typescriptlang.org/play) or a separate minimal GitHub repository.
[Minimal reproductions are required](https://antfu.me/posts/why-reproductions-are-required) as they save us a lot of time reproducing your config/environment and issue, and allow us to help you faster.
Once a minimal reproduction is added, a team member will confirm it works, then re-open the issue.
18 changes: 0 additions & 18 deletions .github/workflows/label-issue.yml

This file was deleted.

24 changes: 9 additions & 15 deletions .github/workflows/lock-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,14 @@ on:
schedule:
- cron: '0 0 * * *'

permissions:
issues: write

jobs:
action:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-comment: |
This issue has been locked since it has been closed for more than 14 days.
lock-issue:
if: ${{ github.repository_owner == 'wevm' }}
uses: wevm/actions/.github/workflows/lock-issue.yml@main
with:
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/wevm/abitype/issues/new?template=bug_report.yml) with a reproduction against the latest ABIType version. If you have any questions or comments you can create a new [discussion thread](https://github.com/wevm/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'
6 changes: 3 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
uses: actions/checkout@v4

- name: Install dependencies
uses: ./.github/actions/install-dependencies
uses: wevm/actions/.github/actions/pnpm@main

- name: Run benchmarks
run: pnpm bench
Expand All @@ -38,10 +38,10 @@ jobs:
uses: actions/checkout@v4

- name: Install dependencies
uses: ./.github/actions/install-dependencies
uses: wevm/actions/.github/actions/pnpm@main

- name: Report build size
uses: preactjs/compressed-size-action@v2
with:
pattern: 'packages/**/dist/**'
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
16 changes: 12 additions & 4 deletions .github/workflows/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,10 @@ jobs:
uses: actions/checkout@v4

- name: Install dependencies
uses: ./.github/actions/install-dependencies
uses: wevm/actions/.github/actions/pnpm@main

- name: Lint repo
run: pnpm lint:repo

- name: Lint code
run: pnpm format && pnpm lint:fix
Expand All @@ -32,6 +35,7 @@ jobs:

build:
name: Build
needs: lint
runs-on: ubuntu-latest
timeout-minutes: 5

Expand All @@ -40,7 +44,7 @@ jobs:
uses: actions/checkout@v4

- name: Install dependencies
uses: ./.github/actions/install-dependencies
uses: wevm/actions/.github/actions/pnpm@main

- name: Build
run: pnpm build
Expand All @@ -53,6 +57,7 @@ jobs:

types:
name: Types
needs: lint
runs-on: ubuntu-latest
timeout-minutes: 5
strategy:
Expand All @@ -64,7 +69,7 @@ jobs:
uses: actions/checkout@v4

- name: Install dependencies
uses: ./.github/actions/install-dependencies
uses: wevm/actions/.github/actions/pnpm@main

- name: Use `typescript@${{ matrix.version }}`
run: pnpm add -D -w typescript@${{ matrix.version }}
Expand Down Expand Up @@ -96,10 +101,13 @@ jobs:
uses: actions/checkout@v4

- name: Install dependencies
uses: ./.github/actions/install-dependencies
uses: wevm/actions/.github/actions/pnpm@main

- name: Run tests
run: pnpm test:cov

- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}

1 change: 0 additions & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "docs",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vocs dev",
Expand Down
Loading

0 comments on commit c706a9a

Please sign in to comment.