File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,20 +33,10 @@ jobs:
3333 run : |
3434 git config user.name "github-actions[bot]"
3535 git config user.email "github-actions[bot]@users.noreply.github.com"
36-
37- - name : Setup Node.js
38- uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
39- with :
40- node-version : ' lts/*'
41- check-latest : true
42- package-manager-cache : false
4336
44- - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
45- with :
46- run_install : |
47- - recursive: true
48- args: [--frozen-lockfile]
49-
37+ - name : Install pnpm
38+ uses : pnpm/setup@5d160c5bc68a09337ad0d5654e237e03253b5879 # v1.0.0
39+
5040 # No need to install dependencies - npm version works without them
5141 - name : Version bump
5242 id : version
Original file line number Diff line number Diff line change @@ -58,13 +58,11 @@ jobs:
5858 check-latest : true
5959 package-manager-cache : false
6060
61- - uses : pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
62- name : Install pnpm
63- with :
64- run_install : |
65- - recursive: true
66- args: [--no-frozen-lockfile]
67- - args: [--global, esbuild]
61+ - name : Install pnpm
62+ uses : pnpm/setup@5d160c5bc68a09337ad0d5654e237e03253b5879 # v1.0.0
63+
64+ - name : Install global dependencies
65+ run : pnpm add -g esbuild
6866
6967 - name : Build
7068 run : pnpm build
Original file line number Diff line number Diff line change 7575 # Upload the results to GitHub's code scanning dashboard (optional).
7676 # Commenting out will disable upload of results to your repo's Code Scanning dashboard
7777 - name : " Upload to code-scanning"
78- uses : github/codeql-action/upload-sarif@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3
78+ uses : github/codeql-action/upload-sarif@f205ea1c3313d32999d8d6a48b4f6530d4437b38 # v4.37.4
7979 with :
8080 sarif_file : results.sarif
Original file line number Diff line number Diff line change @@ -45,9 +45,10 @@ const eslintConfig: Config[] = defineConfig(
4545 sourceType : 'module' ,
4646 parser,
4747 parserOptions : {
48- projectService : false ,
48+ projectService : {
49+ allowDefaultProject : [ 'eslint.config.ts' ] ,
50+ } ,
4951 tsconfigRootDir : __dirname ,
50- project : [ './tsconfig-eslint.json' ] ,
5152 } ,
5253 } ,
5354 extends : [
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export class ExampleStack extends cdk.Stack {
4040 bundling : {
4141 // No externalModules since we want to bundle everything
4242 nodeModules : [
43- '@modelcontextprotocol/sdk ' ,
43+ '@modelcontextprotocol/server ' ,
4444 'hono' ,
4545 'zod' ,
4646 ] ,
Original file line number Diff line number Diff line change 1717 },
1818 "devDependencies" : {
1919 "@eslint/js" : " 10.0.1" ,
20- "@hono/mcp" : " 0.3.1" ,
2120 "@hono/node-server" : " 2.0.11" ,
2221 "@stylistic/eslint-plugin" : " 5.10.0" ,
2322 "@types/aws-lambda" : " 8.10.162" ,
Load diff This file was deleted.
Original file line number Diff line number Diff line change 2121 "devEngines" : {
2222 "packageManager" : {
2323 "name" : " pnpm" ,
24- "version" : " ^11.17 .0" ,
24+ "version" : " ^11.19 .0" ,
2525 "onFail" : " download"
2626 }
2727 },
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ npm install aws-lambda-mcp-server
2020TypeScriptでの利用例です。
2121
2222``` typescript
23- import { McpServer } from ' @modelcontextprotocol/sdk/ server/mcp.js ' ;
23+ import { McpServer } from ' @modelcontextprotocol/server' ;
2424import { createHonoApp } from ' aws-lambda-mcp-server' ;
2525import { handle } from ' hono/aws-lambda' ;
2626import { z } from ' zod' ;
Original file line number Diff line number Diff line change 5858 },
5959 "dependencies" : {
6060 "@aws-lambda-powertools/logger" : " 2.34.0" ,
61- "@hono/mcp" : " 0.3.1" ,
6261 "@modelcontextprotocol/core" : " ^2.0.0" ,
6362 "@modelcontextprotocol/hono" : " ^2.0.0" ,
6463 "@modelcontextprotocol/server" : " 2.0.0" ,
6766 },
6867 "peerDependencies" : {
6968 "@aws-lambda-powertools/logger" : " ^2.34.0" ,
70- "@hono/mcp" : " ^0.3.1" ,
7169 "@modelcontextprotocol/server" : " ^2.0.0" ,
7270 "hono" : " ^4.12.31" ,
7371 "zod" : " ^3.25 || ^4.0"
You can’t perform that action at this time.
0 commit comments