From 32fa692e92a309ee56fc169439a17f6821f9616c Mon Sep 17 00:00:00 2001 From: yshrsmz Date: Sat, 1 Feb 2025 18:24:07 +0900 Subject: [PATCH] add missing @types/node and tsconfig --- packages/recent-contributions/package.json | 1 + packages/recent-contributions/tsconfig.json | 16 ++++++++++++++++ pnpm-lock.yaml | 3 +++ 3 files changed, 20 insertions(+) create mode 100644 packages/recent-contributions/tsconfig.json diff --git a/packages/recent-contributions/package.json b/packages/recent-contributions/package.json index 1313957a0a..7539fe5cda 100644 --- a/packages/recent-contributions/package.json +++ b/packages/recent-contributions/package.json @@ -12,6 +12,7 @@ "author": "", "license": "ISC", "devDependencies": { + "@types/node": "22.13.0", "@codingfeline/eslint-config": "workspace:*", "tsx": "4.19.2", "typescript": "5.7.3", diff --git a/packages/recent-contributions/tsconfig.json b/packages/recent-contributions/tsconfig.json new file mode 100644 index 0000000000..1713bd3a67 --- /dev/null +++ b/packages/recent-contributions/tsconfig.json @@ -0,0 +1,16 @@ +{ + "compilerOptions": { + "module": "esnext", + "target": "esnext", + "moduleResolution": "node", + "esModuleInterop": true, + "strict": true, + "skipLibCheck": true, + "noUnusedLocals": true, + "resolveJsonModule": true, + "verbatimModuleSyntax": true, + "jsx": "preserve", + "lib": ["esnext", "dom", "dom.iterable"], + }, + "include": ["./src/**/*"] +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index acf4e791bf..6e7ec36389 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -152,6 +152,9 @@ importers: '@codingfeline/eslint-config': specifier: workspace:* version: link:../eslint-config + '@types/node': + specifier: 22.13.0 + version: 22.13.0 tsx: specifier: 4.19.2 version: 4.19.2