np
np copied to clipboard
Add flag to skip "Unclean working tree" check
I'm testing out np in a seperate branch, and trying to run it with yolo and no-cleanup, which should skip the check local working tree step. However, it's not and still checks. I get the -> Unclean working tree. Commit or stash changes first.
I'd like to be able to skip the check local working tree check, and get past the → Unclean working tree. Commit or stash changes first.
message.
- add some local files like env.development which are okay to have on your local install. (to normally fail the unclean environment check)
-
yarn np --no-cleanup --yolo --no-publish --any-branch --no-git-checks --no-cleanup
The important part being --yolo in that test - See the error when bumping
Expected behavior
To be able to get past the Check local working tree step
Environment
np - 7.6.2 Node.js - v16.13.2 Git - 2.30.1 OS - Mac OS 12.4 Git - 1.22.19
I think it could even be part of --yolo