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

Convert repo into yarn workspace and move eslint to the root directory #932

Merged
merged 13 commits into from
Jul 12, 2023

Conversation

cb-jake
Copy link
Contributor

@cb-jake cb-jake commented Jul 12, 2023

Summary

  • Convert repo into yarn workspace
  • Added a new ESLINT config
  • Moved lint check to the root level directory
  • Added prettier to eslint and removed prettier rules (now covered via lint)
  • Executed lint on all files
  • Added testing support for Node 20.x
  • Removed testing support for Node 14.x (an eslint upgrade stops support for < 16.x.)
  • Updated github actions to support new lint

How did you test your changes?

  • manually created a bundle and installed it into a few test dapps

packages/wallet-sdk/src/util.ts Fixed Show resolved Hide resolved
@cb-jake cb-jake requested review from bangtoven and erin-at-work and removed request for bangtoven July 12, 2023 21:16
@cb-jake cb-jake changed the title Convert repo into yarn workspace Convert repo into yarn workspace and move eslint to the root directory Jul 12, 2023
Copy link
Contributor

@bangtoven bangtoven left a comment

Choose a reason for hiding this comment

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

LFG

@cb-jake cb-jake merged commit c744255 into master Jul 12, 2023
@cb-jake cb-jake deleted the yarn-workspace branch July 12, 2023 21:21
legobeat added a commit to legobeat/coinbase-wallet-sdk that referenced this pull request Sep 10, 2023
The dependencies eth-block-tracker@7.1.0 and eth-json-rpc-filters both
require nodejs v14 while the package manifest currently indicates support for v10.

Support for nodejs v14 and lower seems to already have dropped from
coinbase-wallet-sdk in coinbase#932.

This fixes that by dropping ndicated support for major nodejs versions
10-15,17,19.
legobeat added a commit to legobeat/coinbase-wallet-sdk that referenced this pull request Sep 10, 2023
The dependencies eth-block-tracker@7.1.0 and eth-json-rpc-filters both
require nodejs v14 while the package manifest currently indicates support for v10.

Support for nodejs v14 and lower seems to already have dropped from
coinbase-wallet-sdk in coinbase#932.

This fixes that discrepancy by dropping indicated support for major nodejs versions
10-15,17,19.
legobeat added a commit to legobeat/coinbase-wallet-sdk that referenced this pull request Sep 10, 2023
The dependencies eth-block-tracker@7.1.0 and eth-json-rpc-filters both
require nodejs v14 while the package manifest currently indicates support for v10.

Support for nodejs v14 and lower seems to already have been dropped from
coinbase-wallet-sdk in coinbase#932.

This fixes that discrepancy by dropping indicated support for major nodejs versions
10-15,17,19.
legobeat added a commit to legobeat/coinbase-wallet-sdk that referenced this pull request Sep 10, 2023
The dependencies eth-block-tracker@7.1.0 and eth-json-rpc-filters both
require nodejs v14 while the package manifest currently indicates support for v10.

Support for nodejs v14 and lower seems to already have been dropped from
coinbase-wallet-sdk in coinbase#932.

This fixes that discrepancy by dropping indicated support for major nodejs versions
10-15,17,19.
bangtoven pushed a commit that referenced this pull request Feb 29, 2024
#932)

* convert repo to yarn workspace

* update readme to account for workspace configuration

* cleanup

* move eslint to top level

* scaffold new directories

* move eslint to top level directory

* additional lint

* favor top level eslint over local

* fix testing types

* CodeQL check

* clean up pkgs

* modify node version

* drop 14.x in favor of 20.x
bangtoven pushed a commit that referenced this pull request Aug 16, 2024
#932)

* convert repo to yarn workspace

* update readme to account for workspace configuration

* cleanup

* move eslint to top level

* scaffold new directories

* move eslint to top level directory

* additional lint

* favor top level eslint over local

* fix testing types

* CodeQL check

* clean up pkgs

* modify node version

* drop 14.x in favor of 20.x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants