@actions/io: convert to ESM module

This commit is contained in:
Daniel Kennedy
2026-01-28 13:33:17 -05:00
parent 4446f00fc7
commit 5501ba08b7
5 changed files with 16 additions and 7 deletions
+8 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@actions/io",
"version": "2.0.0",
"version": "3.0.0",
"description": "Actions io lib",
"keywords": [
"github",
@@ -9,8 +9,15 @@
],
"homepage": "https://github.com/actions/toolkit/tree/main/packages/io",
"license": "MIT",
"type": "module",
"main": "lib/io.js",
"types": "lib/io.d.ts",
"exports": {
".": {
"types": "./lib/io.d.ts",
"import": "./lib/io.js"
}
},
"directories": {
"lib": "lib",
"test": "__tests__"