@prefecthq/fastmcp-ts 0.0.2 → 0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@prefecthq/fastmcp-ts",
3
- "version": "0.0.2",
3
+ "version": "0.0.5",
4
4
  "description": "🏎️ The official FastMCP TypeScript library - build MCP servers and clients, fast 🏎️",
5
5
  "type": "module",
6
6
  "exports": {
@@ -13,8 +13,33 @@
13
13
  "import": "./dist/client.js"
14
14
  }
15
15
  },
16
+ "browser": {
17
+ "child_process": false,
18
+ "node:child_process": false,
19
+ "fs": false,
20
+ "fs/promises": false,
21
+ "node:fs": false,
22
+ "node:fs/promises": false,
23
+ "http": false,
24
+ "node:http": false,
25
+ "https": false,
26
+ "node:https": false,
27
+ "os": false,
28
+ "node:os": false,
29
+ "path": false,
30
+ "node:path": false,
31
+ "node:url": false,
32
+ "node:process": false,
33
+ "node:stream": false,
34
+ "net": false,
35
+ "node:net": false,
36
+ "tls": false,
37
+ "node:tls": false,
38
+ "@modelcontextprotocol/sdk/client/stdio.js": false
39
+ },
40
+ "sideEffects": false,
16
41
  "bin": {
17
- "fastmcp": "./dist/cli/index.cjs"
42
+ "fastmcp": "dist/cli/index.cjs"
18
43
  },
19
44
  "files": [
20
45
  "dist",
@@ -25,34 +50,42 @@
25
50
  },
26
51
  "scripts": {
27
52
  "build": "tsup",
28
- "prepublishOnly": "npm run build",
53
+ "prepublishOnly": "npm run build && node scripts/test-dist.mjs && npm run test:browser-bundle",
29
54
  "test": "vitest run",
55
+ "test:browser-bundle": "node scripts/test-browser-bundle.mjs",
56
+ "test:e2e": "playwright test",
30
57
  "test:watch": "vitest",
31
58
  "test:coverage": "vitest run --coverage",
32
59
  "typecheck": "tsc --noEmit",
33
- "release": "np --tag alpha"
34
- },
35
- "np": {
36
- "branch": "main",
37
- "testScript": "test",
38
- "release": true
60
+ "docs:dev": "cd docs && npx --yes mint@latest dev",
61
+ "docs:api": "typedoc && node scripts/generate-api-nav.mjs",
62
+ "docs:links": "cd docs && npx --yes mint@latest broken-links",
63
+ "changeset": "changeset",
64
+ "version-packages": "changeset version",
65
+ "release": "changeset publish"
39
66
  },
40
67
  "devDependencies": {
41
- "@anthropic-ai/sdk": "^0.90.0",
68
+ "@anthropic-ai/sdk": "^0.91.1",
69
+ "@changesets/cli": "^2.31.0",
42
70
  "@google/genai": "^1.50.1",
71
+ "@playwright/test": "^1.61.1",
43
72
  "@types/node": "^22.0.0",
44
73
  "@types/url-template": "^2.0.31",
45
- "@vitest/coverage-v8": "^3.0.0",
74
+ "@vitest/coverage-v8": "^4.1.8",
46
75
  "arktype": "^2.2.0",
76
+ "esbuild": "^0.28.1",
47
77
  "execa": "^9.6.1",
78
+ "fake-indexeddb": "^6.2.5",
48
79
  "get-bin-path": "^11.0.1",
49
- "np": "^11.2.0",
80
+ "jsdom": "^29.1.1",
50
81
  "openai": "^6.34.0",
51
82
  "tsup": "^8.5.1",
52
83
  "tsx": "^4.21.0",
84
+ "typedoc": "^0.28.0",
85
+ "typedoc-plugin-markdown": "^4.12.0",
53
86
  "typescript": "^5.0.0",
54
87
  "valibot": "^1.3.1",
55
- "vitest": "^3.0.0",
88
+ "vitest": "^4.1.8",
56
89
  "zod": "^4.3.6"
57
90
  },
58
91
  "repository": {