13
0
Fork 0
mirror of https://github.com/dorny/paths-filter.git synced 2026-06-29 20:30:48 +00:00

Bump @actions/core from 1.10.1 to 3.0.0 and @actions/exec from 1.1.1 to 3.0.0

Both packages moved to ESM-only in v3, so this migrates the project
from CommonJS to ESM: adds "type": "module" to package.json, switches
tsconfig to module/moduleResolution "nodenext", adds .js extensions to
all relative imports, and reconfigures Jest for ESM support.
This commit is contained in:
Jim Kane 2026-03-16 12:39:03 -05:00
parent ecb2e254c2
commit 5e1b966447
13 changed files with 35929 additions and 8725 deletions

View file

@ -1,12 +1,14 @@
{
"compilerOptions": {
"target": "es2019", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019' or 'ESNEXT'. */
"module": "commonjs", /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
"outDir": "./lib", /* Redirect output structure to the directory. */
"rootDir": "./src", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
"strict": true, /* Enable all strict type-checking options. */
"noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */
"esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */
"target": "es2022",
"module": "nodenext",
"moduleResolution": "nodenext",
"outDir": "./lib",
"rootDir": "./src",
"strict": true,
"noImplicitAny": true,
"isolatedModules": true,
"esModuleInterop": true
},
"exclude": ["node_modules", "**/*.test.ts"]
}