Skip to content

Commit c0046a9

Browse files
authoredMar 26, 2025··
chore: migrate to rebranding unrs-resolver with new targets supported (#263)
1 parent 8e49a4f commit c0046a9

File tree

7 files changed

+486
-426
lines changed

7 files changed

+486
-426
lines changed
 

‎.changeset/chilly-news-drive.md

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
"eslint-plugin-import-x": patch
3+
---
4+
5+
chore: migrate to rebranding `unrs-resolver` with new targets supported:
6+
7+
- `i686-pc-windows-msvc`
8+
- `armv7-unknown-linux-musleabihf`
9+
- `powerpc64le-unknown-linux-gnu`
10+
- `s390x-unknown-linux-gnu`

‎.simple-git-hooks.js

-1
This file was deleted.

‎.simple-git-hooks.mjs

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export { default } from "@1stg/simple-git-hooks";

‎package.json

+27-27
Original file line numberDiff line numberDiff line change
@@ -49,77 +49,77 @@
4949
},
5050
"dependencies": {
5151
"@types/doctrine": "^0.0.9",
52-
"@typescript-eslint/utils": "^8.27.0",
52+
"@typescript-eslint/utils": "^8.28.0",
5353
"debug": "^4.4.0",
5454
"doctrine": "^3.0.0",
5555
"eslint-import-resolver-node": "^0.3.9",
5656
"get-tsconfig": "^4.10.0",
5757
"is-glob": "^4.0.3",
5858
"minimatch": "^10.0.1",
59-
"rspack-resolver": "^1.2.2",
6059
"semver": "^7.7.1",
6160
"stable-hash": "^0.0.5",
62-
"tslib": "^2.8.1"
61+
"tslib": "^2.8.1",
62+
"unrs-resolver": "^1.3.1"
6363
},
6464
"devDependencies": {
65-
"@1stg/commitlint-config": "^5.0.0",
66-
"@1stg/lint-staged": "^4.0.4",
67-
"@1stg/prettier-config": "^4.0.4",
68-
"@1stg/remark-preset": "^3.0.0",
69-
"@1stg/simple-git-hooks": "^0.2.4",
70-
"@1stg/tsconfig": "^3.0.0",
71-
"@angular-eslint/template-parser": "^19.2.1",
65+
"@1stg/commitlint-config": "^5.0.2",
66+
"@1stg/lint-staged": "^4.0.6",
67+
"@1stg/prettier-config": "^4.0.5",
68+
"@1stg/remark-preset": "^3.0.1",
69+
"@1stg/simple-git-hooks": "^1.0.1",
70+
"@1stg/tsconfig": "^3.0.1",
71+
"@angular-eslint/template-parser": "^19.3.0",
7272
"@babel/core": "^7.26.10",
73-
"@babel/eslint-parser": "^7.26.10",
73+
"@babel/eslint-parser": "^7.27.0",
7474
"@babel/plugin-proposal-decorators": "^7.25.9",
7575
"@babel/plugin-proposal-export-default-from": "^7.25.9",
7676
"@babel/preset-env": "^7.26.9",
7777
"@babel/preset-flow": "^7.25.9",
7878
"@babel/preset-react": "^7.26.3",
79-
"@babel/preset-typescript": "^7.26.0",
79+
"@babel/preset-typescript": "^7.27.0",
8080
"@babel/register": "^7.25.9",
8181
"@changesets/changelog-github": "^0.5.1",
8282
"@changesets/cli": "^2.28.1",
8383
"@commitlint/cli": "^19.8.0",
8484
"@eslint/import-test-order-redirect-scoped": "link:./test/fixtures/order-redirect-scoped",
8585
"@swc-node/jest": "^1.8.13",
86-
"@swc/core": "^1.11.11",
86+
"@swc/core": "^1.11.13",
8787
"@swc/helpers": "^0.5.15",
8888
"@test-scope/some-module": "link:./test/fixtures/symlinked-module",
8989
"@total-typescript/ts-reset": "^0.6.1",
9090
"@types/debug": "^4.1.12",
9191
"@types/eslint": "^9.6.1",
92-
"@types/eslint8.56": "npm:@types/eslint@~8.56.0",
92+
"@types/eslint8.56": "npm:@types/eslint@~8.56.12",
9393
"@types/is-glob": "^4.0.4",
9494
"@types/jest": "^29.5.14",
9595
"@types/json-schema": "^7.0.15",
9696
"@types/klaw-sync": "^6.0.5",
97-
"@types/node": "^20.17.24",
97+
"@types/node": "^20.17.27",
9898
"@types/pnpapi": "^0.0.5",
99-
"@typescript-eslint/eslint-plugin": "^8.27.0",
100-
"@typescript-eslint/parser": "^8.27.0",
101-
"@typescript-eslint/rule-tester": "^8.27.0",
99+
"@typescript-eslint/eslint-plugin": "^8.28.0",
100+
"@typescript-eslint/parser": "^8.28.0",
101+
"@typescript-eslint/rule-tester": "^8.28.0",
102102
"@unts/patch-package": "^8.1.1",
103103
"clean-pkg-json": "^1.2.1",
104104
"cross-env": "^7.0.3",
105-
"eslint": "^9.22.0",
105+
"eslint": "^9.23.0",
106106
"eslint-config-prettier": "^10.1.1",
107107
"eslint-doc-generator": "^2.1.2",
108-
"eslint-import-resolver-typescript": "^4.2.2",
108+
"eslint-import-resolver-typescript": "^4.2.4",
109109
"eslint-import-resolver-webpack": "^0.13.10",
110110
"eslint-import-test-order-redirect": "link:./test/fixtures/order-redirect",
111111
"eslint-plugin-eslint-plugin": "^6.4.0",
112112
"eslint-plugin-import-x": "link:.",
113113
"eslint-plugin-jest": "^28.11.0",
114114
"eslint-plugin-json": "^4.0.1",
115-
"eslint-plugin-mdx": "^3.2.0",
116-
"eslint-plugin-n": "^17.16.2",
117-
"eslint-plugin-prettier": "^5.2.3",
115+
"eslint-plugin-mdx": "^3.3.1",
116+
"eslint-plugin-n": "^17.17.0",
117+
"eslint-plugin-prettier": "^5.2.5",
118118
"eslint-plugin-unicorn": "^56.0.1",
119119
"eslint-plugin-yml": "^1.17.0",
120120
"eslint8.56": "npm:eslint@~8.56.0",
121-
"eslint9": "npm:eslint@^9.22.0",
122-
"hermes-eslint": "^0.26.0",
121+
"eslint9": "npm:eslint@^9.23.0",
122+
"hermes-eslint": "^0.27.0",
123123
"jest": "^29.7.0",
124124
"klaw-sync": "^7.0.0",
125125
"lint-staged": "^15.5.0",
@@ -128,10 +128,10 @@
128128
"prettier": "^3.5.3",
129129
"redux": "^5.0.1",
130130
"rimraf": "^6.0.1",
131-
"simple-git-hooks": "^2.11.1",
131+
"simple-git-hooks": "^2.12.1",
132132
"tinyexec": "^0.3.2",
133133
"ts-node": "^10.9.2",
134-
"type-fest": "^4.37.0",
134+
"type-fest": "^4.38.0",
135135
"typescript": "^5.8.2",
136136
"yarn-berry-deduplicate": "^6.1.1",
137137
"zod": "^3.24.2"

‎src/node-resolver.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import module from 'node:module'
22
import path from 'node:path'
33

4-
import { ResolverFactory } from 'rspack-resolver'
5-
import type { NapiResolveOptions as ResolveOptions } from 'rspack-resolver'
4+
import { ResolverFactory } from 'unrs-resolver'
5+
import type { NapiResolveOptions as ResolveOptions } from 'unrs-resolver'
66

77
import type { NewResolver } from './types'
88

‎src/types.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { TSESLint, TSESTree } from '@typescript-eslint/utils'
22
import type { MinimatchOptions } from 'minimatch'
3-
import type { NapiResolveOptions as ResolveOptions } from 'rspack-resolver'
43
import type { KebabCase } from 'type-fest'
4+
import type { NapiResolveOptions as ResolveOptions } from 'unrs-resolver'
55

66
import type { ImportType as ImportType_, PluginName } from './utils'
77
import type {

‎yarn.lock

+445-395
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)
Please sign in to comment.