@wispbit/local 1.0.31 → 1.0.33
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/cli-bundle.js +240 -0
- package/cli.js +27 -0
- package/package.json +12 -84
- package/vendor/ast-grep-lang-angular/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-angular/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-angular/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-bash/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-bash/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-bash/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-c/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-c/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-c/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-cpp/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-cpp/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-cpp/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-csharp/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-csharp/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-csharp/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-css/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-css/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-css/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-dart/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-dart/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-dart/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-elixir/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-elixir/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-elixir/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-go/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-go/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-go/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-haskell/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-haskell/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-haskell/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-html/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-html/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-html/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-java/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-java/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-java/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-javascript/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-javascript/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-javascript/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-json/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-json/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-json/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-kotlin/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-kotlin/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-kotlin/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-lua/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-lua/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-lua/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-markdown/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-markdown/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-markdown/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-php/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-php/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-php/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-python/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-python/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-python/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-ruby/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-ruby/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-ruby/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-rust/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-rust/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-rust/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-scala/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-scala/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-scala/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-sql/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-sql/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-sql/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-swift/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-swift/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-swift/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-toml/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-toml/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-toml/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-tsx/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-tsx/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-tsx/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-typescript/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-typescript/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-typescript/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-lang-yaml/prebuilds/prebuild-Linux-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-yaml/prebuilds/prebuild-Windows-X64/parser.so +0 -0
- package/vendor/ast-grep-lang-yaml/prebuilds/prebuild-macOS-ARM64/parser.so +0 -0
- package/vendor/ast-grep-napi/ast-grep-napi.darwin-arm64.node +0 -0
- package/vendor/ast-grep-napi/ast-grep-napi.darwin-x64.node +0 -0
- package/vendor/ast-grep-napi/ast-grep-napi.linux-arm64-gnu.node +0 -0
- package/vendor/ast-grep-napi/ast-grep-napi.linux-arm64-musl.node +0 -0
- package/vendor/ast-grep-napi/ast-grep-napi.linux-x64-gnu.node +0 -0
- package/vendor/ast-grep-napi/ast-grep-napi.linux-x64-musl.node +0 -0
- package/vendor/ast-grep-napi/ast-grep-napi.win32-arm64-msvc.node +0 -0
- package/vendor/ast-grep-napi/ast-grep-napi.win32-ia32-msvc.node +0 -0
- package/vendor/ast-grep-napi/ast-grep-napi.win32-x64-msvc.node +0 -0
- package/vendor/ripgrep/arm64-darwin/rg +0 -0
- package/vendor/ripgrep/arm64-linux/rg +0 -0
- package/vendor/ripgrep/x64-darwin/rg +0 -0
- package/vendor/ripgrep/x64-linux/rg +0 -0
- package/vendor/ripgrep/x64-win32/rg.exe +0 -0
- package/dist/cli.js +0 -144
- package/dist/index.js +0 -2
- package/dist/package.json +0 -70
package/cli.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
process.emitWarning = () => {};
|
|
4
|
+
process.removeAllListeners("warning");
|
|
5
|
+
|
|
6
|
+
// ast-grep gives annoying warnings
|
|
7
|
+
console.debug = () => {};
|
|
8
|
+
|
|
9
|
+
// Suppress specific experimental warnings
|
|
10
|
+
const originalEmit = process.emit;
|
|
11
|
+
process.emit = function (event, ...args) {
|
|
12
|
+
if (event === "warning" && args[0]) {
|
|
13
|
+
const warning = args[0];
|
|
14
|
+
// Suppress ExperimentalWarning (including JSON module imports)
|
|
15
|
+
if (warning.name === "ExperimentalWarning") {
|
|
16
|
+
return false;
|
|
17
|
+
}
|
|
18
|
+
// Suppress DEP0040
|
|
19
|
+
if (warning.code === "DEP0040") {
|
|
20
|
+
return false;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
return originalEmit.apply(process, [event, ...args]);
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
// Use the file extension to help the module resolver find the file
|
|
27
|
+
import("./cli-bundle.js").catch(console.error);
|
package/package.json
CHANGED
|
@@ -1,91 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wispbit/local",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.33",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"
|
|
5
|
+
"main": "cli.js",
|
|
6
6
|
"bin": {
|
|
7
|
-
"powerlint": "./
|
|
8
|
-
"wispbit": "./
|
|
7
|
+
"powerlint": "./cli.js",
|
|
8
|
+
"wispbit": "./cli.js"
|
|
9
9
|
},
|
|
10
|
-
"
|
|
11
|
-
"
|
|
12
|
-
"types": "./dist/src/index.d.ts",
|
|
13
|
-
"import": "./dist/index.js"
|
|
14
|
-
}
|
|
10
|
+
"engines": {
|
|
11
|
+
"node": ">=18.0.0"
|
|
15
12
|
},
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
"@ast-grep/lang-css": "^0.0.4",
|
|
23
|
-
"@ast-grep/lang-dart": "^0.0.4",
|
|
24
|
-
"@ast-grep/lang-elixir": "^0.0.4",
|
|
25
|
-
"@ast-grep/lang-go": "^0.0.3",
|
|
26
|
-
"@ast-grep/lang-haskell": "^0.0.4",
|
|
27
|
-
"@ast-grep/lang-html": "^0.0.4",
|
|
28
|
-
"@ast-grep/lang-java": "^0.0.4",
|
|
29
|
-
"@ast-grep/lang-javascript": "^0.0.4",
|
|
30
|
-
"@ast-grep/lang-json": "^0.0.4",
|
|
31
|
-
"@ast-grep/lang-kotlin": "^0.0.4",
|
|
32
|
-
"@ast-grep/lang-lua": "^0.0.4",
|
|
33
|
-
"@ast-grep/lang-markdown": "^0.0.3",
|
|
34
|
-
"@ast-grep/lang-php": "^0.0.4",
|
|
35
|
-
"@ast-grep/lang-python": "^0.0.3",
|
|
36
|
-
"@ast-grep/lang-ruby": "^0.0.4",
|
|
37
|
-
"@ast-grep/lang-rust": "^0.0.4",
|
|
38
|
-
"@ast-grep/lang-scala": "^0.0.4",
|
|
39
|
-
"@ast-grep/lang-sql": "^0.0.5",
|
|
40
|
-
"@ast-grep/lang-swift": "^0.0.5",
|
|
41
|
-
"@ast-grep/lang-toml": "^0.0.6",
|
|
42
|
-
"@ast-grep/lang-tsx": "^0.0.4",
|
|
43
|
-
"@ast-grep/lang-typescript": "^0.0.4",
|
|
44
|
-
"@ast-grep/lang-yaml": "^0.0.3",
|
|
45
|
-
"@ast-grep/napi": "^0.39.5",
|
|
46
|
-
"@sourcegraph/scip-root": "github:sourcegraph/scip#fc864ca283f65cdd15229f0fdae59a14e3da9a64",
|
|
47
|
-
"@types/semver": "^7.7.1",
|
|
48
|
-
"big.js": "^7.0.1",
|
|
49
|
-
"chalk": "^5.4.1",
|
|
50
|
-
"dotenv": "^16.3.1",
|
|
51
|
-
"glob": "^10.4.5",
|
|
52
|
-
"google-protobuf": "^3.20.1",
|
|
53
|
-
"ignore": "^7.0.5",
|
|
54
|
-
"jest-diff": "^30.2.0",
|
|
55
|
-
"js-yaml": "^4.1.0",
|
|
56
|
-
"keyv": "^5.5.3",
|
|
57
|
-
"keyv-file": "^5.2.0",
|
|
58
|
-
"latest-version": "^9.0.0",
|
|
59
|
-
"meow": "^14.0.0",
|
|
60
|
-
"openai": "4.91.0",
|
|
61
|
-
"ora": "^9.0.0",
|
|
62
|
-
"p-limit": "^6.1.0",
|
|
63
|
-
"p-retry": "^6.2.1",
|
|
64
|
-
"pretty-format": "^30.2.0",
|
|
65
|
-
"semver": "^7.7.3",
|
|
66
|
-
"tree-sitter-graphql": "github:joowani/tree-sitter-graphql#c3898a14e872a72726a3e981e647e5456812bd78",
|
|
67
|
-
"zod": "^3.24.3"
|
|
68
|
-
},
|
|
69
|
-
"devDependencies": {
|
|
70
|
-
"@types/big.js": "^6.2.2",
|
|
71
|
-
"@types/fs-extra": "^11.0.4",
|
|
72
|
-
"@types/google-protobuf": "^3.15.6",
|
|
73
|
-
"@types/js-yaml": "^4.0.5",
|
|
74
|
-
"@types/node": "^20.0.0",
|
|
75
|
-
"esbuild": "^0.25.6",
|
|
76
|
-
"esbuild-plugin-tsc": "^0.5.0",
|
|
77
|
-
"tsx": "^4.0.0",
|
|
78
|
-
"typescript": "^5.0.0",
|
|
79
|
-
"vite-tsconfig-paths": "^5.1.4",
|
|
80
|
-
"vitest": "^3.1.1"
|
|
81
|
-
},
|
|
82
|
-
"scripts": {
|
|
83
|
-
"build:cli": "rm -rf dist && tsx build.ts",
|
|
84
|
-
"build": "tsc",
|
|
85
|
-
"lint": "eslint . --ext .ts",
|
|
86
|
-
"test": "vitest",
|
|
87
|
-
"test:update": "UPDATE_SNAPSHOTS=true vitest",
|
|
88
|
-
"cli": "tsx src/index.ts",
|
|
89
|
-
"deploy": "pnpm run build:cli && node ./dist/index.js --help && pnpm publish --access=public --no-git-checks"
|
|
90
|
-
}
|
|
13
|
+
"author": "wispbit <support@wispbit.com>",
|
|
14
|
+
"license": "See license in LICENSE.md",
|
|
15
|
+
"description": "Linter for AI coding agents",
|
|
16
|
+
"homepage": "https://wispbit.com",
|
|
17
|
+
"dependencies": {},
|
|
18
|
+
"scripts": {}
|
|
91
19
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|