babel-plugin-tsconfig-paths-module-resolver
Advanced tools
Comparing version 1.0.3 to 1.0.4
{ | ||
"name": "babel-plugin-tsconfig-paths-module-resolver", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A babel plugin that combines babel-plugin-module-resolver and tsconfig-paths to resolve tsconfig paths", | ||
@@ -46,21 +46,21 @@ "main": "./index.js", | ||
"devDependencies": { | ||
"@babel/cli": "^7.14.8", | ||
"@babel/core": "^7.15.0", | ||
"@babel/preset-env": "^7.15.0", | ||
"@babel/preset-typescript": "^7.15.0", | ||
"@types/jest": "^27.0.1", | ||
"@typescript-eslint/eslint-plugin": "^4.29.3", | ||
"@typescript-eslint/parser": "^4.29.3", | ||
"babel-eslint": "^10.1.0", | ||
"eslint": "^7.32.0", | ||
"eslint-config-react-app": "^6.0.0", | ||
"eslint-plugin-flowtype": "^5.9.1", | ||
"eslint-plugin-import": "^2.24.2", | ||
"eslint-plugin-jsx-a11y": "^6.4.1", | ||
"eslint-plugin-react": "^7.25.0", | ||
"eslint-plugin-react-hooks": "^4.2.0", | ||
"jest": "^27.1.0", | ||
"prettier": "^2.3.2", | ||
"semantic-release": "^17.4.7", | ||
"typescript": "^4.4.2" | ||
"@babel/cli": "7.19.3", | ||
"@babel/core": "7.19.3", | ||
"@babel/preset-env": "7.19.3", | ||
"@babel/preset-typescript": "7.18.6", | ||
"@types/jest": "27.0.1", | ||
"@typescript-eslint/eslint-plugin": "4.29.3", | ||
"@typescript-eslint/parser": "4.29.3", | ||
"babel-eslint": "10.1.0", | ||
"eslint": "7.32.0", | ||
"eslint-config-react-app": "6.0.0", | ||
"eslint-plugin-flowtype": "5.10.0", | ||
"eslint-plugin-import": "2.26.0", | ||
"eslint-plugin-jsx-a11y": "6.6.1", | ||
"eslint-plugin-react": "7.31.8", | ||
"eslint-plugin-react-hooks": "4.2.0", | ||
"jest": "27.1.0", | ||
"prettier": "2.7.1", | ||
"semantic-release": "17.4.7", | ||
"typescript": "4.8.4" | ||
}, | ||
@@ -67,0 +67,0 @@ "dependencies": { |
@@ -6,2 +6,4 @@ # babel-plugin-tsconfig-paths-module-resolver | ||
> Combines [`babel-plugin-module-resolver`][0] and [`tsconfig-paths`][1] to make a babel plugin that resolves [tsconfig paths][2]. | ||
> | ||
> Use tsconfig-paths in any bundler that supports a custom babel config. | ||
@@ -19,2 +21,11 @@ This library is a re-export of [`babel-plugin-module-resolver`](https://github.com/tleunen/babel-plugin-module-resolver) pre-configured with [tsconfig paths][2] support via the package [`tsconfig-paths`][1]. | ||
--- | ||
**How is this different from [`babel-plugin-tsconfig-paths`](https://github.com/Js-Brecht/babel-plugin-tsconfig-paths)?** | ||
1. It does less — as stated above, this library depends on battled tested libs ([`tsconfig-paths`][1] and [`babel-plugin-module-resolver`][0]) to do the actual logic. The source code for this library is around ~100 SLOC which makes it easy to test and maintain. | ||
2. It re-exports [`babel-plugin-module-resolver`][0] — giving you all the features of that babel plugin including [custom resolve functions](#resolvepath-and-createresolvepath). | ||
--- | ||
## Installation | ||
@@ -21,0 +32,0 @@ |
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
21228
143