@visulima/vis 1.0.0-alpha.24 → 1.0.0-alpha.26
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 +78 -0
- package/LICENSE.md +1154 -179
- package/README.md +5 -3
- package/dist/bin.js +1 -1
- package/dist/binx.js +1 -1
- package/dist/config/index.d.ts +19 -0
- package/dist/packem_chunks/bin.js +299 -290
- package/dist/packem_chunks/bloom-status.js +1 -1
- package/dist/packem_chunks/bloom-sync.js +1 -1
- package/dist/packem_chunks/config.js +15 -15
- package/dist/packem_chunks/fix.js +1 -1
- package/dist/packem_chunks/handler.js +1 -1
- package/dist/packem_chunks/handler10.js +2 -2
- 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 +10 -10
- 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 +2 -2
- package/dist/packem_chunks/handler20.js +1 -1
- package/dist/packem_chunks/handler21.js +5 -5
- package/dist/packem_chunks/handler22.js +2 -2
- package/dist/packem_chunks/handler23.js +2 -2
- package/dist/packem_chunks/handler24.js +1 -1
- package/dist/packem_chunks/handler25.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/handler3.js +1 -1
- package/dist/packem_chunks/handler30.js +1 -1
- package/dist/packem_chunks/handler31.js +1 -1
- package/dist/packem_chunks/handler32.js +3 -3
- package/dist/packem_chunks/handler34.js +5 -28
- package/dist/packem_chunks/handler35.js +22 -5
- package/dist/packem_chunks/handler36.js +60 -21
- package/dist/packem_chunks/handler37.js +6 -61
- package/dist/packem_chunks/handler38.js +24 -6
- package/dist/packem_chunks/handler39.js +152 -707
- package/dist/packem_chunks/handler4.js +1 -1
- package/dist/packem_chunks/handler40.js +10 -24
- package/dist/packem_chunks/handler41.js +25 -286
- package/dist/packem_chunks/handler42.js +707 -152
- package/dist/packem_chunks/handler43.js +24 -10
- package/dist/packem_chunks/handler44.js +322 -25
- package/dist/packem_chunks/handler45.js +46 -24
- package/dist/packem_chunks/handler46.js +1 -1
- package/dist/packem_chunks/handler47.js +7 -7
- package/dist/packem_chunks/handler48.js +66 -58
- package/dist/packem_chunks/handler5.js +3 -3
- package/dist/packem_chunks/handler6.js +1 -1
- 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/heal.js +1 -1
- package/dist/packem_chunks/help-command.js +16 -16
- package/dist/packem_chunks/index.js +6 -6
- package/dist/packem_chunks/list.js +1 -1
- package/dist/packem_chunks/loader.js +1 -1
- package/dist/packem_chunks/prune.js +3 -3
- package/dist/packem_chunks/run.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/{advisories-U1QKY_tg.js → advisories-DS8JEB_g.js} +1 -1
- package/dist/packem_shared/affected-shas-Dm7eqcI8.js +1 -0
- package/dist/packem_shared/{ai-analysis-B8pDCOuT.js → ai-analysis-Csn82p17.js} +1 -1
- package/dist/packem_shared/{ai-fix-DiGSrGKv.js → ai-fix-BlYyz5bI.js} +3 -3
- package/dist/packem_shared/{cyclonedx-DPEW0nwS.js → cyclonedx-ja1cbU69.js} +1 -1
- package/dist/packem_shared/dependency-scan-s2MD0vi-.js +1 -0
- package/dist/packem_shared/{docker-_pBC9Loj.js → docker-Bw9gKo69.js} +1 -1
- package/dist/packem_shared/{index-D_tAc2nS.js → index-88UK-tt_.js} +1 -1
- package/dist/packem_shared/index-CS6a2wFB.js +29 -0
- package/dist/packem_shared/lifecycle-ChCFTm5Q.js +2 -0
- package/dist/packem_shared/{lockfile-CQLFNyVa.js → lockfile-BG1HvBzH.js} +1 -1
- package/dist/packem_shared/{min-release-age-Cz6HbF-I.js → min-release-age-heJgeP7o.js} +1 -1
- package/dist/packem_shared/{osv-bloom-CyCDpXBl.js → osv-bloom-QSAn2Dcw.js} +2 -2
- package/dist/packem_shared/{pm-runner-Dnj9J3KF.js → pm-runner-BzGZmzYs.js} +1 -1
- package/dist/packem_shared/{provenance-yESbF7Vs.js → provenance-BsBn1f5S.js} +1 -1
- package/dist/packem_shared/{resolve-explicit-BpxcFRuk.js → resolve-explicit-CBPr617N.js} +1 -1
- package/dist/packem_shared/{s1ngularity-B_xjP4lC.js → s1ngularity-j_ArCZAs.js} +1 -1
- package/dist/packem_shared/{signatures-DBwSnMBB.js → signatures-CaXzNuEn.js} +1 -1
- package/dist/packem_shared/{typosquats-Citu7BRY.js → typosquats-C1e6RNjF.js} +1 -1
- package/dist/packem_shared/vis-update-app-qhQPV97i.js +1 -0
- package/index.d.ts +201 -201
- package/index.js +52 -52
- package/package.json +14 -25
- package/schemas/project.schema.json +4 -0
- package/schemas/vis-config.schema.json +5 -0
- package/dist/packem_shared/dependency-scan-BbtivycX.js +0 -1
- package/dist/packem_shared/index-B8Ko8mwG.js +0 -29
- package/dist/packem_shared/lifecycle-DJDsjoic.js +0 -2
- package/dist/packem_shared/vis-update-app-BWA1kA1q.js +0 -1
package/README.md
CHANGED
|
@@ -140,7 +140,9 @@ vis check
|
|
|
140
140
|
# Check with security vulnerability scanning
|
|
141
141
|
vis check --security
|
|
142
142
|
|
|
143
|
-
# Update catalog dependencies interactively
|
|
143
|
+
# Update catalog dependencies interactively, plus any
|
|
144
|
+
# GitHub Actions, Dockerfile, docker-compose, or GitLab CI
|
|
145
|
+
# references in the workspace (auto-detected).
|
|
144
146
|
vis update --interactive
|
|
145
147
|
|
|
146
148
|
# Install git hooks
|
|
@@ -194,7 +196,7 @@ When aube is the active installer, `vis audit` delegates to `aube audit` so a si
|
|
|
194
196
|
3. `security.audit.backend` in `vis.config.ts`.
|
|
195
197
|
4. Defaults to `auto` — delegates only when `install.backend` (or `VIS_INSTALLER`) resolves to aube AND `aube` is on `PATH`.
|
|
196
198
|
|
|
197
|
-
Vis-only features (`--report`, `--fix-transitive`, `--usage`, `--policies`, `--format sarif|csaf|cyclonedx-vex`, `--ecosystem` beyond npm) print a warning and are dropped when delegating; pass `--backend vis` to force the built-in OSV/Socket scanner.
|
|
199
|
+
Vis-only features (`--report`, `--fix-transitive`, `--usage`, `--policies`, `--format sarif|csaf|cyclonedx-vex|gitlab|junit`, `--ecosystem` beyond npm) print a warning and are dropped when delegating; pass `--backend vis` to force the built-in OSV/Socket scanner.
|
|
198
200
|
|
|
199
201
|
### Doctor visibility
|
|
200
202
|
|
|
@@ -212,7 +214,7 @@ When aube is the installer, `vis doctor` surfaces aube's effective hardening pos
|
|
|
212
214
|
| `vis ignore <project>` | | CI build gating for Vercel / Netlify "Ignored Build Step" |
|
|
213
215
|
| `vis graph` | | Visualize the project dependency graph |
|
|
214
216
|
| `vis check [packages]` | `c` | Check for outdated dependencies in workspace catalogs |
|
|
215
|
-
| `vis update [packages]` | `up` | Update packages
|
|
217
|
+
| `vis update [packages]` | `up` | Update packages, GitHub Actions, Dockerfiles, and GitLab CI refs |
|
|
216
218
|
| `vis install` | `i` | Install dependencies via the detected package manager |
|
|
217
219
|
| `vis info <package>` | `view` | Show npm registry metadata for a package (wraps `npm view` et al.) |
|
|
218
220
|
| `vis dlx <package>` | | Execute a remote package without permanent installation |
|
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-CS6a2wFB.js";import"./packem_chunks/bin.js";import"./packem_chunks/config.js";import"./packem_shared/readFileSync-CGmzMUF2-D6rUjGDn.js";
|
package/dist/binx.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import{N as r,m as o,i as c,T as i,w as a,a as n}from"./packem_shared/index-
|
|
2
|
+
import{N as r,m as o,i as c,T as i,w as a,a as n}from"./packem_shared/index-CS6a2wFB.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
|
@@ -632,6 +632,12 @@ interface ProjectJson {
|
|
|
632
632
|
language?: string;
|
|
633
633
|
/** Project layer, used for constraint inheritance and query filtering. */
|
|
634
634
|
layer?: "application" | "automation" | "configuration" | "library" | "scaffolding" | "tool";
|
|
635
|
+
/**
|
|
636
|
+
* Project name. When set, takes precedence over `package.json#name`
|
|
637
|
+
* as the project's identity in the workspace graph and CLI filters.
|
|
638
|
+
* Falls back to `package.json#name` when omitted.
|
|
639
|
+
*/
|
|
640
|
+
name?: string;
|
|
635
641
|
/** Code owners for paths inside this project. */
|
|
636
642
|
owners?: OwnersEntry[];
|
|
637
643
|
/** Project-level metadata. */
|
|
@@ -720,6 +726,19 @@ interface VisConfig {
|
|
|
720
726
|
*/
|
|
721
727
|
codeowners?: CodeownersConfig;
|
|
722
728
|
/**
|
|
729
|
+
* Default base branch used by `vis affected`, `vis ci`, and `vis run --affected`
|
|
730
|
+
* when no explicit `--base` is passed and no CI smart-resolver fires.
|
|
731
|
+
*
|
|
732
|
+
* Resolved as `origin/<defaultBase>` against the local clone; should be a
|
|
733
|
+
* branch name (not a fully-qualified ref) such as `main`, `master`, or `trunk`.
|
|
734
|
+
* Falls back to `main` when omitted.
|
|
735
|
+
*
|
|
736
|
+
* Migrated automatically from `nx.json#affected.defaultBase` /
|
|
737
|
+
* `nx.json#defaultBase` by `vis migrate nx`.
|
|
738
|
+
* @default "main"
|
|
739
|
+
*/
|
|
740
|
+
defaultBase?: string;
|
|
741
|
+
/**
|
|
723
742
|
* Project dependency constraints.
|
|
724
743
|
* Enforced after building the project graph, before running tasks.
|
|
725
744
|
*/
|