@sudobility/types 1.9.41 → 1.9.42

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.
Files changed (2) hide show
  1. package/CLAUDE.md +29 -17
  2. package/package.json +1 -1
package/CLAUDE.md CHANGED
@@ -56,44 +56,56 @@ src/
56
56
  └── index.ts # Main export file
57
57
  ```
58
58
 
59
+ ## Package Manager
60
+
61
+ **This project uses Bun as the package manager.** Always use `bun` commands instead of `npm`:
62
+
63
+ ```bash
64
+ # Install dependencies
65
+ bun install
66
+
67
+ # Run any script
68
+ bun run <script-name>
69
+ ```
70
+
59
71
  ## Essential Commands
60
72
 
61
73
  ### Development Commands
62
74
  ```bash
63
75
  # Build the project (dual ESM/CJS output)
64
- npm run build
76
+ bun run build
65
77
 
66
78
  # Watch mode for development
67
- npm run dev
79
+ bun run dev
68
80
 
69
81
  # Run all 219 tests
70
- npm test
82
+ bun test
71
83
 
72
84
  # Type checking
73
- npm run typecheck
85
+ bun run typecheck
74
86
 
75
87
  # Linting (ESLint v9)
76
- npm run lint
88
+ bun run lint
77
89
 
78
90
  # Fix linting issues
79
- npm run lint:fix
91
+ bun run lint:fix
80
92
 
81
93
  # Format code (Prettier)
82
- npm run format
94
+ bun run format
83
95
 
84
96
  # Check formatting
85
- npm run format:check
97
+ bun run format:check
86
98
 
87
99
  # Clean build artifacts
88
- npm run clean
100
+ bun run clean
89
101
 
90
102
  # Full verification (build + test + lint + typecheck)
91
- npm run verify
103
+ bun run verify
92
104
 
93
105
  # AI development tools
94
- npm run ai:analyze # Analyze type structure
95
- npm run ai:validate # Validate exports
96
- npm run ai:docs # Generate AI documentation
106
+ bun run ai:analyze # Analyze type structure
107
+ bun run ai:validate # Validate exports
108
+ bun run ai:docs # Generate AI documentation
97
109
  ```
98
110
 
99
111
  ## Testing Strategy
@@ -173,19 +185,19 @@ npm run ai:docs # Generate AI documentation
173
185
  ### Testing New Code
174
186
  ```bash
175
187
  # Run tests in watch mode during development
176
- npm run test:watch
188
+ bun run test:watch
177
189
 
178
190
  # Run specific test file
179
- npm test -- path/to/test.file.ts
191
+ bun test -- path/to/test.file.ts
180
192
 
181
193
  # Generate coverage report
182
- npm run test:coverage
194
+ bun run test:coverage
183
195
  ```
184
196
 
185
197
  ## AI Assistant Specific Notes
186
198
 
187
199
  ### When Working on This Project:
188
- 1. **Always run verification after changes**: `npm run verify`
200
+ 1. **Always run verification after changes**: `bun run verify`
189
201
  2. **Maintain zero dependencies**: Don't add runtime dependencies
190
202
  3. **Keep utilities pure**: No side effects in utility functions
191
203
  4. **Follow naming conventions**: Established patterns for consistency
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sudobility/types",
3
- "version": "1.9.41",
3
+ "version": "1.9.42",
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",