Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: CI

on:
pull_request:
branches: [main]

jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: "3.12"

- uses: oven-sh/setup-bun@v2

- run: bun install

- run: bun run lint

- run: bun run build

- run: bun test
37 changes: 37 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"$schema": "https://biomejs.dev/schemas/2.4.10/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"includes": ["**", "!!**/dist", "!!**/sample-data", "!!**/markdownify"]
},
"formatter": {
"enabled": true,
"indentStyle": "tab"
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"complexity": {
"noStaticOnlyClass": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double"
}
},
"assist": {
"enabled": true,
"actions": {
"source": {
"organizeImports": "on"
}
}
}
}
19 changes: 19 additions & 0 deletions bun.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

75 changes: 39 additions & 36 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,38 +1,41 @@
{
"name": "mcp-markdownify-server",
"version": "1.0.3",
"description": "MCP Markdownify Server - Model Context Protocol Server for Converting Almost Anything to Markdown",
"license": "MIT",
"author": "@zcaceres (@zachcaceres | zach.dev)",
"homepage": "https://github.com/zcaceres/markdownify-mcp",
"bugs": "https://github.com/zcaceres/markdownify-mcp/issues",
"type": "module",
"bin": {
"mcp-markdownify-server": "dist/index.js"
},
"files": [
"dist",
"preinstall.js",
"setup.sh",
"setup.bat"
],
"scripts": {
"build": "tsc && chmod +x dist/*.js",
"dev": "tsc --watch",
"preinstall": "node preinstall.js",
"prepublishOnly": "bun run build",
"start": "bun dist/index.js",
"test": "bun test",
"test:watch": "bun test --watch"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.27.1",
"private-ip": "^3.0.2",
"repomix": "^1.12.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@types/node": "^25.3.5",
"typescript": "^6.0.2"
}
"name": "mcp-markdownify-server",
"version": "1.0.3",
"description": "MCP Markdownify Server - Model Context Protocol Server for Converting Almost Anything to Markdown",
"license": "MIT",
"author": "@zcaceres (@zachcaceres | zach.dev)",
"homepage": "https://github.com/zcaceres/markdownify-mcp",
"bugs": "https://github.com/zcaceres/markdownify-mcp/issues",
"type": "module",
"bin": {
"mcp-markdownify-server": "dist/index.js"
},
"files": [
"dist",
"preinstall.js",
"setup.sh",
"setup.bat"
],
"scripts": {
"build": "tsc && chmod +x dist/*.js",
"dev": "tsc --watch",
"preinstall": "node preinstall.js",
"prepublishOnly": "bun run build",
"start": "bun dist/index.js",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"test": "bun test",
"test:watch": "bun test --watch"
},
"dependencies": {
"@modelcontextprotocol/sdk": "^1.27.1",
"private-ip": "^3.0.2",
"repomix": "^1.12.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@biomejs/biome": "^2.4.10",
"@types/node": "^25.3.5",
"typescript": "^6.0.2"
}
}
10 changes: 5 additions & 5 deletions preinstall.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { execSync } from 'child_process';
import { execSync } from "node:child_process";

if (process.platform === 'win32') {
execSync('setup.bat', { stdio: 'inherit' });
if (process.platform === "win32") {
execSync("setup.bat", { stdio: "inherit" });
} else {
execSync('./setup.sh', { stdio: 'inherit' });
}
execSync("./setup.sh", { stdio: "inherit" });
}
Loading
Loading