Update wpmjson schema#241
Conversation
thelovekesh
commented
Jun 5, 2026
- Remove team and introduce author
- Update validator for strict validation
- Add test cases to test edge cases
- Add json schema for wpm.json config file
There was a problem hiding this comment.
Code Review
This pull request replaces the team field with a single author field, introduces dependency integrity validation (preventing self-dependencies and duplicate listings), caps dependencies at 16, and adds a new schema.json file. The review feedback highlights several alignment opportunities between the new JSON schema and the Go validator's constraints (such as string lengths, tag counts, and dependency limits). Additionally, it points out a validation discrepancy where version and type should be optional for private packages, and suggests improving self-dependency validation to report errors for both dependencies and devDependencies concurrently.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>