vize 0.100.0 → 0.103.0
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/README.md +9 -2
- package/dist/cli.d.mts +1 -18
- package/dist/cli.mjs +2 -1015
- package/dist/cli.mjs.map +1 -1
- package/package.json +3 -10
- package/src/cli.ts +2 -1814
- package/dist/cli.d.mts.map +0 -1
- package/src/cli.test.ts +0 -89
package/README.md
CHANGED
|
@@ -11,8 +11,9 @@ The `vize` npm package provides:
|
|
|
11
11
|
- `vize upgrade` for updating the npm package
|
|
12
12
|
|
|
13
13
|
For Vite integration, pair it with `@vizejs/vite-plugin`.
|
|
14
|
-
For the full Rust-native CLI (`lsp`, `ide`, project-backed `check`, and `check-server`),
|
|
15
|
-
the Rust
|
|
14
|
+
For the full Rust-native CLI (`lsp`, `ide`, project-backed `check`, and `check-server`), use the
|
|
15
|
+
GitHub release binaries or the Nix entry point. The Rust CLI is not published through crates.io for
|
|
16
|
+
v1 alpha.
|
|
16
17
|
|
|
17
18
|
Need `vp` first? Install Vite+ once from the [Vite+ install guide](https://viteplus.dev/guide/install).
|
|
18
19
|
|
|
@@ -89,8 +90,14 @@ Override config discovery with `--config`, or disable it with `--no-config`.
|
|
|
89
90
|
vp exec vize lint --preset essential --max-warnings 0 src
|
|
90
91
|
vp exec vize lint --preset opinionated --help-level short src
|
|
91
92
|
vp exec vize lint --format json src
|
|
93
|
+
vp exec vize lint --format plain src
|
|
94
|
+
vp exec vize lint --format agent src
|
|
92
95
|
```
|
|
93
96
|
|
|
97
|
+
Lint output supports `text`, `ansi`, `plain`, `json`, `stylish`, `markdown`, `html`, and `agent`.
|
|
98
|
+
The human and agent-friendly formats include local rule documentation paths such as
|
|
99
|
+
`docs/content/rules/vue.md`.
|
|
100
|
+
|
|
94
101
|
`vize check` in the npm package uses the packaged NAPI checker so it can run from `package.json`
|
|
95
102
|
scripts after installing `vize`:
|
|
96
103
|
|
package/dist/cli.d.mts
CHANGED
|
@@ -1,18 +1 @@
|
|
|
1
|
-
|
|
2
|
-
declare function shouldPreferWorkspaceBinding(resolvedPath: string | null): boolean;
|
|
3
|
-
declare function shouldRetainCheckSource(options: {
|
|
4
|
-
declaration?: boolean;
|
|
5
|
-
format?: string;
|
|
6
|
-
quiet?: boolean;
|
|
7
|
-
}): boolean;
|
|
8
|
-
declare function sanitizeTerminalText(value: unknown): string;
|
|
9
|
-
declare function displayPath(filePath: string): string;
|
|
10
|
-
interface BoundedFileBatchOptions {
|
|
11
|
-
maxFiles: number;
|
|
12
|
-
maxBytes: number;
|
|
13
|
-
sizeOf?: (file: string) => number;
|
|
14
|
-
}
|
|
15
|
-
declare function createBoundedFileBatches(files: readonly string[], options: BoundedFileBatchOptions): string[][];
|
|
16
|
-
//#endregion
|
|
17
|
-
export { createBoundedFileBatches, displayPath, sanitizeTerminalText, shouldPreferWorkspaceBinding, shouldRetainCheckSource };
|
|
18
|
-
//# sourceMappingURL=cli.d.mts.map
|
|
1
|
+
export { };
|