@visulima/vis 5.0.0 → 6.0.1
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 +139 -0
- package/LICENSE.md +1 -1
- package/README.md +2 -2
- package/dist/bin.js +1 -1
- package/dist/binx.js +1 -1
- package/dist/config/index.d.ts +16 -18
- package/dist/packem_chunks/bloom-status.js +1 -1
- package/dist/packem_chunks/bloom-sync.js +1 -1
- package/dist/packem_chunks/catalog.js +49 -48
- package/dist/packem_chunks/cli-exec.js +1 -1
- package/dist/packem_chunks/cli-main.js +200 -176
- package/dist/packem_chunks/doctor-probe.js +1 -1
- package/dist/packem_chunks/fix.js +1 -1
- package/dist/packem_chunks/handler.js +1 -1
- package/dist/packem_chunks/handler10.js +1 -1
- package/dist/packem_chunks/handler11.js +1 -1
- package/dist/packem_chunks/handler12.js +1 -1
- package/dist/packem_chunks/handler13.js +1 -1
- package/dist/packem_chunks/handler14.js +1 -1
- package/dist/packem_chunks/handler15.js +1 -1
- package/dist/packem_chunks/handler16.js +1 -1
- package/dist/packem_chunks/handler17.js +1 -1
- package/dist/packem_chunks/handler18.js +1 -1
- package/dist/packem_chunks/handler19.js +1 -1
- package/dist/packem_chunks/handler2.js +1 -1
- package/dist/packem_chunks/handler20.js +1 -1
- package/dist/packem_chunks/handler21.js +1 -1
- package/dist/packem_chunks/handler23.js +1 -1
- package/dist/packem_chunks/handler24.js +1 -1
- package/dist/packem_chunks/handler26.js +3 -3
- package/dist/packem_chunks/handler27.js +1 -1
- package/dist/packem_chunks/handler28.js +1 -1
- package/dist/packem_chunks/handler29.js +1 -1
- package/dist/packem_chunks/handler3.js +1 -1
- package/dist/packem_chunks/handler30.js +1 -1
- package/dist/packem_chunks/handler39.js +6 -6
- package/dist/packem_chunks/handler5.js +1 -1
- package/dist/packem_chunks/handler50.js +1 -1
- package/dist/packem_chunks/handler51.js +1 -1
- package/dist/packem_chunks/handler53.js +1 -1
- package/dist/packem_chunks/handler54.js +1 -1
- package/dist/packem_chunks/handler59.js +1 -1
- package/dist/packem_chunks/handler6.js +1 -1
- package/dist/packem_chunks/handler60.js +1 -1
- package/dist/packem_chunks/handler61.js +2 -2
- package/dist/packem_chunks/handler62.js +1 -1
- package/dist/packem_chunks/handler65.js +3 -3
- package/dist/packem_chunks/handler66.js +2 -2
- package/dist/packem_chunks/handler67.js +9 -9
- package/dist/packem_chunks/handler68.js +1 -1
- package/dist/packem_chunks/handler69.js +4 -4
- package/dist/packem_chunks/handler7.js +1 -1
- package/dist/packem_chunks/handler70.js +1 -1
- package/dist/packem_chunks/handler71.js +1 -1
- package/dist/packem_chunks/handler72.js +1 -1
- package/dist/packem_chunks/handler73.js +1 -1
- package/dist/packem_chunks/handler74.js +1 -1
- package/dist/packem_chunks/handler75.js +32 -32
- package/dist/packem_chunks/handler76.js +1 -1
- package/dist/packem_chunks/handler77.js +3 -3
- package/dist/packem_chunks/handler78.js +26 -26
- package/dist/packem_chunks/handler9.js +1 -1
- package/dist/packem_chunks/heal-accept.js +1 -1
- package/dist/packem_chunks/heal.js +1 -1
- package/dist/packem_chunks/help-command.js +1 -1
- package/dist/packem_chunks/index2.js +32 -32
- package/dist/packem_chunks/index6.js +1 -1
- package/dist/packem_chunks/keys-refresh.js +1 -1
- package/dist/packem_chunks/lean.js +3 -4
- package/dist/packem_chunks/list.js +1 -1
- package/dist/packem_chunks/loader.js +1 -1
- package/dist/packem_chunks/prompts.js +1 -1
- package/dist/packem_chunks/status.js +1 -1
- package/dist/packem_chunks/sync.js +1 -1
- package/dist/packem_chunks/sync2.js +1 -1
- package/dist/packem_chunks/tripwire.js +1 -1
- package/dist/packem_chunks/verify-lockfile.js +1 -1
- package/dist/packem_shared/Table-Bo1JKNCN-CGGet8ES.js +34 -0
- package/dist/packem_shared/{affected-selection-BJXJW_3Q.js → affected-selection-CrW7fWEd.js} +1 -1
- package/dist/packem_shared/{ai-fix-BC6aIRJT.js → ai-fix-D9MxigBQ.js} +1 -1
- package/dist/packem_shared/{bin-Dx8mjl3g.js → bin-D3TtXgz6.js} +1 -1
- package/dist/packem_shared/command-runtime-HSsYGCQd.js +1 -0
- package/dist/packem_shared/{ecosystem-gate-CeV20GSB.js → ecosystem-gate-ByxWtzPE.js} +1 -1
- package/dist/packem_shared/{failure-log-D2x5BT8S.js → failure-log-BP-gCUb5.js} +1 -1
- package/dist/packem_shared/{formatBytes-BHAzNIrn-CrusHOew.js → formatBytes-_HvjOy8a-B_qQr4Hw.js} +3 -3
- package/dist/packem_shared/{getRandomSpinner-4ZEcbTYv-DCyIuj19.js → getRandomSpinner-DX11qCB2-CoIsn7ZU.js} +1 -1
- package/dist/packem_shared/{index-C_ScJMpb.js → index-BKbMnn8K.js} +1 -1
- package/dist/packem_shared/{index-nEyN71oX.js → index-DGdD4w-b.js} +1 -1
- package/dist/packem_shared/index.server-Ca_EEVfw.js +2 -0
- package/dist/packem_shared/{lifecycle-D6PMPor-.js → lifecycle-DvmDIRbb.js} +1 -1
- package/dist/packem_shared/package-version-QFmE9anh.js +4 -0
- package/dist/packem_shared/{packument-Df46y5MY.js → packument-zb18Jnlw.js} +1 -1
- package/dist/packem_shared/pm-runner-RM72mDZg.js +1 -0
- package/dist/packem_shared/{project-name-filter-CH8Ih7Qr.js → project-name-filter-DIqpdsvP.js} +1 -1
- package/dist/packem_shared/{provenance-DKeR0Ig1.js → provenance-L1M2FPy_.js} +1 -1
- package/dist/packem_shared/{registry-keys-DwB3ZXS_.js → registry-keys-DxdqMzyp.js} +1 -1
- package/dist/packem_shared/{resolve-explicit-BmV8YBE-.js → resolve-explicit-CQa37JSq.js} +1 -1
- package/dist/packem_shared/resolve-runtime-DNukUjIr.js +1 -0
- package/dist/packem_shared/{s1ngularity-DZhkIqL4.js → s1ngularity-CO5GkkqX.js} +1 -1
- package/dist/packem_shared/{scan-progress-CkumcBG-.js → scan-progress-RwCRxJdX.js} +1 -1
- package/dist/packem_shared/{signatures-BxTMck2l.js → signatures-DIqFUOfs.js} +1 -1
- package/dist/packem_shared/spinner-BJjbNl1F.js +1 -0
- package/dist/packem_shared/toolchain-Bz70UIcp.js +5 -0
- package/dist/packem_shared/{typosquats-8u0drCqQ.js → typosquats-D4DEHhFy.js} +1 -1
- package/dist/packem_shared/{vis-update-app-BCIccZfA.js → vis-update-app-9b2kSk9f.js} +1 -1
- package/dist/packem_shared/{vis-user-error-Dd7hwxlW.js → vis-user-error-S0Fesz5y.js} +11 -11
- package/dist/packem_shared/watch-loop-BEnGuMBn.js +11 -0
- package/dist/release/core/version-actions/index.d.ts +1 -1
- package/dist/release/presets.d.ts +1 -55
- package/dist/release/presets.js +1 -1
- package/dist/release/types.d.ts +1 -18
- package/index.d.ts +204 -204
- package/index.js +26 -26
- package/package.json +13 -13
- package/schemas/vis-config.schema.json +6 -28
- package/schemas/vis-release-config.schema.json +1 -12
- package/dist/packem_shared/Table-BB8xHTU5-BLPS917D.js +0 -11
- package/dist/packem_shared/command-runtime-p4IXiIf6.js +0 -1
- package/dist/packem_shared/index.server-sXNQYpsl.js +0 -2
- package/dist/packem_shared/package-version-CiRZecQu.js +0 -4
- package/dist/packem_shared/pm-runner-3iiQayy-.js +0 -1
- package/dist/packem_shared/resolve-runtime-CNiHcVtx.js +0 -1
- package/dist/packem_shared/spinner-ukDEdGvp.js +0 -1
- package/dist/packem_shared/toolchain-BRdpaAC4.js +0 -5
- package/dist/packem_shared/watch-loop-BBkg02-Q.js +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,142 @@
|
|
|
1
|
+
## @visulima/vis [6.0.1](https://github.com/visulima/vis/compare/@visulima/vis@6.0.0...@visulima/vis@6.0.1) (2026-10-16)
|
|
2
|
+
|
|
3
|
+
### Bug Fixes
|
|
4
|
+
|
|
5
|
+
* **ci:** resolve benches from the repo root and retry watcher writes ([5f2a7cd](https://github.com/visulima/vis/commit/5f2a7cda132bb624ac35ec4bc5230632530630fa))
|
|
6
|
+
* **deps:** resolve audit findings in the benchmark fixtures ([aeec812](https://github.com/visulima/vis/commit/aeec812ff72973bea1d21f32775488388a1a7269))
|
|
7
|
+
* **deps:** update dependency drizzle-orm to ^0.45.0 [security] ([7531967](https://github.com/visulima/vis/commit/7531967d48d9d4dbbdd15081a37db98577dfdedf))
|
|
8
|
+
* **deps:** update dependency express to v4.20.0 [security] ([adbd076](https://github.com/visulima/vis/commit/adbd0768099f510ae43a341177b11d045b500c1b))
|
|
9
|
+
* **deps:** update dependency next to v16.3.8 [security] ([bc83b50](https://github.com/visulima/vis/commit/bc83b508f863d0b565597c98dedea1e244eb3e93))
|
|
10
|
+
* **deps:** update dependency next-auth to v5.0.0-beta.32 [security] ([9bb3876](https://github.com/visulima/vis/commit/9bb38767f93273c97c8404fd0b28b8b8eae83f84))
|
|
11
|
+
* **deps:** update dependency postcss to v8.5.23 [security] ([bc4caac](https://github.com/visulima/vis/commit/bc4caace200682ac40b26e90193fe49394437544))
|
|
12
|
+
* **vis:** satisfy arrow-body lint rule in pm-runner ([818a47d](https://github.com/visulima/vis/commit/818a47d67148c4957543d60049f287064739afe3))
|
|
13
|
+
|
|
14
|
+
### Reverts
|
|
15
|
+
|
|
16
|
+
* Revert "style(vis): format pm-runner to match prettier" ([beff276](https://github.com/visulima/vis/commit/beff276e3d3aaa90610a718d6724529511ca8362))
|
|
17
|
+
|
|
18
|
+
### Styles
|
|
19
|
+
|
|
20
|
+
* **vis:** format pm-runner to match prettier ([b6d57d6](https://github.com/visulima/vis/commit/b6d57d65fea5331c32b0e61aae42088e85bbe777))
|
|
21
|
+
|
|
22
|
+
### Miscellaneous Chores
|
|
23
|
+
|
|
24
|
+
* **deps:** merge renovate branch npm-drizzle-orm-vulnerability ([59de3b6](https://github.com/visulima/vis/commit/59de3b65acd9fd45574da4b5aa13a4ede87e83e2))
|
|
25
|
+
* **deps:** merge renovate branch npm-next-auth-vulnerability ([2e94a35](https://github.com/visulima/vis/commit/2e94a3564a67f5ac571f0293730399498a66db89))
|
|
26
|
+
* **deps:** merge renovate branch npm-next-vulnerability ([7fbd4f6](https://github.com/visulima/vis/commit/7fbd4f692ade178a5c94cd044ccef198ac115787))
|
|
27
|
+
* **deps:** merge renovate branch npm-postcss-vulnerability ([e41310d](https://github.com/visulima/vis/commit/e41310d64d94593cb7f476b4b9b50aab4f90db40))
|
|
28
|
+
* point package repository urls at visulima/vis ([8f43d61](https://github.com/visulima/vis/commit/8f43d618694dde94f06867ee6155315714238b1c))
|
|
29
|
+
|
|
30
|
+
### Tests
|
|
31
|
+
|
|
32
|
+
* **vis:** skip cerebro env scan when its source is absent ([b3d3587](https://github.com/visulima/vis/commit/b3d35870c5c5552ab70c4fdd4128e433993ba3e3))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
### Dependencies
|
|
36
|
+
|
|
37
|
+
* **@visulima/secret-scanner:** upgraded to 2.0.2
|
|
38
|
+
|
|
39
|
+
## @visulima/vis [6.0.0](https://github.com/visulima/visulima/compare/@visulima/vis@5.0.0...@visulima/vis@6.0.0) (2026-10-15)
|
|
40
|
+
|
|
41
|
+
### ⚠ BREAKING CHANGES
|
|
42
|
+
|
|
43
|
+
* Deno is no longer a supported runtime or package manager.
|
|
44
|
+
vis targets node/bun runtimes and aube/npm/pnpm/yarn package managers; the
|
|
45
|
+
deno-lint/deno-fmt adapters and deno inference targets are removed.
|
|
46
|
+
|
|
47
|
+
* fix: resolve eslint errors after deno removal
|
|
48
|
+
|
|
49
|
+
- vis: use a block body for applyIgnoreScripts (arrow-body-style)
|
|
50
|
+
- is-ansi-color-supported: drop stale eslint-disable directives and
|
|
51
|
+
replace the raw-release if/else with a ternary (unicorn/prefer-ternary)
|
|
52
|
+
|
|
53
|
+
* docs(cron-parser): remove remaining deno runtime mentions
|
|
54
|
+
|
|
55
|
+
These doc/config files arrived with main's dialect-gating commit after this
|
|
56
|
+
branch's base, so they still listed Deno as a supported runtime.
|
|
57
|
+
|
|
58
|
+
* feat!: remove deno runtime and tooling support
|
|
59
|
+
|
|
60
|
+
Deno is being wound down: Cloudflare is acquiring the Deno team, the runtime
|
|
61
|
+
gets one more year of monthly maintenance before development ends, and Deno
|
|
62
|
+
Deploy shuts down. Drop Deno as a supported runtime, package manager, and
|
|
63
|
+
lint/fmt/inference target across the monorepo.
|
|
64
|
+
|
|
65
|
+
- vis: remove the deno runtime path, deno-lint/deno-fmt adapters, the
|
|
66
|
+
deno.json inference detector, Deno PM handling (TypeScript + Rust native
|
|
67
|
+
resolver), and the devcontainer deno mount; regenerate the JSON schemas.
|
|
68
|
+
- libraries: drop Deno runtime detection from cerebro, ono,
|
|
69
|
+
is-ansi-color-supported, and task-runner command parsing; remove Deno
|
|
70
|
+
wording from package docs and READMEs.
|
|
71
|
+
- delete the examples/deno directories (ono, pail, storage) and Deno docs.
|
|
72
|
+
- keep JSR publishing (registry usable from Node), license/attribution
|
|
73
|
+
comments, the secret-scanner Deno-token rule, and the historical RFCs.
|
|
74
|
+
* Deno is no longer a supported runtime or package manager.
|
|
75
|
+
vis targets node/bun runtimes and aube/npm/pnpm/yarn package managers; the
|
|
76
|
+
deno-lint/deno-fmt adapters and deno inference targets are removed.
|
|
77
|
+
|
|
78
|
+
* fix: resolve eslint errors after deno removal
|
|
79
|
+
|
|
80
|
+
- vis: use a block body for applyIgnoreScripts (arrow-body-style)
|
|
81
|
+
- is-ansi-color-supported: drop stale eslint-disable directives and
|
|
82
|
+
replace the raw-release if/else with a ternary (unicorn/prefer-ternary)
|
|
83
|
+
|
|
84
|
+
* chore(vis): tidy deno-removal leftovers from review
|
|
85
|
+
|
|
86
|
+
* fix(vis): drop unused logger from x handler, restore bun typing
|
|
87
|
+
|
|
88
|
+
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
|
|
89
|
+
|
|
90
|
+
* docs: add migration notes for removed deno exports
|
|
91
|
+
|
|
92
|
+
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
|
|
93
|
+
|
|
94
|
+
* feat(vis): warn on stale adapter ids and deno-only projects
|
|
95
|
+
|
|
96
|
+
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
|
|
97
|
+
|
|
98
|
+
* refactor(vis): derive runtime ids and reuse bun detection
|
|
99
|
+
|
|
100
|
+
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
|
|
101
|
+
|
|
102
|
+
* refactor(vis): drop jsr deno option and deno auth reference
|
|
103
|
+
|
|
104
|
+
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
|
|
105
|
+
|
|
106
|
+
* fix(vis): restore runtime id schema description
|
|
107
|
+
|
|
108
|
+
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
|
|
109
|
+
|
|
110
|
+
* refactor(vis): remove jsr publishing support
|
|
111
|
+
|
|
112
|
+
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
|
|
113
|
+
|
|
114
|
+
* feat(bytes): port @std/bytes helpers back in
|
|
115
|
+
|
|
116
|
+
Carries the Uint8Array helpers from @std/bytes@1.0.6 (MIT, Copyright the Deno authors)
|
|
117
|
+
into src/std-bytes.ts and re-exports them from the package entry. Keeps the public API that
|
|
118
|
+
the Deno-removal commit dropped, without the jsr: devDependency. Docs and AGENTS notes are
|
|
119
|
+
restored to describe the ported functions.
|
|
120
|
+
|
|
121
|
+
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
|
|
122
|
+
|
|
123
|
+
* docs(bytes): attribute ported @std/bytes source
|
|
124
|
+
|
|
125
|
+
The license file still listed @jsr/std__bytes as a bundled dependency.
|
|
126
|
+
Replace it with the MIT notice for the ported src/std-bytes.ts, placed outside
|
|
127
|
+
the generated dependency blocks.
|
|
128
|
+
|
|
129
|
+
Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
|
|
130
|
+
|
|
131
|
+
* fix(cron-parser): keep reviewed docs and 1.1.0 version
|
|
132
|
+
|
|
133
|
+
The rebase onto the remote branch dropped the reviewed dialect sentence in the README and
|
|
134
|
+
the installation table row, and the release commit's 1.1.0 version bump.
|
|
135
|
+
|
|
136
|
+
### Features
|
|
137
|
+
|
|
138
|
+
* remove deno runtime and tooling support ([#973](https://github.com/visulima/visulima/issues/973)) ([26fada1](https://github.com/visulima/visulima/commit/26fada1ac04731cba9db8f74fe20849c0a15db74))
|
|
139
|
+
|
|
1
140
|
## @visulima/vis [5.0.0](https://github.com/visulima/visulima/compare/@visulima/vis@4.3.1...@visulima/vis@5.0.0) (2026-10-14)
|
|
2
141
|
|
|
3
142
|
### ⚠ BREAKING CHANGES
|
package/LICENSE.md
CHANGED
|
@@ -8168,7 +8168,7 @@ Repository: git+https://github.com/visulima/visulima.git
|
|
|
8168
8168
|
## @visulima/tui
|
|
8169
8169
|
License: MIT
|
|
8170
8170
|
By: Daniel Bannert
|
|
8171
|
-
Repository: git+https://github.com/visulima/
|
|
8171
|
+
Repository: git+https://github.com/visulima/vis.git
|
|
8172
8172
|
|
|
8173
8173
|
> MIT License
|
|
8174
8174
|
>
|
package/README.md
CHANGED
|
@@ -233,8 +233,8 @@ When aube is the installer, `vis doctor` surfaces aube's effective hardening pos
|
|
|
233
233
|
| `vis hook <action>` | | Manage git hooks (install, uninstall, migrate) |
|
|
234
234
|
| `vis secrets [paths]` | | Scan for hardcoded secrets / credentials (Rust-native) |
|
|
235
235
|
| `vis toolchain <cmd>` | | Inspect / delegate to the version manager (proto, mise, fnm, volta…) |
|
|
236
|
-
| `vis lint [files]` | | Orchestrate detected source-code linters (oxlint, biome, eslint, stylelint
|
|
237
|
-
| `vis fmt [files]` | | Orchestrate detected formatters (oxfmt, biome, dprint, prettier
|
|
236
|
+
| `vis lint [files]` | | Orchestrate detected source-code linters (oxlint, biome, eslint, stylelint) |
|
|
237
|
+
| `vis fmt [files]` | | Orchestrate detected formatters (oxfmt, biome, dprint, prettier) |
|
|
238
238
|
| `vis staged` | | Run tasks on staged files (built-in `lint-staged` replacement) |
|
|
239
239
|
| `vis migrate <type>` | | Migrate from other tools — now including `gitleaks` and `secretlint` |
|
|
240
240
|
|
package/dist/bin.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./packem_shared/compile-cache-DoMHRsRZ.js";import"./packem_shared/bin-
|
|
1
|
+
import"./packem_shared/compile-cache-DoMHRsRZ.js";import"./packem_shared/bin-D3TtXgz6.js";
|
package/dist/binx.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{a as r,x as i,i as c,d as a,r as d}from"./packem_shared/vis-user-error-
|
|
2
|
+
import{a as r,x as i,i as c,d as a,r as d}from"./packem_shared/vis-user-error-S0Fesz5y.js";import{t as n}from"./packem_shared/compile-cache-DoMHRsRZ.js";import{g as o}from"./packem_shared/package-version-QFmE9anh.js";process.argv.includes("--no-color")&&(process.env.NO_COLOR="1",process.env.FORCE_COLOR="0");process.argv.slice(2).some(s=>s==="--version"||s==="-v"||s==="-V")&&(process.stdout.write(`${o()}
|
|
3
3
|
`),process.exit(0));process.argv.splice(2,0,"dlx");n();const e=r("visx",{packageName:"visx",packageVersion:o()}),p=process.argv.includes("--debug")||!!process.env.DEBUG;e.addPlugin(i({concise:c,detailed:p,exitOnError:!1}));e.addCommand(a);d(e);
|
package/dist/config/index.d.ts
CHANGED
|
@@ -21,22 +21,21 @@ interface SimilarDepFamily {
|
|
|
21
21
|
prefixes?: string[];
|
|
22
22
|
}
|
|
23
23
|
/** Adapter IDs that can format (adapter `kind` is `"fmt"` or `"both"`). */
|
|
24
|
-
type FmtAdapterId = "biome" | "
|
|
24
|
+
type FmtAdapterId = "biome" | "dprint" | "oxfmt" | "prettier" | "ruff-fmt";
|
|
25
25
|
/** Adapter IDs that can lint (adapter `kind` is `"lint"` or `"both"`). */
|
|
26
|
-
type LintAdapterId = "biome" | "
|
|
26
|
+
type LintAdapterId = "biome" | "eslint" | "markdownlint" | "oxlint" | "ruff-check" | "shellcheck" | "stylelint" | "typecheck";
|
|
27
27
|
/**
|
|
28
28
|
* Runtime adapter contract for the cross-runtime multi-tool (see
|
|
29
29
|
* `rfc/design-runtime-multitool.md`). Phase 0 defines the identity +
|
|
30
30
|
* detection metadata; Phase 1 extends adapters with the spawn-building
|
|
31
31
|
* methods (`runFile` / `runScript` / `install` / `exec`) that route through
|
|
32
|
-
* `pm-runner`.
|
|
33
|
-
* `RuntimeId` yet (it carries permission + no-`node_modules` semantics that
|
|
34
|
-
* the first cut omits).
|
|
32
|
+
* `pm-runner`.
|
|
35
33
|
*/
|
|
36
|
-
|
|
37
|
-
|
|
34
|
+
declare const RUNTIME_IDS: readonly ["bun", "node"];
|
|
35
|
+
/** JS runtimes vis can target today. */
|
|
36
|
+
type RuntimeId = (typeof RUNTIME_IDS)[number];
|
|
38
37
|
type VersionManagerName = "asdf" | "corepack" | "fnm" | "mise" | "none" | "nvm" | "proto" | "self-activate" | "volta";
|
|
39
|
-
type RuntimeTool = "aube" | "bun" | "
|
|
38
|
+
type RuntimeTool = "aube" | "bun" | "go" | "node" | "npm" | "pnpm" | "python" | "ruby" | "rust" | "yarn";
|
|
40
39
|
interface ToolchainConfig {
|
|
41
40
|
/**
|
|
42
41
|
* When a tool pin doesn't match the running version, try to fix it
|
|
@@ -1103,15 +1102,15 @@ interface VisConfig {
|
|
|
1103
1102
|
* Tunes adapter detection precedence, per-extension routing, and
|
|
1104
1103
|
* per-adapter overrides. Flags on the CLI always win over config.
|
|
1105
1104
|
*
|
|
1106
|
-
* The default fmt precedence is `oxfmt → biome → dprint → prettier
|
|
1107
|
-
*
|
|
1105
|
+
* The default fmt precedence is `oxfmt → biome → dprint → prettier`.
|
|
1106
|
+
* When multiple adapters claim the same extension,
|
|
1108
1107
|
* the first in this order owns it unless overridden here.
|
|
1109
1108
|
* @example
|
|
1110
1109
|
* ```
|
|
1111
1110
|
* fmt: {
|
|
1112
1111
|
* order: ["biome", "prettier"],
|
|
1113
1112
|
* extensionOverrides: { md: "dprint" },
|
|
1114
|
-
* adapters: {
|
|
1113
|
+
* adapters: { dprint: { enabled: false } },
|
|
1115
1114
|
* }
|
|
1116
1115
|
* ```
|
|
1117
1116
|
*/
|
|
@@ -1235,7 +1234,6 @@ interface VisConfig {
|
|
|
1235
1234
|
* format:check), `biome` (lint, format), `oxlint` (lint),
|
|
1236
1235
|
* `oxfmt` (format / format:check), `stylelint` (lint:css),
|
|
1237
1236
|
* `knip` (knip).
|
|
1238
|
-
* - **Runtimes** — `deno` (test/lint/fmt/check).
|
|
1239
1237
|
* - **Database tooling** — `prisma` (db:generate/db:migrate/
|
|
1240
1238
|
* db:push/db:studio), `drizzle` (db:generate/db:migrate/
|
|
1241
1239
|
* db:push/db:studio).
|
|
@@ -1251,15 +1249,15 @@ interface VisConfig {
|
|
|
1251
1249
|
* a config file (because the package frequently appears transitively
|
|
1252
1250
|
* and a dep-only match would synthesize broken commands): `vite`,
|
|
1253
1251
|
* `rolldown`, `rollup`, `webpack`, `storybook`, `nest`, `remix`,
|
|
1254
|
-
* `vitepress`, `bun`, `
|
|
1252
|
+
* `vitepress`, `bun`, `changeset`.
|
|
1255
1253
|
*
|
|
1256
1254
|
* Conflict resolution: detectors are evaluated in registration order
|
|
1257
1255
|
* (see `BUILT_IN_DETECTORS`) and the first to claim a target name
|
|
1258
1256
|
* wins. Per-name priorities: `build` → nuxt > next > remix > astro
|
|
1259
1257
|
* > gatsby > docusaurus > vite > nest > rolldown > tsdown > tsup >
|
|
1260
|
-
* packem > rollup > webpack; `test` → vitest > jest > bun
|
|
1258
|
+
* packem > rollup > webpack; `test` → vitest > jest > bun;
|
|
1261
1259
|
* `test:e2e` → playwright > cypress; `lint` → eslint > biome >
|
|
1262
|
-
* oxlint
|
|
1260
|
+
* oxlint; `format` → prettier > biome > oxfmt; `db:*` →
|
|
1263
1261
|
* prisma > drizzle.
|
|
1264
1262
|
*
|
|
1265
1263
|
* Also accepts an object form (`{ vite: false, vitest: true }`) to
|
|
@@ -1327,7 +1325,7 @@ interface VisConfig {
|
|
|
1327
1325
|
* and the PM is corepack-managed (errors loudly otherwise).
|
|
1328
1326
|
* - `false`: never go through corepack — invoke the PM directly.
|
|
1329
1327
|
*
|
|
1330
|
-
* Mirrors nypm's `corepack: true` flag. Bun
|
|
1328
|
+
* Mirrors nypm's `corepack: true` flag. Bun and aube are
|
|
1331
1329
|
* never wrapped — corepack does not manage them.
|
|
1332
1330
|
* @default "auto"
|
|
1333
1331
|
*/
|
|
@@ -1340,13 +1338,13 @@ interface VisConfig {
|
|
|
1340
1338
|
* Flags on the CLI always win over config.
|
|
1341
1339
|
*
|
|
1342
1340
|
* The default lint precedence is `oxlint → biome → eslint →
|
|
1343
|
-
* stylelint
|
|
1341
|
+
* stylelint`. Override with `order` to e.g. let biome
|
|
1344
1342
|
* fire before oxlint when the workspace standardises on biome.
|
|
1345
1343
|
* @example
|
|
1346
1344
|
* ```
|
|
1347
1345
|
* lint: {
|
|
1348
1346
|
* order: ["biome", "eslint"],
|
|
1349
|
-
* adapters: {
|
|
1347
|
+
* adapters: { oxlint: { enabled: false } },
|
|
1350
1348
|
* }
|
|
1351
1349
|
* ```
|
|
1352
1350
|
*/
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{b as f,F as s,J as c}from"../packem_shared/index.server-
|
|
1
|
+
import{b as f,F as s,J as c}from"../packem_shared/index.server-Ca_EEVfw.js";import{p as r}from"./cli-main.js";import{g as u}from"../packem_shared/osv-bloom-BCAX5ARR.js";const a=t=>{if(!t)return"never";const i=Date.parse(t);if(Number.isNaN(i))return t;const e=Date.now()-i;if(e<0)return t;const n=Math.floor(e/6e4);if(n<1)return"just now";if(n<60)return`${n}m ago`;const o=Math.floor(n/60);return o<24?`${o}h ago`:`${Math.floor(o/24)}d ago`},m=t=>t<1024?`${t} B`:t<1024*1024?`${(t/1024).toFixed(1)} KB`:`${(t/(1024*1024)).toFixed(1)} MB`,l=async({options:t,workspaceRoot:i})=>{if(!i)throw new Error("Could not determine workspace root. Run this command inside a workspace.");const e=await u(i,t.cacheDir);if(t.format==="json"){process.stdout.write(`${JSON.stringify(e,void 0,2)}
|
|
2
2
|
`);return}if(r.info(`Cache: ${e.cacheDir}`),!e.present){r.warn(`No osv-bloom filter yet. Run ${f("vis advisories bloom sync")} to populate.`);return}if(e.manifest){const{manifest:o}=e;r.info(`Built: ${o.builtAtRfc3339} (${a(o.builtAtRfc3339)})`),r.info(`Fetch: ${e.fetchedAtIso??s("—")} (${a(e.fetchedAtIso)})`),r.info(`Filter: ${c(m(o.bloomByteLen))} m=${o.bloomMBits.toLocaleString()} bits k=${String(o.bloomKHashes)}`),r.info(`Set: ${o.entryCount.toLocaleString()} entries from ${o.advisoryCount.toLocaleString()} advisories (target FPR ${o.targetFpr})`),r.info(s(`Digest: ${o.setDigestSha256}`))}else r.warn("filter.bin present but manifest.json missing — `vis advisories bloom sync` will rewrite the cache.")},g=l;export{g as advisoriesBloomStatusExecute};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{F as f}from"../packem_shared/index.server-
|
|
1
|
+
import{F as f}from"../packem_shared/index.server-Ca_EEVfw.js";import{p as i}from"./cli-main.js";import{s as d}from"../packem_shared/scan-progress-RwCRxJdX.js";import{D as p,s as D}from"../packem_shared/osv-bloom-BCAX5ARR.js";const h=o=>o?.security?.audit?.advisories?.bloom??{},u=o=>o>=1e3?`${(o/1e3).toFixed(1)}s`:`${Math.round(o)}ms`,$=o=>o<1024?`${o} B`:o<1024*1024?`${(o/1024).toFixed(1)} KB`:`${(o/(1024*1024)).toFixed(1)} MB`,b=async({options:o,visConfig:m,workspaceRoot:n})=>{if(!n)throw new Error("Could not determine workspace root. Run this command inside a workspace.");const a=o.format==="json",c=h(m),l=o.source??c.source??p,r=d([{id:"bloom",label:"Sync osv-bloom prefilter"}],{live:!a});let e,t;try{r.start("bloom");const s=Date.now();e=await D({allowedHosts:c.allowedHosts,cacheDir:o.cacheDir,force:!!o.force,source:l,workspaceRoot:n}),e.upToDate?r.finish("bloom","ok",`up to date · ${u(Date.now()-s)}`):r.finish("bloom","ok",`${e.manifest.entryCount.toLocaleString()} entries · ${$(e.bytesOnDisk)} · ${u(e.durationMs)}`)}catch(s){t=s instanceof Error?s.message:String(s),r.finish("bloom","error",t)}finally{r.stop()}a?process.stdout.write(`${JSON.stringify({bytesOnDisk:e?.bytesOnDisk??0,cacheDir:e?.cacheDir??null,durationMs:e?.durationMs??0,error:t??null,manifest:e?.manifest??null,source:l,upToDate:e?.upToDate??!1},void 0,2)}
|
|
2
2
|
`):e&&(i.info(f(`Cache: ${e.cacheDir}`)),i.info(f(`Built: ${e.manifest.builtAtRfc3339}`)),t||i.success(e.upToDate?"osv-bloom prefilter up to date.":"osv-bloom prefilter synced.")),t&&(process.exitCode=1)},g=b;export{g as advisoriesBloomSyncExecute};
|