Skip to content

Commit 37509b6

Browse files
committed
chore: clean up repository - remove node_modules from version control
- Remove accidentally committed node_modules directory from git tracking - Update .gitignore with comprehensive Node.js best practices - Add proper Jest configuration for TypeScript testing - Add comprehensive test suite for all 23 MCP tools - Remove obsolete src/index.ts file - Ensure tests directory is properly tracked in version control This commit follows Node.js best practices by excluding generated dependencies from version control while preserving important project files and tests.
1 parent 72d1c22 commit 37509b6

File tree

615 files changed

+10077
-577227
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

615 files changed

+10077
-577227
lines changed

.gitignore

Lines changed: 77 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ node_modules/
33
npm-debug.log*
44
yarn-debug.log*
55
yarn-error.log*
6-
package-lock.json
76

87
# Environment variables
98
.env
@@ -17,16 +16,72 @@ package-lock.json
1716
/build
1817
/dist
1918

20-
# Test files and directory (excluding from version control)
21-
/tests/
22-
tests/
23-
*.test.js
24-
test-*.js
19+
# Coverage directory used by tools like istanbul
20+
coverage/
21+
*.lcov
22+
23+
# nyc test coverage
24+
.nyc_output
2525

2626
# Logs
2727
logs
2828
*.log
2929

30+
# Runtime data
31+
pids
32+
*.pid
33+
*.seed
34+
*.pid.lock
35+
36+
# Directory for instrumented libs generated by jscoverage/JSCover
37+
lib-cov
38+
39+
# Compiled binary addons (https://nodejs.org/api/addons.html)
40+
build/Release
41+
42+
# Dependency directories
43+
jspm_packages/
44+
45+
# TypeScript cache
46+
*.tsbuildinfo
47+
48+
# Optional npm cache directory
49+
.npm
50+
51+
# Optional eslint cache
52+
.eslintcache
53+
54+
# Optional REPL history
55+
.node_repl_history
56+
57+
# Output of 'npm pack'
58+
*.tgz
59+
60+
# Yarn Integrity file
61+
.yarn-integrity
62+
63+
# parcel-bundler cache (https://parceljs.org/)
64+
.cache
65+
.parcel-cache
66+
67+
# next.js build output
68+
.next
69+
70+
# nuxt.js build output
71+
.nuxt
72+
73+
# vuepress build output
74+
.vuepress/dist
75+
76+
# Serverless directories
77+
.serverless
78+
79+
# FuseBox cache
80+
.fusebox/
81+
82+
# DynamoDB Local files
83+
.dynamodb/
84+
3085
# OS specific files
3186
.DS_Store
3287
.DS_Store?
@@ -35,11 +90,24 @@ logs
3590
.Trashes
3691
ehthumbs.db
3792
Thumbs.db
38-
jest.config.js
39-
internal-readme.md
4093

4194
# IDE files
4295
.idea/
4396
.vscode/
4497
*.swp
45-
*.swo
98+
*.swo
99+
*~
100+
101+
# Temporary files
102+
*.tmp
103+
*.temp
104+
105+
# Editor backup files
106+
*~
107+
.#*
108+
\#*#
109+
.*.swp
110+
.*.swo
111+
112+
# Project specific
113+
internal-readme.md

jest.config.js

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
module.exports = {
2+
preset: 'ts-jest',
3+
testEnvironment: 'node',
4+
roots: ['<rootDir>/tests'],
5+
testMatch: [
6+
'**/__tests__/**/*.+(ts|tsx|js)',
7+
'**/*.(test|spec).+(ts|tsx|js)'
8+
],
9+
transform: {
10+
'^.+\\.(ts|tsx)$': 'ts-jest'
11+
},
12+
collectCoverageFrom: [
13+
'src/**/*.{ts,tsx}',
14+
'!src/**/*.d.ts',
15+
'!src/index.cjs'
16+
],
17+
coverageDirectory: 'coverage',
18+
coverageReporters: [
19+
'text',
20+
'lcov',
21+
'html'
22+
],
23+
setupFilesAfterEnv: ['<rootDir>/tests/setup.ts'],
24+
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
25+
testTimeout: 30000,
26+
verbose: true,
27+
clearMocks: true,
28+
restoreMocks: true,
29+
resetMocks: true,
30+
globals: {
31+
'ts-jest': {
32+
useESM: false,
33+
tsconfig: 'tests/tsconfig.json'
34+
}
35+
}
36+
};

node_modules/.bin/tsc

Lines changed: 0 additions & 1 deletion
This file was deleted.

node_modules/.bin/tsserver

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)