tsc-esm-fix
Advanced tools
Comparing version 3.1.1 to 3.1.2
{ | ||
"date": "2024-10-31T18:50:30.788Z", | ||
"date": "2024-11-01T20:19:15.495Z", | ||
"git_commit_branch": "master", | ||
"git_commit_id": "f8fce8a86a789ac8aaca1982b752fda801931b78", | ||
"git_commit_id": "4dadb652dab07564a32fa6ecc928634dfc05d22c", | ||
"git_repo_url": "https://github.com/antongolub/tsc-esm-fix", | ||
"git_repo_name": "antongolub/tsc-esm-fix", | ||
"ci_run_id": "11618045345", | ||
"ci_run_url": "https://github.com/antongolub/tsc-esm-fix/actions/runs/11618045345" | ||
"ci_run_id": "11635781186", | ||
"ci_run_url": "https://github.com/antongolub/tsc-esm-fix/actions/runs/11635781186" | ||
} |
@@ -0,1 +1,6 @@ | ||
## [3.1.2](https://github.com/antongolub/tsc-esm-fix/compare/v3.1.1...v3.1.2) (2024-11-01) | ||
### Fixes & improvements | ||
* fix: reenable json5 parser ([4dadb65](https://github.com/antongolub/tsc-esm-fix/commit/4dadb652dab07564a32fa6ecc928634dfc05d22c)) | ||
## [3.1.1](https://github.com/antongolub/tsc-esm-fix/compare/v3.1.0...v3.1.1) (2024-10-31) | ||
@@ -2,0 +7,0 @@ |
{ | ||
"name": "tsc-esm-fix", | ||
"version": "3.1.1", | ||
"version": "3.1.2", | ||
"bin": { | ||
@@ -5,0 +5,0 @@ "tsc-esm-fix": "./target/esm/cli.mjs" |
@@ -27,3 +27,10 @@ import fse from 'fs-extra' | ||
export const resolveTsConfig = (file: string): TSConfig => populateSync(file, { | ||
compilerOptions: 'merge' | ||
parse({contents, ext}) { | ||
if (ext === '.json') | ||
return json5.parse(contents) | ||
throw new Error(`Unsupported format: ${ext}`) | ||
}, | ||
rules: { | ||
compilerOptions: 'merge' | ||
} | ||
}) | ||
@@ -30,0 +37,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
114152
1977