File tree Expand file tree Collapse file tree 3 files changed +100
-7
lines changed Expand file tree Collapse file tree 3 files changed +100
-7
lines changed Original file line number Diff line number Diff line change 1+ name : Publish to NPM
2+
3+ on :
4+ release :
5+ types : [published]
6+ workflow_dispatch :
7+ inputs :
8+ version :
9+ description : ' Version to publish (leave empty for current package.json version)'
10+ required : false
11+ type : string
12+
13+ jobs :
14+ publish :
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - name : Checkout code
19+ uses : actions/checkout@v4
20+
21+ - name : Setup Node.js
22+ uses : actions/setup-node@v4
23+ with :
24+ node-version : ' 20'
25+ registry-url : ' https://registry.npmjs.org'
26+
27+ - name : Install dependencies
28+ run : npm ci
29+
30+ - name : Run linting and formatting checks
31+ run : |
32+ npm run lint
33+ npm run format:check
34+
35+ - name : Build package
36+ run : npm run build
37+
38+ - name : Update version if specified
39+ if : github.event_name == 'workflow_dispatch' && github.event.inputs.version != ''
40+ run : npm version ${{ github.event.inputs.version }} --no-git-tag-version
41+
42+ - name : Publish to NPM
43+ run : npm publish
44+ env :
45+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 1+ # Source files
2+ src /
3+ * .ts
4+ ! * .d.ts
5+
6+ # Development files
7+ .github /
8+ terraform /
9+ node_modules /
10+ * .log
11+ .env *
12+ CLAUDE.md
13+
14+ # Build artifacts
15+ tsconfig.json
16+ eslint.config.mjs
17+ .prettierrc *
18+
19+ # Documentation (keep README.md)
20+ SECURITY.md
21+
22+ # Package manager files
23+ yarn.lock
24+ package-lock.json
25+
26+ # OS files
27+ .DS_Store
28+ Thumbs.db
29+
30+ # IDE files
31+ .vscode /
32+ .idea /
33+ * .swp
34+ * .swo
Original file line number Diff line number Diff line change 11{
2- "name" : " vanta-mcp-server" ,
3- "version" : " 1.0 .0" ,
2+ "name" : " @vanta-inc/ vanta-mcp-server" ,
3+ "version" : " 0.1 .0" ,
44 "main" : " index.js" ,
55 "type" : " module" ,
66 "bin" : {
7- "vanta-mcp-server" : " ./ build/index.js"
7+ "vanta-mcp-server" : " build/index.js"
88 },
99 "scripts" : {
1010 "build" : " tsc && node -e \" require('fs').chmodSync('build/index.js', '755')\" " ,
1919 "files" : [
2020 " build"
2121 ],
22- "keywords" : [],
23- "author" : " " ,
24- "license" : " ISC" ,
25- "description" : " " ,
22+ "keywords" : [
23+ " mcp" ,
24+ " model-context-protocol" ,
25+ " vanta" ,
26+ " security" ,
27+ " compliance"
28+ ],
29+ "author" : " Vanta Inc" ,
30+ "license" : " MIT" ,
31+ "description" : " Model Context Protocol server for Vanta's security compliance platform" ,
32+ "repository" : {
33+ "type" : " git" ,
34+ "url" : " git+https://github.com/VantaInc/vanta-mcp-server.git"
35+ },
36+ "homepage" : " https://github.com/VantaInc/vanta-mcp-server#readme" ,
37+ "bugs" : {
38+ "url" : " https://github.com/VantaInc/vanta-mcp-server/blob/main/SECURITY.md"
39+ },
2640 "devDependencies" : {
2741 "@eslint/js" : " ^8.57.0" ,
2842 "@types/node" : " ^22.13.17" ,
You can’t perform that action at this time.
0 commit comments