-
Notifications
You must be signed in to change notification settings - Fork 29
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
Generate .env when run shipjs setup #911
Comments
In addition, I think that In fact, I recently had an accidental |
I'm actually increasingly convinced that having a .env in the root of a package that you will publish is too risky, we have also published tokens by accident (by doing the publish on a local machine when CI failed), and that's a design we want to avoid! Either shipjs creates it, but also creates all files to be sure it's ignored, or we recommend passing the token as an environment variable only. Did anyone do research on how other publish scripts solve this? |
I agree. Even though Is it enough if Open to hear your thoughts. |
Umm. |
We have this step in If I understand your intention correctly, you think it's a bit too late and you'd like to get the information at the time of |
Is your feature request related to a problem? Please describe.
When we run
shipjs prepare
at local, .env is needed.But Shipjs's log when run command
shipjs setup
does not explain that thing.Describe the solution you'd like
I want to propose two ways.
.env
when runnpx shipjs setup
shipjs setup
:create .env file on project's root. The file used when run shipjs prepare
Describe alternatives you've considered
Additional context
If already exists
.env
, insert text to the file.The text was updated successfully, but these errors were encountered: