Skip to content
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

Add an option to *not* add "predev" script. #23

Open
jckw opened this issue Apr 22, 2024 · 2 comments
Open

Add an option to *not* add "predev" script. #23

jckw opened this issue Apr 22, 2024 · 2 comments

Comments

@jckw
Copy link

jckw commented Apr 22, 2024

First thing: thank you for making this library! It's so simple and useful - I use it on all of my projects now.

At the moment, dotenv-checker adds a "predev" script to the package.json when run (sometimes).

Many of the projects I work on now use turborepo which allow specifying "dependsOn" steps in a build pipeline. This means that I don't need to use the predev script (which would also run twice if I left it there), plus I'd prefer to keep my package.json clean.

It would be great to be able to specify something so that the predev script is not added.

@jckw
Copy link
Author

jckw commented Apr 22, 2024

Also created a bounty on this as a tip :)

Current bounty reward

To make this a public bounty or have a reward split, the maintainer can reply to this comment.

@chempogonzalez
Copy link
Owner

Hi! @jckw thank you for your issue. Sorry for the delayed response.

I'm with you! I'm using turborepo too an I was planning to make it disabled by default in a new version but keeping it as an opt-in as well in case someone wants to keep it working like it's right now. I'll commit it and publish it soon for sure. I'll notify you when it's available.

Thank you!

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

No branches or pull requests

2 participants