@visulima/vis 1.0.0-alpha.32 → 1.0.0-alpha.34
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 +29 -0
- package/dist/bin.js +1 -1
- package/dist/binx.js +1 -1
- package/dist/config/index.d.ts +31 -6
- package/dist/packem_chunks/bin.js +274 -274
- package/dist/packem_chunks/bloom-sync.js +1 -1
- package/dist/packem_chunks/fix.js +1 -1
- package/dist/packem_chunks/handler11.js +1 -1
- package/dist/packem_chunks/handler13.js +1 -1
- package/dist/packem_chunks/handler14.js +1 -1
- package/dist/packem_chunks/handler16.js +1 -1
- package/dist/packem_chunks/handler20.js +1 -1
- package/dist/packem_chunks/handler21.js +1 -1
- package/dist/packem_chunks/handler22.js +2 -2
- package/dist/packem_chunks/handler23.js +1 -1
- package/dist/packem_chunks/handler27.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/handler33.js +1 -1
- package/dist/packem_chunks/handler34.js +4 -4
- package/dist/packem_chunks/handler35.js +1 -1
- package/dist/packem_chunks/handler36.js +3 -3
- package/dist/packem_chunks/handler37.js +1 -1
- package/dist/packem_chunks/handler38.js +4 -4
- package/dist/packem_chunks/handler39.js +2 -2
- package/dist/packem_chunks/handler4.js +1 -1
- package/dist/packem_chunks/handler40.js +1 -1
- package/dist/packem_chunks/handler41.js +7 -7
- package/dist/packem_chunks/handler42.js +25 -153
- package/dist/packem_chunks/handler43.js +153 -25
- package/dist/packem_chunks/handler44.js +5 -5
- package/dist/packem_chunks/handler45.js +1 -1
- package/dist/packem_chunks/handler47.js +1 -1
- package/dist/packem_chunks/handler48.js +1 -1
- package/dist/packem_chunks/handler49.js +1 -1
- package/dist/packem_chunks/handler5.js +1 -1
- package/dist/packem_chunks/handler50.js +10 -10
- package/dist/packem_chunks/handler51.js +53 -53
- package/dist/packem_chunks/handler7.js +1 -1
- package/dist/packem_chunks/heal.js +1 -1
- package/dist/packem_chunks/help-command.js +1 -1
- package/dist/packem_chunks/index.js +1 -1
- package/dist/packem_chunks/keys-refresh.js +1 -1
- package/dist/packem_chunks/list.js +1 -1
- package/dist/packem_chunks/run.js +1 -1
- package/dist/packem_chunks/sync.js +1 -1
- package/dist/packem_chunks/sync2.js +1 -1
- package/dist/packem_chunks/verify-lockfile.js +1 -1
- package/dist/packem_shared/{ai-analysis-KP8b5lc0.js → ai-analysis-3QD_RS6F.js} +1 -1
- package/dist/packem_shared/{ai-fix-BkPUHA0z.js → ai-fix-TsjDQz_0.js} +3 -3
- package/dist/packem_shared/{cyclonedx-BilSFCNY.js → cyclonedx-zf9R2jCs.js} +1 -1
- package/dist/packem_shared/{dependency-scan-BUbOcMwX.js → dependency-scan-B70azq4x.js} +1 -1
- package/dist/packem_shared/{failure-log-34Wl3npC.js → failure-log-Dxafk3t4.js} +2 -2
- package/dist/packem_shared/index-BpbjpCNL.js +1 -0
- package/dist/packem_shared/{index-K8aQuMvx.js → index-di3jpyZS.js} +1 -1
- package/dist/packem_shared/{lifecycle-Buigdp7P.js → lifecycle-DvVTL8nx.js} +2 -2
- package/dist/packem_shared/{lockfile-CrT86D6d.js → lockfile-CedmXr44.js} +1 -1
- package/dist/packem_shared/{min-release-age-BPVXwPUg.js → min-release-age-DKMW2N_v.js} +1 -1
- package/dist/packem_shared/missing-package-json-DKAwoiWK.js +1 -0
- package/dist/packem_shared/{native-config-sync-BRZZetn3.js → native-config-sync-DBkJ-hsF.js} +1 -1
- package/dist/packem_shared/{provenance-D8vU1u2L.js → provenance-Cu6VR1Hy.js} +1 -1
- package/dist/packem_shared/{registry-keys-E3cZn4FI.js → registry-keys-CuBAVdsk.js} +1 -1
- package/dist/packem_shared/{resolve-explicit-cPzwdiEE.js → resolve-explicit-Xue0oq8V.js} +1 -1
- package/dist/packem_shared/{s1ngularity-DBcjspCC.js → s1ngularity-adnHbyTd.js} +1 -1
- package/dist/packem_shared/{scan-progress-CTVVf9WW.js → scan-progress-lZdk5KJ-.js} +1 -1
- package/dist/packem_shared/{signatures-ChTfrQvT.js → signatures-FGbYV5QE.js} +1 -1
- package/dist/packem_shared/{spinner-C8xs6QZv.js → spinner-0acw5pd_.js} +1 -1
- package/dist/packem_shared/{tabs-xZkm6Y_J.js → tabs-zUSdR1HI.js} +1 -1
- package/dist/packem_shared/{use-measured-height-Lea6TCVD.js → use-measured-height-DyCBfLtu.js} +1 -1
- package/dist/packem_shared/{verify-cLcZwKqe.js → verify-BYzxSKWD.js} +1 -1
- package/dist/packem_shared/{vis-update-app-BCKzlqj8.js → vis-update-app-D0QyGneK.js} +1 -1
- package/dist/packem_shared/{watch-loop-BpA_pxU9.js → watch-loop-jmQQl2Qe.js} +2 -2
- package/index.js +52 -52
- package/package.json +10 -10
- package/schemas/vis-config.schema.json +34 -7
- package/dist/packem_shared/index-BnANMQ7k.js +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,32 @@
|
|
|
1
|
+
## @visulima/vis [1.0.0-alpha.34](https://github.com/visulima/visulima/compare/@visulima/vis@1.0.0-alpha.33...@visulima/vis@1.0.0-alpha.34) (2026-06-08)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
* **vis:** clean --empty-packages and staged per-package/cwd tasks ([cdba002](https://github.com/visulima/visulima/commit/cdba002af4714e3e74c1f832919855d0dd7f3a72)), closes [package.json#workspaces](https://github.com/visulima/package.json/issues/workspaces)
|
|
6
|
+
|
|
7
|
+
### Documentation
|
|
8
|
+
|
|
9
|
+
* **vis:** correct and complete command reference ([b8c6c11](https://github.com/visulima/visulima/commit/b8c6c11e289c509a7d479e2371d8df63b710ce9b))
|
|
10
|
+
|
|
11
|
+
### Miscellaneous Chores
|
|
12
|
+
|
|
13
|
+
* **vis:** merge clean/staged/hooks/docs feature branch ([f61821d](https://github.com/visulima/visulima/commit/f61821d9fb0e7f36769025edaa1d73993bf91c54))
|
|
14
|
+
|
|
15
|
+
### Code Refactoring
|
|
16
|
+
|
|
17
|
+
* **vis:** move git hooks dir from .vis-hooks to .vis/hooks ([b3cc45b](https://github.com/visulima/visulima/commit/b3cc45b9dd82bea9ab60fcd387a6c95833555a39))
|
|
18
|
+
|
|
19
|
+
## @visulima/vis [1.0.0-alpha.33](https://github.com/visulima/visulima/compare/@visulima/vis@1.0.0-alpha.32...@visulima/vis@1.0.0-alpha.33) (2026-06-07)
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* **task-runner:** warn when a cacheable task's inputs resolve to zero files ([3a4ecbb](https://github.com/visulima/visulima/commit/3a4ecbbef46b49afa4cb8b3e0b741fae0de42b3c))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Dependencies
|
|
27
|
+
|
|
28
|
+
* **@visulima/task-runner:** upgraded to 1.0.0-alpha.21
|
|
29
|
+
|
|
1
30
|
## @visulima/vis [1.0.0-alpha.32](https://github.com/visulima/visulima/compare/@visulima/vis@1.0.0-alpha.31...@visulima/vis@1.0.0-alpha.32) (2026-06-07)
|
|
2
31
|
|
|
3
32
|
### Bug Fixes
|
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-di3jpyZS.js";import"./packem_chunks/bin.js";import"./packem_chunks/config.js";import"./packem_shared/readFileSync-DseCu8sg-DEq4Fn3a.js";
|
package/dist/binx.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{$ as r,m as o,a as c,I as i,p as a,i as n}from"./packem_shared/index-
|
|
2
|
+
import{$ as r,m as o,a as c,I as i,p as a,i as n}from"./packem_shared/index-di3jpyZS.js";r();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
3
|
`),process.exit(0));process.argv.splice(2,0,"dlx");c();const e=i("visx",{packageName:"visx",packageVersion:o.version}),p=process.argv.includes("--debug")||!!process.env.DEBUG;e.addPlugin(a({detailed:p,exitOnError:!1}));e.addCommand(n);(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
|
@@ -52,15 +52,39 @@ interface CustomTask {
|
|
|
52
52
|
readonly title: string;
|
|
53
53
|
}
|
|
54
54
|
/**
|
|
55
|
+
* Object form of a command task. Unlike a bare command string it carries
|
|
56
|
+
* execution options:
|
|
57
|
+
*
|
|
58
|
+
* - `perPackage` runs the command once per workspace package that owns the
|
|
59
|
+
* matched files, with `cwd` set to that package's directory and file paths
|
|
60
|
+
* made relative to it. Use it for tools that resolve their config or
|
|
61
|
+
* plugins from the nearest `package.json` — e.g. eslint with a
|
|
62
|
+
* cwd-sensitive shareable config. Files that sit under no workspace
|
|
63
|
+
* package fall back to a single run from the workspace root.
|
|
64
|
+
* - `cwd` pins the command to a fixed directory (relative to the workspace
|
|
65
|
+
* root, or absolute) and passes the matched files as absolute paths so
|
|
66
|
+
* they resolve regardless of where the command runs. Ignored when
|
|
67
|
+
* `perPackage` is set — that derives the cwd per package instead.
|
|
68
|
+
*
|
|
69
|
+
* A command task is distinguished from {@link CustomTask} by carrying a
|
|
70
|
+
* `command` string and no `task` function.
|
|
71
|
+
*/
|
|
72
|
+
interface CommandTask {
|
|
73
|
+
readonly command: string;
|
|
74
|
+
readonly cwd?: string;
|
|
75
|
+
readonly perPackage?: boolean;
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
55
78
|
* A task value as authored by the user. Command strings are split into
|
|
56
|
-
* argv and invoked with the matched file paths appended.
|
|
57
|
-
*
|
|
58
|
-
*
|
|
59
|
-
*
|
|
79
|
+
* argv and invoked with the matched file paths appended. `{ command, … }`
|
|
80
|
+
* objects do the same with per-task execution options (cwd / perPackage).
|
|
81
|
+
* Arrays run serially. Functions receive the matched paths and return
|
|
82
|
+
* further task values (possibly async). `{ title, task }` objects run
|
|
83
|
+
* `task` directly with no argv construction.
|
|
60
84
|
*/
|
|
61
|
-
type StagedTask = CustomTask | StagedTaskFunction |
|
|
85
|
+
type StagedTask = CommandTask | CustomTask | StagedTaskFunction | string | ReadonlyArray<CommandTask | CustomTask | StagedTaskFunction | string>;
|
|
62
86
|
type StagedTaskFunction = (files: string[]) => Promise<StagedTaskResult> | StagedTaskResult;
|
|
63
|
-
type StagedTaskResult =
|
|
87
|
+
type StagedTaskResult = CommandTask | CustomTask | string | ReadonlyArray<CommandTask | CustomTask | string>;
|
|
64
88
|
/**
|
|
65
89
|
* Config object mapping glob patterns (basename or path-style) to tasks.
|
|
66
90
|
* A top-level function form lets the user generate the entire config
|
|
@@ -2328,6 +2352,7 @@ interface VisConfig {
|
|
|
2328
2352
|
* - `string` or `string[]` commands
|
|
2329
2353
|
* - Sync/async functions returning `string | string[]`
|
|
2330
2354
|
* - `{ title, task }` objects for named side-effect tasks
|
|
2355
|
+
* - `{ command, perPackage }` to run a command once per owning workspace package (cwd = that package dir), and `{ command, cwd }` to pin a command to a fixed directory
|
|
2331
2356
|
* - Mixed arrays of strings and functions
|
|
2332
2357
|
* - A top-level generate-task function
|
|
2333
2358
|
*/
|