@visulima/vis 0.0.1 → 1.0.0-alpha.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +360 -0
- package/LICENSE.md +91 -0
- package/README.md +364 -29
- package/dist/bin.js +2 -0
- package/dist/errors/index.d.ts +26 -0
- package/dist/errors/index.js +1 -0
- package/dist/generate/index.d.ts +157 -0
- package/dist/generate/index.js +1 -0
- package/dist/packem_chunks/bin.js +87 -0
- package/dist/packem_chunks/config.js +2 -0
- package/dist/packem_chunks/fix.js +53 -0
- package/dist/packem_chunks/handler.js +1 -0
- package/dist/packem_chunks/handler10.js +1 -0
- package/dist/packem_chunks/handler11.js +1 -0
- package/dist/packem_chunks/handler12.js +2 -0
- package/dist/packem_chunks/handler13.js +1 -0
- package/dist/packem_chunks/handler14.js +5 -0
- package/dist/packem_chunks/handler15.js +1 -0
- package/dist/packem_chunks/handler16.js +20 -0
- package/dist/packem_chunks/handler17.js +1 -0
- package/dist/packem_chunks/handler18.js +1 -0
- package/dist/packem_chunks/handler19.js +1 -0
- package/dist/packem_chunks/handler2.js +1 -0
- package/dist/packem_chunks/handler20.js +1 -0
- package/dist/packem_chunks/handler21.js +1 -0
- package/dist/packem_chunks/handler22.js +5 -0
- package/dist/packem_chunks/handler23.js +1 -0
- package/dist/packem_chunks/handler24.js +1 -0
- package/dist/packem_chunks/handler25.js +5 -0
- package/dist/packem_chunks/handler26.js +1 -0
- package/dist/packem_chunks/handler27.js +3 -0
- package/dist/packem_chunks/handler28.js +1 -0
- package/dist/packem_chunks/handler29.js +7 -0
- package/dist/packem_chunks/handler3.js +2 -0
- package/dist/packem_chunks/handler30.js +23 -0
- package/dist/packem_chunks/handler31.js +3 -0
- package/dist/packem_chunks/handler32.js +2 -0
- package/dist/packem_chunks/handler33.js +24 -0
- package/dist/packem_chunks/handler34.js +2 -0
- package/dist/packem_chunks/handler35.js +19 -0
- package/dist/packem_chunks/handler36.js +428 -0
- package/dist/packem_chunks/handler37.js +22 -0
- package/dist/packem_chunks/handler38.js +22 -0
- package/dist/packem_chunks/handler39.js +22 -0
- package/dist/packem_chunks/handler4.js +4 -0
- package/dist/packem_chunks/handler40.js +3 -0
- package/dist/packem_chunks/handler41.js +10 -0
- package/dist/packem_chunks/handler42.js +153 -0
- package/dist/packem_chunks/handler43.js +42 -0
- package/dist/packem_chunks/handler44.js +3 -0
- package/dist/packem_chunks/handler45.js +27 -0
- package/dist/packem_chunks/handler5.js +2 -0
- package/dist/packem_chunks/handler6.js +13 -0
- package/dist/packem_chunks/handler7.js +8 -0
- package/dist/packem_chunks/handler8.js +1 -0
- package/dist/packem_chunks/handler9.js +1 -0
- package/dist/packem_chunks/index.js +7 -0
- package/dist/packem_chunks/loader.js +1 -0
- package/dist/packem_shared/VisConfigCycleError-CAYNC7d-.js +1 -0
- package/dist/packem_shared/VisConfigError-B5LP1zRf.js +1 -0
- package/dist/packem_shared/VisConfigLoadError-CeqBSd2Z.js +2 -0
- package/dist/packem_shared/VisConfigNotFoundError-DZ9KC527.js +5 -0
- package/dist/packem_shared/VisUpdateApp-D-L4_-Iu.js +1 -0
- package/dist/packem_shared/_commonjsHelpers-D6W6KoPK.js +1 -0
- package/dist/packem_shared/ai-analysis-CGuy7dfE.js +67 -0
- package/dist/packem_shared/ai-cache-Bynt6Y9x.js +1 -0
- package/dist/packem_shared/cache-directory-D72ZEag2.js +1 -0
- package/dist/packem_shared/catalog-BVPerCwG.js +12 -0
- package/dist/packem_shared/dependency-scan-Du0tBu64.js +2 -0
- package/dist/packem_shared/docker-BcfqH4Av.js +2 -0
- package/dist/packem_shared/failure-log-DqYen0LC.js +2 -0
- package/dist/packem_shared/flakiness-DSIHZGBT.js +1 -0
- package/dist/packem_shared/run-summary-utils-C24Aaf9E.js +1 -0
- package/dist/packem_shared/runtime-check-CGHal8SO.js +1 -0
- package/dist/packem_shared/selectors-CfH9ZY08.js +3 -0
- package/dist/packem_shared/symbols-CQmER5MT.js +1 -0
- package/dist/packem_shared/target-merge-DNa-6eWu.js +1 -0
- package/dist/packem_shared/toolchain-DQfTQY8E.js +5 -0
- package/dist/packem_shared/typosquats-DOR8izpX.js +1 -0
- package/dist/packem_shared/use-measured-height-DjYgUOKk.js +1 -0
- package/dist/packem_shared/utils-DrNg0XTR.js +1 -0
- package/dist/packem_shared/xxh3-DrAUNq4n.js +1 -0
- package/index.js +601 -0
- package/package.json +124 -7
- package/schemas/project.schema.json +422 -0
- package/schemas/vis-config.schema.json +377 -0
|
@@ -0,0 +1,377 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
+
"$id": "https://visulima.com/schemas/vis-config.schema.json",
|
|
4
|
+
"title": "vis.config.ts",
|
|
5
|
+
"description": "Workspace configuration for @visulima/vis. Used by defineConfig() in vis.config.ts. This schema is for non-TypeScript editors; TypeScript users get autocomplete from defineConfig() types.",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": false,
|
|
8
|
+
"properties": {
|
|
9
|
+
"ai": {
|
|
10
|
+
"type": "object",
|
|
11
|
+
"description": "AI analysis configuration.",
|
|
12
|
+
"additionalProperties": false,
|
|
13
|
+
"properties": {
|
|
14
|
+
"cacheTtl": { "type": "number", "description": "Cache TTL in milliseconds." },
|
|
15
|
+
"priority": {
|
|
16
|
+
"type": "object",
|
|
17
|
+
"description": "Override default provider priority. Higher number = preferred.",
|
|
18
|
+
"additionalProperties": { "type": "number" }
|
|
19
|
+
},
|
|
20
|
+
"provider": { "type": "string", "description": "Use a specific provider (e.g. \"claude\", \"gemini\")." }
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
"codeowners": {
|
|
24
|
+
"type": "object",
|
|
25
|
+
"description": "Controls vis sync codeowners output.",
|
|
26
|
+
"additionalProperties": false,
|
|
27
|
+
"properties": {
|
|
28
|
+
"orderBy": {
|
|
29
|
+
"type": "string",
|
|
30
|
+
"enum": ["file-source", "project-id"],
|
|
31
|
+
"default": "file-source"
|
|
32
|
+
},
|
|
33
|
+
"provider": {
|
|
34
|
+
"type": "string",
|
|
35
|
+
"enum": ["github", "gitlab", "bitbucket", "other"],
|
|
36
|
+
"default": "github"
|
|
37
|
+
},
|
|
38
|
+
"globalPaths": {
|
|
39
|
+
"type": "object",
|
|
40
|
+
"description": "Workspace-level paths and their owners (e.g. \"/.github/**\": [\"@org/platform\"]).",
|
|
41
|
+
"additionalProperties": {
|
|
42
|
+
"type": "array",
|
|
43
|
+
"items": { "type": "string" }
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"constraints": {
|
|
49
|
+
"type": "object",
|
|
50
|
+
"description": "Project dependency constraints enforced before running tasks.",
|
|
51
|
+
"additionalProperties": false,
|
|
52
|
+
"properties": {
|
|
53
|
+
"enforceLayerRelationships": {
|
|
54
|
+
"type": "boolean",
|
|
55
|
+
"description": "Projects can only depend on the same or lower layer: configuration < library < scaffolding < tool < automation < application.",
|
|
56
|
+
"default": false
|
|
57
|
+
},
|
|
58
|
+
"tagRelationships": {
|
|
59
|
+
"type": "object",
|
|
60
|
+
"description": "Tag-based rules. Key = source tag, value = allowed dependency tags.",
|
|
61
|
+
"additionalProperties": {
|
|
62
|
+
"type": "array",
|
|
63
|
+
"items": { "type": "string" }
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"typeBoundaries": {
|
|
67
|
+
"type": "object",
|
|
68
|
+
"additionalProperties": false,
|
|
69
|
+
"properties": {
|
|
70
|
+
"enforceApplicationBoundary": {
|
|
71
|
+
"type": "boolean",
|
|
72
|
+
"description": "No project may depend on an application.",
|
|
73
|
+
"default": true
|
|
74
|
+
},
|
|
75
|
+
"allowedDependencyTypes": {
|
|
76
|
+
"type": "object",
|
|
77
|
+
"description": "Maps project types to allowed dependency types.",
|
|
78
|
+
"additionalProperties": {
|
|
79
|
+
"type": "array",
|
|
80
|
+
"items": { "type": "string" }
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"dependencyKindRules": {
|
|
86
|
+
"type": "object",
|
|
87
|
+
"additionalProperties": false,
|
|
88
|
+
"properties": {
|
|
89
|
+
"noDevDependencyOnProductionDep": { "type": "boolean", "default": false },
|
|
90
|
+
"noProductionDependencyOnApplication": { "type": "boolean", "default": false }
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
},
|
|
95
|
+
"install": {
|
|
96
|
+
"type": "object",
|
|
97
|
+
"description": "Installer backend selection. Lets `vis install` (and friends) use aube — a fast Rust-native PM that reads/writes pnpm/npm/yarn/bun lockfiles in place — or pin a specific conventional PM. Aube must be installed separately; vis does not bundle it.",
|
|
98
|
+
"additionalProperties": false,
|
|
99
|
+
"properties": {
|
|
100
|
+
"backend": {
|
|
101
|
+
"type": "string",
|
|
102
|
+
"enum": ["auto", "aube", "pnpm", "npm", "yarn", "bun"],
|
|
103
|
+
"default": "auto",
|
|
104
|
+
"description": "Which PM runs install/add/remove. `auto` uses aube when it is on PATH and falls back to the lockfile-detected PM. Explicit names error if the binary is missing. CLI flag `--installer` and env var `VIS_INSTALLER` override this."
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
"create": {
|
|
109
|
+
"type": "object",
|
|
110
|
+
"description": "Configuration for vis create scaffolding command.",
|
|
111
|
+
"additionalProperties": false,
|
|
112
|
+
"properties": {
|
|
113
|
+
"auth": { "type": "string", "description": "Authorization token for private templates." },
|
|
114
|
+
"defaultEditor": { "type": "string", "enum": ["vscode"] },
|
|
115
|
+
"defaultPm": { "type": "string", "enum": ["pnpm", "npm", "yarn", "bun"] },
|
|
116
|
+
"defaultProvider": { "type": "string", "enum": ["github", "gitlab", "bitbucket", "sourcehut"], "default": "github" },
|
|
117
|
+
"gitInit": { "type": "boolean", "default": false },
|
|
118
|
+
"install": { "type": "boolean", "default": true },
|
|
119
|
+
"preferOffline": { "type": "boolean", "default": false },
|
|
120
|
+
"registry": {
|
|
121
|
+
"oneOf": [{ "type": "string" }, { "type": "boolean", "const": false }]
|
|
122
|
+
},
|
|
123
|
+
"templates": {
|
|
124
|
+
"type": "object",
|
|
125
|
+
"description": "Named template aliases mapping short names to giget source strings.",
|
|
126
|
+
"additionalProperties": { "type": "string" }
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
},
|
|
130
|
+
"overrides": {
|
|
131
|
+
"type": "object",
|
|
132
|
+
"description": "Package override mappings applied during migration.",
|
|
133
|
+
"additionalProperties": { "type": "string" }
|
|
134
|
+
},
|
|
135
|
+
"security": {
|
|
136
|
+
"type": "object",
|
|
137
|
+
"description": "Supply-chain security settings.",
|
|
138
|
+
"additionalProperties": false,
|
|
139
|
+
"properties": {
|
|
140
|
+
"allowBuilds": {
|
|
141
|
+
"type": "object",
|
|
142
|
+
"description": "Allow (true) or deny (false) build scripts per package.",
|
|
143
|
+
"additionalProperties": { "type": "boolean" }
|
|
144
|
+
},
|
|
145
|
+
"blockExoticSubdeps": { "type": "boolean", "default": false },
|
|
146
|
+
"minimumReleaseAge": { "type": "number", "description": "Minutes since publish before allowing install.", "default": 0 },
|
|
147
|
+
"minimumReleaseAgeExclude": { "type": "array", "items": { "type": "string" } },
|
|
148
|
+
"socket": {
|
|
149
|
+
"type": "object",
|
|
150
|
+
"additionalProperties": false,
|
|
151
|
+
"properties": {
|
|
152
|
+
"acceptedRisks": {
|
|
153
|
+
"type": "object",
|
|
154
|
+
"additionalProperties": {
|
|
155
|
+
"type": "object",
|
|
156
|
+
"required": ["reason", "acceptedAt", "acceptedScore"],
|
|
157
|
+
"properties": {
|
|
158
|
+
"reason": { "type": "string" },
|
|
159
|
+
"acceptedAt": { "type": "string", "format": "date-time" },
|
|
160
|
+
"acceptedScore": { "type": "number" }
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
},
|
|
164
|
+
"apiToken": { "type": "string" },
|
|
165
|
+
"cacheTtlMs": { "type": "number", "default": 3600000 },
|
|
166
|
+
"enabled": { "type": "boolean", "default": false },
|
|
167
|
+
"minimumScore": { "type": "number", "default": 0.4 },
|
|
168
|
+
"timeoutMs": { "type": "number", "default": 15000 }
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
"strictDepBuilds": { "type": "boolean", "default": false },
|
|
172
|
+
"trustPolicy": { "type": "string", "enum": ["off", "no-downgrade"], "default": "off" },
|
|
173
|
+
"trustPolicyExclude": { "type": "array", "items": { "type": "string" } },
|
|
174
|
+
"trustPolicyIgnoreAfter": { "type": "number" },
|
|
175
|
+
"typosquatAllowlist": { "type": "array", "items": { "type": "string" } }
|
|
176
|
+
}
|
|
177
|
+
},
|
|
178
|
+
"sortPackageJson": {
|
|
179
|
+
"type": "object",
|
|
180
|
+
"additionalProperties": false,
|
|
181
|
+
"properties": {
|
|
182
|
+
"sortScripts": { "type": "boolean", "default": false }
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"toolchain": {
|
|
186
|
+
"type": "object",
|
|
187
|
+
"description": "Toolchain (Node / pnpm / python / ...) management. Delegates to proto / mise / fnm / volta / asdf / nvm / corepack.",
|
|
188
|
+
"additionalProperties": false,
|
|
189
|
+
"properties": {
|
|
190
|
+
"autoInstall": {
|
|
191
|
+
"type": "boolean",
|
|
192
|
+
"description": "Run the right manager install on engines.node mismatch before vis run / vis ci proceed. Default: true when a manager is detected on PATH."
|
|
193
|
+
},
|
|
194
|
+
"preferredManager": {
|
|
195
|
+
"type": "string",
|
|
196
|
+
"enum": ["proto", "mise", "fnm", "volta", "asdf", "nvm", "corepack", "none"],
|
|
197
|
+
"description": "Explicit manager override, bypasses auto-detection. Note: self-activate is resolved automatically for pnpm/yarn + packageManager pins and is not a valid override."
|
|
198
|
+
},
|
|
199
|
+
"tools": {
|
|
200
|
+
"type": "object",
|
|
201
|
+
"description": "Override engines/packageManager-derived pins.",
|
|
202
|
+
"additionalProperties": false,
|
|
203
|
+
"properties": {
|
|
204
|
+
"bun": { "type": "string" },
|
|
205
|
+
"deno": { "type": "string" },
|
|
206
|
+
"go": { "type": "string" },
|
|
207
|
+
"node": { "type": "string" },
|
|
208
|
+
"npm": { "type": "string" },
|
|
209
|
+
"pnpm": { "type": "string" },
|
|
210
|
+
"python": { "type": "string" },
|
|
211
|
+
"ruby": { "type": "string" },
|
|
212
|
+
"rust": { "type": "string" },
|
|
213
|
+
"yarn": { "type": "string" }
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"staged": {
|
|
219
|
+
"description": "Staged file patterns and commands (replaces lint-staged). Accepts string, string[], {title, task}, or mixed arrays. Function-form tasks are supported at runtime but are not JSON-schema-representable.",
|
|
220
|
+
"type": "object",
|
|
221
|
+
"additionalProperties": {
|
|
222
|
+
"oneOf": [
|
|
223
|
+
{ "type": "string" },
|
|
224
|
+
{ "type": "array", "items": { "oneOf": [{ "type": "string" }, { "type": "object" }] } },
|
|
225
|
+
{
|
|
226
|
+
"type": "object",
|
|
227
|
+
"required": ["title"],
|
|
228
|
+
"properties": {
|
|
229
|
+
"title": { "type": "string" }
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
]
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
"targetDefaults": {
|
|
236
|
+
"type": "object",
|
|
237
|
+
"description": "Default target configurations applied to all projects with a matching target.",
|
|
238
|
+
"additionalProperties": { "$ref": "project.schema.json#/$defs/targetConfiguration" }
|
|
239
|
+
},
|
|
240
|
+
"fileGroups": {
|
|
241
|
+
"type": "object",
|
|
242
|
+
"description": "Named file-group patterns, reusable via @filegroup:<name> in target inputs.",
|
|
243
|
+
"additionalProperties": {
|
|
244
|
+
"type": "array",
|
|
245
|
+
"items": { "type": "string" }
|
|
246
|
+
}
|
|
247
|
+
},
|
|
248
|
+
"namedInputs": {
|
|
249
|
+
"type": "object",
|
|
250
|
+
"description": "Named input patterns inherited by every project target.",
|
|
251
|
+
"additionalProperties": {
|
|
252
|
+
"type": "array",
|
|
253
|
+
"items": {
|
|
254
|
+
"oneOf": [
|
|
255
|
+
{ "type": "string" },
|
|
256
|
+
{ "$ref": "project.schema.json#/$defs/fileSetInput" },
|
|
257
|
+
{ "$ref": "project.schema.json#/$defs/environmentInput" },
|
|
258
|
+
{ "$ref": "project.schema.json#/$defs/runtimeInput" },
|
|
259
|
+
{ "$ref": "project.schema.json#/$defs/externalDependencyInput" }
|
|
260
|
+
]
|
|
261
|
+
}
|
|
262
|
+
}
|
|
263
|
+
},
|
|
264
|
+
"taskDefaults": {
|
|
265
|
+
"type": "array",
|
|
266
|
+
"description": "Cascading task-default blocks scoped by project metadata.",
|
|
267
|
+
"items": {
|
|
268
|
+
"type": "object",
|
|
269
|
+
"required": ["targets"],
|
|
270
|
+
"additionalProperties": false,
|
|
271
|
+
"properties": {
|
|
272
|
+
"scope": {
|
|
273
|
+
"type": "object",
|
|
274
|
+
"description": "Scope predicate — all fields must match for the block to apply.",
|
|
275
|
+
"additionalProperties": false,
|
|
276
|
+
"properties": {
|
|
277
|
+
"tags": { "type": "array", "items": { "type": "string" } },
|
|
278
|
+
"projectType": { "type": "string", "enum": ["library", "application"] },
|
|
279
|
+
"layer": {
|
|
280
|
+
"oneOf": [
|
|
281
|
+
{ "type": "string", "enum": ["configuration", "library", "scaffolding", "tool", "automation", "application"] },
|
|
282
|
+
{
|
|
283
|
+
"type": "array",
|
|
284
|
+
"items": { "type": "string", "enum": ["configuration", "library", "scaffolding", "tool", "automation", "application"] }
|
|
285
|
+
}
|
|
286
|
+
]
|
|
287
|
+
},
|
|
288
|
+
"stack": {
|
|
289
|
+
"oneOf": [
|
|
290
|
+
{ "type": "string", "enum": ["backend", "frontend", "data", "infrastructure", "systems"] },
|
|
291
|
+
{ "type": "array", "items": { "type": "string", "enum": ["backend", "frontend", "data", "infrastructure", "systems"] } }
|
|
292
|
+
]
|
|
293
|
+
},
|
|
294
|
+
"language": {
|
|
295
|
+
"oneOf": [{ "type": "string" }, { "type": "array", "items": { "type": "string" } }]
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
},
|
|
299
|
+
"targets": {
|
|
300
|
+
"type": "object",
|
|
301
|
+
"additionalProperties": { "$ref": "project.schema.json#/$defs/targetConfiguration" }
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
}
|
|
305
|
+
},
|
|
306
|
+
"taskRunnerOptions": {
|
|
307
|
+
"type": "object",
|
|
308
|
+
"description": "Task runner engine options.",
|
|
309
|
+
"additionalProperties": false,
|
|
310
|
+
"properties": {
|
|
311
|
+
"parallel": { "oneOf": [{ "type": "number" }, { "type": "boolean" }], "default": 3 },
|
|
312
|
+
"smartLockfileHashing": { "type": "boolean", "default": false },
|
|
313
|
+
"frameworkInference": { "type": "boolean", "default": false },
|
|
314
|
+
"autoFingerprint": { "type": "boolean", "default": false },
|
|
315
|
+
"cacheDiagnostics": { "type": "boolean", "default": false },
|
|
316
|
+
"cacheDirectory": { "type": "string" },
|
|
317
|
+
"dryRun": { "type": "boolean", "default": false },
|
|
318
|
+
"summarize": { "type": "boolean", "default": false },
|
|
319
|
+
"skipNxCache": { "type": "boolean" },
|
|
320
|
+
"globalInputs": { "type": "array", "items": { "type": "string" } },
|
|
321
|
+
"globalEnv": { "type": "array", "items": { "type": "string" } },
|
|
322
|
+
"maxCacheAge": { "type": "number" },
|
|
323
|
+
"maxCacheSize": { "type": "string" },
|
|
324
|
+
"remoteCache": {
|
|
325
|
+
"type": "object",
|
|
326
|
+
"required": ["url"],
|
|
327
|
+
"additionalProperties": false,
|
|
328
|
+
"properties": {
|
|
329
|
+
"url": { "type": "string" },
|
|
330
|
+
"token": { "type": "string" },
|
|
331
|
+
"teamId": { "type": "string" },
|
|
332
|
+
"read": { "type": "boolean", "default": true },
|
|
333
|
+
"write": { "type": "boolean", "default": true }
|
|
334
|
+
}
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"tui": {
|
|
339
|
+
"type": "object",
|
|
340
|
+
"additionalProperties": false,
|
|
341
|
+
"properties": {
|
|
342
|
+
"autoExit": {
|
|
343
|
+
"oneOf": [{ "type": "boolean" }, { "type": "number" }],
|
|
344
|
+
"description": "Auto-exit TUI after completion. false=stay open, true=3s countdown, number=custom seconds.",
|
|
345
|
+
"default": false
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
},
|
|
349
|
+
"update": {
|
|
350
|
+
"type": "object",
|
|
351
|
+
"description": "Defaults for vis check and vis update commands.",
|
|
352
|
+
"additionalProperties": false,
|
|
353
|
+
"properties": {
|
|
354
|
+
"depFields": { "type": "array", "items": { "type": "string" } },
|
|
355
|
+
"exclude": { "type": "array", "items": { "type": "string" } },
|
|
356
|
+
"format": { "type": "string", "enum": ["table", "json", "minimal"] },
|
|
357
|
+
"ignore": { "type": "array", "items": { "type": "string" } },
|
|
358
|
+
"include": { "type": "array", "items": { "type": "string" } },
|
|
359
|
+
"includeLocked": { "type": "boolean", "default": false },
|
|
360
|
+
"install": { "type": "boolean" },
|
|
361
|
+
"minimumReleaseAge": { "type": "number" },
|
|
362
|
+
"minimumReleaseAgeExclude": { "type": "array", "items": { "type": "string" } },
|
|
363
|
+
"packageMode": {
|
|
364
|
+
"type": "object",
|
|
365
|
+
"additionalProperties": { "type": "string", "enum": ["latest", "minor", "patch"] }
|
|
366
|
+
},
|
|
367
|
+
"prerelease": { "type": "boolean" },
|
|
368
|
+
"security": { "type": "boolean" },
|
|
369
|
+
"target": { "type": "string", "enum": ["latest", "minor", "patch"] }
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
"versionConstraint": {
|
|
373
|
+
"type": "string",
|
|
374
|
+
"description": "Minimum vis CLI version required. Accepts semver ranges (e.g. \">=1.0.0\", \"^1.2.0\")."
|
|
375
|
+
}
|
|
376
|
+
}
|
|
377
|
+
}
|