@tomaspavlin/rohlik-mcp 1.0.3 → 1.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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +21 -20
package/README.md CHANGED
@@ -88,7 +88,7 @@ In the Inspector, set the ROHLIK_USERNAME and ROHLIK_PASSWORD envs.
88
88
  ### Publishing as NPM package
89
89
 
90
90
  1. Update version in package.json
91
- 2. `npm publish`
91
+ 2. `npm version patch && npm publish`
92
92
 
93
93
  ## License
94
94
 
package/package.json CHANGED
@@ -1,16 +1,8 @@
1
1
  {
2
2
  "name": "@tomaspavlin/rohlik-mcp",
3
- "version": "1.0.3",
4
- "description": "MCP server for controlling Rohlik.cz grocery shopping website",
5
- "main": "dist/index.js",
3
+ "version": "1.0.5",
6
4
  "type": "module",
7
- "scripts": {
8
- "build": "tsc && chmod +x dist/*.js",
9
- "start": "node dist/index.js",
10
- "inspect": "npm run build && npx @modelcontextprotocol/inspector -e ROHLIK_USERNAME=your-email@example.com -e ROHLIK_PASSWORD=your-password node dist/index.js",
11
- "watch": "tsc --watch",
12
- "prepublishOnly": "npm run build"
13
- },
5
+ "description": "MCP server for controlling Rohlik.cz grocery shopping website",
14
6
  "keywords": [
15
7
  "mcp",
16
8
  "rohlik",
@@ -20,19 +12,31 @@
20
12
  ],
21
13
  "author": "Tomas Pavlin",
22
14
  "license": "MIT",
15
+ "main": "dist/index.js",
16
+ "bin": "dist/index.js",
17
+ "files": [
18
+ "dist",
19
+ "README.md",
20
+ "LICENSE"
21
+ ],
23
22
  "repository": {
24
23
  "type": "git",
25
- "url": "https://github.com/tomaspavlin/rohlik-mcp.git"
24
+ "url": "git+https://github.com/tomaspavlin/rohlik-mcp.git"
26
25
  },
27
- "homepage": "https://github.com/tomaspavlin/rohlik-mcp#readme",
28
26
  "bugs": {
29
27
  "url": "https://github.com/tomaspavlin/rohlik-mcp/issues"
30
28
  },
31
- "files": [
32
- "dist/**/*",
33
- "README.md",
34
- "LICENSE"
35
- ],
29
+ "homepage": "https://github.com/tomaspavlin/rohlik-mcp#readme",
30
+ "engines": {
31
+ "node": ">=18.0.0"
32
+ },
33
+ "scripts": {
34
+ "build": "tsc && chmod +x dist/*.js",
35
+ "start": "node dist/index.js",
36
+ "inspect": "npm run build && npx @modelcontextprotocol/inspector node dist/index.js",
37
+ "watch": "tsc --watch",
38
+ "prepublishOnly": "npm run build"
39
+ },
36
40
  "dependencies": {
37
41
  "@modelcontextprotocol/sdk": "^1.0.0",
38
42
  "node-fetch": "^3.3.2",
@@ -41,8 +45,5 @@
41
45
  "devDependencies": {
42
46
  "@types/node": "^20.10.0",
43
47
  "typescript": "^5.3.0"
44
- },
45
- "bin": {
46
- "rohlik-mcp": "dist/index.js"
47
48
  }
48
49
  }