Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: dev updates #198

Merged
merged 20 commits into from
Oct 11, 2023
Merged

refactor: dev updates #198

merged 20 commits into from
Oct 11, 2023

Conversation

tmm
Copy link
Member

@tmm tmm commented Oct 10, 2023

Description

Refactors repo structure

Additional Information

  • I read the contributing guide
  • I added documentation related to the changes made.
  • I added or updated tests related to the changes made.

Your ENS/address: awkweb.eth


PR-Codex overview

This PR focuses on various updates and improvements across the codebase.

Detailed summary:

  • Updated package dependencies
  • Added new packages and configurations
  • Refactored file and folder structure
  • Fixed import paths and module declarations
  • Updated test files and configurations
  • Added new test cases and assertions
  • Removed unnecessary files and configurations

The following files were skipped due to too many changes: src/human-readable/formatAbi.test-d.ts, .github/workflows/on-pull-request.yml, examples/signTypedData.ts, .github/CONTRIBUTING.md, src/human-readable/parseAbi.test-d.ts, packages/abitype/src/exports/zod.ts, docs/index.md, src/human-readable/parseAbiItem.ts, vitest.workspace.ts, rome.json, docs/package.json, .changeset/config.json, src/human-readable/parseAbiParameters.ts, src/human-readable/parseAbiParameter.ts, src/zod.test-d.ts, .github/pull_request_template.md, src/human-readable/types/utils.test-d.ts, packages/abitype/src/exports/zod.test.ts, src/utils.test-d.ts, docs/api/test.md, docs/.vitepress/sidebar.ts, packages/abitype/src/register.test-d.ts, src/human-readable/types/signatures.ts, .scripts/restorePackageJson.ts, docs/guide/getting-started.md, .github/workflows/canary.yml, examples/read.test-d.ts, examples/types.ts, .vscode/settings.json, .changeset/angry-walls-sneeze.md, .scripts/updateVersion.ts, src/test.test.ts, .github/workflows/changesets.yml, examples/watchEvent.test-d.ts, .scripts/formatPackageJson.ts, src/test.ts, src/zod.test.ts, .scripts/generateProxyPackages.ts, src/human-readable/runtime/utils.ts, docs/.vitepress/config.ts, .github/workflows/verify.yml, src/utils.ts, packages/abitype/package.json, .scripts/preconstruct.ts, docs/.vitepress/theme/custom.css, docs/config.md, src/abi.ts, examples/reads.test-d.ts, src/human-readable/types/utils.ts, examples/write.test-d.ts, src/index.ts, src/human-readable/types/structs.test-d.ts, packages/abitype/README.md, src/config.ts, package.json, pnpm-lock.yaml

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@changeset-bot
Copy link

changeset-bot bot commented Oct 10, 2023

🦋 Changeset detected

Latest commit: 9e422ed

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
abitype Minor
default-register Patch
functions Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@commit-lint
Copy link

commit-lint bot commented Oct 10, 2023

Wip

Code Refactoring

Bug Fixes

Documentation

Chore

Continuous Integration

Tests

Contributors

tmm

Commit-Lint commands

You can trigger Commit-Lint actions by commenting on this PR:

  • @Commit-Lint merge patch will merge dependabot PR on "patch" versions (X.X.Y - Y change)
  • @Commit-Lint merge minor will merge dependabot PR on "minor" versions (X.Y.Y - Y change)
  • @Commit-Lint merge major will merge dependabot PR on "major" versions (Y.Y.Y - Y change)
  • @Commit-Lint merge disable will desactivate merge dependabot PR
  • @Commit-Lint review will approve dependabot PR
  • @Commit-Lint stop review will stop approve dependabot PR

@vercel
Copy link

vercel bot commented Oct 10, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
abitype ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 11, 2023 3:37pm

@github-actions
Copy link
Contributor

github-actions bot commented Oct 10, 2023

Size Change: 0 B

Total Size: 98.7 kB

ℹ️ View Unchanged
Filename Size Change
packages/abitype/dist 0 B 0 B 🆕
packages/abitype/dist/cjs 123 B 0 B
packages/abitype/dist/cjs/abi.js 0 B 0 B 🆕
packages/abitype/dist/cjs/abis 3.6 kB 0 B
packages/abitype/dist/cjs/abis/human-readable.js 5.93 kB 0 B
packages/abitype/dist/cjs/abis/json.js 577 B 0 B
packages/abitype/dist/cjs/errors.js 0 B 0 B 🆕
packages/abitype/dist/cjs/exports 589 B 0 B
packages/abitype/dist/cjs/exports/abis.js 743 B 0 B
packages/abitype/dist/cjs/exports/index.js 566 B 0 B
packages/abitype/dist/cjs/exports/zod.js 0 B 0 B 🆕
packages/abitype/dist/cjs/human-readable 0 B 0 B 🆕
packages/abitype/dist/cjs/human-readable/errors 537 B 0 B
packages/abitype/dist/cjs/human-readable/errors/abiItem.js 804 B 0 B
packages/abitype/dist/cjs/human-readable/errors/abiParameter.js 420 B 0 B
packages/abitype/dist/cjs/human-readable/errors/signature.js 404 B 0 B
packages/abitype/dist/cjs/human-readable/errors/splitParameters.js 338 B 0 B
packages/abitype/dist/cjs/human-readable/errors/struct.js 294 B 0 B
packages/abitype/dist/cjs/human-readable/formatAbi.js 420 B 0 B
packages/abitype/dist/cjs/human-readable/formatAbiItem.js 487 B 0 B
packages/abitype/dist/cjs/human-readable/formatAbiParameter.js 313 B 0 B
packages/abitype/dist/cjs/human-readable/formatAbiParameters.js 348 B 0 B
packages/abitype/dist/cjs/human-readable/parseAbi.js 440 B 0 B
packages/abitype/dist/cjs/human-readable/parseAbiItem.js 471 B 0 B
packages/abitype/dist/cjs/human-readable/parseAbiParameter.js 528 B 0 B
packages/abitype/dist/cjs/human-readable/parseAbiParameters.js 0 B 0 B 🆕
packages/abitype/dist/cjs/human-readable/runtime 616 B 0 B
packages/abitype/dist/cjs/human-readable/runtime/cache.js 782 B 0 B
packages/abitype/dist/cjs/human-readable/runtime/signatures.js 1.03 kB 0 B
packages/abitype/dist/cjs/human-readable/runtime/structs.js 2.12 kB 0 B
packages/abitype/dist/cjs/human-readable/runtime/utils.js 0 B 0 B 🆕
packages/abitype/dist/cjs/human-readable/types 127 B 0 B
packages/abitype/dist/cjs/human-readable/types/signatures.js 127 B 0 B
packages/abitype/dist/cjs/human-readable/types/structs.js 124 B 0 B
packages/abitype/dist/cjs/human-readable/types/utils.js 169 B 0 B
packages/abitype/dist/cjs/narrow.js 40 B 0 B
packages/abitype/dist/cjs/package.json 362 B 0 B
packages/abitype/dist/cjs/regex.js 125 B 0 B
packages/abitype/dist/cjs/register.js 5.76 kB 0 B
packages/abitype/dist/cjs/tsconfig.build.tsbuildinfo 124 B 0 B
packages/abitype/dist/cjs/types.js 124 B 0 B
packages/abitype/dist/cjs/utils.js 149 B 0 B
packages/abitype/dist/cjs/version.js 2.09 kB 0 B
packages/abitype/dist/cjs/zod.js 0 B 0 B 🆕
packages/abitype/dist/esm 62 B 0 B
packages/abitype/dist/esm/abi.js 0 B 0 B 🆕
packages/abitype/dist/esm/abis 3.96 kB 0 B
packages/abitype/dist/esm/abis/human-readable.js 6.27 kB 0 B
packages/abitype/dist/esm/abis/json.js 524 B 0 B
packages/abitype/dist/esm/errors.js 0 B 0 B 🆕
packages/abitype/dist/esm/exports 259 B 0 B
packages/abitype/dist/esm/exports/abis.js 363 B 0 B
packages/abitype/dist/esm/exports/index.js 242 B 0 B
packages/abitype/dist/esm/exports/zod.js 0 B 0 B 🆕
packages/abitype/dist/esm/human-readable 0 B 0 B 🆕
packages/abitype/dist/esm/human-readable/errors 454 B 0 B
packages/abitype/dist/esm/human-readable/errors/abiItem.js 674 B 0 B
packages/abitype/dist/esm/human-readable/errors/abiParameter.js 339 B 0 B
packages/abitype/dist/esm/human-readable/errors/signature.js 345 B 0 B
packages/abitype/dist/esm/human-readable/errors/splitParameters.js 282 B 0 B
packages/abitype/dist/esm/human-readable/errors/struct.js 274 B 0 B
packages/abitype/dist/esm/human-readable/formatAbi.js 408 B 0 B
packages/abitype/dist/esm/human-readable/formatAbiItem.js 570 B 0 B
packages/abitype/dist/esm/human-readable/formatAbiParameter.js 380 B 0 B
packages/abitype/dist/esm/human-readable/formatAbiParameters.js 481 B 0 B
packages/abitype/dist/esm/human-readable/parseAbi.js 597 B 0 B
packages/abitype/dist/esm/human-readable/parseAbiItem.js 562 B 0 B
packages/abitype/dist/esm/human-readable/parseAbiParameter.js 639 B 0 B
packages/abitype/dist/esm/human-readable/parseAbiParameters.js 0 B 0 B 🆕
packages/abitype/dist/esm/human-readable/runtime 855 B 0 B
packages/abitype/dist/esm/human-readable/runtime/cache.js 618 B 0 B
packages/abitype/dist/esm/human-readable/runtime/signatures.js 1.02 kB 0 B
packages/abitype/dist/esm/human-readable/runtime/structs.js 2.24 kB 0 B
packages/abitype/dist/esm/human-readable/runtime/utils.js 0 B 0 B 🆕
packages/abitype/dist/esm/human-readable/types 69 B 0 B
packages/abitype/dist/esm/human-readable/types/signatures.js 66 B 0 B
packages/abitype/dist/esm/human-readable/types/structs.js 64 B 0 B
packages/abitype/dist/esm/human-readable/types/utils.js 265 B 0 B
packages/abitype/dist/esm/narrow.js 496 B 0 B
packages/abitype/dist/esm/regex.js 67 B 0 B
packages/abitype/dist/esm/register.js 7.31 kB 0 B
packages/abitype/dist/esm/tsconfig.build.tsbuildinfo 64 B 0 B
packages/abitype/dist/esm/types.js 64 B 0 B
packages/abitype/dist/esm/utils.js 83 B 0 B
packages/abitype/dist/esm/version.js 2.47 kB 0 B
packages/abitype/dist/esm/zod.js 0 B 0 B 🆕
packages/abitype/dist/types 1.82 kB 0 B
packages/abitype/dist/types/abi.d.ts 0 B 0 B 🆕
packages/abitype/dist/types/abis 3.88 kB 0 B
packages/abitype/dist/types/abis/human-readable.d.ts 5.98 kB 0 B
packages/abitype/dist/types/abis/json.d.ts 271 B 0 B
packages/abitype/dist/types/errors.d.ts 0 B 0 B 🆕
packages/abitype/dist/types/exports 261 B 0 B
packages/abitype/dist/types/exports/abis.d.ts 661 B 0 B
packages/abitype/dist/types/exports/index.d.ts 245 B 0 B
packages/abitype/dist/types/exports/zod.d.ts 0 B 0 B 🆕
packages/abitype/dist/types/human-readable 0 B 0 B 🆕
packages/abitype/dist/types/human-readable/errors 229 B 0 B
packages/abitype/dist/types/human-readable/errors/abiItem.d.ts 375 B 0 B
packages/abitype/dist/types/human-readable/errors/abiParameter.d.ts 244 B 0 B
packages/abitype/dist/types/human-readable/errors/signature.d.ts 204 B 0 B
packages/abitype/dist/types/human-readable/errors/splitParameters.d.ts 174 B 0 B
packages/abitype/dist/types/human-readable/errors/struct.d.ts 316 B 0 B
packages/abitype/dist/types/human-readable/formatAbi.d.ts 649 B 0 B
packages/abitype/dist/types/human-readable/formatAbiItem.d.ts 673 B 0 B
packages/abitype/dist/types/human-readable/formatAbiParameter.d.ts 460 B 0 B
packages/abitype/dist/types/human-readable/formatAbiParameters.d.ts 648 B 0 B
packages/abitype/dist/types/human-readable/parseAbi.d.ts 761 B 0 B
packages/abitype/dist/types/human-readable/parseAbiItem.d.ts 739 B 0 B
packages/abitype/dist/types/human-readable/parseAbiParameter.d.ts 783 B 0 B
packages/abitype/dist/types/human-readable/parseAbiParameters.d.ts 0 B 0 B 🆕
packages/abitype/dist/types/human-readable/runtime 489 B 0 B
packages/abitype/dist/types/human-readable/runtime/cache.d.ts 372 B 0 B
packages/abitype/dist/types/human-readable/runtime/signatures.d.ts 157 B 0 B
packages/abitype/dist/types/human-readable/runtime/structs.d.ts 682 B 0 B
packages/abitype/dist/types/human-readable/runtime/utils.d.ts 0 B 0 B 🆕
packages/abitype/dist/types/human-readable/types 1.77 kB 0 B
packages/abitype/dist/types/human-readable/types/signatures.d.ts 737 B 0 B
packages/abitype/dist/types/human-readable/types/structs.d.ts 2.06 kB 0 B
packages/abitype/dist/types/human-readable/types/utils.d.ts 424 B 0 B
packages/abitype/dist/types/narrow.d.ts 159 B 0 B
packages/abitype/dist/types/regex.d.ts 794 B 0 B
packages/abitype/dist/types/register.d.ts 1.84 kB 0 B
packages/abitype/dist/types/types.d.ts 2.38 kB 0 B
packages/abitype/dist/types/utils.d.ts 93 B 0 B
packages/abitype/dist/types/version.d.ts 2.13 kB 0 B
packages/abitype/dist/types/zod.d.ts 0 B 0 B 🆕

compressed-size-action

@codecov
Copy link

codecov bot commented Oct 10, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (e2797ef) 99.90% compared to head (9e422ed) 99.83%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #198      +/-   ##
==========================================
- Coverage   99.90%   99.83%   -0.07%     
==========================================
  Files          21       26       +5     
  Lines        2055     6076    +4021     
  Branches      325      195     -130     
==========================================
+ Hits         2053     6066    +4013     
- Misses          2        8       +6     
- Partials        0        2       +2     
Files Coverage Δ
packages/abitype/src/abis/human-readable.ts 100.00% <ø> (ø)
packages/abitype/src/abis/json.ts 100.00% <ø> (ø)
packages/abitype/src/errors.ts 100.00% <ø> (ø)
packages/abitype/src/exports/abis.ts 100.00% <100.00%> (ø)
packages/abitype/src/exports/index.ts 100.00% <100.00%> (ø)
packages/abitype/src/exports/zod.ts 100.00% <100.00%> (ø)
...kages/abitype/src/human-readable/errors/abiItem.ts 100.00% <ø> (ø)
.../abitype/src/human-readable/errors/abiParameter.ts 100.00% <ø> (ø)
...ges/abitype/src/human-readable/errors/signature.ts 100.00% <ø> (ø)
...itype/src/human-readable/errors/splitParameters.ts 100.00% <ø> (ø)
... and 16 more

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@socket-security
Copy link

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
vite 4.4.11 environment +2 5.99 MB vitebot
rimraf 5.0.1 filesystem, environment +1 732 kB isaacs
knip 2.30.1 filesystem, shell, environment +4 3.27 MB webpro
glob 10.3.10 None +0 454 kB isaacs
@biomejs/biome 1.2.2 None +0 63 kB dominionl
publint 0.2.3 None +1 96.5 kB bluwy
vitest 0.30.1...0.34.5 None +5/-5 8.08 MB oreanno
vitepress 1.0.0-beta.1...1.0.0-rc.20 filesystem, environment +3/-3 8.86 MB brc-dd
bun 0.5.9...1.0.1 None +0/-0 29.2 kB robobun

🚮 Removed packages: abitype@0.9.10, rome@12.1.3

@tmm tmm marked this pull request as ready for review October 11, 2023 15:45
@tmm tmm merged commit a12abfd into main Oct 11, 2023
23 of 24 checks passed
@tmm tmm deleted the tmm/dev-updates branch October 11, 2023 15:48
@github-actions github-actions bot mentioned this pull request Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant