@visulima/vis 1.0.0-alpha.40 → 1.0.0-alpha.41
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 +27 -0
- package/dist/bin.js +1 -1
- package/dist/binx.js +2 -2
- package/dist/config/index.d.ts +18 -0
- package/dist/packem_chunks/bin.js +202 -202
- package/dist/packem_chunks/handler10.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/handler21.js +1 -1
- 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/handler30.js +1 -2
- package/dist/packem_chunks/handler31.js +2 -2
- package/dist/packem_chunks/handler32.js +2 -2
- package/dist/packem_chunks/handler33.js +2 -3
- package/dist/packem_chunks/handler34.js +3 -6
- package/dist/packem_chunks/handler35.js +6 -1
- package/dist/packem_chunks/handler36.js +1 -42
- package/dist/packem_chunks/handler37.js +42 -8
- package/dist/packem_chunks/handler38.js +8 -9
- package/dist/packem_chunks/handler39.js +9 -75
- package/dist/packem_chunks/handler4.js +1 -1
- package/dist/packem_chunks/handler40.js +75 -5
- package/dist/packem_chunks/handler41.js +5 -4
- package/dist/packem_chunks/handler42.js +4 -3
- package/dist/packem_chunks/handler43.js +3 -2
- package/dist/packem_chunks/handler44.js +2 -1
- package/dist/packem_chunks/handler45.js +1 -1
- package/dist/packem_chunks/handler46.js +1 -1
- package/dist/packem_chunks/handler47.js +1 -3
- package/dist/packem_chunks/handler48.js +3 -1
- package/dist/packem_chunks/handler49.js +1 -7
- package/dist/packem_chunks/handler5.js +1 -1
- package/dist/packem_chunks/handler50.js +6 -32
- package/dist/packem_chunks/handler51.js +33 -3
- package/dist/packem_chunks/handler52.js +3 -8
- package/dist/packem_chunks/handler53.js +6 -2
- package/dist/packem_chunks/handler54.js +4 -1
- package/dist/packem_chunks/handler55.js +1 -12
- package/dist/packem_chunks/handler56.js +11 -6
- package/dist/packem_chunks/handler57.js +7 -5
- package/dist/packem_chunks/handler58.js +5 -11
- package/dist/packem_chunks/handler59.js +11 -3
- package/dist/packem_chunks/handler60.js +3 -22
- package/dist/packem_chunks/handler61.js +21 -60
- package/dist/packem_chunks/handler62.js +61 -3
- package/dist/packem_chunks/handler63.js +3 -6
- package/dist/packem_chunks/handler64.js +6 -708
- package/dist/packem_chunks/handler65.js +708 -24
- package/dist/packem_chunks/handler66.js +24 -25
- package/dist/packem_chunks/handler67.js +25 -153
- package/dist/packem_chunks/handler68.js +153 -10
- package/dist/packem_chunks/handler69.js +10 -24
- package/dist/packem_chunks/handler70.js +24 -322
- package/dist/packem_chunks/handler71.js +322 -48
- package/dist/packem_chunks/handler72.js +48 -27
- package/dist/packem_chunks/handler73.js +27 -3
- package/dist/packem_chunks/handler74.js +3 -190
- package/dist/packem_chunks/handler75.js +189 -37
- package/dist/packem_chunks/handler76.js +38 -0
- package/dist/packem_chunks/handler8.js +1 -1
- package/dist/packem_chunks/handler9.js +1 -1
- package/dist/packem_chunks/heal-accept.js +1 -1
- package/dist/packem_chunks/help-command.js +1 -1
- package/dist/packem_chunks/list.js +1 -1
- package/dist/packem_chunks/loader.js +1 -1
- package/dist/packem_chunks/orchestrator.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_chunks/version-resolver.js +1 -1
- package/dist/packem_shared/command-runtime-CR70qSUM.js +1 -0
- package/dist/packem_shared/{cyclonedx-kYozDyxp.js → cyclonedx-Cadls41z.js} +1 -1
- package/dist/packem_shared/{index-Du8RWawQ.js → index-3jMNqQom.js} +1 -1
- package/dist/packem_shared/index-Bt521H5J.js +30 -0
- package/dist/packem_shared/{index-CgcF6_wo.js → index-DGSsjmpV.js} +1 -1
- package/dist/packem_shared/{pm-runner-OGResYrA.js → pm-runner-BKZQo7Ts.js} +1 -1
- package/dist/packem_shared/{provenance-_CJjMKwu.js → provenance-BFEwKgI3.js} +1 -1
- package/dist/packem_shared/{resolve-explicit-CMDl55Nz.js → resolve-explicit-C6WM-I2u.js} +1 -1
- package/dist/packem_shared/{s1ngularity-Dhr3bPk0.js → s1ngularity-DCPmPE5M.js} +1 -1
- package/dist/packem_shared/{signatures-C730vkyK.js → signatures-Xpd6HjG_.js} +1 -1
- package/index.d.ts +201 -201
- package/index.js +26 -26
- package/package.json +13 -13
- package/schemas/vis-config.schema.json +12 -0
- package/dist/packem_shared/index-yBikBkHT.js +0 -30
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,30 @@
|
|
|
1
|
+
## @visulima/vis [1.0.0-alpha.41](https://github.com/visulima/visulima/compare/@visulima/vis@1.0.0-alpha.40...@visulima/vis@1.0.0-alpha.41) (2026-06-19)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* **vis:** add runtime detection abstraction (phase 0) ([8dca5b2](https://github.com/visulima/visulima/commit/8dca5b235e3f7427937f60e8ec13ab90e4c698af)), closes [#native](https://github.com/visulima/visulima/issues/native)
|
|
6
|
+
* **vis:** add vis x file runner (phase 2) ([213fadf](https://github.com/visulima/visulima/commit/213fadf99f2de8126749c317ae3f002f174f39cc))
|
|
7
|
+
* **vis:** route dlx/exec through the runtime resolver (phase 1) ([5186df4](https://github.com/visulima/visulima/commit/5186df43a850bc8b0642608643095faa8b1ebc6f))
|
|
8
|
+
* **vis:** route install/add/remove/dedupe through runtime resolver (phase 1) ([8aaa3e1](https://github.com/visulima/visulima/commit/8aaa3e1d8f9ac73debfd6fc81808b570a25a1337))
|
|
9
|
+
* **vis:** route remaining pm verbs through runtime resolver (phase 1) ([e18a44f](https://github.com/visulima/visulima/commit/e18a44f975ce6b744c5e6a9237e056de8a5f230e))
|
|
10
|
+
* **vis:** validate runtime selection in run (phase 1) ([efaa952](https://github.com/visulima/visulima/commit/efaa95251519ad4ed3db77ed42421fd85756dbb2))
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* **vis:** regenerate vis-config schema for the runtime field ([1de4ef0](https://github.com/visulima/visulima/commit/1de4ef0f50b6620f981b081b6ff746306b948a76))
|
|
15
|
+
|
|
16
|
+
### Performance Improvements
|
|
17
|
+
|
|
18
|
+
* **vis:** skip heap-tuning re-exec for light commands (~290ms) ([885aebe](https://github.com/visulima/visulima/commit/885aebe0993210727f82918cb0474e14a8414ae6))
|
|
19
|
+
|
|
20
|
+
### Documentation
|
|
21
|
+
|
|
22
|
+
* **vis:** correct cold-start profile with measured findings ([d02a8c1](https://github.com/visulima/visulima/commit/d02a8c1f2212ce61a5ecf9f396976f1031996557))
|
|
23
|
+
|
|
24
|
+
### Tests
|
|
25
|
+
|
|
26
|
+
* **vis:** add cli benchmark harness + codspeed wiring ([c3b1a79](https://github.com/visulima/visulima/commit/c3b1a79cc1814276e95b946d2d227f56942a48cf))
|
|
27
|
+
|
|
1
28
|
## @visulima/vis [1.0.0-alpha.40](https://github.com/visulima/visulima/compare/@visulima/vis@1.0.0-alpha.39...@visulima/vis@1.0.0-alpha.40) (2026-06-17)
|
|
2
29
|
|
|
3
30
|
### Features
|
package/dist/bin.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import"./packem_shared/index-
|
|
2
|
+
import"./packem_shared/index-Bt521H5J.js";import"./packem_chunks/bin.js";import"./packem_shared/index-BDmTbWX1.js";import"./packem_shared/public-api-WqUCiyIe.js";import"./packem_chunks/config.js";
|
package/dist/binx.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{
|
|
3
|
-
`),process.exit(0));process.argv.splice(2,0,"dlx");
|
|
2
|
+
import{c as o,a as r,V as c,h as i,e as a}from"./packem_shared/index-Bt521H5J.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.version}
|
|
3
|
+
`),process.exit(0));process.argv.splice(2,0,"dlx");r();const e=c("visx",{packageName:"visx",packageVersion:o.version}),p=process.argv.includes("--debug")||!!process.env.DEBUG;e.addPlugin(i({detailed:p,exitOnError:!1}));e.addCommand(a);(async()=>{try{await e.run({shouldExitProcess:!1})}catch{process.exitCode=process.exitCode||1}finally{process.exit(process.exitCode??0)}})();
|
package/dist/config/index.d.ts
CHANGED
|
@@ -24,6 +24,17 @@ interface SimilarDepFamily {
|
|
|
24
24
|
type FmtAdapterId = "biome" | "deno-fmt" | "dprint" | "oxfmt" | "prettier" | "ruff-fmt";
|
|
25
25
|
/** Adapter IDs that can lint (adapter `kind` is `"lint"` or `"both"`). */
|
|
26
26
|
type LintAdapterId = "biome" | "deno-lint" | "eslint" | "markdownlint" | "oxlint" | "ruff-check" | "shellcheck" | "stylelint";
|
|
27
|
+
/**
|
|
28
|
+
* Runtime adapter contract for the cross-runtime multi-tool (see
|
|
29
|
+
* `rfc/design-runtime-multitool.md`). Phase 0 defines the identity +
|
|
30
|
+
* detection metadata; Phase 1 extends adapters with the spawn-building
|
|
31
|
+
* methods (`runFile` / `runScript` / `install` / `exec`) that route through
|
|
32
|
+
* `pm-runner`. Deno is a planned third adapter — deliberately not a
|
|
33
|
+
* `RuntimeId` yet (it carries permission + no-`node_modules` semantics that
|
|
34
|
+
* the first cut omits).
|
|
35
|
+
*/
|
|
36
|
+
/** JS runtimes vis can target today. `"deno"` is deferred. */
|
|
37
|
+
type RuntimeId = "bun" | "node";
|
|
27
38
|
type VersionManagerName = "asdf" | "corepack" | "fnm" | "mise" | "none" | "nvm" | "proto" | "self-activate" | "volta";
|
|
28
39
|
type RuntimeTool = "aube" | "bun" | "deno" | "go" | "node" | "npm" | "pnpm" | "python" | "ruby" | "rust" | "yarn";
|
|
29
40
|
interface ToolchainConfig {
|
|
@@ -1632,6 +1643,13 @@ interface VisConfig {
|
|
|
1632
1643
|
services?: "auto" | "ephemeral" | "off" | "persistent";
|
|
1633
1644
|
};
|
|
1634
1645
|
/**
|
|
1646
|
+
* Target JS runtime for this workspace/project — `"node"` (default) or
|
|
1647
|
+
* `"bun"`. Overridden by the `--runtime` flag and the `VIS_RUNTIME` env
|
|
1648
|
+
* var; falls back to lockfile detection when unset. Part of the
|
|
1649
|
+
* cross-runtime multi-tool (see `rfc/design-runtime-multitool.md`).
|
|
1650
|
+
*/
|
|
1651
|
+
runtime?: RuntimeId;
|
|
1652
|
+
/**
|
|
1635
1653
|
* Cascading scoped-task blocks. Each block may narrow its tasks to a
|
|
1636
1654
|
* subset of projects via `match`. Blocks are evaluated in order; later
|
|
1637
1655
|
* blocks override earlier ones when the same field is set.
|