@testing-library/cypress
Advanced tools
Comparing version 4.1.0 to 4.1.1
{ | ||
"name": "@testing-library/cypress", | ||
"version": "4.1.0", | ||
"version": "4.1.1", | ||
"description": "Simple and complete custom Cypress commands and utilities that encourage good testing practices.", | ||
"main": "dist/index.js", | ||
"typings": "typings", | ||
"engines": { | ||
@@ -13,3 +12,3 @@ "node": ">=8" | ||
"lint": "kcd-scripts lint", | ||
"test": "npm-run-all --parallel test:unit test:cypress test:typings", | ||
"test": "npm-run-all --parallel test:unit test:cypress", | ||
"test:unit": "kcd-scripts test --no-watch", | ||
@@ -22,7 +21,4 @@ "test:unit:watch": "kcd-scripts test", | ||
"test:cypress:dev": "npm-run-all --silent --parallel --race test:cypress:serve test:cypress:open", | ||
"test:typings": "tsc -p tests/typescript-types/ --noemit", | ||
"test:typings:watch": "tsc -p tests/typescript-types/ --noemit --watch", | ||
"validate": "kcd-scripts validate build,lint,test", | ||
"setup": "npm install && npm run validate -s", | ||
"dtslint": "dtslint typings" | ||
"setup": "npm install && npm run validate -s" | ||
}, | ||
@@ -36,4 +32,3 @@ "husky": { | ||
"dist", | ||
"add-commands.js", | ||
"typings" | ||
"add-commands.js" | ||
], | ||
@@ -54,12 +49,10 @@ "keywords": [ | ||
"@babel/runtime": "^7.5.5", | ||
"@testing-library/dom": "^6.0.0" | ||
"@testing-library/dom": "^6.0.0", | ||
"@types/testing-library__cypress": "^4.1.0" | ||
}, | ||
"devDependencies": { | ||
"@types/jquery": "*", | ||
"cypress": "3.4.1", | ||
"dtslint": "^0.9.1", | ||
"kcd-scripts": "^1.5.2", | ||
"npm-run-all": "^4.1.2", | ||
"serve": "^11.1.0", | ||
"typescript": "^3.5.3", | ||
"wait-port": "^0.2.2" | ||
@@ -66,0 +59,0 @@ }, |
@@ -28,3 +28,3 @@ <div align="center"> | ||
[![All Contributors](https://img.shields.io/badge/all_contributors-19-orange.svg?style=flat-square)](#contributors) | ||
[![All Contributors](https://img.shields.io/badge/all_contributors-21-orange.svg?style=flat-square)](#contributors) | ||
[![PRs Welcome][prs-badge]][prs] [![Code of Conduct][coc-badge]][coc] | ||
@@ -61,2 +61,3 @@ | ||
- [Installation](#installation) | ||
@@ -82,4 +83,4 @@ - [With TypeScript](#with-typescript) | ||
Typings are defined under `@testing-library/cypress/typings`, and should be | ||
added as follows in `tsconfig.json`: | ||
Typings are defined in `@types/testing-library__cypress` at [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/testing-library__cypress), | ||
and should be added as follows in `tsconfig.json`: | ||
@@ -89,3 +90,3 @@ ```json | ||
"compilerOptions": { | ||
"types": ["cypress", "../@testing-library/cypress/typings"] | ||
"types": ["cypress", "@types/testing-library__cypress"] | ||
} | ||
@@ -95,13 +96,2 @@ } | ||
Or if tsconfig.json has a `baseUrl` of `../node_modules` as recommended in | ||
the official Cypress documentation use: | ||
```json | ||
{ | ||
"compilerOptions": { | ||
"types": ["cypress", "@testing-library/cypress/typings"] | ||
} | ||
} | ||
``` | ||
## Usage | ||
@@ -121,3 +111,3 @@ | ||
You can find [all Library definitions here](./typings/index.d.ts). | ||
You can find [all Library definitions here](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/testing-library__cypress/index.d.ts). | ||
@@ -182,2 +172,4 @@ To show some simple examples (from | ||
<td align="center"><a href="https://github.com/weyert"><img src="https://avatars3.githubusercontent.com/u/7049?v=4" width="100px;" alt="Weyert de Boer"/><br /><sub><b>Weyert de Boer</b></sub></a><br /><a href="https://github.com/testing-library/cypress-testing-library/commits?author=weyert" title="Code">💻</a></td> | ||
<td align="center"><a href="https://simjes.dev/"><img src="https://avatars0.githubusercontent.com/u/6494049?v=4" width="100px;" alt="Simon Jespersen"/><br /><sub><b>Simon Jespersen</b></sub></a><br /><a href="https://github.com/testing-library/cypress-testing-library/commits?author=simjes" title="Code">💻</a> <a href="#review-simjes" title="Reviewed Pull Requests">👀</a></td> | ||
<td align="center"><a href="https://afontcu.dev"><img src="https://avatars0.githubusercontent.com/u/9197791?v=4" width="100px;" alt="Adrià Fontcuberta"/><br /><sub><b>Adrià Fontcuberta</b></sub></a><br /><a href="#infra-afontcu" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a></td> | ||
</tr> | ||
@@ -184,0 +176,0 @@ </table> |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
5
22291
4
8
98
221
2
+ Added@types/jquery@3.5.30(transitive)
+ Added@types/sizzle@2.3.8(transitive)
+ Added@types/testing-library__cypress@4.2.0(transitive)