Skip to content

Commit 4af169a

Browse files
committed
chore: update README.md
1 parent c02df07 commit 4af169a

5 files changed

Lines changed: 43 additions & 7 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,6 @@ By connecting AI tools (e.g., via MCP) to Currents, you are granting them access
8181

8282
- [Currents](https://currents.dev)
8383
- [Currents Documentation](https://docs.currents.dev)
84-
- [Contributuion Guide](./CONTRIBUTE.md)
85-
- [Releasing and Publishing](./RELEASE.md)
86-
- [License]('./LICENSE.md)
84+
- [Contribution Guide](https://github.com/currents-dev/currents-mcp/blob/main/CONTRIBUTE.md)
85+
- [Releasing and Publishing](https://github.com/currents-dev/currents-mcp/blob/main/RELEASE.md)
86+
- [License](https://github.com/currents-dev/currents-mcp/blob/main/LICENSE.md)

mcp-server/.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Build output
2+
build/
3+
4+
# README is copied from root during publish
5+
README.md
6+
7+
# Coverage
8+
coverage/

mcp-server/README.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

mcp-server/package.json

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@
55
"build",
66
"README.md"
77
],
8+
"keywords": [
9+
"currents",
10+
"mcp-server",
11+
"playwright",
12+
"dashboard",
13+
"reporting"
14+
],
815
"bin": "./build/index.js",
916
"version": "2.2.3",
1017
"description": "Currents MCP server",
@@ -22,8 +29,12 @@
2229
"release": "release-it",
2330
"release:dry": "release-it --dry-run"
2431
},
25-
"keywords": [],
26-
"author": "",
32+
"author": "Currents Software Inc",
33+
"homepage": "https://currents.dev",
34+
"repository": {
35+
"type": "git",
36+
"url": "https://github.com/currents-dev/currents-mcp.git"
37+
},
2738
"license": "Apache-2.0",
2839
"dependencies": {
2940
"@modelcontextprotocol/sdk": "^1.25.2",

mcp-server/publish.cjs

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
const { execSync } = require("child_process");
44
const fs = require("fs");
5+
const path = require("path");
56
const pkg = require("./package.json");
67
const { Command } = require("commander");
78

@@ -19,7 +20,24 @@ if (!options.tag) {
1920
}
2021
console.log(process.cwd());
2122

22-
fs.copyFileSync("../README.md", "./README.md");
23+
// Copy README from root - remove symlink first if it exists
24+
const readmePath = "./README.md";
25+
try {
26+
const stat = fs.lstatSync(readmePath);
27+
if (stat.isSymbolicLink()) {
28+
console.log("Removing README.md symlink...");
29+
fs.unlinkSync(readmePath);
30+
}
31+
} catch (err) {
32+
// File doesn't exist, that's fine
33+
}
34+
35+
console.log("Copying README.md from root...");
36+
fs.copyFileSync("../README.md", readmePath);
37+
38+
// Verify README was copied
39+
const readmeContent = fs.readFileSync(readmePath, "utf-8");
40+
console.log(`README.md copied (${readmeContent.length} bytes)`);
2341

2442
pkg.devDependencies = {};
2543
delete pkg["release-it"];

0 commit comments

Comments
 (0)