Upgrade Command should run from root regardless of current directory
See original GitHub issueIf a user runs yarn rw upgrade ...
from a directory other than project root, there are cases where the root package.json
is not handled correctly by yarn ('cause yarn is a mess when it comes to this command).
We need to ensure Execa has cwd set whenever it is called: https://github.com/redwoodjs/redwood/blob/main/packages/cli/src/commands/upgrade.js
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
change root directory for command prompt
cd\ - This command will take you to the root directory, regardless of your location. For example: If you are currently at C:\Users\...
Read more >How to reference a project root directory in an npm script
We can reference the root directory of the project through the environment variable `INIT_CWD` that npm set for us! From the doc :...
Read more >Navigating Files and Directories - Data Carpentry
Use a single command to navigate multiple steps in your directory structure, including moving backwards (one level up). Perform operations on files in ......
Read more >Linux Pro Practice Cert Flashcards - Quizlet
Prevents the home directory from being created regardless of system settings. Entering useradd -h or useradd --help shows you that the -M switch...
Read more >How can I make a program executable from everywhere
In the folder that you compiled the program, as root, run 'make ... current directory to the search path, you will have to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
hi all - just submitted a pr
https://github.com/redwoodjs/redwood/pull/2081
I am new to open source community, can you please assign this issue to me?? Working on this issue would be a start for me.