pnp / pnp/cli-microsoft365

Migrate `spo site` commands to Zod

Open
#7,340 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
1.5k
Forks
413
Avg merge
5d 6h
Merged PRs (30d)
21

Description

Part of #6807

Commands to migrate:

  • spo site add
  • spo site admin add
  • spo site admin list
  • spo site admin remove
  • spo site appcatalog add
  • spo site appcatalog remove
  • spo site apppermission add
  • spo site apppermission get
  • spo site apppermission list
  • spo site apppermission remove
  • spo site apppermission set
  • spo site archive
  • spo site chrome set
  • spo site commsite enable
  • spo site ensure
  • spo site groupify
  • spo site hubsite theme sync
  • spo site inplacerecordsmanagement set
  • spo site list
  • spo site membership list
  • spo site recyclebinitem clear
  • spo site recyclebinitem list
  • spo site recyclebinitem move
  • spo site recyclebinitem remove
  • spo site recyclebinitem restore
  • spo site remove
  • spo site rename
  • spo site set
  • spo site unarchive

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with parent issue #6807 and inspect the implementations of the listed spo site command entry points. Migrate each command to Zod, using the project's existing migration conventions, and verify that all checked commands validate their inputs through Zod.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.