Skip to content

Commit 1682f5a

Browse files
alexkrolickKent C. Dodds
authored and
Kent C. Dodds
committed
fix(TS): move typings to DefinitelyTyped (#337)
People should not need to make any changes to upgrade to this. We're just moving to DefinitelyTyped to improve maintenance of the typings. Co-authored-by: Kent C. Dodds <[email protected]>
1 parent 0ebca46 commit 1682f5a

17 files changed

+3
-443
lines changed

package.json

+3-6
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"module": "dist/@testing-library/dom.esm.js",
77
"umd:main": "dist/@testing-library/dom.umd.js",
88
"source": "src/index.js",
9-
"typings": "typings",
109
"keywords": [
1110
"testing",
1211
"ui",
@@ -30,28 +29,26 @@
3029
"test:update": "npm test -- --updateSnapshot --coverage",
3130
"test:debug": "node --inspect-brk ./node_modules/.bin/jest --watch --runInBand",
3231
"validate": "kcd-scripts validate",
33-
"setup": "npm install && npm run validate -s",
34-
"dtslint": "dtslint typings"
32+
"setup": "npm install && npm run validate -s"
3533
},
3634
"husky": {
3735
"hooks": {
3836
"pre-commit": "kcd-scripts pre-commit"
3937
}
4038
},
4139
"files": [
42-
"dist",
43-
"typings"
40+
"dist"
4441
],
4542
"dependencies": {
4643
"@babel/runtime": "^7.5.5",
4744
"@sheerun/mutationobserver-shim": "^0.3.2",
45+
"@types/testing-library__dom": "^6.0.0",
4846
"aria-query": "3.0.0",
4947
"pretty-format": "^24.8.0",
5048
"wait-for-expect": "^1.3.0"
5149
},
5250
"devDependencies": {
5351
"@testing-library/jest-dom": "^4.0.0",
54-
"dtslint": "^0.9.1",
5552
"jest-in-case": "^1.0.2",
5653
"jest-serializer-ansi": "^1.0.3",
5754
"jest-watch-select-projects": "^0.1.1",

typings/config.d.ts

-10
This file was deleted.

typings/events.d.ts

-102
This file was deleted.

typings/get-node-text.d.ts

-1
This file was deleted.

typings/get-queries-for-element.d.ts

-33
This file was deleted.

typings/index.d.ts

-20
This file was deleted.

typings/matches.d.ts

-31
This file was deleted.

typings/pretty-dom.d.ts

-7
This file was deleted.

typings/queries.d.ts

-116
This file was deleted.

0 commit comments

Comments
 (0)