reddit-mcp-server 1.2.0 → 1.3.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/package.json CHANGED
@@ -1,10 +1,17 @@
1
1
  {
2
2
  "name": "reddit-mcp-server",
3
- "version": "1.2.0",
3
+ "version": "1.3.2",
4
4
  "description": "A Model Context Protocol (MCP) server for Reddit with full read AND write operations - create posts, reply, edit, and delete content.",
5
+ "type": "module",
5
6
  "main": "dist/index.js",
7
+ "module": "./dist/index.js",
8
+ "types": "./dist/index.d.ts",
6
9
  "exports": {
7
- ".": "./dist/index.js"
10
+ ".": {
11
+ "types": "./dist/index.d.ts",
12
+ "import": "./dist/index.js",
13
+ "default": "./dist/index.js"
14
+ }
8
15
  },
9
16
  "bin": {
10
17
  "reddit-mcp-server": "dist/bin.js"
@@ -15,6 +22,28 @@
15
22
  "LICENSE",
16
23
  "CHANGELOG.md"
17
24
  ],
25
+ "scripts": {
26
+ "validate": "ts-builds validate",
27
+ "format": "ts-builds format",
28
+ "format:check": "ts-builds format:check",
29
+ "lint": "ts-builds lint",
30
+ "lint:check": "ts-builds lint:check",
31
+ "typecheck": "ts-builds typecheck",
32
+ "test": "ts-builds test",
33
+ "test:watch": "ts-builds test:watch",
34
+ "test:coverage": "ts-builds test:coverage",
35
+ "build": "NODE_ENV=production ts-builds build",
36
+ "dev": "ts-builds dev",
37
+ "build:watch": "tsdown --watch",
38
+ "check:versions": "tsx scripts/check-versions.ts",
39
+ "prepublishOnly": "pnpm check:versions && pnpm validate",
40
+ "inspect": "pnpm build && npx @modelcontextprotocol/inspector dist/index.js",
41
+ "start": "pnpm build && npx reddit-mcp-server",
42
+ "serve": "pnpm build && node dist/index.js",
43
+ "serve:dev": "tsx watch src/index.ts",
44
+ "build:mcpb": "./scripts/build-mcpb.sh"
45
+ },
46
+ "prettier": "ts-builds/prettier",
18
47
  "keywords": [
19
48
  "mcp",
20
49
  "reddit",
@@ -40,36 +69,19 @@
40
69
  },
41
70
  "homepage": "https://github.com/jordanburke/reddit-mcp-server#readme",
42
71
  "dependencies": {
43
- "dotenv": "^16.6.1",
44
- "fastmcp": "^3.29.0",
72
+ "dotenv": "^17.3.1",
73
+ "fastmcp": "^3.33.0",
45
74
  "zod": "^4.3.6"
46
75
  },
47
76
  "devDependencies": {
48
- "@types/node": "^22.19.7",
77
+ "@types/node": "^22.19.11",
49
78
  "ajv-cli": "^5.0.0",
50
- "msw": "^2.12.7",
51
- "ts-builds": "^2.2.2",
52
- "tsdown": "^0.16.8",
79
+ "cross-env": "^10.1.0",
80
+ "msw": "^2.12.10",
81
+ "rimraf": "^6.1.3",
82
+ "ts-builds": "^2.4.0",
83
+ "tsdown": "^0.20.3",
53
84
  "tsx": "^4.21.0"
54
85
  },
55
- "scripts": {
56
- "validate": "pnpm format && pnpm lint && pnpm compile && pnpm test && pnpm build",
57
- "format": "prettier --write .",
58
- "format:check": "prettier --check .",
59
- "lint": "eslint ./src --fix",
60
- "lint:check": "eslint ./src",
61
- "test": "vitest run",
62
- "test:watch": "vitest",
63
- "test:coverage": "vitest run --coverage",
64
- "test:ui": "vitest --ui",
65
- "build": "NODE_ENV=production tsdown",
66
- "build:watch": "tsdown --watch",
67
- "dev": "tsdown --watch",
68
- "compile": "tsc --noEmit",
69
- "inspect": "pnpm build && npx @modelcontextprotocol/inspector dist/index.js",
70
- "start": "pnpm build && npx reddit-mcp-server",
71
- "serve": "pnpm build && node dist/index.js",
72
- "serve:dev": "tsx watch src/index.ts",
73
- "build:mcpb": "./scripts/build-mcpb.sh"
74
- }
75
- }
86
+ "packageManager": "pnpm@10.29.3+sha512.498e1fb4cca5aa06c1dcf2611e6fafc50972ffe7189998c409e90de74566444298ffe43e6cd2acdc775ba1aa7cc5e092a8b7054c811ba8c5770f84693d33d2dc"
87
+ }
@@ -1,34 +0,0 @@
1
- //#region rolldown:runtime
2
- var __create = Object.create;
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __getProtoOf = Object.getPrototypeOf;
7
- var __hasOwnProp = Object.prototype.hasOwnProperty;
8
- var __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from === "object" || typeof from === "function") {
10
- for (var keys = __getOwnPropNames(from), i = 0, n = keys.length, key; i < n; i++) {
11
- key = keys[i];
12
- if (!__hasOwnProp.call(to, key) && key !== except) {
13
- __defProp(to, key, {
14
- get: ((k) => from[k]).bind(null, key),
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- }
19
- }
20
- return to;
21
- };
22
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
23
- value: mod,
24
- enumerable: true
25
- }) : target, mod));
26
-
27
- //#endregion
28
-
29
- Object.defineProperty(exports, '__toESM', {
30
- enumerable: true,
31
- get: function () {
32
- return __toESM;
33
- }
34
- });