Skip to content

Commit

Permalink
fix: incorrect exports mapping (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Aug 22, 2022
1 parent ad82ea3 commit 00abb6f
Show file tree
Hide file tree
Showing 3 changed files with 289 additions and 109 deletions.
5 changes: 5 additions & 0 deletions .changeset/calm-ties-search.md
@@ -0,0 +1,5 @@
---
"eslint-import-resolver-typescript": patch
---

fix: incorrect exports mapping
18 changes: 10 additions & 8 deletions package.json
Expand Up @@ -41,22 +41,24 @@
},
"funding": "https://opencollective.com/unts",
"license": "ISC",
"packageManager": "pnpm@7.9.0",
"packageManager": "pnpm@7.9.3",
"engines": {
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
},
"main": "lib/index.cjs",
"module": "lib/index.js",
"exports": {
".": {
"require": "./lib/index.cjs",
"types": "./lib/index.d.ts",
"es2020": "./lib/index.es2020.mjs",
"fesm2020": "./lib/index.es2020.mjs",
"import": "./lib/index.js",
"types": "./lib/index.d.ts"
"require": "./lib/index.cjs"
},
"./package.json": "./package.json"
},
"es2015": "lib/index.js",
"fesm2015": "lib/index.es2015.mjs",
"es2020": "lib/index.es2020.mjs",
"fesm2020": "lib/index.es2020.mjs",
"types": "lib/index.d.ts",
"files": [
"lib",
Expand All @@ -71,7 +73,7 @@
],
"scripts": {
"build": "run-p build:*",
"build:r": "r -f cjs,es2015",
"build:r": "r -f cjs,es2020",
"build:ts": "tsc -b",
"lint": "run-p lint:*",
"lint:es": "eslint src --cache -f friendly",
Expand Down Expand Up @@ -103,15 +105,15 @@
"synckit": "^0.8.3"
},
"devDependencies": {
"@1stg/lib-config": "^10.0.0",
"@1stg/lib-config": "^10.1.1",
"@changesets/changelog-github": "^0.4.6",
"@changesets/cli": "^2.24.3",
"@mozilla/glean": "^1.1.0",
"@types/debug": "^4.1.7",
"@types/enhanced-resolve": "^3.0.7",
"@types/is-core-module": "^2.2.0",
"@types/is-glob": "^4.0.2",
"@types/node": "^18.7.6",
"@types/node": "^18.7.9",
"@types/unist": "^2.0.6",
"dummy.js": "link:dummy.js",
"react": "^18.2.0",
Expand Down

0 comments on commit 00abb6f

Please sign in to comment.