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: [M3-6230] - Remove unused packages + update lint-staged #8860

Merged
merged 4 commits into from
Mar 10, 2023

Conversation

jaalah-akamai
Copy link
Contributor

Description 📝

  • Removes old unused packages from root package.json.
  • Fixed misspelling of z-index

@jaalah-akamai jaalah-akamai added the Dependencies Pull requests that update a dependency file label Mar 9, 2023
@jaalah-akamai jaalah-akamai self-assigned this Mar 9, 2023
Copy link
Member

@bnussman-akamai bnussman-akamai left a comment

Choose a reason for hiding this comment

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

Can you run yarn in the repo's root to update the lockfile?

@@ -9193,11 +9181,6 @@ is-obj@^1.0.1:
resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f"
integrity sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==

is-obj@^2.0.0:
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this one fine to remove? yarn why had this output:

=> Found "is-obj@1.0.1"
info Reasons this module exists
   - "_project_#lint-staged#stringify-object" depends on it
   - Hoisted from "_project_#lint-staged#stringify-object#is-obj"
info Disk size without dependencies: "16KB"
info Disk size with unique dependencies: "16KB"
info Disk size with transitive dependencies: "16KB"
info Number of shared dependencies: 0
✨  Done in 0.37s.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is an interesting one because it's needed for stringify-object which is used by lint-staged. However, in the latest versions of lint-staged, this dependency has been removed. So yes we need it, but if we upgrade to latest lint-staged and migrated safely, we could remove it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just checked, we can upgrade to latest since we're using node v18+ - I'll update

@jaalah-akamai jaalah-akamai changed the title chore: [M3-6230] - Remove unused packages deps: [M3-6230] - Remove unused packages + update lint-staged Mar 10, 2023
Copy link
Member

@bnussman-akamai bnussman-akamai left a comment

Choose a reason for hiding this comment

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

Nice job with the upgrade! Verified with yarn why that the removed yarn resolutions are no longer needed ✅

@mjac0bs mjac0bs added Approved Multiple approvals and ready to merge! and removed Ready for Review labels Mar 10, 2023
@jaalah-akamai jaalah-akamai merged commit af5e6be into linode:develop Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Multiple approvals and ready to merge! Dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants