Closed TheoPouletSouchard closed 3 weeks ago
@EtienneM I tried something with a table, it might be easier to read, WDYT ? (i can rollback to old way if you think it was better before)
I like the idea of a table, but the CLI column is too much. It does not render well:
Maybe remove this column, add a column "Value" and add a line after the table like:
scalingo --app my-app env-set variable=value
or something like that?
Uhm i see what you mean. I'm wondering: as the values just need to be set and can be any string to work, the "value" column is useless, isn't it ?
It might be better to:
WDYT?
Hello @TheoPouletSouchard
Thanks a lot for this PR <3
Uhm i see what you mean. I'm wondering: as the values just need to be set and can be any string to work, the "value" column is useless, isn't it ?
NPM_CONFIG_PRODUCTION
, it seems the value MUST be either true
or false
(See https://github.com/Scalingo/nodejs-buildpack/blob/a2a95190bcc7482f61d3dc7b4cc853d25785a117/lib/environment.sh#L61)YARN_PRODUCTION
, it seems it MUST be set to true
to be effective. (see https://github.com/Scalingo/nodejs-buildpack/blob/a2a95190bcc7482f61d3dc7b4cc853d25785a117/lib/failure.sh#L371)YARN2_SKIP_PRUNING
, it seems it MUST be set to true
to be effective. (see https://github.com/Scalingo/nodejs-buildpack/blob/a2a95190bcc7482f61d3dc7b4cc853d25785a117/lib/dependencies.sh#L181)While I strongly agree that the presence/absence of the environment variable should be enough, it seems it's not the case.
Consequently, I suggest to replace the CLI column of the table with a "Value" column and put an example below.
@Frzk Absolutely! I'll make those changes :)
See https://github.com/Scalingo/documentation/issues/2839