Migrate to ESM with esbuild and vitest (#243)
Some checks failed
Run prettify / Prettier Check (push) Has been cancelled
Run unit tests. / build (push) Has been cancelled
CodeQL Advanced / Analyze (javascript-typescript) (push) Has been cancelled
Integration test for setup-kubectl / Validate release and master branch (push) Has been cancelled

* Migrate to ESM with esbuild, vitest and upgrade @actions/* to ESM-only versions

* fix: update lockfile for npm ci compatibility

---------

Co-authored-by: Suneha Bose <suneha.bose@gmail.com>
This commit is contained in:
David Gamero 2026-04-03 12:48:25 -05:00 committed by GitHub
parent 08845d9b5a
commit 5f8d8195ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 1530 additions and 7248 deletions

View file

@ -1,8 +1,12 @@
{
"compilerOptions": {
"target": "ES2020",
"module": "commonjs",
"lib": ["ES2020", "DOM"]
"module": "NodeNext",
"moduleResolution": "NodeNext",
"rootDir": "./src",
"outDir": "./lib",
"skipLibCheck": true,
"noEmit": true
},
"exclude": ["node_modules", "test"]
"exclude": ["node_modules", "**/*.test.ts", "vitest.config.ts"]
}