Skip to content
This repository has been archived by the owner on Jan 18, 2024. It is now read-only.

Removed unused dependencies including 'eosjs-ecc' #61

Merged
merged 10 commits into from
Apr 26, 2023

Conversation

kellytran3k
Copy link
Contributor

@kellytran3k kellytran3k commented Apr 25, 2023

Change

Fixes these relevant issues: #57, #59

I removed unused dependencies including eosjs-ecc by scoping out depcheck and running npm test-all after every npm uninstall <unused_dependency>

Dependencies removed:

  • eslist
  • pako
  • @cypress/skip-test
  • @types/node
  • @types/node-fetch
  • @types/pako
  • clean-webpack-plugin
  • crypto-browserify
  • rimraf
  • ts-loader
  • typedoc
  • typedoc-markdown-theme
  • webpack-cli

I also modified the package.json file's scripts to run npm instead of yarn. This is a part of #12. Further clean up will be done in a separate ticket.

Testing

I used modified version of npm test-all to test against the removed dependencies.
NOTE: Cypress test was failing. Investigation could be further discussed with team.

@kellytran3k kellytran3k marked this pull request as ready for review April 25, 2023 20:38
@juanm95
Copy link
Contributor

juanm95 commented Apr 25, 2023

I see the yarn.lock still there and modified, but your comment said you deleted it, maybe it got added back on or something?

package.json Outdated
"@types/node": "^14.18.36",
"@types/node-fetch": "^2.5.11",
"@types/pako": "^1.0.2",
"@types/jest": "^29.5.1",
Copy link
Contributor

Choose a reason for hiding this comment

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

I see that jest got updated to 29 from 26, might be best to have that upgrade happen as a separate ticket in case that jump adds to our package size or causes something else unexpected. Same thing for the "npm" package that gets added below.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

fixed! thanks! also w the yarn.lock thing idk why I thought I deleted it lolol, but I just modified the description.

AlexGriffith10 and others added 4 commits April 25, 2023 17:14
…ed-text-endcoding

fix: remove deprecated text-encoding package and replace with utils v…
Change calls to substr to use substring instead
@ericpassmore
Copy link
Contributor

validated docs generation with the command node_modules/typedoc/bin/typedoc --plugin typedoc-plugin-markdown

@kellytran3k kellytran3k merged commit 6b99991 into main Apr 26, 2023
@ericpassmore ericpassmore deleted the remove-unused-deps branch May 26, 2023 14:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants