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

deps: remove unused deps and dep-check in CI #2206

Merged
merged 12 commits into from
Feb 6, 2024

Conversation

SgtPooki
Copy link
Member

@SgtPooki SgtPooki commented Feb 5, 2024

  • chore: removing a few obvious unused deps
  • deps: remove ipfs-core-types
  • test: get available port for e2e testing
  • deps: remove more unused deps
  • chore: temporarily disable findLocations test
  • test(e2e): increase two explore test timeouts
  • deps: remove unused babel plugins
  • deps: remove npm dnslink-simple
  • deps: remove ipfs-core-utils
  • deps: remove jest-watch-typeahead
  • chore: run dep-check in CI

fixes #2020

@SgtPooki SgtPooki requested a review from a team as a code owner February 5, 2024 22:24
@SgtPooki SgtPooki linked an issue Feb 5, 2024 that may be closed by this pull request
Copy link
Member Author

@SgtPooki SgtPooki left a comment

Choose a reason for hiding this comment

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

self review

@@ -339,7 +339,7 @@ describe('selectPeersCoordinates', () => {
})

describe('PeerLocationResolver', () => {
describe('findLocations', () => {
describe.skip('findLocations', () => {
Copy link
Member Author

Choose a reason for hiding this comment

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

This is failing due to network requests. disabling for now.

Copy link
Member Author

Choose a reason for hiding this comment

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

opened #2207 to re-enable


const webuiPort = 3001
const rpcPort = 55001
const rpcPort = await getPort(55001, '0.0.0.0')
Copy link
Member Author

Choose a reason for hiding this comment

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

fixes issues where running other programs locally can cause unexpected failures. (Mintter was on 55001 here)

"docs",
"build"
],
"scripts": {
"start": "run-script-os",
"start:win32": "@powershell -Command $env:REACT_APP_GIT_REV=(git rev-parse --short HEAD); react-app-rewired-esm start",
"start:darwin:linux": "cross-env NODE_ENV=development REACT_APP_ENV=development REACT_APP_GIT_REV=`git rev-parse --short HEAD` react-app-rewired-esm start",
"lint": "run-s eslint typecheck",
"lint": "run-s eslint typecheck dep-check",
Copy link
Member Author

Choose a reason for hiding this comment

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

this isn't called by CI, but probably should be. will address later (combine workflows currently doing typecheck, eslint, & depcheck separately)

@SgtPooki SgtPooki self-assigned this Feb 5, 2024
@SgtPooki SgtPooki merged commit 8459a24 into main Feb 6, 2024
24 checks passed
@SgtPooki SgtPooki deleted the 2020-add-check-for-missing-dependencies-to-ci branch February 6, 2024 00:23
@ipfs-gui-bot
Copy link
Collaborator

🎉 This PR is included in version 4.2.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: 🎉 Done
Development

Successfully merging this pull request may close these issues.

Add check for missing dependencies to CI
2 participants