@actions/glob: convert to an ESM module

This commit is contained in:
Daniel Kennedy
2026-01-28 21:10:43 -05:00
parent ed3ea3b5ba
commit ceb003d313
18 changed files with 87 additions and 67 deletions
+9 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@actions/glob",
"version": "0.5.1",
"version": "0.6.0",
"preview": true,
"description": "Actions glob lib",
"keywords": [
@@ -10,8 +10,15 @@
],
"homepage": "https://github.com/actions/toolkit/tree/main/packages/glob",
"license": "MIT",
"type": "module",
"main": "lib/glob.js",
"types": "lib/glob.d.ts",
"exports": {
".": {
"types": "./lib/glob.d.ts",
"import": "./lib/glob.js"
}
},
"directories": {
"lib": "lib",
"test": "__tests__"
@@ -37,7 +44,7 @@
"url": "https://github.com/actions/toolkit/issues"
},
"dependencies": {
"@actions/core": "^2.0.3",
"@actions/core": "^3.0.0",
"minimatch": "^3.0.4"
}
}