Skip to content

Commit 2e7b4f4

Browse files
authoredMar 23, 2022
fix: upgrade (dev)Dependencies (#99)
1 parent e7edc4f commit 2e7b4f4

File tree

4 files changed

+3819
-3025
lines changed

4 files changed

+3819
-3025
lines changed
 

‎.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/setup-node@v2
1919
with:
2020
node-version: ${{ matrix.node }}
21-
cach: yarn
21+
cache: yarn
2222

2323
- name: Install Dependencies
2424
run: yarn --frozen-lockfile

‎package.json

+26-22
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,15 @@
1111
"engines": {
1212
"node": ">=4"
1313
},
14-
"main": "lib/cjs",
15-
"module": "lib",
16-
"es2015": "lib/es2015",
17-
"fesm5": "lib/esm",
18-
"types": "lib",
14+
"main": "lib/index.cjs",
15+
"module": "lib/index.es2015.mjs",
16+
"exports": {
17+
"require": "./lib/index.cjs",
18+
"import": "./lib/index.es2015.mjs",
19+
"types": "./lib/index.d.ts"
20+
},
21+
"es2015": "lib/index.es2015.mjs",
22+
"types": "lib/index.d.ts",
1923
"files": [
2024
"lib",
2125
"!*.tsbuildinfo"
@@ -29,7 +33,7 @@
2933
],
3034
"scripts": {
3135
"build": "run-p build:*",
32-
"build:r": "r",
36+
"build:r": "r -f cjs,es2015",
3337
"build:ts": "tsc -b",
3438
"lint": "run-p lint:*",
3539
"lint:es": "eslint src --cache -f friendly",
@@ -52,30 +56,30 @@
5256
"eslint-plugin-import": "*"
5357
},
5458
"dependencies": {
55-
"debug": "^4.3.1",
56-
"glob": "^7.1.7",
57-
"is-glob": "^4.0.1",
58-
"resolve": "^1.20.0",
59-
"tsconfig-paths": "^3.9.0"
59+
"debug": "^4.3.4",
60+
"glob": "^7.2.0",
61+
"is-glob": "^4.0.3",
62+
"resolve": "^1.22.0",
63+
"tsconfig-paths": "^3.14.1"
6064
},
6165
"devDependencies": {
62-
"@1stg/lib-config": "^2.1.0",
63-
"@types/debug": "^4.1.5",
64-
"@types/glob": "^7.1.3",
65-
"@types/is-glob": "^4.0.1",
66-
"@types/node": "^15.6.1",
67-
"@types/resolve": "^1.20.0",
68-
"@types/unist": "^2.0.3",
66+
"@1stg/lib-config": "^5.1.1",
67+
"@types/debug": "^4.1.7",
68+
"@types/glob": "^7.2.0",
69+
"@types/is-glob": "^4.0.2",
70+
"@types/node": "^17.0.22",
71+
"@types/resolve": "^1.20.1",
72+
"@types/unist": "^2.0.6",
6973
"dummy.js": "link:dummy.js",
7074
"eslint-import-resolver-typescript": "link:.",
7175
"react": "^17.0.2",
72-
"standard-version": "^9.3.0",
73-
"type-coverage": "^2.17.5",
74-
"typescript": "^4.3.2"
76+
"standard-version": "^9.3.2",
77+
"type-coverage": "^2.21.1",
78+
"typescript": "^4.6.2"
7579
},
7680
"resolutions": {
7781
"eslint-import-resolver-typescript": "link:.",
78-
"prettier": "^2.3.0"
82+
"prettier": "^2.6.0"
7983
},
8084
"typeCoverage": {
8185
"atLeast": 99.28,

‎src/index.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import path from 'path'
22

3+
import debug from 'debug'
4+
import { sync as globSync } from 'glob'
5+
import isGlob from 'is-glob'
6+
import { isCore, sync, SyncOpts } from 'resolve'
37
import {
48
ConfigLoaderSuccessResult,
59
createMatchPath,
610
loadConfig,
711
ConfigLoaderResult,
812
} from 'tsconfig-paths'
9-
import { sync as globSync } from 'glob'
10-
import isGlob from 'is-glob'
11-
import { isCore, sync, SyncOpts } from 'resolve'
12-
import debug from 'debug'
1313

1414
const IMPORTER_NAME = 'eslint-import-resolver-typescript'
1515

0 commit comments

Comments
 (0)