git-viewer 4.0.0 → 7.0.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.
@@ -1711,8 +1711,9 @@ function Sidebar() {
1711
1711
  "div",
1712
1712
  {
1713
1713
  css: {
1714
- width: "200px",
1715
- minWidth: "200px",
1714
+ minWidth: "180px",
1715
+ maxWidth: "300px",
1716
+ width: "fit-content",
1716
1717
  borderRight: `1px solid ${colors.border}`,
1717
1718
  display: "flex",
1718
1719
  flexDirection: "column",
@@ -1796,6 +1797,7 @@ function RefNodeItem(handle) {
1796
1797
  cursor: "pointer",
1797
1798
  color: colors.textMuted,
1798
1799
  fontSize: "12px",
1800
+ whiteSpace: "nowrap",
1799
1801
  "&:hover": { color: colors.text }
1800
1802
  },
1801
1803
  on: {
@@ -1828,6 +1830,7 @@ function RefNodeItem(handle) {
1828
1830
  background: isSelected ? colors.accentDim : "transparent",
1829
1831
  color: node.current ? colors.accent : colors.text,
1830
1832
  fontWeight: node.current ? 600 : 400,
1833
+ whiteSpace: "nowrap",
1831
1834
  "&:hover": {
1832
1835
  background: isSelected ? colors.accentDim : colors.bgLighter
1833
1836
  }
package/package.json CHANGED
@@ -1,7 +1,11 @@
1
1
  {
2
2
  "name": "git-viewer",
3
- "version": "4.0.0",
3
+ "version": "7.0.0",
4
4
  "description": "Visual git log viewer with branch graph and diff display",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "https://github.com/ryanflorence/git-viewer"
8
+ },
5
9
  "author": "Ryan Florence",
6
10
  "license": "MIT",
7
11
  "type": "module",
@@ -22,6 +26,11 @@
22
26
  "start": "concurrently \"pnpm dev\" \"node --experimental-strip-types server.ts\"",
23
27
  "build": "node build.js",
24
28
  "dev": "esbuild entry.tsx --bundle --outfile=entry.bundled.js --format=esm --platform=browser --target=es2020 --sourcemap=inline --watch",
25
- "release": "npm version major && pnpm build && npm publish"
29
+ "release": "npm version major -m 'v%s [skip ci]' && pnpm build && npx npm@latest publish --provenance --access public"
30
+ },
31
+ "pnpm": {
32
+ "onlyBuiltDependencies": [
33
+ "esbuild"
34
+ ]
26
35
  }
27
36
  }