Skip to content

feat(skills): add node manager detection and switching guide - #3

Open
Nizar Grindi (NizarGrindi) wants to merge 2 commits into
SharePoint:mainfrom
NizarGrindi:feature/detect-node-manager
Open

feat(skills): add node manager detection and switching guide#3
Nizar Grindi (NizarGrindi) wants to merge 2 commits into
SharePoint:mainfrom
NizarGrindi:feature/detect-node-manager

Conversation

@NizarGrindi

Copy link
Copy Markdown

This pull request adds comprehensive support for detecting and switching Node.js version managers in the SPFx skill, improving the upgrade workflow and documentation. The main changes introduce a new guide and detection script, update documentation to reference these tools, and clarify upgrade steps.

Node Manager Detection and Switching:

  • Added a new reference guide node-manager.md that explains how to detect and switch Node.js version managers (nvm, nvs, fnm, volta) for SPFx projects, including usage instructions and manual fallback steps.
  • Added a PowerShell script detect-node-manager.ps1 to programmatically detect the installed Node manager in a deterministic order and output the result as compact JSON.

Documentation Updates:

  • Updated README.md to include the new Node manager guide in both the references list and the feature summary table. [1] [2]
  • Updated upgrade.md to reference the new Node manager guide for manager detection and switching commands during SPFx upgrades.Introduce a new reference for detecting Node version managers and switching to the required Node version for SPFx upgrades. This enhances the upgrade process by ensuring compatibility with the target SPFx version.

Introduce a new reference for detecting Node version managers and switching to the required Node version for SPFx upgrades. This enhances the upgrade process by ensuring compatibility with the target SPFx version.
@NizarGrindi

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant