Skip to content

Add package-lock.json schema#5739

Draft
Vessel9817 wants to merge 22 commits into
SchemaStore:masterfrom
Vessel9817:package-lock.json
Draft

Add package-lock.json schema#5739
Vessel9817 wants to merge 22 commits into
SchemaStore:masterfrom
Vessel9817:package-lock.json

Conversation

@Vessel9817

Copy link
Copy Markdown
Contributor

Fixes #5738

@Vessel9817 Vessel9817 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since package.json puts a constraint on bundledDependencies and bundleDependencies such that one or neither of them must exist, not both, using a ref on that schema seems to be affected by ajv-validator/ajv#1571. If this isn't the case, then it'd appear that strict mode has different validation logic for refs in external files.

@Vessel9817

Copy link
Copy Markdown
Contributor Author

Blocked by ajv-validator/ajv#2635

@Vessel9817 Vessel9817 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Blocked by #5836, as this could also resolve the above issue.

Vessel9817 and others added 13 commits June 23, 2026 21:43
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>

@Vessel9817 Vessel9817 left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unblocked, since #5836 was merged into master. Rebasing.

This reverts commit 2b58052.

Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Wasn't able to figure out how to `$ref` `package.json`, so the appropriate values have been copied over.

Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
Signed-off-by: Vessel9817 <151808241+Vessel9817@users.noreply.github.com>
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.

Add package-lock.json schema

1 participant