@anyproto/anytype-mcp 1.1.3 → 1.2.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/.github/workflows/release.yml +45 -0
- package/Dockerfile-multi-stage +21 -0
- package/package.json +5 -5
|
@@ -47,3 +47,48 @@ jobs:
|
|
|
47
47
|
draft: false
|
|
48
48
|
prerelease: false
|
|
49
49
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
50
|
+
|
|
51
|
+
# build and push docker image
|
|
52
|
+
- name: Docker meta
|
|
53
|
+
id: meta
|
|
54
|
+
uses: docker/metadata-action@v5
|
|
55
|
+
with:
|
|
56
|
+
images: |
|
|
57
|
+
${{ github.repository }}
|
|
58
|
+
ghcr.io/${{ github.repository }}
|
|
59
|
+
tags: |
|
|
60
|
+
type=raw,value=latest
|
|
61
|
+
type=ref,event=tag
|
|
62
|
+
type=sha
|
|
63
|
+
type=semver,pattern={{version}}
|
|
64
|
+
type=semver,pattern={{major}}.{{minor}}
|
|
65
|
+
type=semver,pattern={{major}}
|
|
66
|
+
|
|
67
|
+
- name: Login to Docker Hub
|
|
68
|
+
uses: docker/login-action@v3
|
|
69
|
+
with:
|
|
70
|
+
registry: docker.io
|
|
71
|
+
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
72
|
+
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
73
|
+
|
|
74
|
+
- name: Login to GitHub Container Registry
|
|
75
|
+
uses: docker/login-action@v3
|
|
76
|
+
with:
|
|
77
|
+
registry: ghcr.io
|
|
78
|
+
username: ${{ github.repository_owner }}
|
|
79
|
+
password: ${{ secrets.GITHUB_TOKEN }}
|
|
80
|
+
|
|
81
|
+
- name: Set up QEMU
|
|
82
|
+
uses: docker/setup-qemu-action@v3
|
|
83
|
+
- name: Set up Docker Buildx
|
|
84
|
+
uses: docker/setup-buildx-action@v3
|
|
85
|
+
|
|
86
|
+
- name: Build and push
|
|
87
|
+
uses: docker/build-push-action@v6
|
|
88
|
+
with:
|
|
89
|
+
context: .
|
|
90
|
+
file: Dockerfile-multi-stage
|
|
91
|
+
push: true
|
|
92
|
+
platforms: linux/amd64,linux/arm64
|
|
93
|
+
tags: ${{ steps.meta.outputs.tags }}
|
|
94
|
+
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.
|
|
10
|
+
"version": "1.2.2",
|
|
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.
|
|
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.
|
|
47
|
-
"@typescript-eslint/parser": "8.
|
|
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.
|
|
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",
|