Skip to content

Commit 791400e

Browse files
committed
fix: fix TS type defs
1 parent 27315e5 commit 791400e

File tree

7 files changed

+284
-407
lines changed

7 files changed

+284
-407
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ version: 2.1
44
jobs:
55
build:
66
docker:
7-
- image: cimg/node:20.3.0
7+
- image: cimg/node:20.10.0
88

99
steps:
1010
- checkout

.vscode/launch.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "test:debug <file>",
6+
"port": 9229,
7+
"request": "attach",
8+
"skipFiles": ["<node_internals>/**"],
9+
"type": "node",
10+
"preLaunchTask": "test:debug <file>"
11+
}
12+
]
13+
}

.vscode/tasks.json

+59
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"type": "shell",
6+
"options": {
7+
"shell": {
8+
"executable": "bash",
9+
"args": ["-c", "-l"]
10+
}
11+
},
12+
"command": "pnpm",
13+
"isBackground": false,
14+
"group": "test",
15+
"presentation": {
16+
"panel": "dedicated",
17+
"clear": true
18+
},
19+
"label": "test <file>",
20+
"args": ["tc", "test", "${file}"]
21+
},
22+
{
23+
"type": "shell",
24+
"options": {
25+
"shell": {
26+
"executable": "bash",
27+
"args": ["-c", "-l"]
28+
}
29+
},
30+
"command": "pnpm",
31+
"isBackground": false,
32+
"group": "test",
33+
"presentation": {
34+
"panel": "dedicated",
35+
"clear": true
36+
},
37+
"label": "test:watch <file>",
38+
"args": ["tc", "test", "--watch", "${file}"]
39+
},
40+
{
41+
"type": "shell",
42+
"options": {
43+
"shell": {
44+
"executable": "bash",
45+
"args": ["-c", "-l"]
46+
}
47+
},
48+
"command": "pnpm",
49+
"isBackground": false,
50+
"group": "test",
51+
"presentation": {
52+
"panel": "dedicated",
53+
"clear": true
54+
},
55+
"label": "test:debug <file>",
56+
"args": ["tc", "test", "-n", "inspect-brk", "${file}"]
57+
}
58+
]
59+
}

package.json

+11-8
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,15 @@
3232
"@babel/eslint-parser": "^7.15.7",
3333
"@babel/plugin-syntax-flow": "^7.14.5",
3434
"@babel/plugin-transform-react-jsx": "^7.14.9",
35-
"@jcoreio/toolchain": "^3.2.2",
36-
"@jcoreio/toolchain-circle": "^3.2.2",
37-
"@jcoreio/toolchain-esnext": "^3.2.2",
38-
"@jcoreio/toolchain-flow": "^3.2.2",
39-
"@jcoreio/toolchain-mocha": "^3.2.2",
40-
"@jcoreio/toolchain-react": "^3.2.2",
41-
"@jcoreio/toolchain-semantic-release": "^3.2.2",
42-
"@jcoreio/toolchain-typescript": "^3.2.2",
35+
"@jcoreio/eslint-plugin-implicit-dependencies": "^1.1.1",
36+
"@jcoreio/toolchain": "^3.10.0",
37+
"@jcoreio/toolchain-circle": "^3.10.0",
38+
"@jcoreio/toolchain-esnext": "^3.10.0",
39+
"@jcoreio/toolchain-flow": "^3.10.0",
40+
"@jcoreio/toolchain-mocha": "^3.10.0",
41+
"@jcoreio/toolchain-react": "^3.10.0",
42+
"@jcoreio/toolchain-semantic-release": "^3.10.0",
43+
"@jcoreio/toolchain-typescript": "^3.10.0",
4344
"@testing-library/react": "^14.2.0",
4445
"@typescript-eslint/eslint-plugin": "^5.60.0",
4546
"@typescript-eslint/parser": "^5.60.0",
@@ -50,6 +51,7 @@
5051
"eslint": "^8.43.0",
5152
"eslint-config-prettier": "^8.3.0",
5253
"eslint-plugin-flowtype": "^8.0.3",
54+
"eslint-plugin-no-only-tests": "^3.1.0",
5355
"eslint-plugin-react": "^7.32.2",
5456
"flow-bin": "^0.161.0",
5557
"global-jsdom": "^9.0.1",
@@ -63,6 +65,7 @@
6365
},
6466
"dependencies": {
6567
"@babel/runtime": "^7.18.6",
68+
"@types/react": "^18.2.72",
6669
"prop-types": "^15.7.2"
6770
},
6871
"peerDependencies": {

0 commit comments

Comments
 (0)