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

ETH-795: Export chain-related types along with the config #923

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

mondoreale
Copy link
Contributor

No description provided.

@mondoreale mondoreale requested a review from jtakalai October 31, 2024 12:41
Copy link

linear bot commented Oct 31, 2024

Copy link
Contributor

@jtakalai jtakalai left a comment

Choose a reason for hiding this comment

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

problem with removing ""s from the rawConfig is now it's not JSON anymore. Even better would be to put it into a separate json file (which is valid JSON), then read from there and give correct types for typescript. We want non-JS/TS languages be able to read this config as well.

@@ -1,462 +1,547 @@
export const config = {
Copy link
Contributor Author

@mondoreale mondoreale Nov 4, 2024

Choose a reason for hiding this comment

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

@jtakalai this wasn't JSON before already. What's your idea on moving forward?

  • Do you want to expose config.json?
  • Do you want to have a config.json next to config.js so people can decide (or straight up copy-paste)?

lmk

Cheers

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jtakalai thoughts?

Copy link
Contributor

Choose a reason for hiding this comment

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

ideally there would be a config.json that maybe then gets processed into whatever works best for a Typescript NPM package?

@jtakalai jtakalai self-requested a review December 9, 2024 09:22
@@ -1,462 +1,547 @@
export const config = {
Copy link
Contributor

Choose a reason for hiding this comment

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

ideally there would be a config.json that maybe then gets processed into whatever works best for a Typescript NPM package?

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.

2 participants