Skip to content

Set cwd to project's base path when running yarn rw upgrade - #2081

Merged
thedavidprice merged 2 commits into
redwoodjs:mainfrom
qooqu:main
Mar 24, 2021
Merged

thedavidprice merged 2 commits into
redwoodjs:mainfrom
qooqu:main

Conversation

@qooqu

@qooqu qooqu commented Mar 24, 2021

Copy link
Copy Markdown
Contributor

#1659

used getPaths to get the base path, then added it to each execa with the cwd option

did some extremely rudimentary manual testing, so could definitely use some help on that front

@github-actions

github-actions Bot commented Mar 24, 2021

Copy link
Copy Markdown

📦 PR Packages

Click to Show Package Download Links

https://rw-pr-redwoodjs-com.s3.amazonaws.com/2081/create-redwood-app-0.27.1-d5eae05.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2081/redwoodjs-api-0.27.1-d5eae05.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2081/redwoodjs-api-server-0.27.1-d5eae05.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2081/redwoodjs-auth-0.27.1-d5eae05.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2081/redwoodjs-cli-0.27.1-d5eae05.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2081/redwoodjs-core-0.27.1-d5eae05.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2081/redwoodjs-dev-server-0.27.1-d5eae05.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2081/redwoodjs-eslint-config-0.27.1-d5eae05.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2081/redwoodjs-eslint-plugin-redwood-0.27.1-d5eae05.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2081/redwoodjs-forms-0.27.1-d5eae05.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2081/redwoodjs-internal-0.27.1-d5eae05.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2081/redwoodjs-prerender-0.27.1-d5eae05.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2081/redwoodjs-router-0.27.1-d5eae05.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2081/redwoodjs-structure-0.27.1-d5eae05.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2081/redwoodjs-testing-0.27.1-d5eae05.tgz
https://rw-pr-redwoodjs-com.s3.amazonaws.com/2081/redwoodjs-web-0.27.1-d5eae05.tgz

Install this PR by running yarn rw upgrade --pr 2081:0.27.1-d5eae05

@peterp

peterp commented Mar 24, 2021

Copy link
Copy Markdown
Member

Nice, thank you so much for this, and congrats on your first contribution to RedwoodJS!

@peterp peterp changed the title issue 1659: cli / upgrade Set cwd to project's base path when running yarn rw upgrade Mar 24, 2021
@qooqu

qooqu commented Mar 24, 2021

Copy link
Copy Markdown
Contributor Author

Thanks!

@qooqu

qooqu commented Mar 24, 2021

Copy link
Copy Markdown
Contributor Author

fyi i accidentally committed to this branch, then reverted. hope that doesn't mess anything up

@thedavidprice

Copy link
Copy Markdown
Contributor

Oh, nice! I'm attempting to get this into current release — retriggering Cypress now. (55min?? What in the world is wrong with our CI... 🤔 )

@thedavidprice
thedavidprice merged commit d038e36 into redwoodjs:main Mar 24, 2021
@thedavidprice thedavidprice added this to the next release milestone Mar 24, 2021
@qooqu

qooqu commented Mar 24, 2021

Copy link
Copy Markdown
Contributor Author

Nice!

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.

3 participants