@visulima/vis 1.0.0-alpha.1 → 1.0.0-alpha.11

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.
Files changed (120) hide show
  1. package/CHANGELOG.md +403 -12
  2. package/LICENSE.md +283 -0
  3. package/README.md +254 -9
  4. package/dist/bin.js +9 -146
  5. package/dist/config/index.d.ts +1818 -0
  6. package/dist/config/index.js +2 -0
  7. package/dist/generate/index.d.ts +157 -0
  8. package/dist/generate/index.js +3 -0
  9. package/dist/packem_chunks/applyDefaults.js +336 -0
  10. package/dist/packem_chunks/bin.js +9577 -0
  11. package/dist/packem_chunks/doctor-probe.js +112 -0
  12. package/dist/packem_chunks/fix.js +234 -0
  13. package/dist/packem_chunks/handler.js +99 -0
  14. package/dist/packem_chunks/handler10.js +53 -0
  15. package/dist/packem_chunks/handler11.js +32 -0
  16. package/dist/packem_chunks/handler12.js +100 -0
  17. package/dist/packem_chunks/handler13.js +25 -0
  18. package/dist/packem_chunks/handler14.js +916 -0
  19. package/dist/packem_chunks/handler15.js +206 -0
  20. package/dist/packem_chunks/handler16.js +124 -0
  21. package/dist/packem_chunks/handler17.js +13 -0
  22. package/dist/packem_chunks/handler18.js +106 -0
  23. package/dist/packem_chunks/handler19.js +19 -0
  24. package/dist/packem_chunks/handler2.js +75 -0
  25. package/dist/packem_chunks/handler20.js +29 -0
  26. package/dist/packem_chunks/handler21.js +222 -0
  27. package/dist/packem_chunks/handler22.js +237 -0
  28. package/dist/packem_chunks/handler23.js +101 -0
  29. package/dist/packem_chunks/handler24.js +110 -0
  30. package/dist/packem_chunks/handler25.js +402 -0
  31. package/dist/packem_chunks/handler26.js +13 -0
  32. package/dist/packem_chunks/handler27.js +63 -0
  33. package/dist/packem_chunks/handler28.js +34 -0
  34. package/dist/packem_chunks/handler29.js +458 -0
  35. package/dist/packem_chunks/handler3.js +95 -0
  36. package/dist/packem_chunks/handler30.js +170 -0
  37. package/dist/packem_chunks/handler31.js +530 -0
  38. package/dist/packem_chunks/handler32.js +214 -0
  39. package/dist/packem_chunks/handler33.js +119 -0
  40. package/dist/packem_chunks/handler34.js +630 -0
  41. package/dist/packem_chunks/handler35.js +283 -0
  42. package/dist/packem_chunks/handler36.js +542 -0
  43. package/dist/packem_chunks/handler37.js +762 -0
  44. package/dist/packem_chunks/handler38.js +989 -0
  45. package/dist/packem_chunks/handler39.js +574 -0
  46. package/dist/packem_chunks/handler4.js +90 -0
  47. package/dist/packem_chunks/handler40.js +1685 -0
  48. package/dist/packem_chunks/handler41.js +1088 -0
  49. package/dist/packem_chunks/handler42.js +797 -0
  50. package/dist/packem_chunks/handler43.js +2658 -0
  51. package/dist/packem_chunks/handler44.js +3886 -0
  52. package/dist/packem_chunks/handler45.js +2574 -0
  53. package/dist/packem_chunks/handler46.js +3769 -0
  54. package/dist/packem_chunks/handler47.js +1491 -0
  55. package/dist/packem_chunks/handler5.js +174 -0
  56. package/dist/packem_chunks/handler6.js +95 -0
  57. package/dist/packem_chunks/handler7.js +115 -0
  58. package/dist/packem_chunks/handler8.js +12 -0
  59. package/dist/packem_chunks/handler9.js +29 -0
  60. package/dist/packem_chunks/heal-accept.js +522 -0
  61. package/dist/packem_chunks/heal.js +673 -0
  62. package/dist/packem_chunks/index.js +873 -0
  63. package/dist/packem_chunks/loader.js +23 -0
  64. package/dist/packem_shared/VisUpdateApp-D-Yz_wvg.js +1316 -0
  65. package/dist/packem_shared/_commonjsHelpers-BqLXS_qQ.js +5 -0
  66. package/dist/packem_shared/ai-analysis-CHeB1joD.js +367 -0
  67. package/dist/packem_shared/ai-cache-Be_jexe4.js +142 -0
  68. package/dist/packem_shared/ai-fix-B9iQVcD2.js +379 -0
  69. package/dist/packem_shared/cache-directory-2qvs4goY.js +98 -0
  70. package/dist/packem_shared/catalog-BJTtyi-O.js +1371 -0
  71. package/dist/packem_shared/dependency-scan-A0KSklpG.js +188 -0
  72. package/dist/packem_shared/docker-2iZzc280.js +181 -0
  73. package/dist/packem_shared/failure-log-Cz3Z4SKL.js +100 -0
  74. package/dist/packem_shared/flakiness-goTxXuCX.js +180 -0
  75. package/dist/packem_shared/otel-DCvqCTz_.js +158 -0
  76. package/dist/packem_shared/otelPlugin-DFaLDvJf.js +3 -0
  77. package/dist/packem_shared/registry-CbqXI0rc.js +272 -0
  78. package/dist/packem_shared/run-summary-utils-PVMl4aIh.js +130 -0
  79. package/dist/packem_shared/runtime-check-Cobi3p6l.js +127 -0
  80. package/dist/packem_shared/selectors-SM69TfqC.js +194 -0
  81. package/dist/packem_shared/symbols-Ta7g2nU-.js +14 -0
  82. package/dist/packem_shared/toolchain-BdZd9eBi.js +975 -0
  83. package/dist/packem_shared/typosquats-C-bCh3PX.js +1210 -0
  84. package/dist/packem_shared/use-measured-height-CNP0vT4M.js +20 -0
  85. package/dist/packem_shared/utils-CthVdBPS.js +40 -0
  86. package/dist/packem_shared/xxh3-Ck8mXNg1.js +239 -0
  87. package/index.js +773 -0
  88. package/package.json +82 -21
  89. package/schemas/project.schema.json +420 -0
  90. package/schemas/vis-config.schema.json +501 -0
  91. package/skills/vis/SKILL.md +96 -0
  92. package/templates/buildkite-ci/.buildkite/pipeline.yml.tera +85 -0
  93. package/templates/buildkite-ci/template.yml +20 -0
  94. package/dist/ai-analysis.d.ts +0 -40
  95. package/dist/ai-cache.d.ts +0 -21
  96. package/dist/bin.d.ts +0 -1
  97. package/dist/catalog.d.ts +0 -110
  98. package/dist/commands/affected.d.ts +0 -3
  99. package/dist/commands/ai.d.ts +0 -3
  100. package/dist/commands/analyze.d.ts +0 -3
  101. package/dist/commands/check.d.ts +0 -3
  102. package/dist/commands/graph.d.ts +0 -3
  103. package/dist/commands/hook/constants.d.ts +0 -8
  104. package/dist/commands/hook/index.d.ts +0 -3
  105. package/dist/commands/hook/install.d.ts +0 -7
  106. package/dist/commands/hook/migrate.d.ts +0 -27
  107. package/dist/commands/hook/uninstall.d.ts +0 -3
  108. package/dist/commands/migrate/constants.d.ts +0 -12
  109. package/dist/commands/migrate/deps.d.ts +0 -32
  110. package/dist/commands/migrate/index.d.ts +0 -3
  111. package/dist/commands/migrate/json.d.ts +0 -20
  112. package/dist/commands/migrate/lint-staged.d.ts +0 -62
  113. package/dist/commands/migrate/types.d.ts +0 -20
  114. package/dist/commands/run.d.ts +0 -3
  115. package/dist/commands/staged.d.ts +0 -3
  116. package/dist/commands/update.d.ts +0 -3
  117. package/dist/config.d.ts +0 -40
  118. package/dist/config.js +0 -1
  119. package/dist/package-manager.d.ts +0 -23
  120. package/dist/workspace.d.ts +0 -58
package/LICENSE.md CHANGED
@@ -19,3 +19,286 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
19
  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
20
  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
21
  SOFTWARE.
22
+
23
+ <!-- DEPENDENCIES -->
24
+
25
+ # Licenses of bundled dependencies
26
+ The published @visulima/vis artifact additionally contains code with the following licenses:
27
+ ISC, MIT
28
+
29
+ # Bundled dependencies:
30
+ ## @nkzw/safe-word-list
31
+ License: MIT
32
+ By: Christoph Nakazawa
33
+ Repository: https://github.com/nkzw-tech/safe-word-list.git
34
+
35
+ > The MIT License (MIT)
36
+ >
37
+ > Copyright (c) 2022 Christoph Nakazawa
38
+ >
39
+ > Permission is hereby granted, free of charge, to any person obtaining a copy
40
+ > of this software and associated documentation files (the "Software"), to deal
41
+ > in the Software without restriction, including without limitation the rights
42
+ > to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
43
+ > copies of the Software, and to permit persons to whom the Software is
44
+ > furnished to do so, subject to the following conditions:
45
+ >
46
+ > The above copyright notice and this permission notice shall be included in all
47
+ > copies or substantial portions of the Software.
48
+ >
49
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
50
+ > IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
51
+ > FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
52
+ > AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
53
+ > LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
54
+ > OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
55
+ > SOFTWARE.
56
+
57
+ ---------------------------------------
58
+
59
+ ## is-in-ci
60
+ License: MIT
61
+ By: Sindre Sorhus
62
+ Repository: sindresorhus/is-in-ci
63
+
64
+ > MIT License
65
+ >
66
+ > Copyright (c) Sindre Sorhus <sindresorhus@gmail.com> (https://sindresorhus.com)
67
+ >
68
+ > Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
69
+ >
70
+ > The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
71
+ >
72
+ > THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
73
+
74
+ ---------------------------------------
75
+
76
+ ## validate-npm-package-name
77
+ License: ISC
78
+ By: GitHub Inc.
79
+ Repository: git+https://github.com/npm/validate-npm-package-name.git
80
+
81
+ > Copyright (c) 2015, npm, Inc
82
+ >
83
+ >
84
+ > Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
85
+ >
86
+ > THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
87
+
88
+ <!-- /DEPENDENCIES -->
89
+
90
+ <!-- TYPE_DEPENDENCIES -->
91
+
92
+ # Licenses of bundled types
93
+ The published @visulima/vis artifact additionally contains code with the following licenses:
94
+ Apache-2.0
95
+
96
+ # Bundled types:
97
+ ## @opentelemetry/api
98
+ License: Apache-2.0
99
+ By: OpenTelemetry Authors
100
+ Repository: open-telemetry/opentelemetry-js
101
+
102
+ > Apache License
103
+ > Version 2.0, January 2004
104
+ > http://www.apache.org/licenses/
105
+ >
106
+ > TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
107
+ >
108
+ > 1. Definitions.
109
+ >
110
+ > "License" shall mean the terms and conditions for use, reproduction,
111
+ > and distribution as defined by Sections 1 through 9 of this document.
112
+ >
113
+ > "Licensor" shall mean the copyright owner or entity authorized by
114
+ > the copyright owner that is granting the License.
115
+ >
116
+ > "Legal Entity" shall mean the union of the acting entity and all
117
+ > other entities that control, are controlled by, or are under common
118
+ > control with that entity. For the purposes of this definition,
119
+ > "control" means (i) the power, direct or indirect, to cause the
120
+ > direction or management of such entity, whether by contract or
121
+ > otherwise, or (ii) ownership of fifty percent (50%) or more of the
122
+ > outstanding shares, or (iii) beneficial ownership of such entity.
123
+ >
124
+ > "You" (or "Your") shall mean an individual or Legal Entity
125
+ > exercising permissions granted by this License.
126
+ >
127
+ > "Source" form shall mean the preferred form for making modifications,
128
+ > including but not limited to software source code, documentation
129
+ > source, and configuration files.
130
+ >
131
+ > "Object" form shall mean any form resulting from mechanical
132
+ > transformation or translation of a Source form, including but
133
+ > not limited to compiled object code, generated documentation,
134
+ > and conversions to other media types.
135
+ >
136
+ > "Work" shall mean the work of authorship, whether in Source or
137
+ > Object form, made available under the License, as indicated by a
138
+ > copyright notice that is included in or attached to the work
139
+ > (an example is provided in the Appendix below).
140
+ >
141
+ > "Derivative Works" shall mean any work, whether in Source or Object
142
+ > form, that is based on (or derived from) the Work and for which the
143
+ > editorial revisions, annotations, elaborations, or other modifications
144
+ > represent, as a whole, an original work of authorship. For the purposes
145
+ > of this License, Derivative Works shall not include works that remain
146
+ > separable from, or merely link (or bind by name) to the interfaces of,
147
+ > the Work and Derivative Works thereof.
148
+ >
149
+ > "Contribution" shall mean any work of authorship, including
150
+ > the original version of the Work and any modifications or additions
151
+ > to that Work or Derivative Works thereof, that is intentionally
152
+ > submitted to Licensor for inclusion in the Work by the copyright owner
153
+ > or by an individual or Legal Entity authorized to submit on behalf of
154
+ > the copyright owner. For the purposes of this definition, "submitted"
155
+ > means any form of electronic, verbal, or written communication sent
156
+ > to the Licensor or its representatives, including but not limited to
157
+ > communication on electronic mailing lists, source code control systems,
158
+ > and issue tracking systems that are managed by, or on behalf of, the
159
+ > Licensor for the purpose of discussing and improving the Work, but
160
+ > excluding communication that is conspicuously marked or otherwise
161
+ > designated in writing by the copyright owner as "Not a Contribution."
162
+ >
163
+ > "Contributor" shall mean Licensor and any individual or Legal Entity
164
+ > on behalf of whom a Contribution has been received by Licensor and
165
+ > subsequently incorporated within the Work.
166
+ >
167
+ > 2. Grant of Copyright License. Subject to the terms and conditions of
168
+ > this License, each Contributor hereby grants to You a perpetual,
169
+ > worldwide, non-exclusive, no-charge, royalty-free, irrevocable
170
+ > copyright license to reproduce, prepare Derivative Works of,
171
+ > publicly display, publicly perform, sublicense, and distribute the
172
+ > Work and such Derivative Works in Source or Object form.
173
+ >
174
+ > 3. Grant of Patent License. Subject to the terms and conditions of
175
+ > this License, each Contributor hereby grants to You a perpetual,
176
+ > worldwide, non-exclusive, no-charge, royalty-free, irrevocable
177
+ > (except as stated in this section) patent license to make, have made,
178
+ > use, offer to sell, sell, import, and otherwise transfer the Work,
179
+ > where such license applies only to those patent claims licensable
180
+ > by such Contributor that are necessarily infringed by their
181
+ > Contribution(s) alone or by combination of their Contribution(s)
182
+ > with the Work to which such Contribution(s) was submitted. If You
183
+ > institute patent litigation against any entity (including a
184
+ > cross-claim or counterclaim in a lawsuit) alleging that the Work
185
+ > or a Contribution incorporated within the Work constitutes direct
186
+ > or contributory patent infringement, then any patent licenses
187
+ > granted to You under this License for that Work shall terminate
188
+ > as of the date such litigation is filed.
189
+ >
190
+ > 4. Redistribution. You may reproduce and distribute copies of the
191
+ > Work or Derivative Works thereof in any medium, with or without
192
+ > modifications, and in Source or Object form, provided that You
193
+ > meet the following conditions:
194
+ >
195
+ > (a) You must give any other recipients of the Work or
196
+ > Derivative Works a copy of this License; and
197
+ >
198
+ > (b) You must cause any modified files to carry prominent notices
199
+ > stating that You changed the files; and
200
+ >
201
+ > (c) You must retain, in the Source form of any Derivative Works
202
+ > that You distribute, all copyright, patent, trademark, and
203
+ > attribution notices from the Source form of the Work,
204
+ > excluding those notices that do not pertain to any part of
205
+ > the Derivative Works; and
206
+ >
207
+ > (d) If the Work includes a "NOTICE" text file as part of its
208
+ > distribution, then any Derivative Works that You distribute must
209
+ > include a readable copy of the attribution notices contained
210
+ > within such NOTICE file, excluding those notices that do not
211
+ > pertain to any part of the Derivative Works, in at least one
212
+ > of the following places: within a NOTICE text file distributed
213
+ > as part of the Derivative Works; within the Source form or
214
+ > documentation, if provided along with the Derivative Works; or,
215
+ > within a display generated by the Derivative Works, if and
216
+ > wherever such third-party notices normally appear. The contents
217
+ > of the NOTICE file are for informational purposes only and
218
+ > do not modify the License. You may add Your own attribution
219
+ > notices within Derivative Works that You distribute, alongside
220
+ > or as an addendum to the NOTICE text from the Work, provided
221
+ > that such additional attribution notices cannot be construed
222
+ > as modifying the License.
223
+ >
224
+ > You may add Your own copyright statement to Your modifications and
225
+ > may provide additional or different license terms and conditions
226
+ > for use, reproduction, or distribution of Your modifications, or
227
+ > for any such Derivative Works as a whole, provided Your use,
228
+ > reproduction, and distribution of the Work otherwise complies with
229
+ > the conditions stated in this License.
230
+ >
231
+ > 5. Submission of Contributions. Unless You explicitly state otherwise,
232
+ > any Contribution intentionally submitted for inclusion in the Work
233
+ > by You to the Licensor shall be under the terms and conditions of
234
+ > this License, without any additional terms or conditions.
235
+ > Notwithstanding the above, nothing herein shall supersede or modify
236
+ > the terms of any separate license agreement you may have executed
237
+ > with Licensor regarding such Contributions.
238
+ >
239
+ > 6. Trademarks. This License does not grant permission to use the trade
240
+ > names, trademarks, service marks, or product names of the Licensor,
241
+ > except as required for reasonable and customary use in describing the
242
+ > origin of the Work and reproducing the content of the NOTICE file.
243
+ >
244
+ > 7. Disclaimer of Warranty. Unless required by applicable law or
245
+ > agreed to in writing, Licensor provides the Work (and each
246
+ > Contributor provides its Contributions) on an "AS IS" BASIS,
247
+ > WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
248
+ > implied, including, without limitation, any warranties or conditions
249
+ > of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
250
+ > PARTICULAR PURPOSE. You are solely responsible for determining the
251
+ > appropriateness of using or redistributing the Work and assume any
252
+ > risks associated with Your exercise of permissions under this License.
253
+ >
254
+ > 8. Limitation of Liability. In no event and under no legal theory,
255
+ > whether in tort (including negligence), contract, or otherwise,
256
+ > unless required by applicable law (such as deliberate and grossly
257
+ > negligent acts) or agreed to in writing, shall any Contributor be
258
+ > liable to You for damages, including any direct, indirect, special,
259
+ > incidental, or consequential damages of any character arising as a
260
+ > result of this License or out of the use or inability to use the
261
+ > Work (including but not limited to damages for loss of goodwill,
262
+ > work stoppage, computer failure or malfunction, or any and all
263
+ > other commercial damages or losses), even if such Contributor
264
+ > has been advised of the possibility of such damages.
265
+ >
266
+ > 9. Accepting Warranty or Additional Liability. While redistributing
267
+ > the Work or Derivative Works thereof, You may choose to offer,
268
+ > and charge a fee for, acceptance of support, warranty, indemnity,
269
+ > or other liability obligations and/or rights consistent with this
270
+ > License. However, in accepting such obligations, You may act only
271
+ > on Your own behalf and on Your sole responsibility, not on behalf
272
+ > of any other Contributor, and only if You agree to indemnify,
273
+ > defend, and hold each Contributor harmless for any liability
274
+ > incurred by, or claims asserted against, such Contributor by reason
275
+ > of your accepting any such warranty or additional liability.
276
+ >
277
+ > END OF TERMS AND CONDITIONS
278
+ >
279
+ > APPENDIX: How to apply the Apache License to your work.
280
+ >
281
+ > To apply the Apache License to your work, attach the following
282
+ > boilerplate notice, with the fields enclosed by brackets "[]"
283
+ > replaced with your own identifying information. (Don't include
284
+ > the brackets!) The text should be enclosed in the appropriate
285
+ > comment syntax for the file format. We also recommend that a
286
+ > file or class name and description of purpose be included on the
287
+ > same "printed page" as the copyright notice for easier
288
+ > identification within third-party archives.
289
+ >
290
+ > Copyright [yyyy] [name of copyright owner]
291
+ >
292
+ > Licensed under the Apache License, Version 2.0 (the "License");
293
+ > you may not use this file except in compliance with the License.
294
+ > You may obtain a copy of the License at
295
+ >
296
+ > http://www.apache.org/licenses/LICENSE-2.0
297
+ >
298
+ > Unless required by applicable law or agreed to in writing, software
299
+ > distributed under the License is distributed on an "AS IS" BASIS,
300
+ > WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
301
+ > See the License for the specific language governing permissions and
302
+ > limitations under the License.
303
+
304
+ <!-- /TYPE_DEPENDENCIES -->
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  </a>
8
8
 
9
- <h3 align="center">A CLI task runner for monorepo workspaces</h3>
9
+ <h3 align="center">A CLI task runner for monorepo workspaces, powered by @visulima/task-runner</h3>
10
10
 
11
11
  <!-- END_PACKAGE_OG_IMAGE_PLACEHOLDER -->
12
12
 
@@ -40,11 +40,14 @@
40
40
  - **Task caching**: Powered by `@visulima/task-runner` with local and remote caching support
41
41
  - **Dependency-aware scheduling**: Runs tasks in topological order with configurable parallelism
42
42
  - **Affected detection**: Only runs tasks for projects changed since a given git ref
43
+ - **Pluggable installer**: Defaults to the lockfile-detected PM (pnpm/npm/yarn/bun); auto-uses [aube](https://github.com/endevco/aube) when on `PATH`, with a single switch (`install.backend` / `--installer` / `--no-aube`) to pin or bypass it
43
44
  - **Catalog management**: Check and update dependencies in pnpm/bun workspace catalogs
44
45
  - **Security scanning**: Check for known vulnerabilities via OSV.dev
45
46
  - **Graph visualization**: View your project dependency graph in ASCII, DOT, JSON, or HTML
46
47
  - **Git hooks**: Install, manage, and migrate git hooks (husky migration supported)
47
48
  - **Configurable**: `vis.json` for target defaults, cache settings, and task runner options
49
+ - **Inferred targets**: Optional Project Crystal-style synthesis of `build`/`test`/`dev`/`lint`/`format` from 36 tools (Vite, Vitest, Next, Nuxt, packem, ESLint, Biome, Prisma, …). Opt in with `inferTargets: true`; explicit scripts and `project.json`/`vis.task.ts` overrides always win
50
+ - **URI-based input format**: `inputs` accepts `file://`, `glob://`, `env://`, `func://`, `dep://` strings as forward-compat sugar for the structured object form
48
51
  - **Built on Cerebro**: Uses `@visulima/cerebro` for a robust CLI experience with built-in help, version, and completion
49
52
 
50
53
  ## Install
@@ -61,6 +64,24 @@ yarn add @visulima/vis
61
64
  pnpm add @visulima/vis
62
65
  ```
63
66
 
67
+ ### Cold start (no Node? no manager?)
68
+
69
+ One-liner bootstrap that installs a version manager, Node LTS, and `vis` in one go.
70
+
71
+ **Linux / macOS / WSL** (bash):
72
+
73
+ ```sh
74
+ curl -fsSL https://visulima.com/install.sh | bash
75
+ ```
76
+
77
+ **Windows** (PowerShell 5.1+):
78
+
79
+ ```powershell
80
+ irm https://visulima.com/install.ps1 | iex
81
+ ```
82
+
83
+ Pass `--yes --manager=proto` (POSIX) or `-Yes -Manager proto` (PowerShell) for non-interactive / CI usage. See [`vis toolchain` docs](./docs/commands/toolchain.mdx#cold-start--no-node-no-manager) for details.
84
+
64
85
  ## Quick Start
65
86
 
66
87
  ```bash
@@ -86,16 +107,240 @@ vis update --interactive
86
107
  vis hook install
87
108
  ```
88
109
 
110
+ ## Installer backend (aube)
111
+
112
+ `vis install`, `vis add`, `vis remove`, `vis update`, `vis dlx`, `vis exec`, `vis link`, `vis unlink`, `vis dedupe`, `vis why`, `vis outdated`, `vis info`, and `vis pm` honor [aube](https://github.com/endevco/aube) — a Rust-native package manager that reads and writes pnpm/npm/yarn/bun lockfiles in place — as a drop-in installer. Aube also supports the pnpm `catalog:` and `catalog:<name>` protocol from `pnpm-workspace.yaml`, including walk-up resolution from subpackages.
113
+
114
+ `vis` does not bundle aube. Install it once via your tool of choice and `vis` will auto-detect it on `PATH`:
115
+
116
+ ```bash
117
+ npm install -g @endevco/aube # or
118
+ mise use -g aube # or
119
+ brew install endevco/tap/aube
120
+ ```
121
+
122
+ Resolution precedence (highest first):
123
+
124
+ 1. `--installer <name>` CLI flag — `auto`, `aube`, `pnpm`, `npm`, `yarn`, or `bun` (or `--no-aube` to force the lockfile-detected PM for a single run; `--no-aube` wins over every other source).
125
+ 2. `VIS_INSTALLER` environment variable — same accepted values as the flag.
126
+ 3. `install.backend` in `vis.config.ts` — same accepted values; the team-wide pin.
127
+ 4. Auto-detect — `aube` when it's on `PATH`, otherwise the lockfile-detected PM (`pnpm-lock.yaml` → pnpm, `package-lock.json` → npm, `yarn.lock` → yarn, `bun.lockb` → bun).
128
+
129
+ Each step is consulted in order; the first one that resolves to a concrete backend wins. Picking an explicit value (`pnpm`, `npm`, …) at any level always beats the auto-detect step below it, so you can override the team default for a single shell session via `VIS_INSTALLER=pnpm vis install` without touching the config file.
130
+
131
+ ```ts
132
+ // vis.config.ts — pin the installer for the team
133
+ import { defineConfig } from "@visulima/vis/config";
134
+
135
+ export default defineConfig({
136
+ install: { backend: "aube" }, // "auto" | "aube" | "pnpm" | "npm" | "yarn" | "bun"
137
+ });
138
+ ```
139
+
140
+ ### Lockfile drift
141
+
142
+ Aube reuses pnpm/npm/yarn/bun lockfile formats but its serialized output isn't byte-identical to the original tool's. The first install on a workspace whose lockfile was written by another PM produces a one-time churn diff; teams that mix tools on the same lockfile see ongoing drift. `vis install` warns when this is about to happen — pin `install.backend` to keep the team consistent.
143
+
144
+ ### Lifecycle scripts
145
+
146
+ Aube already skips dependency lifecycle scripts by default. `--ignore-scripts` is a no-op under aube (`vis install` warns when you pass it). To opt specific packages back in, run `aube approve-builds` — the inverse direction from the pnpm/npm `--ignore-scripts` model.
147
+
89
148
  ## Commands
90
149
 
91
- | Command | Alias | Description |
92
- | ----------------------- | ----- | ----------------------------------------------------- |
93
- | `vis run <target>` | | Run a target across workspace projects with caching |
94
- | `vis affected <target>` | | Run tasks only on projects affected by git changes |
95
- | `vis graph` | | Visualize the project dependency graph |
96
- | `vis check [packages]` | `c` | Check for outdated dependencies in workspace catalogs |
97
- | `vis update [packages]` | `up` | Update packages to their latest versions |
98
- | `vis hook <action>` | | Manage git hooks (install, uninstall, migrate) |
150
+ | Command | Alias | Description |
151
+ | ----------------------- | ------ | -------------------------------------------------------------------- |
152
+ | `vis create [template]` | | Scaffold a new project from templates, npm packages, or git repos |
153
+ | `vis generate [name]` | | Scaffold files from an in-repo template (native TS or moon-format) |
154
+ | `vis init` | | Initialize vis.config.ts with security defaults |
155
+ | `vis run <target>` | | Run a target across workspace projects with caching |
156
+ | `vis affected <target>` | | Run tasks only on projects affected by git changes |
157
+ | `vis ignore <project>` | | CI build gating for Vercel / Netlify "Ignored Build Step" |
158
+ | `vis graph` | | Visualize the project dependency graph |
159
+ | `vis check [packages]` | `c` | Check for outdated dependencies in workspace catalogs |
160
+ | `vis update [packages]` | `up` | Update packages to their latest versions |
161
+ | `vis install` | `i` | Install dependencies via the detected package manager |
162
+ | `vis info <package>` | `view` | Show npm registry metadata for a package (wraps `npm view` et al.) |
163
+ | `vis dlx <package>` | | Execute a remote package without permanent installation |
164
+ | `vis audit` | | Audit dependencies for security vulnerabilities |
165
+ | `vis clean` | | Remove build artifacts, caches, and node_modules |
166
+ | `vis cache <action>` | | Inspect cache (`list`, `size`, `hash`, `why`), or `prune` / `clean` |
167
+ | `vis hook <action>` | | Manage git hooks (install, uninstall, migrate) |
168
+ | `vis secrets [paths]` | | Scan for hardcoded secrets / credentials (Rust-native) |
169
+ | `vis toolchain <cmd>` | | Inspect / delegate to the version manager (proto, mise, fnm, volta…) |
170
+ | `vis staged` | | Run tasks on staged files (built-in `lint-staged` replacement) |
171
+ | `vis migrate <type>` | | Migrate from other tools — now including `gitleaks` and `secretlint` |
172
+
173
+ For `vis ignore`, see the [command reference](./docs/commands/ignore.mdx) and the [deployment build gating section](./docs/guides/ci-cd.mdx#deployment-build-gating) of the CI/CD guide.
174
+
175
+ ### Diagnosing cache misses
176
+
177
+ When a task you expected to be cached re-ran, ask vis what changed:
178
+
179
+ ```sh
180
+ vis cache why @myorg/app:build # human-friendly diff vs. previous run
181
+ vis cache why @myorg/app:build --json # stable shape for CI
182
+ vis cache hash @myorg/app:build # just print the hash + per-bucket inputs
183
+ ```
184
+
185
+ `vis cache why` reads `.task-runner/last-summary.json` and diffs the task's `hashDetails` (`command`, `nodes`, `runtime`, `implicitDeps`) against the previous run, so you can pinpoint exactly which bucket rotated. Past runs only land in `.task-runner/runs/` when you pass `--summarize`, so use `vis run :build --summarize` (or set it as a default in CI) for diffs you'll want to inspect later.
186
+
187
+ ### Cache retention
188
+
189
+ `vis cache prune` evicts entries by any combination of age, total size, and count:
190
+
191
+ ```sh
192
+ vis cache prune --max-age-days=7 # drop entries older than a week
193
+ vis cache prune --max-size=2GB # evict oldest until under 2 GB
194
+ vis cache prune --keep-last=30 # keep only the 30 newest entries
195
+ vis cache prune --keep-last=30 --max-age-days=14 # combine: 30-newest floor, then age cap
196
+ ```
197
+
198
+ `--keep-last` enforces a count floor first (newest-first by mtime), then `--max-age-days` and `--max-size` apply.
199
+
200
+ ### Sharing the cache across git worktrees
201
+
202
+ When the workspace is a linked worktree (created with `git worktree add`), vis stores the cache at `<mainWorktreeRoot>/.task-runner-cache` so sibling worktrees driven by parallel agents share one cache instead of rebuilding the same hash N times. Set `sharedWorktreeCache: false` in `vis.config.ts` to opt out, or use `--scope=worktree|shared|all` on `vis cache list/size/prune` to inspect or operate on a specific store.
203
+
204
+ ### Quieting successful runs
205
+
206
+ `--output-style=quiet` skips stdout/stderr from successful and cached tasks while keeping failures fully visible. Pair it with per-target `options.outputStyle` to mute a single noisy task — or to keep one critical task verbose under a global quiet flag:
207
+
208
+ ```sh
209
+ vis run :build --output-style=quiet # only failures print
210
+ ```
211
+
212
+ ```json
213
+ {
214
+ "targets": {
215
+ "lint": { "options": { "outputStyle": "quiet" } },
216
+ "migrate": { "options": { "outputStyle": "normal" } }
217
+ }
218
+ }
219
+ ```
220
+
221
+ See the [`vis cache`](./docs/commands/cache.mdx) and [`vis run`](./docs/commands/run.mdx) command references for the full surface.
222
+
223
+ ### Scanning for secrets
224
+
225
+ `vis secrets` wraps [`@visulima/secret-scanner`](../secret-scanner) — a Rust port of the gitleaks detection engine — with ergonomic flags for the common workflows.
226
+
227
+ ```sh
228
+ vis secrets # scan the workspace (grouped, colourised output)
229
+ vis secrets --staged # pre-commit mode: scan staged files only
230
+ vis secrets --since main # scan files changed since the `main` branch
231
+ vis secrets --affected # scan only files affected by the current branch
232
+ vis secrets --init # scaffold an initial .secrets-baseline.json
233
+ vis secrets --list-rules # print all bundled detection rules
234
+ vis secrets --enable-rule tag:preset:weak-passwords # enable an opt-in rule group additively
235
+ vis secrets --exclude 'dist/**' --exclude-from .secretsignore # extra walker exclusions
236
+ vis secrets --include-rule stripe-access-token # check a single rule
237
+ vis secrets --exclude-rule generic-api-key # drop a noisy rule
238
+ vis secrets --baseline .secrets-baseline.json # suppress triaged findings; print diff
239
+ vis secrets --update-baseline # merge current findings into the baseline
240
+ vis secrets --format sarif > report.sarif # SARIF for GitHub code-scanning
241
+ ```
242
+
243
+ **Suppression** — inline (`// gitleaks:allow`), block (`gitleaks:allow-start` … `gitleaks:allow-end`), or a baseline JSON (sole fingerprint store). See the [secret-scanner README](../secret-scanner/README.md#suppression) for details.
244
+
245
+ **CI example** (GitHub Actions, SARIF upload):
246
+
247
+ ```yaml
248
+ name: Secrets
249
+ on: [push, pull_request]
250
+ jobs:
251
+ scan:
252
+ runs-on: ubuntu-latest
253
+ permissions: { security-events: write, contents: read }
254
+ steps:
255
+ - uses: actions/checkout@v4
256
+ - uses: pnpm/action-setup@v4
257
+ - run: pnpm install
258
+ - run: pnpm vis secrets --format sarif > report.sarif
259
+ continue-on-error: true
260
+ - uses: github/codeql-action/upload-sarif@v3
261
+ with: { sarif_file: report.sarif }
262
+ ```
263
+
264
+ ### Migrations
265
+
266
+ `vis migrate` now speaks two security tools:
267
+
268
+ ```sh
269
+ vis migrate gitleaks # keeps gitleaks.toml, rewrites scripts/hooks to `vis secrets`
270
+ vis migrate secretlint # removes @secretlint/*, rewrites scripts/hooks, notes active rules
271
+ ```
272
+
273
+ Every destructive step writes a `.bak` sidecar first and prompts for confirmation (skip with `-y`). Dry-run previews are available via `--dry-run`.
274
+
275
+ ### Running tasks on staged files
276
+
277
+ `vis staged` is a built-in replacement for `lint-staged` — the same config shape, no peer dependency, and an integrated task renderer. Requires Git ≥ 2.32.
278
+
279
+ Declare the patterns and tasks under `staged` in `vis.config.ts`:
280
+
281
+ ```ts
282
+ // vis.config.ts
283
+ import { defineConfig } from "@visulima/vis/config";
284
+
285
+ export default defineConfig({
286
+ staged: {
287
+ "*.{ts,tsx}": ["eslint --fix", "prettier --write"],
288
+ "*.md": "prettier --write",
289
+ "package.json": (files) => `sort-package-json ${files.join(" ")}`,
290
+ },
291
+ });
292
+ ```
293
+
294
+ Each key is a glob (basename or path-style — path-style matches resolve relative to `cwd`). Each value is one of:
295
+
296
+ - a command string — split into argv, invoked with matched files appended;
297
+ - a `string[]` array — commands run serially for that pattern;
298
+ - a function `(files) => string | string[] | {title, task}` — generate dynamic commands or a custom task;
299
+ - a `{ title, task }` object — runs `task(files)` with no argv construction, useful for in-process side effects.
300
+
301
+ `vis.config.ts` is the single source of truth — no standalone `.lintstagedrc*` or `.vis-staged.*` files are read at runtime. Migrating from lint-staged or nano-staged? Run `vis migrate lint-staged` (or `vis migrate nano-staged`) to move the config in and remove the legacy files.
302
+
303
+ #### Command-line flags
304
+
305
+ ```sh
306
+ vis staged # run tasks on the current staged set
307
+ vis staged --verbose # show stdout/stderr on success as well as failure
308
+ vis staged --no-stash # skip the backup stash (faster, but no recovery on failure)
309
+ vis staged --diff HEAD~1 # operate on a range instead of `--staged`
310
+ vis staged --diff-filter=ACM # override the default ACMR filter
311
+ vis staged --concurrent 4 # cap parallel pattern execution
312
+ vis staged --continue-on-error # don't short-circuit on the first failure
313
+ vis staged --fail-on-changes # non-zero exit if tasks modified staged content
314
+ vis staged --hide-unstaged # hide all unstaged edits on tracked files
315
+ vis staged --hide-all # hide unstaged edits AND untracked files
316
+ vis staged --relative # pass paths relative to cwd to tasks
317
+ vis staged --revert # restore pre-task state on failure
318
+ vis staged --allow-empty # allow a commit when tasks revert everything
319
+ vis staged --auto-stage # auto-stage new files tasks create (codegen, lockfile regen, …)
320
+ vis staged --force-kill # kill in-flight tasks with SIGKILL on fast-fail (default: SIGTERM)
321
+ ```
322
+
323
+ #### Environment variables
324
+
325
+ | Variable | Description |
326
+ | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
327
+ | `VIS_STAGED_CONCURRENT` | Concurrency fallback when `--concurrent` is not passed. Same value shape as the flag (`true`, `false`, or an integer). Useful in CI so you don't repeat the flag on every invocation. |
328
+
329
+ #### How it behaves
330
+
331
+ 1. A hidden backup stash is created (via `git stash create` + `git stash store`, so the working tree is untouched).
332
+ 2. For partially-staged files, the unstaged delta is captured as a patch and the working tree is reset to the staged content. `--hide-all` extends this to every unstaged change _and_ untracked files via a single `git stash push --include-untracked`.
333
+ 3. Tasks run — patterns in parallel (capped at `os.availableParallelism()` by default), commands within a pattern serially.
334
+ 4. Task-driven edits are re-staged with `git update-index --again` (with a `git add -u` fallback for deletions), so commits made via pathspec (`git commit -m "…" .`) keep working.
335
+ 5. The unstaged patch — or the hide-all stash — is re-applied and the backup stash is dropped on success. On failure without `--revert`, the backup stash is preserved and the recovery sha is surfaced to the user. Ctrl+C aborts in-flight commands and still runs the restore path; a second Ctrl+C exits immediately.
336
+
337
+ #### Migrating from lint-staged
338
+
339
+ ```sh
340
+ vis migrate lint-staged # moves the config into vis.config.ts and rewrites hooks
341
+ ```
342
+
343
+ The migrator detects `package.json` keys, `.lintstagedrc*` files, and `lint-staged.config.*`, prompts before rewriting husky/vis hooks to call `vis staged`, and removes `lint-staged` from the dependency list.
99
344
 
100
345
  ## Documentation
101
346