pnp/cli-microsoft365

Enhancement: Update `spfx project externalize` to support SPFx v1.10 and higher

开放

#2,086 创建于 2021年1月18日

 (6 条评论) (2 个反应) (0 位负责人)TypeScript (399 个派生)auto 404
enhancementgood first issuehelp wantedkeep-open

仓库指标

星标
 (1,390 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南