yarnpkg / website

Yarn package manager website
https://classic.yarnpkg.com
431 stars 974 forks source link

change --global to --location=global #1213

Open bolbolamir opened 11 months ago

bolbolamir commented 11 months ago

Hi, I noticed that npm has recently deprecated the --global flag, so I changed the relevant occurrences of that.

Haroenv commented 11 months ago

Thanks, but if we make this change, it will only work for newer version of npm, while --global is still supported. Maybe we should wait a bit?

bolbolamir commented 11 months ago

Thanks, but if we make this change, it will only work for newer version of npm, while --global is still supported. Maybe we should wait a bit?

I guess you are right, didn't notice that.