-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: 可选择实现的 pin 命令 #271
Labels
enhancement
New feature or request
Comments
|
测试了一下,感觉应该是可以的,感谢回复 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
1. Your usage scenarios?
Volta 提供了一种 pin 命令,可以在 package.json 中记录下本项目使用的 nodejs 的版本号。在切换不同的项目时,Volta 可以自动安装项目所需版本号,并且自动切换到对应的版本。
2. What is your expected outcome?
虽然 vfox 提供了项目级的版本管理能力,但如果能够自动切换会更方便,并且该版本号可以提交到 git 中,以便与他人共享。有没有可能实现类似的功能?初步设想,该功能应该在插件中可选择实现类似 pin 的命令。如果插件支持 pin 命令,比如 nodejs,则在 package.json 中进行记录(类型 volta 的实现);如果是 java,则可以看是否存在 pom.xml 或其它配置文件。
The text was updated successfully, but these errors were encountered: