@wispbit/local 1.0.28 → 1.0.30
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/dist/cli.js +87 -4182
- package/dist/index.js +1 -20
- package/dist/package.json +6 -9
- package/package.json +4 -5
- package/dist/build.d.ts +0 -3
- package/dist/build.d.ts.map +0 -1
- package/dist/cli.js.map +0 -7
- package/dist/index.js.map +0 -7
- package/dist/src/api/WispbitApiClient.d.ts +0 -185
- package/dist/src/api/WispbitApiClient.d.ts.map +0 -1
- package/dist/src/cli.d.ts +0 -16
- package/dist/src/cli.d.ts.map +0 -1
- package/dist/src/config.d.ts +0 -6
- package/dist/src/config.d.ts.map +0 -1
- package/dist/src/environment/Config.d.ts +0 -79
- package/dist/src/environment/Config.d.ts.map +0 -1
- package/dist/src/environment/Environment.d.ts +0 -23
- package/dist/src/environment/Environment.d.ts.map +0 -1
- package/dist/src/environment/Sandbox.d.ts +0 -48
- package/dist/src/environment/Sandbox.d.ts.map +0 -1
- package/dist/src/environment/Storage.d.ts +0 -84
- package/dist/src/environment/Storage.d.ts.map +0 -1
- package/dist/src/index.d.ts +0 -16
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/languages.d.ts +0 -36
- package/dist/src/languages.d.ts.map +0 -1
- package/dist/src/providers/AstGrepAstProvider.d.ts +0 -44
- package/dist/src/providers/AstGrepAstProvider.d.ts.map +0 -1
- package/dist/src/providers/LanguageBackend.d.ts +0 -74
- package/dist/src/providers/LanguageBackend.d.ts.map +0 -1
- package/dist/src/providers/RuleProvider.d.ts +0 -46
- package/dist/src/providers/RuleProvider.d.ts.map +0 -1
- package/dist/src/providers/ScipIntelligenceProvider.d.ts +0 -84
- package/dist/src/providers/ScipIntelligenceProvider.d.ts.map +0 -1
- package/dist/src/providers/ViolationValidationProvider.d.ts +0 -38
- package/dist/src/providers/ViolationValidationProvider.d.ts.map +0 -1
- package/dist/src/providers/WispbitRuleProvider.d.ts +0 -29
- package/dist/src/providers/WispbitRuleProvider.d.ts.map +0 -1
- package/dist/src/providers/WispbitViolationValidationProvider.d.ts +0 -12
- package/dist/src/providers/WispbitViolationValidationProvider.d.ts.map +0 -1
- package/dist/src/schemas.d.ts +0 -1270
- package/dist/src/schemas.d.ts.map +0 -1
- package/dist/src/steps/ExecutionEventEmitter.d.ts +0 -191
- package/dist/src/steps/ExecutionEventEmitter.d.ts.map +0 -1
- package/dist/src/steps/FileExecutionContext.d.ts +0 -94
- package/dist/src/steps/FileExecutionContext.d.ts.map +0 -1
- package/dist/src/steps/FileFilterStep.d.ts +0 -28
- package/dist/src/steps/FileFilterStep.d.ts.map +0 -1
- package/dist/src/steps/FileFilterStep.test.d.ts +0 -2
- package/dist/src/steps/FileFilterStep.test.d.ts.map +0 -1
- package/dist/src/steps/FindMatchesStep.d.ts +0 -41
- package/dist/src/steps/FindMatchesStep.d.ts.map +0 -1
- package/dist/src/steps/FindMatchesStep.test.d.ts +0 -2
- package/dist/src/steps/FindMatchesStep.test.d.ts.map +0 -1
- package/dist/src/steps/GotoDefinitionStep.d.ts +0 -86
- package/dist/src/steps/GotoDefinitionStep.d.ts.map +0 -1
- package/dist/src/steps/LLMStep.d.ts +0 -40
- package/dist/src/steps/LLMStep.d.ts.map +0 -1
- package/dist/src/steps/RuleExecutor.d.ts +0 -39
- package/dist/src/steps/RuleExecutor.d.ts.map +0 -1
- package/dist/src/steps/RuleExecutor.test.d.ts +0 -2
- package/dist/src/steps/RuleExecutor.test.d.ts.map +0 -1
- package/dist/src/test/TestExecutor.d.ts +0 -38
- package/dist/src/test/TestExecutor.d.ts.map +0 -1
- package/dist/src/test/rules.test.d.ts +0 -2
- package/dist/src/test/rules.test.d.ts.map +0 -1
- package/dist/src/types.d.ts +0 -196
- package/dist/src/types.d.ts.map +0 -1
- package/dist/src/utils/asciiFrames.d.ts +0 -5
- package/dist/src/utils/asciiFrames.d.ts.map +0 -1
- package/dist/src/utils/debugLogger.d.ts +0 -6
- package/dist/src/utils/debugLogger.d.ts.map +0 -1
- package/dist/src/utils/formatters.d.ts +0 -55
- package/dist/src/utils/formatters.d.ts.map +0 -1
- package/dist/src/utils/generateTreeDump.d.ts +0 -19
- package/dist/src/utils/generateTreeDump.d.ts.map +0 -1
- package/dist/src/utils/git.d.ts +0 -68
- package/dist/src/utils/git.d.ts.map +0 -1
- package/dist/src/utils/git.test.d.ts +0 -2
- package/dist/src/utils/git.test.d.ts.map +0 -1
- package/dist/src/utils/hashString.d.ts +0 -2
- package/dist/src/utils/hashString.d.ts.map +0 -1
- package/dist/src/utils/patternMatching.d.ts +0 -2
- package/dist/src/utils/patternMatching.d.ts.map +0 -1
- package/dist/src/utils/readTextAtRange.d.ts +0 -10
- package/dist/src/utils/readTextAtRange.d.ts.map +0 -1
- package/dist/src/utils/snapshotComparison.d.ts +0 -16
- package/dist/src/utils/snapshotComparison.d.ts.map +0 -1
- package/dist/src/utils/startupScreen.d.ts +0 -5
- package/dist/src/utils/startupScreen.d.ts.map +0 -1
- package/dist/src/utils/validateRule.d.ts +0 -52
- package/dist/src/utils/validateRule.d.ts.map +0 -1
- package/dist/src/validationSchemas.d.ts +0 -553
- package/dist/src/validationSchemas.d.ts.map +0 -1
- package/dist/src/version.d.ts +0 -3
- package/dist/src/version.d.ts.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/vitest.config.d.mts +0 -3
- package/dist/vitest.config.d.mts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,21 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
process.emitWarning = ()
|
|
3
|
-
};
|
|
4
|
-
process.removeAllListeners("warning");
|
|
5
|
-
console.debug = () => {
|
|
6
|
-
};
|
|
7
|
-
const originalEmit = process.emit;
|
|
8
|
-
process.emit = function(event, ...args) {
|
|
9
|
-
if (event === "warning" && args[0]) {
|
|
10
|
-
const warning = args[0];
|
|
11
|
-
if (warning.name === "ExperimentalWarning") {
|
|
12
|
-
return false;
|
|
13
|
-
}
|
|
14
|
-
if (warning.code === "DEP0040") {
|
|
15
|
-
return false;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
return originalEmit.apply(process, [event, ...args]);
|
|
19
|
-
};
|
|
20
|
-
import("./cli.js").catch(console.error);
|
|
21
|
-
//# sourceMappingURL=index.js.map
|
|
2
|
+
process.emitWarning=()=>{},process.removeAllListeners("warning"),console.debug=()=>{};const s=process.emit;process.emit=function(n,...e){if(n==="warning"&&e[0]){const r=e[0];if(r.name==="ExperimentalWarning"||r.code==="DEP0040")return!1}return s.apply(process,[n,...e])},import("./cli.js").catch(console.error);
|
package/dist/package.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wispbit/local",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.30",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"bin": {
|
|
7
|
-
"powerlint": "./
|
|
8
|
-
"wispbit": "./
|
|
7
|
+
"powerlint": "./index.js",
|
|
8
|
+
"wispbit": "./index.js"
|
|
9
9
|
},
|
|
10
10
|
"exports": {
|
|
11
11
|
".": {
|
|
12
|
-
"types": "./src/index.d.ts",
|
|
13
|
-
"import": "./index.js"
|
|
12
|
+
"types": "./dist/src/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js"
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
@@ -43,9 +43,7 @@
|
|
|
43
43
|
"@ast-grep/lang-typescript": "^0.0.4",
|
|
44
44
|
"@ast-grep/lang-yaml": "^0.0.3",
|
|
45
45
|
"@ast-grep/napi": "^0.39.5",
|
|
46
|
-
"@sourcegraph/scip-python": "^0.6.6",
|
|
47
46
|
"@sourcegraph/scip-root": "github:sourcegraph/scip#fc864ca283f65cdd15229f0fdae59a14e3da9a64",
|
|
48
|
-
"@sourcegraph/scip-typescript": "^0.3.16",
|
|
49
47
|
"@types/semver": "^7.7.1",
|
|
50
48
|
"big.js": "^7.0.1",
|
|
51
49
|
"chalk": "^5.4.1",
|
|
@@ -68,6 +66,5 @@
|
|
|
68
66
|
"tree-sitter-graphql": "github:joowani/tree-sitter-graphql#c3898a14e872a72726a3e981e647e5456812bd78",
|
|
69
67
|
"zod": "^3.24.3"
|
|
70
68
|
},
|
|
71
|
-
"main": "./index.js"
|
|
72
|
-
"types": "./src/index.d.ts"
|
|
69
|
+
"main": "./index.js"
|
|
73
70
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wispbit/local",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.30",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"private": false,
|
|
6
6
|
"bin": {
|
|
@@ -43,9 +43,7 @@
|
|
|
43
43
|
"@ast-grep/lang-typescript": "^0.0.4",
|
|
44
44
|
"@ast-grep/lang-yaml": "^0.0.3",
|
|
45
45
|
"@ast-grep/napi": "^0.39.5",
|
|
46
|
-
"@sourcegraph/scip-python": "^0.6.6",
|
|
47
46
|
"@sourcegraph/scip-root": "github:sourcegraph/scip#fc864ca283f65cdd15229f0fdae59a14e3da9a64",
|
|
48
|
-
"@sourcegraph/scip-typescript": "^0.3.16",
|
|
49
47
|
"@types/semver": "^7.7.1",
|
|
50
48
|
"big.js": "^7.0.1",
|
|
51
49
|
"chalk": "^5.4.1",
|
|
@@ -82,10 +80,11 @@
|
|
|
82
80
|
"vitest": "^3.1.1"
|
|
83
81
|
},
|
|
84
82
|
"scripts": {
|
|
85
|
-
"build": "rm -rf dist && tsx build.ts",
|
|
83
|
+
"build:cli": "rm -rf dist && tsx build.ts",
|
|
84
|
+
"build": "tsc",
|
|
86
85
|
"lint": "eslint . --ext .ts",
|
|
87
86
|
"test": "vitest",
|
|
88
87
|
"cli": "tsx src/index.ts",
|
|
89
|
-
"deploy": "pnpm run build && node ./dist/
|
|
88
|
+
"deploy": "pnpm run build:cli && node ./dist/index.js --help && pnpm publish --access=public --no-git-checks"
|
|
90
89
|
}
|
|
91
90
|
}
|
package/dist/build.d.ts
DELETED
package/dist/build.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"build.d.ts","sourceRoot":"","sources":["../build.ts"],"names":[],"mappings":""}
|