Commit 94764fe
[CLI] v8-tokens codemod update (#4341)
* 🎉 Support ext
* ⚡ Optimize file indexing
* ⚡ Optimize file-indexing
* ⚡ Optimize regex creation
* 🐛 Optimize indexing, add js and some tailwind-support
* ⚡ Optimize tailwind codemod
* 🧪 More tests
* ⚡ Optimize css codemod
* 📝 Better status reports
* 📝 Better printouts
* 📝 Improve printouts
* ⚡ Avoid re-running status-update
* 📝 Update summary
* 🔥 Removed waitfor keypress
* 📝 Changeset
* ♻️ Avoid inline assignment
* 📝 Added comments
* ♻️ Small refactor, extracting complexity into functions
* 🔥 Removed commented code
* Update @navikt/aksel/src/codemod/run-codeshift.ts
Co-authored-by: Halvor Haugan <[email protected]>
* Update @navikt/aksel/src/codemod/run-codeshift.ts
Co-authored-by: Halvor Haugan <[email protected]>
* ♻️ No array for glob-list
* ♻️ getWordPositionInFile -> getCharacterPositionInFile
* ♻️ Only comment once for grouped tokens
* ⚡ Always update status on print
* Revert "⚡ Always update status on print"
This reverts commit 65b1d9c.
* ⚡ Always update status on print
---------
Co-authored-by: Halvor Haugan <[email protected]>1 parent 97e4e69 commit 94764fe
17 files changed
+897
-181
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | | - | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
26 | 35 | | |
27 | 36 | | |
28 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
32 | 43 | | |
33 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
34 | 54 | | |
35 | 55 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | 56 | | |
41 | 57 | | |
42 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | 3 | | |
7 | 4 | | |
8 | 5 | | |
9 | 6 | | |
10 | 7 | | |
11 | | - | |
| 8 | + | |
12 | 9 | | |
13 | 10 | | |
14 | 11 | | |
15 | 12 | | |
16 | 13 | | |
17 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | | - | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 26 | | |
31 | 27 | | |
0 commit comments