Warn when the user install the local cli globally
enhancement
### Description
For some persons who don't know Vite+ from the official website, they may easily run `npm -g install vite-plus` to install Vite+, but it is actually not the expected global CLI. Node management and other core features are missing.
### Suggested solution
Print a warning when Vite+ local cli package is installed globally.
### Alternative
N / A
### Additional context
N / A
https://discord.com/channels/1475973262193459293/1524301479794446488/1524365671620804659
### Validations
- [x] Read the [Contributing Guidelines](https://github.com/voidzero-dev/vite-plus/blob/main/CONTRIBUTING.md).
- [x] Confirm this request is for Vite+ itself and not for Vite, Vitest, tsdown, Rolldown, or Oxc.
- [x] Check that there isn't already an issue requesting the same feature.
3 条评论