-
-
Notifications
You must be signed in to change notification settings - Fork 140
Expand file tree
/
Copy pathschema.json
More file actions
175 lines (175 loc) · 5.74 KB
/
schema.json
File metadata and controls
175 lines (175 loc) · 5.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://github.com/antfu-collective/taze/schema.json",
"title": "Taze Configuration",
"description": "Configuration for taze. Used by .tazerc, .tazerc.json, and taze.config.{js,ts,mjs,cjs}.",
"type": "object",
"additionalProperties": false,
"properties": {
"$schema": {
"type": "string",
"description": "JSON Schema reference for editor autocomplete and validation."
},
"cwd": {
"type": "string",
"description": "Working directory used to resolve packages.",
"default": ""
},
"recursive": {
"type": "boolean",
"description": "Recursively search for package.json in subdirectories.",
"default": false
},
"ignorePaths": {
"description": "Glob patterns to ignore when searching for package.json files.",
"anyOf": [
{ "type": "string" },
{ "type": "array", "items": { "type": "string" } }
]
},
"ignoreOtherWorkspaces": {
"type": "boolean",
"description": "Ignore package.json files in other workspaces (those with their own .git, pnpm-workspace.yaml, etc.).",
"default": true
},
"include": {
"description": "Only the included dependencies will be checked for updates. Accepts a single pattern or a list.",
"anyOf": [
{ "type": "string" },
{ "type": "array", "items": { "type": "string" } }
]
},
"exclude": {
"description": "Dependencies to exclude from the check. Overrides `include`.",
"anyOf": [
{ "type": "string" },
{ "type": "array", "items": { "type": "string" } }
]
},
"loglevel": {
"type": "string",
"enum": ["debug", "info", "warn", "error", "silent"],
"description": "Log verbosity level.",
"default": "info"
},
"failOnOutdated": {
"type": "boolean",
"description": "Exit with code 1 if outdated dependencies are found.",
"default": false
},
"silent": {
"type": "boolean",
"description": "Disable all output. Equivalent to setting `loglevel` to `\"silent\"`.",
"default": false
},
"force": {
"type": "boolean",
"description": "Force fetching from the registry, bypassing the cache.",
"default": false
},
"peer": {
"type": "boolean",
"description": "Include peerDependencies in the update process."
},
"depFields": {
"type": "object",
"description": "Fields in package.json to be checked. By default all fields are checked.",
"additionalProperties": false,
"properties": {
"dependencies": { "type": "boolean" },
"devDependencies": { "type": "boolean" },
"peerDependencies": { "type": "boolean" },
"optionalDependencies": { "type": "boolean" },
"packageManager": { "type": "boolean" },
"pnpm.overrides": { "type": "boolean" },
"resolutions": { "type": "boolean" },
"overrides": { "type": "boolean" },
"pnpm-workspace": { "type": "boolean" },
"bun-workspace": { "type": "boolean" },
"yarn-workspace": { "type": "boolean" }
}
},
"packageMode": {
"type": "object",
"description": "Override bumping mode for specific dependencies. Keys are package names; values are the mode to use (or `\"ignore\"` to skip).",
"additionalProperties": {
"type": "string",
"enum": ["major", "minor", "patch", "latest", "newest", "next", "ignore"]
}
},
"mode": {
"type": "string",
"enum": ["default", "major", "minor", "patch", "latest", "newest", "next"],
"description": "Update mode (version range to check).",
"default": "default"
},
"write": {
"type": "boolean",
"description": "Write changes back to package.json.",
"default": false
},
"global": {
"type": "boolean",
"description": "Update globally installed packages.",
"default": false
},
"interactive": {
"type": "boolean",
"description": "Run in interactive mode.",
"default": false
},
"install": {
"type": "boolean",
"description": "Install dependencies after bumping.",
"default": false
},
"update": {
"type": "boolean",
"description": "Run the package manager's update command after bumping.",
"default": false
},
"all": {
"type": "boolean",
"description": "Show all packages, including those that are up to date.",
"default": false
},
"sort": {
"type": "string",
"enum": ["time-asc", "time-desc", "diff-asc", "diff-desc", "name-asc", "name-desc"],
"description": "Sort order for dependencies in the output.",
"default": "diff-asc"
},
"group": {
"type": "boolean",
"description": "Group dependencies by source (dependencies, devDependencies, etc.) on display.",
"default": true
},
"includeLocked": {
"type": "boolean",
"description": "Include locked dependencies and devDependencies.",
"default": false
},
"timediff": {
"type": "boolean",
"description": "Show time difference between the current and the updated version.",
"default": true
},
"nodecompat": {
"type": "boolean",
"description": "Show package compatibility with the current Node.js version.",
"default": true
},
"maturityPeriod": {
"type": "number",
"minimum": 0,
"description": "Wait period in days before upgrading to newly released packages. Helps avoid potentially malicious packages released recently.",
"default": 0
},
"concurrency": {
"type": "integer",
"minimum": 1,
"description": "Number of concurrent requests when resolving dependencies.",
"default": 10
}
}
}