@actions/exec: convert to ESM module

This commit is contained in:
Daniel Kennedy
2026-01-28 13:55:13 -05:00
parent a6e9f4bab2
commit 0fc1805b46
16 changed files with 63 additions and 36 deletions
+9 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@actions/exec",
"version": "2.0.0",
"version": "3.0.0",
"description": "Actions exec lib",
"keywords": [
"github",
@@ -9,8 +9,15 @@
],
"homepage": "https://github.com/actions/toolkit/tree/main/packages/exec",
"license": "MIT",
"type": "module",
"main": "lib/exec.js",
"types": "lib/exec.d.ts",
"exports": {
".": {
"types": "./lib/exec.d.ts",
"import": "./lib/exec.js"
}
},
"directories": {
"lib": "lib",
"test": "__tests__"
@@ -36,6 +43,6 @@
"url": "https://github.com/actions/toolkit/issues"
},
"dependencies": {
"@actions/io": "^2.0.0"
"@actions/io": "file:../io"
}
}