Skip to content

New sample script: uninstall package script #3904

@Adam-it

Description

@Adam-it
Docs
Author Waldek Mastykarz
Original Post #1961
Description scripts allowing developers to easily uninstall .sppkg packages in their tenant, used during development after running gulp package-solution
Keywords spfx sharepoint

the script should have the following steps:

  • automatically detects the package to remove based on the project structure (script assumes it's located in the project root)
  • retracts the package from the tenant
  • removes the package from app catalog
  • removes the package from recycle bin (unless removing from app catalog already gets rid of the file outside of recycle bin)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions