Enhancement: Update `spfx project externalize` to support SPFx v1.10 and higher
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 413
- Avg merge
- 5d 6h
- Merged PRs (30d)
- 21
Description
Currently the spfx project externalize command only supports up to SPFx v1.9.1, therefore we should add support for newer projects.
Error: CLI for Microsoft 365 doesn't support externalizing dependencies of SharePoint Framework projects of version 1.10.0. Supported versions are 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.1.3, 1.2.0, 1.3.0, 1.3.1, 1.3.2, 1.3.4, 1.4.0, 1.4.1, 1.5.0, 1.5.1, 1.6.0, 1.7.0, 1.7.1, 1.8.0, 1.8.1, 1.8.2, 1.9.1
Current workaround is to change the version property in .yo-rc.json file to be 1.9.1.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running spfx project externalize against an SPFx v1.10 project and inspect the command's version handling. The work is done when projects using SPFx v1.10 and higher can be externalized without changing .yo-rc.json to 1.9.1.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100