oxlint-plugin-vize 0.242.0 → 0.249.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 +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -32,8 +32,8 @@ The bridge is optimized around Oxlint's per-rule execution model:
|
|
|
32
32
|
|
|
33
33
|
```bash
|
|
34
34
|
vp install
|
|
35
|
-
vp run --filter './npm/
|
|
36
|
-
vp run --filter './npm/
|
|
35
|
+
vp run --filter './npm/native' build
|
|
36
|
+
vp run --filter './npm/oxint' build
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
Install `vp` once from the [Vite+ install guide](https://viteplus.dev/guide/install), then add it with:
|
package/dist/index.mjs
CHANGED
|
@@ -77,13 +77,13 @@ function shouldPreferWorkspaceBinding(resolvedPath) {
|
|
|
77
77
|
if (override === "1" || override === "true") return true;
|
|
78
78
|
if (override === "0" || override === "false") return false;
|
|
79
79
|
if (resolvedPath == null) return false;
|
|
80
|
-
return resolvedPath.includes(`${path.sep}npm${path.sep}
|
|
80
|
+
return resolvedPath.includes(`${path.sep}npm${path.sep}native${path.sep}`);
|
|
81
81
|
}
|
|
82
82
|
if (import.meta.vitest) {
|
|
83
83
|
const { describe, expect, it } = import.meta.vitest;
|
|
84
84
|
describe("shouldPreferWorkspaceBinding", () => {
|
|
85
85
|
it("detects the local workspace native package", () => {
|
|
86
|
-
expect(shouldPreferWorkspaceBinding(`${path.sep}Users${path.sep}example${path.sep}repo${path.sep}npm${path.sep}
|
|
86
|
+
expect(shouldPreferWorkspaceBinding(`${path.sep}Users${path.sep}example${path.sep}repo${path.sep}npm${path.sep}native${path.sep}index.js`)).toBe(true);
|
|
87
87
|
});
|
|
88
88
|
it("ignores published platform packages", () => {
|
|
89
89
|
expect(shouldPreferWorkspaceBinding(`${path.sep}repo${path.sep}node_modules${path.sep}.pnpm${path.sep}@vizejs+native-darwin-arm64${path.sep}node_modules${path.sep}@vizejs${path.sep}native-darwin-arm64${path.sep}index.js`)).toBe(false);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oxlint-plugin-vize",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.249.0",
|
|
4
4
|
"description": "Oxlint JS plugin bridge for Vize Patina",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lint",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
19
19
|
"url": "https://github.com/ubugeeei-prod/vize",
|
|
20
|
-
"directory": "npm/
|
|
20
|
+
"directory": "npm/oxint"
|
|
21
21
|
},
|
|
22
22
|
"bin": {
|
|
23
23
|
"oxlint-vize": "bin/oxlint-vize"
|
|
@@ -44,19 +44,19 @@
|
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@tsdown/css": "0.22.0",
|
|
46
46
|
"@types/node": "25.9.2",
|
|
47
|
-
"@vizejs/native": "0.
|
|
47
|
+
"@vizejs/native": "0.249.0",
|
|
48
48
|
"tsdown": "0.22.0",
|
|
49
49
|
"typescript": "6.0.3",
|
|
50
50
|
"vite": "npm:@voidzero-dev/vite-plus-core@0.1.21",
|
|
51
51
|
"vite-plus": "0.1.21"
|
|
52
52
|
},
|
|
53
53
|
"optionalDependencies": {
|
|
54
|
-
"@vizejs/native-darwin-arm64": "0.
|
|
55
|
-
"@vizejs/native-linux-arm64-gnu": "0.
|
|
56
|
-
"@vizejs/native-linux-arm64-musl": "0.
|
|
57
|
-
"@vizejs/native-linux-x64-gnu": "0.
|
|
58
|
-
"@vizejs/native-linux-x64-musl": "0.
|
|
59
|
-
"@vizejs/native-win32-x64-msvc": "0.
|
|
54
|
+
"@vizejs/native-darwin-arm64": "0.249.0",
|
|
55
|
+
"@vizejs/native-linux-arm64-gnu": "0.249.0",
|
|
56
|
+
"@vizejs/native-linux-arm64-musl": "0.249.0",
|
|
57
|
+
"@vizejs/native-linux-x64-gnu": "0.249.0",
|
|
58
|
+
"@vizejs/native-linux-x64-musl": "0.249.0",
|
|
59
|
+
"@vizejs/native-win32-x64-msvc": "0.249.0"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|
|
62
62
|
"node": "^22 || >= 24"
|