File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 1
1
declare interface ENV {
2
2
readonly CI : boolean
3
3
readonly DEBUG : string
4
+ readonly LOG_LEVEL : string
4
5
readonly NODE_AUTH_TOKEN : string
5
6
readonly NODE_ENV : string
7
+ readonly NODE_OPTIONS : string
6
8
readonly PRE_COMMIT : boolean
7
9
readonly SOCKET_CLI_DEBUG : boolean
8
10
readonly TAP : boolean
Original file line number Diff line number Diff line change @@ -28,6 +28,12 @@ module.exports = ObjectFreeze({
28
28
envAsString ( env . NODE_ENV ) . toLowerCase ( ) === 'development'
29
29
? 'development'
30
30
: 'production' ,
31
+ // A space-separated list of command-line options. `options...` are interpreted
32
+ // before command-line options, so command-line options will override or compound
33
+ // after anything in `options...`. Node.js will exit with an error if an option
34
+ // that is not allowed in the environment is used, such as `-p` or a script file.
35
+ // https://nodejs.org/api/cli.html#node_optionsoptions
36
+ NODE_OPTIONS : envAsString ( env . NODE_OPTIONS ) ,
31
37
// PRE_COMMIT is set to '1' by our 'test-pre-commit' script run by the
32
38
// .husky/pre-commit hook.
33
39
PRE_COMMIT : envAsBoolean ( env . PRE_COMMIT ) ,
You can’t perform that action at this time.
0 commit comments