pnp / pnp/cli-microsoft365

Migrate `spo page` commands to Zod

Open
#7,336 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 page add
  • spo page clientsidewebpart add
  • spo page column get
  • spo page column list
  • spo page control get
  • spo page control list
  • spo page control set
  • spo page copy
  • spo page header set
  • spo page list
  • spo page remove
  • spo page section add
  • spo page section get
  • spo page section list
  • spo page set
  • spo page template list
  • spo page text add

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 by locating the implementations for the listed spo page commands and compare them with the migration pattern from parent issue #6807. Migrate each of the 17 commands to Zod, then verify that every checklist item is complete and the commands retain their expected behavior.

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
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.