UNPKG

1.35 kBMarkdownView Raw
1# Todos
2
3## Dependencies
4
5- pdfjs : move to modern version if Node.js > 14 | Optional chaining support
6- remove lodash, imported in 17 files : forEach, sortBy, cloneDeep, find, findIndex, map, filter, clone, includes, indexOf, groupBy, slice, flatMap, concat, uniq,
7
8## TypeScript errors to fix
9
10- code-generator.ts - 80 lines
11- class-helper.ts - 1200 lines
12- component-helper.ts - 268 lines
13- js-doc-helper.ts - 40 lines
14- symbol-helper.ts - 261 lines
15- dependencies.engine.ts - 455 lines
16- jsdoc-parser.util.ts - 159 lines
17- router-parser.util.ts - 775 lines
18
19## Split files
20
21- index-cli.ts - 910 lines
22- application.ts - 2800 lines
23- angular-dependencies.ts - 1300 lines
24- router-parser.util.ts - 642 lines
25- class-helper.ts - 1200 lines
26
27## Clean architecture refactoring
28
29### Main todos
30
31[] - serve in a service
32[] - coverage in a service
33[] - process in application.ts linked sequentially
34
35### New splitted architecture
36
37Domain driven design + TDD refactoring
38
39#### Start phase
40
41- [x] init flags
42- [x] init config
43- handle global actions : serve, generate, coverage
44- for serving : check folder and run
45
46#### For coverage and generate phase
47
48- handle tsconfig
49- find files
50- init ts-morph with files
51- parse files AST
52- find doc informations
53- process informations : generate doc or coverage