diff --git a/examples/clients/typescript/auth-test-broken1.ts b/examples/clients/typescript/auth-test-broken1.ts index 6fd6e5c..748cca0 100644 --- a/examples/clients/typescript/auth-test-broken1.ts +++ b/examples/clients/typescript/auth-test-broken1.ts @@ -2,7 +2,7 @@ import { Client } from '@modelcontextprotocol/sdk/client/index.js'; import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/streamableHttp.js'; -import { handle401, withOAuthRetry } from './helpers/withOAuthRetry.js'; +import { withOAuthRetry } from './helpers/withOAuthRetry.js'; import { ConformanceOAuthProvider } from './helpers/ConformanceOAuthProvider.js'; import { FetchLike } from '@modelcontextprotocol/sdk/shared/transport.js'; import { diff --git a/package.json b/package.json index 4370bdf..1a10a54 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,8 @@ "start": "tsx src/index.ts", "test": "jest", "build": "tsdown src/index.ts --minify --clean --target node20", - "lint": "eslint src/ && prettier --check .", - "lint:fix": "eslint src/ --fix && prettier --write .", + "lint": "eslint src/ examples/ && prettier --check .", + "lint:fix": "eslint src/ examples/ --fix && prettier --write .", "lint:fix_check": "npm run lint:fix && git diff --exit-code --quiet", "check": "npm run typecheck && npm run lint", "typecheck": "tsgo --noEmit", diff --git a/tsconfig.json b/tsconfig.json index a31599e..5c8ae01 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,6 +9,6 @@ "skipLibCheck": true, "forceConsistentCasingInFileNames": true }, - "include": ["src/**/*"], + "include": ["src/**/*", "examples/clients/typescript/**/*"], "exclude": ["node_modules"] }