Skip to content

Commit a8375ea

Browse files
JKRTclaude
andauthored
Update Jest and TS config for ESM support (#465) (#466)
Refactor configuration to support ESM-only @actions packages: - Add "type": "module" to package.json for ESM - Update tsconfig.json to use NodeNext module resolution - Convert jest.config.js to ESM with ts-jest ESM preset - Replace ncc with rollup for bundling - Update source imports to use .js extensions for ESM compatibility Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent b979ef2 commit a8375ea

20 files changed

Lines changed: 89101 additions & 91151 deletions

__tests__/installer.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
import * as installer from '../src/installer'
1+
import * as installer from '../src/installer.js'
22
import * as exec from '@actions/exec'
33

44
import * as fs from 'fs'
55
import * as os from 'os'
6-
import { expect, test } from '@jest/globals'
6+
import {expect, test} from '@jest/globals'
77

88
const osPlat = os.platform()
99

0 commit comments

Comments
 (0)