Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add externsionAlias option support #154

Merged
merged 7 commits into from
Jul 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/khaki-lemons-sort.md
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
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