Skip to content

Commit 98321c4

Browse files
authored
fix: add missing (peer)Dependencies (#10)
1 parent 1d08a07 commit 98321c4

File tree

6 files changed

+69
-17
lines changed

6 files changed

+69
-17
lines changed

.changeset/clean-rocks-enter.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"eslint-import-context": patch
3+
---
4+
5+
fix: add missing (peer)Dependencies

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@ jobs:
4343
PARSER_NO_WATCH: true
4444

4545
- name: Codecov
46+
# bad Windows -- https://github.com/codecov/codecov-action/issues/1787
47+
if: ${{ !github.event.pull_request.head.repo.fork && matrix.os != 'windows-latest' }}
4648
uses: codecov/codecov-action@18283e04ce6e62d37312384ff67231eb8fd56d24 # v5.4.3
4749
with:
4850
token: ${{ secrets.CODECOV_TOKEN }}

.github/workflows/pkg-pr-new.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ jobs:
2828
run: yarn build
2929

3030
- name: Publish
31-
run: yarn dlx pkg-pr-new publish # --compact
31+
run: yarn dlx pkg-pr-new publish --compact

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
- name: Install Dependencies
3535
run: yarn --immutable
3636

37+
- name: Build
38+
run: yarn build
39+
3740
- name: Create Release Pull Request or Publish to npm
3841
uses: changesets/action@v1
3942
with:

package.json

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,24 @@
3636
"lint:style": "stylelint . --cache",
3737
"lint:tsc": "tsc -p tsconfig.base.json --noEmit",
3838
"prepare": "simple-git-hooks && yarn-berry-deduplicate || exit 0",
39-
"release": "yarn build && clean-pkg-json && changeset publish",
39+
"release": "clean-pkg-json && changeset publish",
4040
"serve": "vite preview",
4141
"test": "vitest run",
42-
"typecov": "type-coverage -p tsconfig.base.json ",
42+
"typecov": "type-coverage -p tsconfig.base.json",
4343
"version": "changeset version && yarn --no-immutable"
4444
},
45+
"peerDependencies": {
46+
"unrs-resolver": "^1.0.0"
47+
},
48+
"peerDependenciesMeta": {
49+
"unrs-resolver": {
50+
"optional": true
51+
}
52+
},
53+
"dependencies": {
54+
"get-tsconfig": "^4.10.1",
55+
"stable-hash": "^0.0.5"
56+
},
4557
"devDependencies": {
4658
"@1stg/browserslist-config": "^2.1.4",
4759
"@1stg/common-config": "^14.0.0",
@@ -64,6 +76,7 @@
6476
"@vitest/eslint-plugin": "^1.2.1",
6577
"clean-pkg-json": "^1.3.0",
6678
"eslint": "^9.27.0",
79+
"eslint-import-context": "link:.",
6780
"eslint-plugin-react-hooks": "^5.2.0",
6881
"github-markdown-css": "^5.8.1",
6982
"nano-staged": "^0.8.0",
@@ -81,6 +94,7 @@
8194
"stylelint": "^16.19.1",
8295
"type-coverage": "^2.29.7",
8396
"typescript": "^5.8.3",
97+
"unrs-resolver": "^1.7.2",
8498
"vite": "^6.3.5",
8599
"vitest": "^3.1.4",
86100
"yarn-berry-deduplicate": "^6.1.3"

yarn.lock

Lines changed: 42 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6640,7 +6640,19 @@ __metadata:
66406640
languageName: node
66416641
linkType: hard
66426642

6643-
"debug@npm:4, debug@npm:4.4.0, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.4, debug@npm:^4.3.6, debug@npm:^4.3.7, debug@npm:^4.4.0":
6643+
"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.4, debug@npm:^4.3.6, debug@npm:^4.3.7, debug@npm:^4.4.0, debug@npm:^4.4.1":
6644+
version: 4.4.1
6645+
resolution: "debug@npm:4.4.1"
6646+
dependencies:
6647+
ms: "npm:^2.1.3"
6648+
peerDependenciesMeta:
6649+
supports-color:
6650+
optional: true
6651+
checksum: 10c0/d2b44bc1afd912b49bb7ebb0d50a860dc93a4dd7d946e8de94abc957bb63726b7dd5aa48c18c2386c379ec024c46692e15ed3ed97d481729f929201e671fcd55
6652+
languageName: node
6653+
linkType: hard
6654+
6655+
"debug@npm:4.4.0":
66446656
version: 4.4.0
66456657
resolution: "debug@npm:4.4.0"
66466658
dependencies:
@@ -7321,7 +7333,13 @@ __metadata:
73217333
languageName: node
73227334
linkType: hard
73237335

7324-
"eslint-import-context@workspace:.":
7336+
"eslint-import-context@link:.::locator=eslint-import-context%40workspace%3A.":
7337+
version: 0.0.0-use.local
7338+
resolution: "eslint-import-context@link:.::locator=eslint-import-context%40workspace%3A."
7339+
languageName: node
7340+
linkType: soft
7341+
7342+
"eslint-import-context@npm:^0.1.3, eslint-import-context@workspace:.":
73257343
version: 0.0.0-use.local
73267344
resolution: "eslint-import-context@workspace:."
73277345
dependencies:
@@ -7346,7 +7364,9 @@ __metadata:
73467364
"@vitest/eslint-plugin": "npm:^1.2.1"
73477365
clean-pkg-json: "npm:^1.3.0"
73487366
eslint: "npm:^9.27.0"
7367+
eslint-import-context: "link:."
73497368
eslint-plugin-react-hooks: "npm:^5.2.0"
7369+
get-tsconfig: "npm:^4.10.1"
73507370
github-markdown-css: "npm:^5.8.1"
73517371
nano-staged: "npm:^0.8.0"
73527372
npm-run-all2: "npm:^8.0.3"
@@ -7360,12 +7380,19 @@ __metadata:
73607380
simple-git-hooks: "npm:^2.13.0"
73617381
size-limit: "npm:^11.2.0"
73627382
size-limit-preset-node-lib: "npm:^0.4.0"
7383+
stable-hash: "npm:^0.0.5"
73637384
stylelint: "npm:^16.19.1"
73647385
type-coverage: "npm:^2.29.7"
73657386
typescript: "npm:^5.8.3"
7387+
unrs-resolver: "npm:^1.7.2"
73667388
vite: "npm:^6.3.5"
73677389
vitest: "npm:^3.1.4"
73687390
yarn-berry-deduplicate: "npm:^6.1.3"
7391+
peerDependencies:
7392+
unrs-resolver: ^1.0.0
7393+
peerDependenciesMeta:
7394+
unrs-resolver:
7395+
optional: true
73697396
languageName: unknown
73707397
linkType: soft
73717398

@@ -7381,15 +7408,16 @@ __metadata:
73817408
linkType: hard
73827409

73837410
"eslint-import-resolver-typescript@npm:^4.3.5":
7384-
version: 4.3.5
7385-
resolution: "eslint-import-resolver-typescript@npm:4.3.5"
7411+
version: 4.4.0
7412+
resolution: "eslint-import-resolver-typescript@npm:4.4.0"
73867413
dependencies:
7387-
debug: "npm:^4.4.0"
7388-
get-tsconfig: "npm:^4.10.0"
7414+
debug: "npm:^4.4.1"
7415+
eslint-import-context: "npm:^0.1.3"
7416+
get-tsconfig: "npm:^4.10.1"
73897417
is-bun-module: "npm:^2.0.0"
73907418
stable-hash: "npm:^0.0.5"
73917419
tinyglobby: "npm:^0.2.13"
7392-
unrs-resolver: "npm:^1.6.3"
7420+
unrs-resolver: "npm:^1.7.2"
73937421
peerDependencies:
73947422
eslint: "*"
73957423
eslint-plugin-import: "*"
@@ -7399,7 +7427,7 @@ __metadata:
73997427
optional: true
74007428
eslint-plugin-import-x:
74017429
optional: true
7402-
checksum: 10c0/cc8f6e858b45d3a261dce4fec250a82f07c7356784ac8234cda9706386408a96c767599f2d0b9b84492bc79bed0eb24f6f376825662b8c4c66397738b5acba67
7430+
checksum: 10c0/97986ecf4b61789340180e1393fe357d9eabb8b35c9799c08aa7bcc5aa5f1f39addd1a8fd26088219691544ede9c12a2f59b767c4f145eb3653636c8c980f71e
74037431
languageName: node
74047432
linkType: hard
74057433

@@ -7475,14 +7503,14 @@ __metadata:
74757503
linkType: hard
74767504

74777505
"eslint-plugin-import-x@npm:^4.12.2":
7478-
version: 4.12.2
7479-
resolution: "eslint-plugin-import-x@npm:4.12.2"
7506+
version: 4.13.0
7507+
resolution: "eslint-plugin-import-x@npm:4.13.0"
74807508
dependencies:
74817509
"@typescript-eslint/utils": "npm:^8.31.0"
74827510
comment-parser: "npm:^1.4.1"
74837511
debug: "npm:^4.4.0"
7512+
eslint-import-context: "npm:^0.1.3"
74847513
eslint-import-resolver-node: "npm:^0.3.9"
7485-
get-tsconfig: "npm:^4.10.0"
74867514
is-glob: "npm:^4.0.3"
74877515
minimatch: "npm:^9.0.3 || ^10.0.1"
74887516
semver: "npm:^7.7.1"
@@ -7491,7 +7519,7 @@ __metadata:
74917519
unrs-resolver: "npm:^1.7.0"
74927520
peerDependencies:
74937521
eslint: ^8.57.0 || ^9.0.0
7494-
checksum: 10c0/c4a9eb3432e6591d6fa5f105f74db1836b5533585c57fd42e38f14d870bfeb99c7b4bad35f7e8ceab9792f86a93ddef5f43166b320ec622e7c567bbcb475dd88
7522+
checksum: 10c0/6abce8dbafc901b04acb42824b3cc266ece788bcfc4bb8d52b8d4e4c055ac24b94125ed769a80cdf3734ec908ddb716cf16edd5d3976d86373c565531d63625c
74957523
languageName: node
74967524
linkType: hard
74977525

@@ -8606,7 +8634,7 @@ __metadata:
86068634
languageName: node
86078635
linkType: hard
86088636

8609-
"get-tsconfig@npm:^4.10.0, get-tsconfig@npm:^4.8.1":
8637+
"get-tsconfig@npm:^4.10.1, get-tsconfig@npm:^4.8.1":
86108638
version: 4.10.1
86118639
resolution: "get-tsconfig@npm:4.10.1"
86128640
dependencies:
@@ -16374,7 +16402,7 @@ __metadata:
1637416402
languageName: node
1637516403
linkType: hard
1637616404

16377-
"unrs-resolver@npm:^1.6.3, unrs-resolver@npm:^1.7.0":
16405+
"unrs-resolver@npm:^1.7.0, unrs-resolver@npm:^1.7.2":
1637816406
version: 1.7.2
1637916407
resolution: "unrs-resolver@npm:1.7.2"
1638016408
dependencies:

0 commit comments

Comments
 (0)