Scalingo / documentation

Scalingo Documentation Center
https://doc.scalingo.com
9 stars 73 forks source link

[Node.js] Confusion about how to prune devDependencies #2841

Closed TheoPouletSouchard closed 3 weeks ago

TheoPouletSouchard commented 1 month ago

See https://github.com/Scalingo/documentation/issues/2839

TheoPouletSouchard commented 1 month 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)

TheoPouletSouchard commented 1 month ago

I like the idea of a table, but the CLI column is too much. It does not render well:

image

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?

Frzk commented 1 month ago

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 ?

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.

TheoPouletSouchard commented 1 month ago

@Frzk Absolutely! I'll make those changes :)