penv
penv copied to clipboard
remove temporary .package.json avec restore base
Thanks for this project that looked like the solution to my problem. ...
The problem is that my package.json is not modifiable
doing work without touching package.json works no problem
- penv TEST // switch to test env
- penv base // switch back to normal env
now say i want to change something in my package.json
- make a change to package.json, e.g. update version number (say 1 to 2)
- penv TEST // to do some work
- the version number is back to original, pre-change (version 1)
- penv base // my version number is version 1
so what I do now, everytime i'm switching back to "base" I do a penv base && rm .package.json
or rm .package.json && penv test
Should the utility do that automatically ?!