@anyproto/anytype-mcp 1.1.3 → 1.2.0

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.
@@ -47,3 +47,39 @@ jobs:
47
47
  draft: false
48
48
  prerelease: false
49
49
  token: ${{ secrets.GITHUB_TOKEN }}
50
+
51
+ # build and push docker image
52
+ - name: Set up QEMU
53
+ uses: docker/setup-qemu-action@v3
54
+ - name: Set up Docker Buildx
55
+ uses: docker/setup-buildx-action@v3
56
+ - name: Login to GitHub Container Registry
57
+ uses: docker/login-action@v3
58
+ with:
59
+ registry: ghcr.io
60
+ username: ${{ github.repository_owner }}
61
+ password: ${{ secrets.GITHUB_TOKEN }}
62
+
63
+ - name: Docker meta
64
+ id: meta
65
+ uses: docker/metadata-action@v5
66
+ with:
67
+ images: |
68
+ ${{ github.repository }}
69
+ ghcr.io/${{ github.repository }}
70
+ tags: |
71
+ type=ref,event=tag
72
+ type=sha
73
+ type=raw,value=latest
74
+ type=semver,pattern={{version}}
75
+ type=semver,pattern={{major}}.{{minor}}
76
+ type=semver,pattern={{major}}
77
+
78
+ - name: Build and push
79
+ uses: docker/build-push-action@v6
80
+ with:
81
+ context: .
82
+ file: Dockerfile-multi-stage
83
+ push: true
84
+ tags: ${{ steps.meta.outputs.tags }}
85
+ labels: ${{ steps.meta.outputs.labels }}
@@ -0,0 +1,21 @@
1
+ # syntax=docker/dockerfile:1
2
+ FROM node:24-alpine AS build
3
+ WORKDIR /app
4
+
5
+ COPY package*.json ./
6
+ RUN npm ci
7
+
8
+ COPY . .
9
+ RUN npm run build
10
+
11
+ FROM node:24-alpine AS runtime
12
+ WORKDIR /app
13
+ ENV NODE_ENV=production
14
+
15
+ COPY package*.json ./
16
+ RUN npm ci --omit=dev
17
+
18
+ COPY --from=build /app/bin ./bin
19
+ COPY --from=build /app/build ./build
20
+
21
+ ENTRYPOINT ["node", "/app/bin/cli.mjs"]
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  "mcp",
8
8
  "server"
9
9
  ],
10
- "version": "1.1.3",
10
+ "version": "1.2.0",
11
11
  "license": "MIT",
12
12
  "type": "module",
13
13
  "scripts": {
@@ -40,14 +40,14 @@
40
40
  "@eslint/js": "9.39.2",
41
41
  "@types/json-schema": "7.0.15",
42
42
  "@types/mustache": "4.2.6",
43
- "@types/node": "25.2.1",
43
+ "@types/node": "25.2.3",
44
44
  "@types/which": "3.0.4",
45
45
  "@vitest/coverage-v8": "4.0.18",
46
- "@typescript-eslint/eslint-plugin": "8.54.0",
47
- "@typescript-eslint/parser": "8.54.0",
46
+ "@typescript-eslint/eslint-plugin": "8.56.0",
47
+ "@typescript-eslint/parser": "8.56.0",
48
48
  "eslint": "9.39.2",
49
49
  "esbuild": "0.27.3",
50
- "openai": "6.18.0",
50
+ "openai": "6.22.0",
51
51
  "prettier": "3.8.1",
52
52
  "prettier-plugin-organize-imports": "4.3.0",
53
53
  "tsx": "4.21.0",