13
0
Fork 0
mirror of https://github.com/dorny/paths-filter.git synced 2026-07-04 06:29:29 +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 committed by Jim Kane
parent 87dc662f0d
commit 05fe388b9a
13 changed files with 7779 additions and 8026 deletions

View file

@ -1,13 +1,15 @@
{
"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'. */
"skipLibCheck": true /* Skip type checking of declaration files in node_modules. */
"target": "es2022",
"module": "nodenext",
"moduleResolution": "nodenext",
"outDir": "./lib",
"rootDir": "./src",
"strict": true,
"noImplicitAny": true,
"isolatedModules": true,
"esModuleInterop": true,
"skipLibCheck": true
},
"exclude": ["node_modules", "**/*.test.ts"]
}