cosmiconfig-typescript-loader
Advanced tools
Comparing version 3.1.2 to 4.0.0
@@ -23,3 +23,3 @@ "use strict"; | ||
__export(lib_exports, { | ||
default: () => lib_default | ||
TypeScriptLoader: () => TypeScriptLoader | ||
}); | ||
@@ -70,6 +70,5 @@ module.exports = __toCommonJS(lib_exports); | ||
} | ||
// lib/index.ts | ||
var lib_default = TypeScriptLoader; | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = {}); | ||
0 && (module.exports = { | ||
TypeScriptLoader | ||
}); |
@@ -1,3 +0,2 @@ | ||
import { TypeScriptLoader } from "./loader"; | ||
export default TypeScriptLoader; | ||
export { TypeScriptLoader } from "./loader"; | ||
export type { TypeScriptCompileError } from "./typescript-compile-error"; |
{ | ||
"name": "cosmiconfig-typescript-loader", | ||
"version": "3.1.2", | ||
"version": "4.0.0", | ||
"description": "TypeScript loader for cosmiconfig", | ||
@@ -5,0 +5,0 @@ "author": "Alex Miller <codex.nz@gmail.com>", |
@@ -9,12 +9,2 @@ # cosmiconfig-typescript-loader | ||
## `@endemolshinegroup/cosmiconfig-typescript-loader` | ||
This package serves as a drop in replacement for `@endemolshinegroup/cosmiconfig-typescript-loader`. At the time of publishing this, `endemolshinegroup` is not maintaining the original package. I can only assume this is to do with the fact that Endemol Shine Group [was purchased and absorbed by another business](https://en.wikipedia.org/wiki/Endemol_Shine_Group#Sale_to_Banijay). This discontinuation of development efforts towards the original package left any open issues and pull requests unresolved. | ||
This new package resolves the following original issues: | ||
- [`#134`](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/issues/134): "Doesn't work with Cosmiconfig sync API" | ||
- [`#147`](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/issues/147): "doesn't provide typescript, requested by ts-node" | ||
- [`#155`](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/issues/155): "Misleading TypeScriptCompileError when user's tsconfig.json "module" is set to "es2015"" | ||
## Usage | ||
@@ -26,3 +16,3 @@ | ||
import { cosmiconfig } from "cosmiconfig"; | ||
import TypeScriptLoader from "cosmiconfig-typescript-loader"; | ||
import { TypeScriptLoader } from "cosmiconfig-typescript-loader"; | ||
@@ -56,3 +46,3 @@ const moduleName = "module"; | ||
import { cosmiconfig } from "cosmiconfig"; | ||
import TypeScriptLoader from "cosmiconfig-typescript-loader"; | ||
import { TypeScriptLoader } from "cosmiconfig-typescript-loader"; | ||
@@ -68,1 +58,11 @@ const moduleName = "module"; | ||
``` | ||
## `@endemolshinegroup/cosmiconfig-typescript-loader` | ||
This package serves as a drop in replacement for `@endemolshinegroup/cosmiconfig-typescript-loader`. At the time of publishing this, `endemolshinegroup` is not maintaining the original package. I can only assume this is to do with the fact that Endemol Shine Group [was purchased and absorbed by another business](https://en.wikipedia.org/wiki/Endemol_Shine_Group#Sale_to_Banijay). This discontinuation of development efforts towards the original package left any open issues and pull requests unresolved. | ||
This new package resolves the following original issues: | ||
- [`#134`](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/issues/134): "Doesn't work with Cosmiconfig sync API" | ||
- [`#147`](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/issues/147): "doesn't provide typescript, requested by ts-node" | ||
- [`#155`](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/issues/155): "Misleading TypeScriptCompileError when user's tsconfig.json "module" is set to "es2015"" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8304
77