Skip to content

refactor: use memoize and MemoizeCache from @netlify/dev-utils #7427

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

Merged
merged 6 commits into from
Jul 21, 2025

Conversation

keanu-a
Copy link
Contributor

@keanu-a keanu-a commented Jul 16, 2025

🎉 Thanks for submitting a pull request! 🎉

Summary

Fixes #EX-340

Refactoring all usages of memoizeBuild and BuildCommandCache in cli to use memoize and MemoizeCache from @netlify/dev-utils.


For us to review and ship your PR efficiently, please perform the following steps:

  • Open a bug/issue before writing your code 🧑‍💻. This ensures we can discuss the changes and get feedback from everyone that should be involved. If you`re fixing a typo or something that`s on fire 🔥 (e.g. incident related), you can skip this step.
  • Read the contribution guidelines 📖. This ensures your code follows our style guide and
    passes our tests.
  • Update or add tests (if any source code was changed or added) 🧪
  • Update or add documentation (if features were changed or added) 📝
  • Make sure the status checks below are successful ✅

A picture of a cute animal (not mandatory, but encouraged)

Copy link

github-actions bot commented Jul 16, 2025

📊 Benchmark results

Comparing with 5d6d5e4

  • Dependency count: 1,082 (no change)
  • Package size: 288 MB (no change)
  • Number of ts-expect-error directives: 399 (no change)

@keanu-a keanu-a marked this pull request as ready for review July 18, 2025 19:56
@keanu-a keanu-a requested a review from a team as a code owner July 18, 2025 19:56
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

@serhalp serhalp left a comment

Choose a reason for hiding this comment

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

🚀

@keanu-a keanu-a merged commit dcd082a into main Jul 21, 2025
47 checks passed
@keanu-a keanu-a deleted the keanualoua/ex-340-use-memoize-from-netlifydev-utils branch July 21, 2025 17:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants