`.env` file support issue tracker
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 122k
- Forks
- 37.3k
- Ø Merge
- 4 T. 2 Std.
- Gemergte PRs (30 T.)
- 283
Beschreibung
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
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Dieses Issue ist ein Diskussionstracker für die .env-Unterstützung in Node.js. Abgeschlossene Punkte sind mit pull requests verknüpft und nicht mit einer benannten Datei oder einem Test. Prüfe zuerst die verknüpften dotenv-bezogenen pull requests und den bisherigen Verlauf des verbleibenden Issues; die aufgeführten Fragen sind als gelöst markiert, daher gibt es hier keine klar definierte verbleibende Änderung oder keinen klar definierten Abschlusstest.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript, node.js
- Bereich
- backend, cli
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 15/100