Skip to content

Commit 8efd302

Browse files
authored
chore(deps): migrate unrs-resolver to new oxc-resolver (#27)
1 parent 070e5e3 commit 8efd302

File tree

4 files changed

+1770
-1610
lines changed

4 files changed

+1770
-1610
lines changed

.changeset/bright-dodos-strive.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-import-context": minor
3+
---
4+
5+
chore(deps): migrate unrs-resolver to new oxc-resolver

package.json

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,10 @@
4343
"version": "changeset version && yarn --no-immutable"
4444
},
4545
"peerDependencies": {
46-
"unrs-resolver": "^1.0.0"
46+
"oxc-resolver": "^11.0.0"
4747
},
4848
"peerDependenciesMeta": {
49-
"unrs-resolver": {
49+
"oxc-resolver": {
5050
"optional": true
5151
}
5252
},
@@ -56,46 +56,47 @@
5656
},
5757
"devDependencies": {
5858
"@1stg/browserslist-config": "^2.1.4",
59-
"@1stg/common-config": "^14.2.0",
59+
"@1stg/common-config": "^14.3.0",
6060
"@1stg/postcss-config": "^6.1.0",
6161
"@1stg/stylelint-config": "^6.1.0",
6262
"@changesets/changelog-github": "^0.5.1",
63-
"@changesets/cli": "^2.29.5",
63+
"@changesets/cli": "^2.29.6",
6464
"@commitlint/cli": "^19.8.1",
65-
"@eslint-react/eslint-plugin": "^1.52.2",
65+
"@eslint-react/eslint-plugin": "^1.52.6",
6666
"@mdx-js/rollup": "^3.1.0",
67-
"@shikijs/rehype": "^3.7.0",
67+
"@shikijs/rehype": "^3.9.2",
6868
"@types/mdx": "^2.0.13",
69-
"@types/node": "^22.15.33",
70-
"@types/react": "^19.1.8",
71-
"@types/react-dom": "^19.1.6",
72-
"@types/web": "^0.0.243",
69+
"@types/node": "^24.3.0",
70+
"@types/react": "^19.1.10",
71+
"@types/react-dom": "^19.1.7",
72+
"@types/web": "^0.0.262",
7373
"@vercel/analytics": "^1.5.0",
74-
"@vitejs/plugin-react-swc": "^3.10.2",
74+
"@vitejs/plugin-react-swc": "^4.0.1",
7575
"@vitest/coverage-v8": "^3.2.4",
76-
"@vitest/eslint-plugin": "^1.2.7",
76+
"@vitest/eslint-plugin": "^1.3.4",
7777
"clean-pkg-json": "^1.3.0",
78-
"eslint": "^9.29.0",
78+
"eslint": "^9.33.0",
7979
"eslint-import-context": "link:.",
8080
"eslint-plugin-react-hooks": "^5.2.0",
8181
"github-markdown-css": "^5.8.1",
8282
"nano-staged": "^0.8.0",
8383
"npm-run-all2": "^8.0.4",
84+
"oxc-resolver": "^11.6.1",
8485
"premove": "^4.0.0",
85-
"prettier": "^3.6.1",
86-
"react": "^19.1.0",
87-
"react-dom": "^19.1.0",
88-
"react-router-dom": "^7.6.2",
86+
"prettier": "^3.6.2",
87+
"react": "^19.1.1",
88+
"react-dom": "^19.1.1",
89+
"react-router-dom": "^7.8.1",
8990
"rehype-slug": "^6.0.0",
9091
"remark-gfm": "^4.0.1",
91-
"simple-git-hooks": "^2.13.0",
92+
"simple-git-hooks": "^2.13.1",
9293
"size-limit": "^11.2.0",
9394
"size-limit-preset-node-lib": "^0.4.0",
94-
"stylelint": "^16.21.0",
95+
"stylelint": "^16.23.1",
9596
"type-coverage": "^2.29.7",
96-
"typescript": "^5.8.3",
97-
"unrs-resolver": "^1.9.2",
98-
"vite": "^7.0.0",
97+
"type-fest": "^4.41.0",
98+
"typescript": "^5.9.2",
99+
"vite": "^7.1.3",
99100
"vitest": "^3.2.4",
100101
"yarn-berry-deduplicate": "^6.1.3"
101102
},

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { TSESLint } from '@typescript-eslint/utils'
2+
import type { NapiResolveOptions } from 'oxc-resolver'
23
import type { KebabCase, LiteralUnion } from 'type-fest'
3-
import type { NapiResolveOptions } from 'unrs-resolver'
44

55
import type { PluginName } from './utils.js'
66

0 commit comments

Comments
 (0)