-
Notifications
You must be signed in to change notification settings - Fork 17
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]: Add setting to enable/disable the .nvmrc file creation #285
Comments
@GuidoZam thanks for this suggestion 👍. I think it is a really awesome idea, let's give it though and discuss different options and then prototype(draft/spec) how it should be done before we open it up. |
@GuidoZam some feedback from my side on this idea:
What do you think of the above 👆? IMO applying those suggestions to your idea will make this more flexible and visible. As for the additional remark. For windows one may use |
@Adam-it my reply to your points:
|
Awesome 🤩😍. |
@Adam-it I've updated the issue, I think it's ok this way but if you need more clarification just tell me 😄 |
AWESOME!. All yours 👏😍🤩 |
Hi @GuidoZam |
Hey @Adam-it! Good to know about the hacktoberfest, I will surely commit all the work in time to participate! |
What do you mean by dynamic update? |
I mean to hide or show the
Once done that I will commit the changes! |
maybe it doesn't need to be dynamically show/hidden only when NVS. IMO this setting may always be present but in its description we may just include information that it applies only when NVS manager is selected and for NVM it won't be considered |
That was my plan B! 😄 |
Hey @Adam-it I finally commited the changes! JFYI I had to cancel the previous PR and recreate a new one because there was some issue with some previous commit. |
## 🎯 Aim Added a new additional step setting when scaffolding a new project to specify if the node version manager configuration file should be created or not. ## 📷 Result ![image](https://github.com/user-attachments/assets/e99d1ee8-2c0a-4070-8252-40086a50b222) ![image](https://github.com/user-attachments/assets/bca41a6a-7247-49e0-a51c-adb77d86982b) ## ✅ What was done - [X] Added a new project additional step to create or not the node version manager configuration file. - [X] Added new VSCode setting `createNodeVersionFileDefaultValue` to define the default value of the new project additional step. - [X] Added new VSCode setting `nodeVersionManagerFile` to specify which configuration file to be created. ## 🔗 Related issue Closes: #285
Awesome work 👏👏👏. PR merged and I will try to make a new pre-release with this ASAP 👍 |
## 🎯 Aim Added a new additional step setting when scaffolding a new project to specify if the node version manager configuration file should be created or not. ## 📷 Result ![image](https://github.com/user-attachments/assets/e99d1ee8-2c0a-4070-8252-40086a50b222) ![image](https://github.com/user-attachments/assets/bca41a6a-7247-49e0-a51c-adb77d86982b) ## ✅ What was done - [X] Added a new project additional step to create or not the node version manager configuration file. - [X] Added new VSCode setting `createNodeVersionFileDefaultValue` to define the default value of the new project additional step. - [X] Added new VSCode setting `nodeVersionManagerFile` to specify which configuration file to be created. ## 🔗 Related issue Closes: #285
🎯 Aim of the feature
Add a new additional step setting when scaffolding a new project, the additional
YES/NO
switch will have a label 'Create node version manager configuration file (.nvmrc)'. This setting will be added after the already existing ones:The setting, if set to
YES
, will create the.nvmrc
file when scaffolding the new project.Other than adding the new additional step two new extension settings will be added:
createNodeVersionFileDefaultValue
: this setting will define what's the default value for the additional scaffold step. By default the value will beNO
.nodeVersionManagerFile
: this setting will define what Node version configuration file to use. If the user has selected NVM as Node versioning software this setting won't display, instead if the NVS versioning software is used the user can choose the configuration file to use, the available choices are:.nvmrc
.node-version
📷 Images (if possible) with expected result
No additional remarks
🤔 Additional remarks or comments
No additional remarks
The text was updated successfully, but these errors were encountered: