@anyproto/anytype-mcp 1.0.2 → 1.0.3

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.
@@ -0,0 +1,64 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - "**"
7
+ pull_request:
8
+ branches:
9
+ - "**"
10
+
11
+ jobs:
12
+ lint:
13
+ runs-on: ubuntu-latest
14
+
15
+ steps:
16
+ - name: Checkout code
17
+ uses: actions/checkout@v4
18
+
19
+ - name: Set up Node.js
20
+ uses: actions/setup-node@v4
21
+ with:
22
+ node-version: "22"
23
+
24
+ - name: Install dependencies
25
+ run: npm install
26
+
27
+ - name: Run linter
28
+ run: npm run lint
29
+
30
+ type-check:
31
+ runs-on: ubuntu-latest
32
+
33
+ steps:
34
+ - name: Checkout code
35
+ uses: actions/checkout@v4
36
+
37
+ - name: Set up Node.js
38
+ uses: actions/setup-node@v4
39
+ with:
40
+ node-version: "22"
41
+
42
+ - name: Install dependencies
43
+ run: npm install
44
+
45
+ - name: Run type checks
46
+ run: npm run type-check
47
+
48
+ build:
49
+ runs-on: ubuntu-latest
50
+
51
+ steps:
52
+ - name: Checkout code
53
+ uses: actions/checkout@v4
54
+
55
+ - name: Set up Node.js
56
+ uses: actions/setup-node@v4
57
+ with:
58
+ node-version: "22"
59
+
60
+ - name: Install dependencies
61
+ run: npm install
62
+
63
+ - name: Build extension
64
+ run: npm run build
@@ -0,0 +1,40 @@
1
+ name: Create release and publish to npmjs.com
2
+
3
+ on:
4
+ push:
5
+ tags:
6
+ - 'v[0-9]+.[0-9]+.[0-9]+'
7
+
8
+ jobs:
9
+ release:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v4
15
+
16
+ - name: Setup Node.js
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: "22"
20
+ registry-url: https://registry.npmjs.org/
21
+
22
+ - name: Install dependencies
23
+ run: npm install
24
+
25
+ - name: Run type checks
26
+ run: npm run type-check
27
+
28
+ - name: Publish to npm
29
+ run: npm publish --access public
30
+ env:
31
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
32
+
33
+ - name: create release
34
+ uses: softprops/action-gh-release@v2
35
+ with:
36
+ name: ${{ github.ref_name }}
37
+ generate_release_notes: true
38
+ draft: false
39
+ prerelease: false
40
+ token: ${{ secrets.GITHUB_TOKEN }}
package/.prettierrc ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "printWidth": 120,
3
+ "singleQuote": false,
4
+ "plugins": ["prettier-plugin-organize-imports"]
5
+ }