-
Notifications
You must be signed in to change notification settings - Fork 1k
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
chore(deps): update dependency rimraf to v4 #7907
Conversation
We need to check all package build scripts; many of them use rimraf to get rid of test files. |
951ad38
to
7f4e96b
Compare
7f4e96b
to
7e1640b
Compare
16 replays were recorded for 1f9a778.
|
7e1640b
to
68c650a
Compare
Testing locally, including test-project and project Subjectively |
@@ -7,7 +7,7 @@ | |||
], | |||
"scripts": { | |||
"build": "lerna run build", | |||
"build:clean": "yarn clean:prisma && rimraf \"packages/**/dist\"", | |||
"build:clean": "yarn clean:prisma && rimraf \"packages/**/dist\" --glob", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
new config required. Note: I tested locally to confirm working, especially in case of test directories
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. ⚠ Warning: custom changes will be lost. |
@@ -89,7 +89,7 @@ export const handler = async ({ | |||
// Vite handles this internally | |||
title: 'Cleaning Web...', | |||
task: () => { | |||
rimraf.sync(rwjsPaths.web.dist) | |||
rimraf(rwjsPaths.web.dist) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rimraf() now returns promise. rimraf.sync() is slower
@@ -117,7 +117,7 @@ export async function copyFrameworkFilesToProject( | |||
files.length, | |||
'files' | |||
) | |||
rimraf.sync(packageDstPath) | |||
await rimraf(packageDstPath) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using new return Promise behavior
@@ -9658,7 +9656,7 @@ __metadata: | |||
languageName: node | |||
linkType: hard | |||
|
|||
"@types/rimraf@npm:3.0.2, @types/rimraf@npm:^3.0.2": | |||
"@types/rimraf@npm:^3.0.2": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm, this shouldn't be here anymore as types are included in v4 Checking
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's ok. Required by the google-gax dep
* chore(deps): update dependency rimraf to v4 * chore(deps): update dependency rimraf to v4 * codemod breaking changes * Update packages/cli/src/commands/buildHandler.js --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: David Price <[email protected]> Co-authored-by: Dominic Saadi <[email protected]>
* 'main' of github.com:redwoodjs/redwood: (162 commits) fix(deps): update dependency @escape.tech/graphql-armor to v1.8.0 (redwoodjs#7922) chore(deps): update dependency @playwright/test to v1.32.1 (redwoodjs#7924) chore(deps): update dependency @testing-library/dom to v9.2.0 (redwoodjs#7921) chore(deps): update dependency rimraf to v4 (redwoodjs#7907) fix(deps): update dependency react-hook-form to v7.43.8 (redwoodjs#7920) fix(deps): update dependency @fastify/http-proxy to v9 (redwoodjs#7889) fix(deps): update dependency @types/node to v16.18.20 (redwoodjs#7919) chore(deps): update dependency @replayio/playwright to v0.3.27 (redwoodjs#7918) fix(Clerk): call reauthenticate before navigating (redwoodjs#7917) chore(deps): update dependency esbuild to v0.17.13 (redwoodjs#7915) chore(deps): update dependency lerna to v6.6.1 (redwoodjs#7916) chore(deps): update dependency @tsd/typescript to v5 (redwoodjs#7856) chore(deps): update dependency @testing-library/dom to v9.1.0 (redwoodjs#7914) fix(deps): update dependency msw to v1.2.1 (redwoodjs#7911) chore(deps): update dependency @types/react to v18.0.29 (redwoodjs#7912) chore(deps): update dependency nx to v15.8.9 (redwoodjs#7913) Fix for directUrl usage during testing (redwoodjs#7898) fix(deps): update dependency prettier to v2.8.7 (redwoodjs#7908) chore(deps): update dependency @nrwl/nx-cloud to v15.3.2 (redwoodjs#7904) fix(deps): update dependency @types/node to v16.18.19 (redwoodjs#7906) ...
This PR contains the following updates:
3.0.2
->4.4.1
Release Notes
isaacs/rimraf
v4.4.1
Compare Source
v4.4.0
Compare Source
v4.3.1
Compare Source
v4.3.0
Compare Source
v4.2.0
Compare Source
v4.1.4
Compare Source
v4.1.3
Compare Source
v4.1.2
Compare Source
v4.1.1
Compare Source
v4.1.0
Compare Source
v4.0.7
Compare Source
v4.0.6
Compare Source
v4.0.5
Compare Source
v4.0.4
Compare Source
v4.0.3
Compare Source
v4.0.2
Compare Source
v4.0.1
Compare Source
v4.0.0
Compare Source
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.