Skip to content

Commit

Permalink
feat: add externsionAlias option support (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin committed Jul 19, 2022
1 parent 34a84c9 commit 42f2dd6
Show file tree
Hide file tree
Showing 8 changed files with 331 additions and 330 deletions.
5 changes: 5 additions & 0 deletions .changeset/khaki-lemons-sort.md
@@ -0,0 +1,5 @@
---
"eslint-import-resolver-typescript": patch
---

perf: cache `options` and `resolver`
7 changes: 7 additions & 0 deletions .changeset/shiny-kiwis-kiss.md
@@ -0,0 +1,7 @@
---
"eslint-import-resolver-typescript": patch
---

chore: align with Angular Package Format correctly

reference: https://angular.io/guide/angular-package-format
7 changes: 7 additions & 0 deletions .changeset/stale-eggs-mate.md
@@ -0,0 +1,7 @@
---
"eslint-import-resolver-typescript": minor
---

feat: add `externsionAlias` option support, `.d.([cm]?ts|tsx)` are always preferred than `.([cm]?js|jsx)`

`typescript` resolves `typescript/lib/typescript.d.ts` instead of `typescript/lib/typescript.js` by default
5 changes: 5 additions & 0 deletions .changeset/two-tables-study.md
@@ -0,0 +1,5 @@
---
"eslint-import-resolver-typescript": minor
---

feat: exports `globSync`, `defaultExtensions`, `defaultMainFields`, `defaultConditionNames` and `defaultExtensionAlias` for reusing
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -41,7 +41,7 @@
},
"funding": "https://opencollective.com/unts",
"license": "ISC",
"packageManager": "pnpm@7.5.1",
"packageManager": "pnpm@7.5.2",
"engines": {
"node": "^12.20.0 || ^14.18.0 || >=16.0.0"
},
Expand Down Expand Up @@ -103,16 +103,16 @@
"synckit": "^0.8.1"
},
"devDependencies": {
"@1stg/lib-config": "^9.0.0",
"@1stg/lib-config": "^9.0.1",
"@changesets/changelog-github": "^0.4.5",
"@changesets/cli": "^2.23.2",
"@mozilla/glean": "^1.0.0",
"@mozilla/glean": "^1.1.0",
"@size-limit/preset-small-lib": "^7.0.8",
"@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.0.5",
"@types/node": "^18.0.6",
"@types/unist": "^2.0.6",
"dummy.js": "link:dummy.js",
"eslint-import-resolver-typescript": "link:.",
Expand Down

0 comments on commit 42f2dd6

Please sign in to comment.