Skip to content

Commit

Permalink
fix(TS): move typings to DefinitelyTyped (#337)
Browse files Browse the repository at this point in the history
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 <kent@doddsfamily.us>
  • Loading branch information
2 people authored and Kent C. Dodds committed Aug 15, 2019
1 parent 0ebca46 commit 1682f5a
Show file tree
Hide file tree
Showing 17 changed files with 3 additions and 443 deletions.
9 changes: 3 additions & 6 deletions package.json
Expand Up @@ -6,7 +6,6 @@
"module": "dist/@testing-library/dom.esm.js",
"umd:main": "dist/@testing-library/dom.umd.js",
"source": "src/index.js",
"typings": "typings",
"keywords": [
"testing",
"ui",
Expand All @@ -30,28 +29,26 @@
"test:update": "npm test -- --updateSnapshot --coverage",
"test:debug": "node --inspect-brk ./node_modules/.bin/jest --watch --runInBand",
"validate": "kcd-scripts validate",
"setup": "npm install && npm run validate -s",
"dtslint": "dtslint typings"
"setup": "npm install && npm run validate -s"
},
"husky": {
"hooks": {
"pre-commit": "kcd-scripts pre-commit"
}
},
"files": [
"dist",
"typings"
"dist"
],
"dependencies": {
"@babel/runtime": "^7.5.5",
"@sheerun/mutationobserver-shim": "^0.3.2",
"@types/testing-library__dom": "^6.0.0",
"aria-query": "3.0.0",
"pretty-format": "^24.8.0",
"wait-for-expect": "^1.3.0"
},
"devDependencies": {
"@testing-library/jest-dom": "^4.0.0",
"dtslint": "^0.9.1",
"jest-in-case": "^1.0.2",
"jest-serializer-ansi": "^1.0.3",
"jest-watch-select-projects": "^0.1.1",
Expand Down
10 changes: 0 additions & 10 deletions typings/config.d.ts

This file was deleted.

102 changes: 0 additions & 102 deletions typings/events.d.ts

This file was deleted.

1 change: 0 additions & 1 deletion typings/get-node-text.d.ts

This file was deleted.

33 changes: 0 additions & 33 deletions typings/get-queries-for-element.d.ts

This file was deleted.

20 changes: 0 additions & 20 deletions typings/index.d.ts

This file was deleted.

31 changes: 0 additions & 31 deletions typings/matches.d.ts

This file was deleted.

7 changes: 0 additions & 7 deletions typings/pretty-dom.d.ts

This file was deleted.

116 changes: 0 additions & 116 deletions typings/queries.d.ts

This file was deleted.

0 comments on commit 1682f5a

Please sign in to comment.