@devframes/plugin-git 0.9.5 → 0.9.7
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 +6 -6
- package/dist/cli.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{src-BW8fDJWY.mjs → src-jlDTZiP8.mjs} +1 -1
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# @devframes/plugin-git
|
|
2
2
|
|
|
3
3
|
> [!WARNING] Experimental
|
|
4
|
-
> This
|
|
4
|
+
> This devframe is experimental and may change without a major version bump until
|
|
5
5
|
> it stabilizes.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
A git devframe built on [devframe](https://github.com/devframes/devframe) — a
|
|
8
8
|
repository dashboard with a **Next.js App Router + shadcn/ui** SPA over
|
|
9
|
-
type-safe RPC. The
|
|
9
|
+
type-safe RPC. The node side shells out to `git` and exposes the repository;
|
|
10
10
|
the same bundle runs as a live dev server or a fully static deployment.
|
|
11
11
|
|
|
12
12
|
Status, a SourceTree-style **commit graph**, branches, and diffs, plus staging,
|
|
@@ -33,7 +33,7 @@ pnpx @devframes/plugin-git --port 4000
|
|
|
33
33
|
## Programmatic
|
|
34
34
|
|
|
35
35
|
`createGitDevframe(options)` returns a devframe definition you can mount into
|
|
36
|
-
any host with devframe's adapters, or drive yourself.
|
|
36
|
+
any host framework with devframe's adapters, or drive yourself.
|
|
37
37
|
|
|
38
38
|
```ts
|
|
39
39
|
import { createGitDevframe } from '@devframes/plugin-git'
|
|
@@ -49,7 +49,7 @@ await createCac(createGitDevframe({ repoRoot: process.cwd() })).parse()
|
|
|
49
49
|
| `distDir` | bundled SPA | Override the served SPA directory. |
|
|
50
50
|
| `port` | `9710` | Preferred dev-server port. |
|
|
51
51
|
|
|
52
|
-
## RPC
|
|
52
|
+
## RPC
|
|
53
53
|
|
|
54
54
|
All git work runs through the [`@devframes/service-git`](../../services/git)
|
|
55
55
|
wire service, which this devframe declares (`services`) and its SPA calls
|
|
@@ -68,7 +68,7 @@ static deploys).
|
|
|
68
68
|
a unified patch for a selected file.
|
|
69
69
|
|
|
70
70
|
Write actions are `action` functions — always exposed by the service, with
|
|
71
|
-
write authorization governed by the
|
|
71
|
+
write authorization governed by the connection-trust boundary. Each
|
|
72
72
|
returns fresh status (commit returns a result):
|
|
73
73
|
|
|
74
74
|
- `devframes:service:git:stage` — `git add` the given paths.
|
package/dist/cli.mjs
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as createGitDevframe } from "./src-
|
|
1
|
+
import { t as createGitDevframe } from "./src-jlDTZiP8.mjs";
|
|
2
2
|
export { createGitDevframe, createGitDevframe as default };
|
|
@@ -3,7 +3,7 @@ import { defineDevframe } from "devframe";
|
|
|
3
3
|
import { resolve } from "pathe";
|
|
4
4
|
//#region package.json
|
|
5
5
|
var name = "@devframes/plugin-git";
|
|
6
|
-
var version = "0.9.
|
|
6
|
+
var version = "0.9.7";
|
|
7
7
|
var description = "Devframe plugin that shows a Git dashboard for status, log, branches, and diffs.";
|
|
8
8
|
var homepage = "https://github.com/devframes/devframe#readme";
|
|
9
9
|
//#endregion
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@devframes/plugin-git",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.7",
|
|
5
5
|
"description": "Devframe plugin that shows a Git dashboard for status, log, branches, and diffs.",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"dist"
|
|
34
34
|
],
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@devframes/plugin-git--assets": "0.9.
|
|
36
|
+
"@devframes/plugin-git--assets": "0.9.7"
|
|
37
37
|
},
|
|
38
38
|
"peerDependenciesMeta": {
|
|
39
39
|
"@devframes/plugin-git--assets": {
|
|
@@ -43,9 +43,9 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"cac": "^7.0.0",
|
|
45
45
|
"pathe": "^2.0.3",
|
|
46
|
-
"@devframes/service-git": "0.9.
|
|
47
|
-
"
|
|
48
|
-
"
|
|
46
|
+
"@devframes/service-git": "0.9.7",
|
|
47
|
+
"@devframes/service-shiki": "0.9.7",
|
|
48
|
+
"devframe": "0.9.7"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@antfu/design": "^0.3.4",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"unocss": "^66.7.5",
|
|
75
75
|
"vitest": "^4.1.10",
|
|
76
76
|
"ws": "^8.21.3",
|
|
77
|
-
"@devframes/plugin-git--assets": "0.9.
|
|
77
|
+
"@devframes/plugin-git--assets": "0.9.7"
|
|
78
78
|
},
|
|
79
79
|
"scripts": {
|
|
80
80
|
"build": "tsdown && pnpm run build:spa",
|