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

Re-ordered Export Types #3755

Closed
wants to merge 1 commit into from
Closed

Re-ordered Export Types #3755

wants to merge 1 commit into from

Conversation

BboyAkers
Copy link

Re-ordered Export Types in packages to comply with TypeScripts recommendation when deploying types with packages.

Links for reference:

Detected running a lint:
https://publint.dev/ethers@6.0.2

Lint error definition:
https://publint.dev/rules#exports_types_should_be_first

TypeScript Docs:
https://www.typescriptlang.org/docs/handbook/esm-node.html#packagejson-exports-imports-and-self-referencing

Additional notes:
These are non-breaking changes 🙂

@ricmoo
Copy link
Member

ricmoo commented Feb 16, 2023

That explains the issue with #3703. Thanks!

Unfortunately this isn't as simple as modifying the package.json, since it is re-written by the npm run build-clean task in order to perform version bumps and updating the gitHead field (along with a bunch of other tasks).

I'll add a fix to that in the necessary scripts.

@BboyAkers
Copy link
Author

BboyAkers commented Feb 17, 2023

Awesome! Let me know what I can do to help! If you'd like any! 🙂

@ricmoo ricmoo added on-deck This Enhancement or Bug is currently being worked on. v6 Issues regarding v6 labels Feb 18, 2023
ricmoo added a commit that referenced this pull request Feb 19, 2023
@ricmoo
Copy link
Member

ricmoo commented Feb 19, 2023

Fixed in v6.0.5.

Thanks! :)

@ricmoo ricmoo closed this Feb 19, 2023
@ricmoo ricmoo added fixed/complete This Bug is fixed or Enhancement is complete and published. and removed on-deck This Enhancement or Bug is currently being worked on. labels Feb 23, 2023
Woodpile37 pushed a commit to Woodpile37/ethers.js that referenced this pull request Jan 14, 2024
Woodpile37 pushed a commit to Woodpile37/ethers.js that referenced this pull request Jan 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed/complete This Bug is fixed or Enhancement is complete and published. v6 Issues regarding v6
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants