-
Notifications
You must be signed in to change notification settings - Fork 195
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
Feature/eslint config package #545
Conversation
…ol/hop into feature/eslint-config-package
|
@miguelmota final commits have been pushed:
|
@miguelmota final round of changes. Ready to merge at any time now.
|
That seems fine. I think the Dockerfiles need to be updated to reflect that change.
I think that the
Is
Seems good to me 👍 I see that sdk CDN docs from README were removed. Any reason? For example, ethers has cdn links/examples in docs |
packages/hop-node/src/cli/cli.ts
Outdated
@@ -54,7 +52,9 @@ import './withdrawalProof' | |||
import './metrics/bonderBalance' | |||
import './metrics/bonderTxCost' | |||
|
|||
program.version(packageJson.version) | |||
// TODO: Since package.json version isn't updated, it shouldn't be used here | |||
const version = '0.0.1' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe the git revision can be used as version here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. Updated with 2ac8579.
Updated with 9768d45. I believe that works, but plan on doing a quick pass on the Docker stuff today, most just for my understanding.
That is interesting and I did not know that. I thought
Good catch, I didn't realize this. I just went to add it but then realized that it (understandably) completely ignores One note is that there is a native way to do this too. Our
I had removed bundling completely for a bit and removed from the README at that time. I dove in a bit and now have a better understanding so I added the bundle back but forgot to reintroduce to the README. Reintroduced with 2ac8579. |
Maybe there's a way to autogenerate the swc config from tsconfig, such as creating a small script to map tsconfig options to swc config options and output to .swcrc. I like the speed improvements and wouldn't be opposed for hop-node to use a different build system. |
.eslintrc.js
andtsconfig.json
to the monorepo root for the packages to extend and use. The only additional configuration is infrontend
that also extends eslint react plugins and rules.ipfs-worker/
, andsdk-demo-api/
(in favor ofapi/
which is basically the same thing)--fix
changes