Skip to content

Commit 6547702

Browse files
committed
fix: Exclude @typescript-eslint/utils from the bundle
Fixes #425
1 parent c83b13a commit 6547702

File tree

3 files changed

+13
-10
lines changed

3 files changed

+13
-10
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test
1+
name: CI
22

33
on:
44
push:
@@ -21,6 +21,9 @@ jobs:
2121
- name: Install dependencies
2222
run: yarn install
2323

24+
- name: Check for duplicate dependencies
25+
run: yarn dedupe --check
26+
2427
- name: Check formatting
2528
run: yarn format:check
2629

src/rules/valid-test-tags.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { TSESTree } from '@typescript-eslint/utils'
1+
import type { TSESTree } from '@typescript-eslint/utils'
22
import type { Rule } from 'eslint'
33
import { createRule } from '../utils/createRule.js'
44
import { parseFnCall } from '../utils/parseFnCall.js'

yarn.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1383,7 +1383,7 @@ __metadata:
13831383
languageName: node
13841384
linkType: hard
13851385

1386-
"@typescript-eslint/parser@npm:8.52.0, @typescript-eslint/parser@npm:^8.11.0":
1386+
"@typescript-eslint/parser@npm:8.52.0":
13871387
version: 8.52.0
13881388
resolution: "@typescript-eslint/parser@npm:8.52.0"
13891389
dependencies:
@@ -1399,7 +1399,7 @@ __metadata:
13991399
languageName: node
14001400
linkType: hard
14011401

1402-
"@typescript-eslint/parser@npm:^8.56.0":
1402+
"@typescript-eslint/parser@npm:^8.11.0, @typescript-eslint/parser@npm:^8.56.0":
14031403
version: 8.56.0
14041404
resolution: "@typescript-eslint/parser@npm:8.56.0"
14051405
dependencies:
@@ -1441,7 +1441,7 @@ __metadata:
14411441
languageName: node
14421442
linkType: hard
14431443

1444-
"@typescript-eslint/scope-manager@npm:8.52.0, @typescript-eslint/scope-manager@npm:^8.51.0":
1444+
"@typescript-eslint/scope-manager@npm:8.52.0":
14451445
version: 8.52.0
14461446
resolution: "@typescript-eslint/scope-manager@npm:8.52.0"
14471447
dependencies:
@@ -1451,7 +1451,7 @@ __metadata:
14511451
languageName: node
14521452
linkType: hard
14531453

1454-
"@typescript-eslint/scope-manager@npm:8.56.0":
1454+
"@typescript-eslint/scope-manager@npm:8.56.0, @typescript-eslint/scope-manager@npm:^8.51.0":
14551455
version: 8.56.0
14561456
resolution: "@typescript-eslint/scope-manager@npm:8.56.0"
14571457
dependencies:
@@ -1461,7 +1461,7 @@ __metadata:
14611461
languageName: node
14621462
linkType: hard
14631463

1464-
"@typescript-eslint/tsconfig-utils@npm:8.52.0, @typescript-eslint/tsconfig-utils@npm:^8.52.0":
1464+
"@typescript-eslint/tsconfig-utils@npm:8.52.0":
14651465
version: 8.52.0
14661466
resolution: "@typescript-eslint/tsconfig-utils@npm:8.52.0"
14671467
peerDependencies:
@@ -1470,7 +1470,7 @@ __metadata:
14701470
languageName: node
14711471
linkType: hard
14721472

1473-
"@typescript-eslint/tsconfig-utils@npm:8.56.0, @typescript-eslint/tsconfig-utils@npm:^8.56.0":
1473+
"@typescript-eslint/tsconfig-utils@npm:8.56.0, @typescript-eslint/tsconfig-utils@npm:^8.52.0, @typescript-eslint/tsconfig-utils@npm:^8.56.0":
14741474
version: 8.56.0
14751475
resolution: "@typescript-eslint/tsconfig-utils@npm:8.56.0"
14761476
peerDependencies:
@@ -1495,14 +1495,14 @@ __metadata:
14951495
languageName: node
14961496
linkType: hard
14971497

1498-
"@typescript-eslint/types@npm:8.52.0, @typescript-eslint/types@npm:^8.52.0":
1498+
"@typescript-eslint/types@npm:8.52.0":
14991499
version: 8.52.0
15001500
resolution: "@typescript-eslint/types@npm:8.52.0"
15011501
checksum: 10c0/ad93803aa92570a96cc9f9a201735e68fecee9056a37563c9e5b70c16436927ac823ec38d9712881910d89dd7314b0a40100ef41ef1aca0d42674d3312d5ec8e
15021502
languageName: node
15031503
linkType: hard
15041504

1505-
"@typescript-eslint/types@npm:8.56.0, @typescript-eslint/types@npm:^8.56.0":
1505+
"@typescript-eslint/types@npm:8.56.0, @typescript-eslint/types@npm:^8.52.0, @typescript-eslint/types@npm:^8.56.0":
15061506
version: 8.56.0
15071507
resolution: "@typescript-eslint/types@npm:8.56.0"
15081508
checksum: 10c0/5deb4ebf5fa62f9f927f6aa45f7245aa03567e88941cd76e7b083175fd59fc40368a804ba7ff7581eac75706e42ddd5c77d2a60d6b1e76ab7865d559c9af9937

0 commit comments

Comments
 (0)