diff --git a/schemas/lockfile.schema.json b/schemas/lockfile.schema.json index 23ba7cb8..a6e8d84a 100644 --- a/schemas/lockfile.schema.json +++ b/schemas/lockfile.schema.json @@ -53,6 +53,23 @@ "description": "The full specifier as the value for the shortened specifier as the key." } }, + "jsr": { + "type": "object", + "description": "Mapping between resolved jsr specifiers and their associated info.", + "default": {}, + "additionalProperties": { + "type": "object", + "description": "Info associated with a jsr module.", + "default": {}, + "properties": { + "dependencies": { + "type": "array", + "items": { "type": "string" }, + "uniqueItems": true + } + } + } + }, "npm": { "type": "object", "description": "A map of npm package names and versions to their respective hashes.", @@ -79,6 +96,54 @@ } } } + }, + "workspace": { + "$ref": "#/definitions/workspaceMemberConfigContent", + "default": {}, + "properties": { + "members": { + "type": "object", + "default": {}, + "additionalProperties": { + "type": "object", + "default": {}, + "properties": { + "dependencies": { + "type": "array", + "items": { "type": "string" }, + "uniqueItems": true + }, + "packageJson": { + "type": "object", + "default": {}, + "properties": { + "dependencies": { + "type": "array", + "items": { "type": "string" }, + "uniqueItems": true + } + } + } + } + } + }, + "dependencies": { + "type": "array", + "items": { "type": "string" }, + "uniqueItems": true + }, + "packageJson": { + "type": "object", + "default": {}, + "properties": { + "dependencies": { + "type": "array", + "items": { "type": "string" }, + "uniqueItems": true + } + } + } + } } } }