@sudobility/types 1.9.43 → 1.9.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CLAUDE.md +12 -5
- package/package.json +1 -1
package/CLAUDE.md
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
# Claude AI Assistant Configuration
|
|
2
2
|
|
|
3
|
+
This file provides comprehensive guidance for AI assistants (Claude Code, GitHub Copilot, Cursor, etc.) working with this codebase.
|
|
4
|
+
|
|
3
5
|
## Project Overview
|
|
4
6
|
|
|
5
|
-
|
|
7
|
+
**Package**: `@sudobility/types`
|
|
8
|
+
**Version**: 1.9.43
|
|
9
|
+
**Type**: ES Module + CommonJS (dual output)
|
|
10
|
+
**Test Coverage**: 107 tests across 7 test files
|
|
11
|
+
|
|
12
|
+
A comprehensive TypeScript types library for Web3 email applications. It provides shared type definitions, interfaces, enums, and utility functions used across multiple Web3 email platform projects.
|
|
6
13
|
|
|
7
14
|
## Key Architecture
|
|
8
15
|
|
|
@@ -78,7 +85,7 @@ bun run build
|
|
|
78
85
|
# Watch mode for development
|
|
79
86
|
bun run dev
|
|
80
87
|
|
|
81
|
-
# Run all
|
|
88
|
+
# Run all 107 tests
|
|
82
89
|
bun test
|
|
83
90
|
|
|
84
91
|
# Type checking
|
|
@@ -111,7 +118,7 @@ bun run ai:docs # Generate AI documentation
|
|
|
111
118
|
## Testing Strategy
|
|
112
119
|
|
|
113
120
|
- **Framework**: Vitest for fast unit testing
|
|
114
|
-
- **Coverage**:
|
|
121
|
+
- **Coverage**: 107 comprehensive tests covering all utilities and type guards
|
|
115
122
|
- **Structure**: Tests mirror source structure in `test/` directory
|
|
116
123
|
- **Focus**: Type guards, validation functions, utility functions, and API contracts
|
|
117
124
|
|
|
@@ -225,13 +232,13 @@ bun run test:coverage
|
|
|
225
232
|
4. **Verification**: Comprehensive quality pipeline
|
|
226
233
|
|
|
227
234
|
### Quality Standards:
|
|
228
|
-
- **
|
|
235
|
+
- **107 tests passing**: Complete test coverage maintained
|
|
229
236
|
- **Zero lint errors**: ESLint v9 with strict TypeScript rules
|
|
230
237
|
- **Perfect formatting**: Prettier integration
|
|
231
238
|
- **Type safety**: Strict TypeScript with comprehensive checking
|
|
232
239
|
- **Documentation**: JSDoc comments on all public APIs
|
|
233
240
|
|
|
234
|
-
## Recent Changes (v1.
|
|
241
|
+
## Recent Changes (v1.9.43)
|
|
235
242
|
|
|
236
243
|
### Type System Improvements
|
|
237
244
|
- **Enum Conversion**: Converted 11 string literal types to enums for better type safety
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sudobility/types",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.44",
|
|
4
4
|
"description": "Comprehensive TypeScript types, interfaces, and utilities for Web3 email applications - optimized for AI-assisted development",
|
|
5
5
|
"main": "./dist/index.cjs",
|
|
6
6
|
"module": "./dist/index.js",
|