@endemolshinegroup/cosmiconfig-typescript-loader
Advanced tools
Comparing version 2.0.0 to 3.0.0
@@ -0,1 +1,13 @@ | ||
# [3.0.0](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/compare/v2.0.0...v3.0.0) (2020-06-20) | ||
### Build System | ||
* change minimum supported Node version ([c450d41](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/commit/c450d41)) | ||
### BREAKING CHANGES | ||
* change minimum supported version of Node to v10 | ||
# [2.0.0](https://github.com/EndemolShineGroup/cosmiconfig-typescript-loader/compare/v1.0.2...v2.0.0) (2020-06-20) | ||
@@ -2,0 +14,0 @@ |
@@ -22,2 +22,3 @@ "use strict"; | ||
} | ||
exports.default = TypeScriptCompileError; | ||
TypeScriptCompileError.fromError = (error) => { | ||
@@ -30,3 +31,2 @@ const message = [ | ||
}; | ||
exports.default = TypeScriptCompileError; | ||
//# sourceMappingURL=TypeScriptCompileError.js.map |
@@ -6,3 +6,3 @@ "use strict"; | ||
const TypeScriptCompileError_1 = tslib_1.__importDefault(require("./Errors/TypeScriptCompileError")); | ||
const loader = (filePath) => tslib_1.__awaiter(this, void 0, void 0, function* () { | ||
const loader = (filePath) => tslib_1.__awaiter(void 0, void 0, void 0, function* () { | ||
try { | ||
@@ -9,0 +9,0 @@ require('ts-node/register'); |
{ | ||
"name": "@endemolshinegroup/cosmiconfig-typescript-loader", | ||
"description": "A TypeScript loader for Cosmiconfig", | ||
"version": "2.0.0", | ||
"version": "3.0.0", | ||
"license": "MIT", | ||
@@ -23,3 +23,3 @@ "main": "dist/index.js", | ||
"engines": { | ||
"node": ">=8.0.0", | ||
"node": ">=10.0.0", | ||
"yarn": ">=1.3.0" | ||
@@ -54,4 +54,4 @@ }, | ||
"@semantic-release/git": "^7", | ||
"@types/cosmiconfig": "^5", | ||
"@types/jest": "^24", | ||
"@types/cosmiconfig": "^6", | ||
"@types/jest": "^26", | ||
"@types/lodash.get": "^4", | ||
@@ -71,5 +71,5 @@ "@types/node": "8.*", | ||
"tslint-eslint-rules": "^5", | ||
"typedoc": "^0.14.2", | ||
"typedoc": "^0.17.7", | ||
"typescript": "^3" | ||
} | ||
} |
@@ -6,3 +6,3 @@ ![Banner][icon-banner] | ||
[![Build Status][icon-ci]][link-ci] | ||
[![Greenkeeper Status][icon-greenkeeper]][link-greenkeeper] | ||
[![Dependabot Status][icon-dependabot]][link-dependabot] | ||
@@ -28,4 +28,2 @@ [![Code Issues][icon-issues]][link-issues] | ||
With cosmiconfig 6.x | ||
```typescript | ||
@@ -54,17 +52,2 @@ import cosmiconfig from 'cosmiconfig'; | ||
With cosmiconfig 5.x | ||
```typescript | ||
import cosmiconfig from 'cosmiconfig'; | ||
import TypeScriptLoader from '@endemolshinegroup/cosmiconfig-typescript-loader'; | ||
const explorer = cosmiconfig('myModuleName', { | ||
loaders: { | ||
'.ts': { | ||
async: TypeScriptLoader, | ||
}, | ||
}, | ||
}); | ||
``` | ||
[icon-banner]: docs/assets/banner.png | ||
@@ -78,4 +61,4 @@ | ||
[link-ci]: https://travis-ci.com/EndemolShineGroup/cosmiconfig-typescript-loader | ||
[icon-greenkeeper]: https://img.shields.io/badge/greenkeeper-enabled-brightgreen.svg?longCache=true&style=flat-square | ||
[link-greenkeeper]: https://greenkeeper.io/ | ||
[icon-dependabot]: https://flat.badgen.net/dependabot/EndemolShineGroup/cosmiconfig-typescript-loader?icon=dependabot | ||
[link-dependabot]: https://dependabot.com/ | ||
@@ -82,0 +65,0 @@ [icon-issues]: https://img.shields.io/codeclimate/issues/EndemolShineGroup/cosmiconfig-typescript-loader.svg?longCache=true&style=flat-square |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
402666
37
77