Comments (6)
Package published: https://www.npmjs.com/package/dotenv-flow-cli
from dotenv-flow.
Hi Maciej,
Sounds good! I think it would be better to have a separate package, and that's why:
I want to keep dotenv-flow
as lightweight as possible. Actually, I was planning to remove the dotenv
module from dependencies, implementing the .parse()
method as a part of this module, thus making it really zero-dependent.
As for the executable like dotenv-cli
, I think it's not possible (at least not reasonable) to implement it without adding some dependencies.
from dotenv-flow.
I've put it together quickly: https://github.com/ovos/dotenv-flow-cli
Let me know please if you are fine with it, so I could transfer it to your username.
from dotenv-flow.
The first thing I would recommend is to name the executable dotenv-flow
instead of dotenv
, I believe that it's already reserved by dotenv-cli
.
The second is: I can't imagine the situation when somebody needs to install that package locally (I mean not globally).
If somebody installs it as a dependency to their own project, they would like to have their own executable, and it's more reasonable to simply require('dotenv-flow')
in that executable.
And the third thing is: If you agree with my second point (that dotenv-flow-cli
is reasonable to install globally only), then it's better to have dotenv-flow
as a direct dependency (not peer). It would be easier to install it just running npm -g dotenv-flow-cli
.
And for sure I'm pleased that you want to transfer it to my username, but what is the reason? 😄
from dotenv-flow.
Thanks for your input!
I've renamed bin
from dotenv
to dotenv-flow
to avoid conflicts with dotenv-cli
.
Use case for local install: running defined scripts without an additional requirement of global install (esp. on CI) or having to add another .js
wrapper just to run some command.
I've moved dotenv-flow
from peer to direct dependencies anyway, I guess that won't hurt.
And for sure I'm pleased that you want to transfer it to my username, but what is the reason? 😄
oh I just thought, it might be easier for current or future users of dotenv-flow
to discover this package if it's "next to" the mother package 😅 I can keep it under my name though no problem.
from dotenv-flow.
Yeah, now I got it.
As for me, it seems that it doesn't give users easier discovering of the related packages.
At least, almost nobody discovers the dotenv-flow-webpack package that I've created a year ago.
I think we need to create the "Related Packages" section in README.md
, and list them all there.
from dotenv-flow.
Related Issues (20)
- node your_script.js --node-env=production does not work HOT 1
- Specifying NODE_ENV in .env.local file HOT 3
- Suggestion: schema file HOT 1
- Why items in .env.local is not picked ? HOT 2
- Is this the 12 factor way? HOT 2
- no default export.ts HOT 1
- no error property set when .env file is not present HOT 3
- Empty values aren't respected HOT 2
- Ability to change `NODE_ENV` option to switch .env.<NODE_ENV> files HOT 2
- cannot use base64 encoded .env file to decode HOT 2
- Error with symlink .env.local HOT 1
- config({purge_dotenv=true}) fails to load any environment if .env not found HOT 1
- Is DOTENV_FLOW_SILENT supposed to suppress "already defined" messages? HOT 8
- how to load with import? HOT 9
- Is this package still maintained? HOT 9
- Launch "test:e2e": "vue-cli-service test:e2e --mode e2e" , but only .env is loaded HOT 1
- bug(load): Non-existent files fail silently HOT 4
- npx mocha -r dotenv-flow/config --recursive app not working on 4.0.0 but was fine on 3.2.0 HOT 1
- variables overwriting/priority does not match Next.js HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dotenv-flow.