claude-usage-dashboard 1.0.4 → 1.0.5

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/server/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "claude-usage-dashboard",
3
- "version": "1.0.4",
3
+ "version": "1.0.5",
4
4
  "description": "Dashboard that visualizes Claude Code usage from local session logs",
5
5
  "main": "server/index.js",
6
6
  "bin": {
package/server/index.js CHANGED
@@ -11,7 +11,7 @@ const PORT = process.env.PORT || 3000;
11
11
  const LOG_DIR = path.join(os.homedir(), '.claude', 'projects');
12
12
 
13
13
  // Resolve d3 via Node module resolution so it works when dependencies are hoisted (e.g. npx)
14
- const d3Dir = path.dirname(require.resolve('d3/dist/d3.min.js'));
14
+ const d3Dir = path.join(path.dirname(require.resolve('d3')), '..', 'dist');
15
15
 
16
16
  const app = express();
17
17
  app.use('/lib/d3', express.static(d3Dir));