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

Create packages for generating evm ecosystem configs #164

Closed
wants to merge 21 commits into from

Conversation

swimkirito
Copy link
Contributor

@swimkirito swimkirito commented Jul 1, 2022

Notion ticket: N/A

Checklist

  • Github project and label have been assigned
  • Tests have been added or are unnecessary
  • Docs have been updated or are unnecessary
  • Preview deployment works (visit the Cloudflare preview URL)
  • Manual testing in #product-testing completed or unnecessary

@wormat wormat changed the base branch from master to sdk/solana-spike July 1, 2022 16:49
@cloudflare-pages
Copy link

cloudflare-pages bot commented Jul 1, 2022

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: b7093be
Status: ✅  Deploy successful!
Preview URL: https://d283bed7.swim-ui.pages.dev
Branch Preview URL: https://evm-spike.swim-ui.pages.dev

View logs

Copy link
Collaborator

@wormat wormat left a comment

Choose a reason for hiding this comment

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

Good start, left a bunch of comments.

packages/evm-config/src/index.ts Outdated Show resolved Hide resolved
packages/evm-config/src/index.ts Outdated Show resolved Hide resolved
packages/evm-config/src/index.ts Outdated Show resolved Hide resolved
packages/evm-config/src/index.ts Outdated Show resolved Hide resolved
packages/evm-config/src/index.ts Outdated Show resolved Hide resolved
packages/evm-config/src/index.ts Outdated Show resolved Hide resolved
packages/evm-config/src/index.ts Outdated Show resolved Hide resolved
packages/evm-config/src/index.ts Outdated Show resolved Hide resolved
packages/evm-config/src/index.ts Outdated Show resolved Hide resolved
packages/evm-config/src/base.ts Outdated Show resolved Hide resolved
Copy link
Collaborator

@wormat wormat left a comment

Choose a reason for hiding this comment

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

Making progress. I'm assuming all the other packages are just like the Acala one.

packages/evm-config/src/index.ts Outdated Show resolved Hide resolved
packages/plugin-ecosystem-solana/src/base.ts Outdated Show resolved Hide resolved
packages/plugin-ecosystem-solana/src/index.test.ts Outdated Show resolved Hide resolved
packages/plugin-ecosystem-evm-aca/package.json Outdated Show resolved Hide resolved
packages/plugin-ecosystem-evm-aca/package.json Outdated Show resolved Hide resolved
packages/plugin-ecosystem-evm-aca/package.json Outdated Show resolved Hide resolved
packages/plugin-ecosystem-evm-aca/src/index.ts Outdated Show resolved Hide resolved
packages/plugin-ecosystem-evm-aca/src/index.ts Outdated Show resolved Hide resolved
packages/plugin-ecosystem-evm-aca/src/index.ts Outdated Show resolved Hide resolved
packages/plugin-ecosystem-evm-bsc/package.json Outdated Show resolved Hide resolved
@swimkirito swimkirito requested a review from wormat July 5, 2022 14:53
Copy link
Collaborator

@wormat wormat left a comment

Choose a reason for hiding this comment

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

Nice, nearly ready to test it out in the UI package.

@@ -0,0 +1,86 @@
{
Copy link
Collaborator

Choose a reason for hiding this comment

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

If this PR gets merged first we can replace all of these: #168

packages/evm-types/package.json Outdated Show resolved Hide resolved
packages/evm-types/package.json Outdated Show resolved Hide resolved
packages/evm-types/src/index.ts Outdated Show resolved Hide resolved
packages/evm-types/src/index.ts Outdated Show resolved Hide resolved
packages/plugin-ecosystem-acala/src/index.ts Outdated Show resolved Hide resolved
packages/plugin-ecosystem-acala/src/index.ts Outdated Show resolved Hide resolved
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Are some of these new? Not for this PR I think, but could you add submit a PR against the sdk/eslint branch with them in?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Don't think these are new. Most of the other packages have them as well. I'll double check that branch though and add in any new ones.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah, I see they're already in some non-UI packages. All good.

packages/plugin-ecosystem-bnb/src/index.ts Outdated Show resolved Hide resolved
@@ -0,0 +1,14 @@
{
"extends": "../../tsconfig.json",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe it's time for a tsconfig.package.json and a tsconfig.app.json for all the normal compiler options we repeatedly set in these.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

By this do you just mean there's one in the packages directory and one in apps that have all the common options we're setting in these? I suppose either way it'll probably make more sense as a separate PR.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Hadn't thought much about location, but yep can be part of this: https://www.notion.so/exsphere/Improve-tsconfig-json-file-2afa2c859a7e4416a175b983beb7e23d

@wormat wormat changed the title Create package for generating evm ecosystem configs Create packages for generating evm ecosystem configs Jul 5, 2022
@swimkirito swimkirito requested a review from wormat July 5, 2022 21:58
packages/evm-types/package.json Outdated Show resolved Hide resolved
packages/evm-types/src/index.ts Outdated Show resolved Hide resolved
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Ah, I see they're already in some non-UI packages. All good.

@swimkirito swimkirito requested a review from wormat July 6, 2022 16:50
@wormat
Copy link
Collaborator

wormat commented Jul 21, 2022

Superseded by other work/decisions.

@wormat wormat closed this Jul 21, 2022
@wormat wormat deleted the evm-spike branch July 21, 2022 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants