Repository navigation
Commit 131a39c
authored
Use stable path-based WPT registry aliases (#60)
## What does this PR do?
Adding a WPT source currently renumbers every later generated import
alias, creating a ton of churn noise just to add a single file. This
`register` and `input` aliases from each source path so additions change
only their own import and registry entry. In other words, a single line
change takes up a single line.
## Type of change
- [ ] Bug fix
- [ ] Feature
- [x] Refactor (no behavior change)
- [ ] Documentation
- [ ] Performance improvement
- [ ] Tests
- [ ] Chore (dependencies, CI, tooling)
## Checklist
- [x] All tests pass (`pnpm test`)
- [x] Files are formatted (`pnpm format`)
- [ ] I have added/updated tests for my changes (if applicable)
- [ ] I have added a changeset
Existing harness tests and isolated generator checks validate the
change; no test files were added or updated. A changeset is not needed
for this private test package.
## AI-generated code disclosure
- [x] This PR includes AI-generated code1 parent baa93e3 commit 131a39c
2 files changed
Lines changed: 783 additions & 767 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
17 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
18 | 34 | | |
19 | 35 | | |
20 | 36 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
24 | 40 | | |
25 | 41 | | |
26 | 42 | | |
27 | 43 | | |
28 | 44 | | |
29 | 45 | | |
30 | 46 | | |
31 | | - | |
32 | | - | |
33 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
34 | 50 | | |
35 | 51 | | |
36 | 52 | | |
| |||
0 commit comments