diffstalkerd 0.4.0 → 0.5.1
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 +4 -3
- package/package.json +7 -4
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 diffstalker contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
#
|
|
1
|
+
# diffstalkerd
|
|
2
2
|
|
|
3
3
|
`diffstalkerd` is the diffstalker daemon: a Node http server that exposes
|
|
4
4
|
`@diffstalker/core` (git status, diffs, staging, live change events) behind a
|
|
5
5
|
REST API + Server-Sent Events. It lets non-terminal clients (editors, web UIs,
|
|
6
6
|
scripts) talk to the same git state engine the TUI uses.
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
Published to npm as `diffstalkerd`, bin-only: it exposes the `diffstalkerd`
|
|
9
|
+
executable, not an importable API. The `diffstalker` CLI depends on it and
|
|
10
|
+
pulls it in automatically, so most users never install it directly.
|
|
10
11
|
|
|
11
12
|
Its primary client is the `diffstalker` CLI (`packages/cli`), which spawns or
|
|
12
13
|
attaches to this daemon over a unix socket and consumes it through the typed
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "diffstalkerd",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "diffstalker daemon: REST API + SSE git state over a unix socket",
|
|
5
5
|
"author": "yogh-io",
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"files": [
|
|
20
20
|
"dist/index.js",
|
|
21
21
|
"bin",
|
|
22
|
-
"README.md"
|
|
22
|
+
"README.md",
|
|
23
|
+
"LICENSE"
|
|
23
24
|
],
|
|
24
25
|
"publishConfig": {
|
|
25
26
|
"access": "public"
|
|
@@ -36,7 +37,9 @@
|
|
|
36
37
|
"deps": "depcruise src/ --config .dependency-cruiser.cjs",
|
|
37
38
|
"format": "prettier --write src/",
|
|
38
39
|
"format:check": "prettier --check src/",
|
|
39
|
-
"prepublishOnly": "bun run build:prod"
|
|
40
|
+
"prepublishOnly": "bun run build:prod",
|
|
41
|
+
"prepack": "cp ../../LICENSE .",
|
|
42
|
+
"postpack": "rm -f LICENSE"
|
|
40
43
|
},
|
|
41
44
|
"keywords": [
|
|
42
45
|
"git",
|
|
@@ -53,7 +56,7 @@
|
|
|
53
56
|
"simple-git": "^3.27.0"
|
|
54
57
|
},
|
|
55
58
|
"devDependencies": {
|
|
56
|
-
"@diffstalker/core": "0.
|
|
59
|
+
"@diffstalker/core": "0.5.1",
|
|
57
60
|
"@eslint/js": "^9.39.2",
|
|
58
61
|
"@types/node": "^22.10.7",
|
|
59
62
|
"dependency-cruiser": "^17.3.7",
|