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.

貢獻者指南