@dalcontak/blogger-mcp-server 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.
- package/.github/workflows/publish.yml +30 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +4 -1
- package/src/index.ts +2 -0
|
@@ -6,7 +6,7 @@ on:
|
|
|
6
6
|
- 'release/**'
|
|
7
7
|
|
|
8
8
|
permissions:
|
|
9
|
-
contents:
|
|
9
|
+
contents: write # Needed for creating GitHub Releases and Tags
|
|
10
10
|
id-token: write
|
|
11
11
|
|
|
12
12
|
jobs:
|
|
@@ -35,3 +35,32 @@ jobs:
|
|
|
35
35
|
run: npm publish --provenance --access public
|
|
36
36
|
env:
|
|
37
37
|
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
38
|
+
|
|
39
|
+
- name: Extract version from package.json
|
|
40
|
+
id: package-version
|
|
41
|
+
run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT
|
|
42
|
+
|
|
43
|
+
- name: Create GitHub Release
|
|
44
|
+
env:
|
|
45
|
+
GH_TOKEN: ${{ github.token }}
|
|
46
|
+
run: |
|
|
47
|
+
VERSION="v${{ steps.package-version.outputs.version }}"
|
|
48
|
+
|
|
49
|
+
# gh release create will automatically create the tag if it doesn't exist
|
|
50
|
+
# --generate-notes builds an automated changelog from commit history
|
|
51
|
+
gh release create "$VERSION" \
|
|
52
|
+
--title "Release $VERSION" \
|
|
53
|
+
--generate-notes \
|
|
54
|
+
--notes "### 📦 Installation
|
|
55
|
+
Available on npm: [npmjs.com/package/@dalcontak/blogger-mcp-server](https://www.npmjs.com/package/@dalcontak/blogger-mcp-server)
|
|
56
|
+
|
|
57
|
+
You can run the server directly without installing it using \`npx\`:
|
|
58
|
+
\`\`\`bash
|
|
59
|
+
npx -y @dalcontak/blogger-mcp-server
|
|
60
|
+
\`\`\`
|
|
61
|
+
|
|
62
|
+
Or install it globally:
|
|
63
|
+
\`\`\`bash
|
|
64
|
+
npm install -g @dalcontak/blogger-mcp-server
|
|
65
|
+
\`\`\`" \
|
|
66
|
+
--target $GITHUB_SHA
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dalcontak/blogger-mcp-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "MCP Server for Blogger API",
|
|
6
6
|
"repository": {
|
|
@@ -43,5 +43,8 @@
|
|
|
43
43
|
"ts-jest": "^29.4.6",
|
|
44
44
|
"ts-node": "^10.9.2",
|
|
45
45
|
"typescript": "^5.3.3"
|
|
46
|
+
},
|
|
47
|
+
"bin": {
|
|
48
|
+
"blogger-mcp-server": "./dist/index.js"
|
|
46
49
|
}
|
|
47
50
|
}
|