logstrip 1.0.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/LICENSE +21 -0
- package/README.md +341 -0
- package/action.yml +19 -0
- package/dist/action/index.d.ts +5 -0
- package/dist/action/index.js +26980 -0
- package/dist/cli/index.d.ts +31 -0
- package/dist/cli/index.js +224 -0
- package/dist/core/logstrip-config.d.ts +19 -0
- package/dist/core/logstrip-config.js +268 -0
- package/dist/core/logstrip-parser.d.ts +58 -0
- package/dist/core/logstrip-parser.js +1302 -0
- package/package.json +86 -0
package/package.json
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "logstrip",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Stream-based CLI that trims noisy server logs, build pipelines, vulnerability scanners, and container workloads down to the diagnostic context LLM agents actually need.",
|
|
5
|
+
"private": false,
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"author": "mrwogu",
|
|
8
|
+
"type": "commonjs",
|
|
9
|
+
"main": "dist/core/logstrip-parser.js",
|
|
10
|
+
"types": "dist/core/logstrip-parser.d.ts",
|
|
11
|
+
"bin": {
|
|
12
|
+
"logstrip": "dist/cli/index.js"
|
|
13
|
+
},
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/core/logstrip-parser.d.ts",
|
|
17
|
+
"require": "./dist/core/logstrip-parser.js",
|
|
18
|
+
"default": "./dist/core/logstrip-parser.js"
|
|
19
|
+
},
|
|
20
|
+
"./cli": {
|
|
21
|
+
"types": "./dist/cli/index.d.ts",
|
|
22
|
+
"require": "./dist/cli/index.js",
|
|
23
|
+
"default": "./dist/cli/index.js"
|
|
24
|
+
},
|
|
25
|
+
"./action": {
|
|
26
|
+
"types": "./dist/action/index.d.ts",
|
|
27
|
+
"require": "./dist/action/index.js",
|
|
28
|
+
"default": "./dist/action/index.js"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public",
|
|
33
|
+
"provenance": true
|
|
34
|
+
},
|
|
35
|
+
"files": [
|
|
36
|
+
"action.yml",
|
|
37
|
+
"dist/action",
|
|
38
|
+
"dist/cli",
|
|
39
|
+
"dist/core"
|
|
40
|
+
],
|
|
41
|
+
"keywords": [
|
|
42
|
+
"cli",
|
|
43
|
+
"logs",
|
|
44
|
+
"ci",
|
|
45
|
+
"llm",
|
|
46
|
+
"context",
|
|
47
|
+
"compression",
|
|
48
|
+
"github-action"
|
|
49
|
+
],
|
|
50
|
+
"repository": {
|
|
51
|
+
"type": "git",
|
|
52
|
+
"url": "git+https://github.com/mrwogu/logstrip.git"
|
|
53
|
+
},
|
|
54
|
+
"bugs": {
|
|
55
|
+
"url": "https://github.com/mrwogu/logstrip/issues"
|
|
56
|
+
},
|
|
57
|
+
"homepage": "https://mrwogu.github.io/logstrip/",
|
|
58
|
+
"engines": {
|
|
59
|
+
"node": ">=20"
|
|
60
|
+
},
|
|
61
|
+
"scripts": {
|
|
62
|
+
"build": "tsc -p tsconfig.build.json && node scripts/bundle-action.js && node scripts/post-build.js",
|
|
63
|
+
"docs:build": "mkdocs build --strict",
|
|
64
|
+
"docs:serve": "mkdocs serve",
|
|
65
|
+
"prepack": "npm run build",
|
|
66
|
+
"smoke:cli": "node scripts/ci-cli-smoke.js",
|
|
67
|
+
"test": "vitest run --coverage",
|
|
68
|
+
"test:unit": "vitest run",
|
|
69
|
+
"test:coverage": "vitest run --coverage",
|
|
70
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
71
|
+
"verify": "npm run typecheck && npm run test:coverage && npm run build && npm audit && npm run docs:build"
|
|
72
|
+
},
|
|
73
|
+
"devDependencies": {
|
|
74
|
+
"@actions/core": "^1.11.1",
|
|
75
|
+
"@actions/github": "^9.1.1",
|
|
76
|
+
"@types/node": "^22.10.0",
|
|
77
|
+
"@vitest/coverage-v8": "^4.1.6",
|
|
78
|
+
"esbuild": "^0.28.0",
|
|
79
|
+
"typescript": "^5.7.2",
|
|
80
|
+
"vitest": "^4.1.6"
|
|
81
|
+
},
|
|
82
|
+
"overrides": {
|
|
83
|
+
"@actions/http-client": "^3.0.2",
|
|
84
|
+
"undici": "^6.25.0"
|
|
85
|
+
}
|
|
86
|
+
}
|