generated from hamlim/template-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://one-version.vercel.app/schema.json", | ||
"title": "One Version Configuration", | ||
"description": "The configuration for the one-version NPM package", | ||
"type": "object", | ||
"properties": { | ||
"packageManager": { | ||
"type": "string", | ||
"enum": ["bun", "yarn-berry", "yarn-classic", "pnpm", "npm"], | ||
"description": "The package manager to use. Defaults to detecting based on the presence of a lockfile." | ||
}, | ||
"overrides": { | ||
"type": "object", | ||
"patternProperties": { | ||
"^[a-zA-Z0-9@/._-]+$": { | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
} | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"description": "A mapping of dependencies and which workspaces are allowed to use different versions." | ||
} | ||
}, | ||
"required": ["packageManager"], | ||
"additionalProperties": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"$schema": "./apps/docs/public/schema.json", | ||
"packageManager": "bun" | ||
} |