@devframes/plugin-git 0.9.9 → 0.9.10
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 +1 -1
- package/bin.mjs +1 -1
- package/dist/{cli.mjs → node/cli.mjs} +2 -2
- package/dist/{index.d.mts → node/index.d.mts} +1 -1
- package/dist/node/index.mjs +2 -0
- package/dist/{src-iJz5WWny.mjs → node-CSvNBV8w.mjs} +2 -2
- package/package.json +12 -11
- package/dist/index.mjs +0 -2
- /package/dist/{cli.d.mts → node/cli.d.mts} +0 -0
package/README.md
CHANGED
|
@@ -90,7 +90,7 @@ The SPA connects to the backend over the WebSocket port carried in
|
|
|
90
90
|
`dev:server`.
|
|
91
91
|
|
|
92
92
|
The SPA is a standard shadcn/ui setup (Tailwind v4, `components/ui/*`). Three
|
|
93
|
-
Next.js settings in `
|
|
93
|
+
Next.js settings in `app/next.config.mjs` keep it portable: `output:
|
|
94
94
|
'export'` (devframe owns the server), `assetPrefix: '.'` (relative assets so the
|
|
95
95
|
same bundle works at any base), and `trailingSlash: true` (composes with
|
|
96
96
|
devframe's static directory-with-index resolution).
|
package/bin.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as createGitDevframe } from "
|
|
1
|
+
import { t as createGitDevframe } from "../node-CSvNBV8w.mjs";
|
|
2
2
|
import process from "node:process";
|
|
3
3
|
import { createCac } from "devframe/adapters/cac";
|
|
4
|
-
//#region src/cli.ts
|
|
4
|
+
//#region src/node/cli.ts
|
|
5
5
|
createCac(createGitDevframe(), { onReady({ origin }) {
|
|
6
6
|
console.error(`\n @devframes/plugin-git ready at ${origin}\n`);
|
|
7
7
|
} }).parse().catch((error) => {
|
|
@@ -3,11 +3,11 @@ 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.10";
|
|
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
|
|
10
|
-
//#region src/index.ts
|
|
10
|
+
//#region src/node/index.ts
|
|
11
11
|
const remoteAssets = {
|
|
12
12
|
package: `${name}--assets`,
|
|
13
13
|
version
|
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.10",
|
|
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",
|
|
@@ -21,10 +21,10 @@
|
|
|
21
21
|
],
|
|
22
22
|
"sideEffects": false,
|
|
23
23
|
"exports": {
|
|
24
|
-
".": "./dist/index.mjs",
|
|
24
|
+
".": "./dist/node/index.mjs",
|
|
25
25
|
"./package.json": "./package.json"
|
|
26
26
|
},
|
|
27
|
-
"types": "./dist/index.d.mts",
|
|
27
|
+
"types": "./dist/node/index.d.mts",
|
|
28
28
|
"bin": {
|
|
29
29
|
"devframe-git": "./bin.mjs"
|
|
30
30
|
},
|
|
@@ -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.10"
|
|
37
37
|
},
|
|
38
38
|
"peerDependenciesMeta": {
|
|
39
39
|
"@devframes/plugin-git--assets": {
|
|
@@ -41,15 +41,15 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@devframes/service-git": "0.9.
|
|
45
|
-
"@devframes/service-shiki": "0.9.
|
|
44
|
+
"@devframes/service-git": "0.9.10",
|
|
45
|
+
"@devframes/service-shiki": "0.9.10",
|
|
46
46
|
"cac": "^7.0.0",
|
|
47
|
-
"devframe": "0.9.
|
|
47
|
+
"devframe": "0.9.10",
|
|
48
48
|
"pathe": "^2.0.3"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
51
|
"@antfu/design": "^0.4.0",
|
|
52
|
-
"@devframes/plugin-git--assets": "0.9.
|
|
52
|
+
"@devframes/plugin-git--assets": "0.9.10",
|
|
53
53
|
"@floating-ui/react": "^0.27.20",
|
|
54
54
|
"@iconify-json/catppuccin": "^1.2.17",
|
|
55
55
|
"@radix-ui/react-scroll-area": "^1.2.18",
|
|
@@ -78,11 +78,12 @@
|
|
|
78
78
|
},
|
|
79
79
|
"scripts": {
|
|
80
80
|
"build": "tsdown && pnpm run build:spa",
|
|
81
|
-
"build:spa": "next build
|
|
81
|
+
"build:spa": "next build app && node scripts/build-spa.mjs",
|
|
82
82
|
"cli:build": "node bin.mjs build --out-dir dist/static",
|
|
83
83
|
"dev": "node scripts/dev.mjs",
|
|
84
|
-
"dev:server": "node src/cli.ts",
|
|
85
|
-
"dev:client": "next dev
|
|
84
|
+
"dev:server": "node src/node/cli.ts",
|
|
85
|
+
"dev:client": "next dev app",
|
|
86
|
+
"play": "pnpm run build && node playgrounds/server.mjs",
|
|
86
87
|
"storybook": "storybook dev -p 6011",
|
|
87
88
|
"storybook:build": "storybook build -o storybook-static",
|
|
88
89
|
"watch": "tsdown --watch",
|
package/dist/index.mjs
DELETED
|
File without changes
|