Skip to content

Add npm package name schema#4234

Closed
danielbayley wants to merge 2 commits intoSchemaStore:masterfrom
danielbayley:npm-package-name
Closed

Add npm package name schema#4234
danielbayley wants to merge 2 commits intoSchemaStore:masterfrom
danielbayley:npm-package-name

Conversation

@danielbayley
Copy link
Copy Markdown
Contributor

@danielbayley danielbayley commented Nov 23, 2024

For use as $reference, for example:

"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "/schemas/npm-package-name",
"properties": {
  "dependencies": {
    "type": "object",
    "propertyNames": {
      "$ref": "https://json.schemastore.org/npm-package-name.json"
    }
  }
}
"$schema": "/schemas/npm-package-name",
"dependencies": {
  "@scope/package-name": "^1.0.0",
  "package-name": "^1.0.0"
},

Note

For reference, better linting, and composability, I have built my own collection of schemas here: https://github.com/danielbayley/schemas

@github-actions
Copy link
Copy Markdown
Contributor

Thanks for the PR!

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

@hyperupcall
Copy link
Copy Markdown
Member

Thanks for the contribution, but I'll have to close this for the same reason as stated in #4233 (comment)

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.

2 participants