lich-cli 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.
- package/README.md +24 -2
- package/package.json +41 -4
package/README.md
CHANGED
|
@@ -1,3 +1,25 @@
|
|
|
1
|
-
#
|
|
1
|
+
# lich-cli
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Finds the dead npm packages in your project and gives them a second life, with proof. A package is dead when nobody maintains it and that causes a real problem, such as a security advisory with no fixed version.
|
|
4
|
+
|
|
5
|
+
Lich records how your tests call a dead package (its soul), then replays every recorded call against a fixed copy. The fix ships only when every call gives the same answer, except the bug.
|
|
6
|
+
|
|
7
|
+
## Use
|
|
8
|
+
|
|
9
|
+
Node.js 22.12 or later. Run these in your project folder.
|
|
10
|
+
|
|
11
|
+
```sh
|
|
12
|
+
npx lich-cli doctor # check Node, git, gh and your test script
|
|
13
|
+
npx lich-cli scan # list dead packages with their Pulse
|
|
14
|
+
npx lich-cli record url-regex # run your tests and record the soul
|
|
15
|
+
npx lich-cli check url-regex # replay the soul against old and new
|
|
16
|
+
npx lich-cli revive url-regex # fix it and prove the fix
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
`lich-cli init` adds the Lich files for Kiro to a project, and `lich-cli mcp` starts the MCP server the Lich Power uses. Add `--json` to any command for machine-readable output.
|
|
20
|
+
|
|
21
|
+
The web app is at https://lich-teal.vercel.app.
|
|
22
|
+
|
|
23
|
+
## Licence
|
|
24
|
+
|
|
25
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,43 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "lich-cli",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Gives dead npm packages a second life, with proof.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/Pratham2994/lich.git",
|
|
9
|
+
"directory": "packages/cli"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://lich-teal.vercel.app",
|
|
12
|
+
"keywords": [
|
|
13
|
+
"npm",
|
|
14
|
+
"dependencies",
|
|
15
|
+
"deprecated",
|
|
16
|
+
"security",
|
|
17
|
+
"revive",
|
|
18
|
+
"kiro"
|
|
19
|
+
],
|
|
20
|
+
"type": "module",
|
|
21
|
+
"bin": {
|
|
22
|
+
"lich-cli": "dist/bin.js"
|
|
23
|
+
},
|
|
24
|
+
"files": [
|
|
25
|
+
"dist"
|
|
26
|
+
],
|
|
27
|
+
"engines": {
|
|
28
|
+
"node": ">=22.12"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "npm run build --workspace @lich/core && npm run build --workspace @lich/recorder && npm run build --workspace @lich/checker && npm run build --workspace @lich/soul-spec && tsup"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@lich/checker": "0.0.0",
|
|
35
|
+
"@lich/core": "0.0.0",
|
|
36
|
+
"@lich/recorder": "0.0.0",
|
|
37
|
+
"@lich/scanner": "0.0.0",
|
|
38
|
+
"@lich/soul-spec": "0.0.0",
|
|
39
|
+
"@modelcontextprotocol/sdk": "^1.32.2",
|
|
40
|
+
"commander": "15.1.0",
|
|
41
|
+
"tsup": "8.5.1"
|
|
42
|
+
}
|
|
43
|
+
}
|