`.env` file support issue tracker
オープン
まだ誰も着手していません。
discuss
dotenv
- 主要言語
- JavaScript
- スター
- 122k
- フォーク
- 37.3k
- 平均マージ
- 4日 2時間
- マージ済み PR(30日)
- 283
説明
This is a follow-up of dotenv support pr to track the development process, and answer some questions that require a general discussion for making the decision to implement them.
Todos:
- Precisely define the syntax of
.envfiles, and consider a better format not based on ini - Supporting absolute paths for .env file https://github.com/nodejs/node/pull/51425
- Should we support multiple
--env-filethrough the CLI? (cc @GeoffreyBooth) https://github.com/nodejs/node/pull/49542 - Support multi-line values https://github.com/nodejs/node/pull/51289
- Follow up after @tniessen's PR has landed to main https://github.com/nodejs/node/pull/49213
- Should we add a programmatic API? If yes, what would be the use-case? (cc @cjihrig) https://github.com/nodejs/node/pull/51476
Questions:
-
Should we merge NODE_OPTIONS if both environment variable and .env version exist? Currently, we prefer environment variable over .env configuration.(cc @ljharb) https://github.com/nodejs/node/pull/49217 - Should we throw if
.envfile does not exist? We currently follow the default behavior ofdotenvpackage and do not throw. (cc @MoLow)
Please feel free to edit this issue in case there are more questions that needs to be answered.
cc @nodejs/tsc
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue は Node.js の .env サポートに関する議論の追跡用で、完了済みの項目は名前付きのファイルやテストではなく pull requests にリンクされています。まず、リンクされている dotenv 関連の pull requests と、残っている issue の履歴を確認してください。列挙された質問は解決済みとマークされているため、ここには明確に定義された残りの変更も完了テストもありません。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, node.js
- 領域
- backend, cli
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 15/100