Skip to content

Commit b23968e

Browse files
committed
Add unit tests and update CHANGELOG
1 parent 4fb37c6 commit b23968e

File tree

8 files changed

+5691
-212
lines changed

8 files changed

+5691
-212
lines changed

CHANGELOG.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,83 @@
11
# Changelog
22

3+
## [0.2.2] - 2025-04-11
4+
5+
### Added
6+
- Added `send_json` tool to support richer webhook data transmission
7+
- Automatically retrieve name and version information from package.json
8+
- Added unit tests for validator functions
9+
10+
### Fixed
11+
- Resolved merge conflicts
12+
13+
## [0.1.11] - 2025-02-13
14+
15+
### Added
16+
- Added Dive Desktop configuration support
17+
- Added MIT license
18+
19+
### Changed
20+
- Version bumped to 0.1.11
21+
22+
## [0.1.10] - 2025-02-06
23+
24+
### Added
25+
- Added Dive Desktop configuration
26+
27+
## [0.1.9] - 2025-01-30
28+
29+
### Added
30+
- Added MCP server badge
31+
- Updated README file
32+
- Added Smithery configuration
33+
- Added Dockerfile support
34+
35+
### Fixed
36+
- Removed console.log debug messages
37+
38+
## [0.1.8] - 2025-01-29
39+
40+
### Added
41+
- Updated keywords list
42+
43+
## [0.1.7] - 2025-01-29
44+
45+
### Changed
46+
- Adjusted version number to 0.1.7
47+
48+
## [0.1.6] - 2025-01-28
49+
50+
### Added
51+
- Optimized webhook request handling
52+
53+
## [0.1.5] - 2025-01-28
54+
55+
### Changed
56+
- Version bumped to 0.1.5
57+
58+
## [0.1.4] - 2025-01-27
59+
60+
### Changed
61+
- Version bumped to 0.1.4
62+
63+
## [0.1.3] - 2025-01-27
64+
65+
### Added
66+
- Improved error handling mechanism
67+
68+
### Changed
69+
- Version bumped to 0.1.3
70+
71+
## [0.1.2] - 2025-01-27
72+
73+
### Fixed
74+
- Updated bin name in package-lock.json
75+
76+
## [0.1.1] - 2025-01-27
77+
78+
### Fixed
79+
- Updated package bin name
80+
381
## [0.1.0] - 2025-01-26
482

583
### Added

jest.config.js

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
/** @type {import('ts-jest').JestConfigWithTsJest} */
2+
export default {
3+
preset: 'ts-jest/presets/default-esm',
4+
testEnvironment: 'node',
5+
extensionsToTreatAsEsm: ['.ts'],
6+
transform: {
7+
'^.+\\.tsx?$': ['ts-jest', {
8+
useESM: true,
9+
}],
10+
},
11+
moduleNameMapper: {
12+
'^(\\.{1,2}/.*)\\.js$': '$1',
13+
},
14+
testMatch: [
15+
'**/__tests__/**/*.ts',
16+
'**/?(*.)+(spec|test).ts'
17+
],
18+
};

0 commit comments

Comments
 (0)