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

Support cacheDirctories field in package.json #742

Merged
merged 6 commits into from Jan 10, 2023

Conversation

Milo123459
Copy link
Collaborator

@Milo123459 Milo123459 commented Dec 22, 2022

This PR reads cacheDirectories in package.json if it exists and adds it to the build cache. This also adds a helper function to prevent duplicate cache directories. This is mainly for better compatibility with the Heroku Buildpack for Node.

Most of the snapshot changes are just sorting differences, and the contents are actually the same (this is because we use a set to remove duplicates).

  • Tests are added/updated if needed
  • Docs are updated if needed

@Milo123459 Milo123459 added the release/patch Author patch release label Dec 22, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Jan 3, 2023

This pull request is stale because it has been open 10 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the stale The pull request is stale label Jan 3, 2023
@ghost ghost removed the stale The pull request is stale label Jan 5, 2023
@Milo123459 Milo123459 merged commit 1b14bfb into main Jan 10, 2023
@Milo123459 Milo123459 deleted the milo/cache-directories-improvements branch January 10, 2023 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release/patch Author patch release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants