Skip to content

New command: rename SharePoint Framework project #1349

@waldekmastykarz

Description

@waldekmastykarz

Usage

spfx project rename [options]

Description

Renames SharePoint Framework project

Options

Option Description
-n, --newName <newName> New name for the project
--generateNewId Generate a new solution id for the project
-o, --output [output] Output type. json|text. Default text
--verbose Runs command with verbose logging
--debug Runs command with debug logging

Additional Information

Related issue #1327.

Command applies to following changes to the project:

  • yo-rc.json: update libraryName and libraryId
  • deploy-azure-storage.json: update container property
  • package-solution.json: update name, id and zippedPackage
  • package.json: update name
  • readme.md: update title

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions