@iamjameslennon/ddb-mcp 2.3.0 → 2.4.2
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 +4 -11
- package/package.json +6 -2
package/README.md
CHANGED
|
@@ -207,27 +207,20 @@ Can a character use the Help action to assist with a skill check?
|
|
|
207
207
|
|
|
208
208
|
## Installation
|
|
209
209
|
|
|
210
|
-
### Option A — Install
|
|
210
|
+
### Option A — Install from npm (recommended)
|
|
211
211
|
|
|
212
212
|
```bash
|
|
213
|
-
npm install -g
|
|
214
|
-
```
|
|
215
|
-
|
|
216
|
-
Then install the browser:
|
|
217
|
-
|
|
218
|
-
```bash
|
|
219
|
-
npx playwright install chromium
|
|
213
|
+
npm install -g @iamjameslennon/ddb-mcp
|
|
220
214
|
```
|
|
221
215
|
|
|
222
|
-
|
|
216
|
+
Then:
|
|
223
217
|
|
|
224
218
|
```bash
|
|
225
219
|
npm root -g
|
|
226
|
-
# outputs something like /usr/local/lib/node_modules
|
|
227
220
|
```
|
|
228
221
|
|
|
229
222
|
```bash
|
|
230
|
-
claude mcp add dndbeyond node /usr/local/lib/node_modules/ddb-mcp/dist/index.js
|
|
223
|
+
claude mcp add dndbeyond node /usr/local/lib/node_modules/@iamjameslennon/ddb-mcp/dist/index.js
|
|
231
224
|
```
|
|
232
225
|
|
|
233
226
|
---
|
package/package.json
CHANGED
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iamjameslennon/ddb-mcp",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"description": "D&D Beyond MCP Server with Google Auth",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
|
-
"files": [
|
|
7
|
+
"files": [
|
|
8
|
+
"dist/",
|
|
9
|
+
"README.md"
|
|
10
|
+
],
|
|
8
11
|
"scripts": {
|
|
9
12
|
"start": "node dist/index.js",
|
|
10
13
|
"dev": "tsx src/index.ts",
|
|
@@ -15,6 +18,7 @@
|
|
|
15
18
|
"typecheck": "tsc --noEmit",
|
|
16
19
|
"test": "vitest run",
|
|
17
20
|
"release": "node scripts/release.js",
|
|
21
|
+
"postinstall": "node -e \"if (process.env.npm_config_global) { require('child_process').execSync('npx playwright install chromium', {stdio:'inherit'}); }\"",
|
|
18
22
|
"preinstall": "node -e \"if (process.env.npm_command && process.env.npm_command !== 'ci' && !process.env.npm_config_global) { console.error('\\nERROR: Use npm ci instead of npm install.\\nThis project pins exact dependency versions via package-lock.json.\\nRunning npm install can silently upgrade packages and break things.\\n'); process.exit(1); }\""
|
|
19
23
|
},
|
|
20
24
|
"engines": {
|