@voidh4x0r/slopgate 0.0.0-stage → 0.1.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.
Files changed (50) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/LICENSE +21 -0
  3. package/README.md +266 -2
  4. package/dist/ast.d.ts +29 -0
  5. package/dist/ast.js +3 -0
  6. package/dist/baseline.d.ts +33 -0
  7. package/dist/baseline.js +104 -0
  8. package/dist/cli.d.ts +9 -0
  9. package/dist/cli.js +481 -0
  10. package/dist/config.d.ts +25 -0
  11. package/dist/config.js +90 -0
  12. package/dist/data/python-stdlib.d.ts +19 -0
  13. package/dist/data/python-stdlib.js +75 -0
  14. package/dist/deps.d.ts +8 -0
  15. package/dist/deps.js +379 -0
  16. package/dist/diff.d.ts +30 -0
  17. package/dist/diff.js +179 -0
  18. package/dist/engine.d.ts +15 -0
  19. package/dist/engine.js +179 -0
  20. package/dist/files.d.ts +32 -0
  21. package/dist/files.js +168 -0
  22. package/dist/mcp.d.ts +41 -0
  23. package/dist/mcp.js +226 -0
  24. package/dist/parser.d.ts +3 -0
  25. package/dist/parser.js +41 -0
  26. package/dist/reporters/github.d.ts +2 -0
  27. package/dist/reporters/github.js +44 -0
  28. package/dist/reporters/json.d.ts +10 -0
  29. package/dist/reporters/json.js +36 -0
  30. package/dist/reporters/pretty.d.ts +12 -0
  31. package/dist/reporters/pretty.js +103 -0
  32. package/dist/reporters/sarif.d.ts +2 -0
  33. package/dist/reporters/sarif.js +70 -0
  34. package/dist/rules/helpers.d.ts +43 -0
  35. package/dist/rules/helpers.js +163 -0
  36. package/dist/rules/index.d.ts +3 -0
  37. package/dist/rules/index.js +4 -0
  38. package/dist/rules/python.d.ts +2 -0
  39. package/dist/rules/python.js +591 -0
  40. package/dist/rules/typescript.d.ts +2 -0
  41. package/dist/rules/typescript.js +497 -0
  42. package/dist/suppress.d.ts +12 -0
  43. package/dist/suppress.js +52 -0
  44. package/dist/types.d.ts +88 -0
  45. package/dist/types.js +1 -0
  46. package/grammars/README.md +28 -0
  47. package/grammars/tree-sitter-python.wasm +0 -0
  48. package/grammars/tree-sitter-tsx.wasm +0 -0
  49. package/grammars/tree-sitter-typescript.wasm +0 -0
  50. package/package.json +61 -4
package/package.json CHANGED
@@ -1,6 +1,63 @@
1
1
  {
2
2
  "name": "@voidh4x0r/slopgate",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.1.0",
4
+ "description": "The slop gate for AI-written code. Precision-first structural linting for Python and TypeScript.",
5
+ "type": "module",
6
+ "license": "MIT",
7
+ "author": "slopgate contributors",
8
+ "homepage": "https://github.com/VoidH4x0r/slopgate#readme",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/VoidH4x0r/slopgate.git"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/VoidH4x0r/slopgate/issues"
15
+ },
16
+ "bin": {
17
+ "slopgate": "dist/cli.js"
18
+ },
19
+ "files": [
20
+ "dist",
21
+ "grammars",
22
+ "README.md",
23
+ "LICENSE",
24
+ "CHANGELOG.md"
25
+ ],
26
+ "engines": {
27
+ "node": ">=20.11"
28
+ },
29
+ "scripts": {
30
+ "build": "tsc -p tsconfig.build.json",
31
+ "test": "node --test \"test/**/*.test.ts\"",
32
+ "test:sandbox": "node --test --test-isolation=none \"test/**/*.test.ts\"",
33
+ "typecheck": "tsc --noEmit",
34
+ "bench": "node scripts/benchmark.mjs",
35
+ "demo:gif": "node scripts/make-demo-gif.mjs",
36
+ "set-repo": "node scripts/set-repo.mjs",
37
+ "verify": "npm run typecheck && node scripts/check-links.mjs && npm run test:sandbox && npm run build && node dist/cli.js . --fail-on high && npm pack --dry-run",
38
+ "prepublishOnly": "npm run build && npm run typecheck"
39
+ },
40
+ "dependencies": {
41
+ "web-tree-sitter": "^0.25.10"
42
+ },
43
+ "devDependencies": {
44
+ "@types/node": "^20.19.43",
45
+ "typescript": "^5.9.0"
46
+ },
47
+ "keywords": [
48
+ "linter",
49
+ "ai-generated-code",
50
+ "static-analysis",
51
+ "code-quality",
52
+ "tree-sitter",
53
+ "cli",
54
+ "mcp",
55
+ "model-context-protocol",
56
+ "ai-agents",
57
+ "python",
58
+ "typescript"
59
+ ],
60
+ "publishConfig": {
61
+ "access": "public"
62
+ }
63
+ }