Commit fd55a6f
Migrate to ESM and update all npm packages to latest versions (#234)
* Migrate to ESM and update all npm packages to latest versions
- Add type: module to package.json
- Update @actions/core, @actions/exec, @actions/io to v3 (ESM-only)
- Update @actions/tool-cache to v4 (ESM-only)
- Update semver, ts-jest, jest, prettier, nock, eslint-plugin-github,
eslint-plugin-jest, @types/node, @typescript-eslint/parser
- Switch tsconfig module to nodenext with matching moduleResolution
- Enable isolatedModules for ts-jest ESM compatibility
- Add .js extensions to all relative imports
- Replace __dirname with import.meta.dirname in tests
- Convert jest.config.js to ESM with useESM and moduleNameMapper
- Use --experimental-vm-modules for Jest ESM support
- Regenerate lib/ and dist/ output
Co-authored-by: Copilot <[email protected]>
* Update codeql workflow
---------
Co-authored-by: Copilot <[email protected]>1 parent b26b823 commit fd55a6f
17 files changed
Lines changed: 28938 additions & 50630 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | 12 | | |
14 | | - | |
| 13 | + | |
15 | 14 | | |
16 | 15 | | |
17 | | - | |
18 | | - | |
19 | | - | |
| 16 | + | |
| 17 | + | |
20 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | 27 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 28 | | |
37 | 29 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 30 | + | |
| 31 | + | |
53 | 32 | | |
54 | | - | |
55 | | - | |
56 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
57 | 36 | | |
58 | 37 | | |
59 | 38 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments