@devframes/plugin-git 0.9.9 → 0.9.11

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 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 `src/client/next.config.mjs` keep it portable: `output:
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,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
  // Thin launcher for the published package; runs the compiled CLI entry.
3
- import './dist/cli.mjs'
3
+ import './dist/node/cli.mjs'
@@ -1,7 +1,7 @@
1
- import { t as createGitDevframe } from "./src-iJz5WWny.mjs";
1
+ import { t as createGitDevframe } from "../node-vYqtahoW.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) => {
@@ -1,5 +1,5 @@
1
1
  import { DevframeDefinition } from "devframe";
2
- //#region src/index.d.ts
2
+ //#region src/node/index.d.ts
3
3
  interface GitDevframeOptions {
4
4
  /** Repository directory to inspect. Defaults to the devframe `cwd`. */
5
5
  repoRoot?: string;
@@ -0,0 +1,2 @@
1
+ import { t as createGitDevframe } from "../node-vYqtahoW.mjs";
2
+ export { createGitDevframe, createGitDevframe as default };
@@ -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.9";
6
+ var version = "0.9.11";
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.9",
4
+ "version": "0.9.11",
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.9"
36
+ "@devframes/plugin-git--assets": "0.9.11"
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.9",
45
- "@devframes/service-shiki": "0.9.9",
44
+ "@devframes/service-git": "0.9.11",
45
+ "@devframes/service-shiki": "0.9.11",
46
46
  "cac": "^7.0.0",
47
- "devframe": "0.9.9",
47
+ "devframe": "0.9.11",
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.9",
52
+ "@devframes/plugin-git--assets": "0.9.11",
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 src/client && node scripts/build-spa.mjs",
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 src/client",
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
@@ -1,2 +0,0 @@
1
- import { t as createGitDevframe } from "./src-iJz5WWny.mjs";
2
- export { createGitDevframe, createGitDevframe as default };
File without changes