Commit c389129
committed
feat(validation): add custom import pattern validation script
- Introduced `validate-imports.ts` to enforce ESM import patterns in the devlog monorepo.
- Implemented rules for relative imports, self-referencing aliases, and cross-package imports.
- Added detailed error reporting for import issues.
feat(validation): implement AST-based response envelope validation
- Created `validate-response-envelopes-ast.ts` for validating API response envelopes using TypeScript's compiler API.
- Added checks for success and error envelope structures, ensuring compliance with standardized formats.
- Included warnings for potential issues in envelope handling and error management.1 parent fad3be4 commit c389129
File tree
24 files changed
+336
-4995
lines changed- .husky
- docs
- packages
- ai/examples
- web/app
- contexts
- hooks
- projects/[id]
- devlogs
- [devlogId]
- scripts
- validation
24 files changed
+336
-4995
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
This file was deleted.
0 commit comments