Skip to content

Commit 2266a0b

Browse files
committed
refactor: wip
1 parent 98c1439 commit 2266a0b

1 file changed

Lines changed: 36 additions & 1 deletion

File tree

tools/jiti/README_JITI_ISSUE.md

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# JITI ISSUES
22

3+
## Issue Discovery Workflow
4+
5+
When encountering a module loading error with jiti/tsx, follow this systematic approach to identify the problematic package:
6+
7+
1. **Isolate the issue**
8+
9+
- Open `code-pushup.config.ts`
10+
- Comment out all plugin configurations
11+
- Run: `nx code-pushup --print-config --output out.json`
12+
- Verify the command succeeds without errors
13+
14+
2. **Identify the problematic plugin**
15+
16+
- Uncomment plugins one at a time
17+
- After each plugin, run: `nx code-pushup --print-config --output out.json`
18+
- Continue until the error reproduces
19+
- The last plugin uncommented is the one causing the issue
20+
21+
3. **Document the issue**
22+
- Once the problematic plugin is identified, collect all relevant information
23+
- Fill out the issue template below with:
24+
- The library/package name
25+
- Error message and stack trace
26+
- Reproduction steps
27+
- Source code locations
28+
- Any preliminary fixes or workarounds
29+
30+
- add the issue to the list of issues below
31+
332
## Issue Template
433

534
**Library** (required)
@@ -30,7 +59,13 @@ Links to a file, a snippet or a PR with the fix
3059
Local files are preferred.
3160
Location of the file: `tools/jiti/<library-name>/fix-<library-name>.ts`
3261

33-
## Issues
62+
## List of Issues
63+
64+
### My Issue
65+
66+
...
67+
68+
## Old Issuess for reference
3469

3570
### axe-core
3671

0 commit comments

Comments
 (0)