Skip to content

feat: add missing settings and fix enum in pnpm-workspace schema - #6286

Merged
github-actions[bot] merged 1 commit into
SchemaStore:masterfrom
kanadgupta:master
Sep 2, 2026
Merged

feat: add missing settings and fix enum in pnpm-workspace schema#6286
github-actions[bot] merged 1 commit into
SchemaStore:masterfrom
kanadgupta:master

Conversation

@kanadgupta

Copy link
Copy Markdown
Contributor

Hi there! I discovered that virtualStoreType was missing from the schema, and on comparing against the documentation, I found a few other gaps. See below for what I added/fixed:

Verified with node ./cli.js check --schema-name=pnpm-workspace.json.

Please let me know if you need anything else. Thanks in advance for your review!

…ace schema

Add five settings documented on https://pnpm.io/settings that the schema
was missing, causing "Property X is not allowed" errors in editors:

- virtualStoreType (project | global, added in pnpm v11.23.0)
- frozenStore (boolean, added in pnpm v11.7.0)
- globalShims (boolean or per-package policy map, added in pnpm v12.0.0-rc.2)
- ci (boolean, added in pnpm v10.12.1)
- useRunningStoreServer (boolean, deprecated but still parsed)

Also fix the hoistingLimits enum: "node" -> "none", matching the
documented values (none | workspaces | dependencies).

Extend the pnpm-workspace test fixture to cover all new fields and the
corrected enum value.
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Thanks for the PR!

This section of the codebase is owned by @danielbayley and @btea - if they write a comment saying "LGTM" then it will be merged.

@danielbayley

Copy link
Copy Markdown
Contributor

@btea You want to double check this before merge?

@btea

btea commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

@danielbayley Thanks for reminding me; it seems there's no problem.

@btea

btea commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

LGTM

@github-actions
github-actions Bot merged commit 0450a9a into SchemaStore:master Sep 2, 2026
5 checks passed
@github-actions

github-actions Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Merging because @btea is a code-owner of all the changes - thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants