@toptal/davinci-qa 11.3.1 → 11.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/dist-package/package.json +4 -1
- package/package.json +4 -1
- package/src/configs/jest/tests-setup.js +14 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## 11.3.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#1513](https://github.com/toptal/davinci/pull/1513) [`6be2dfce`](https://github.com/toptal/davinci/commit/6be2dfcef19103da21eb8b91727af82d237993c9) Thanks [@TomasSlama](https://github.com/TomasSlama)! - Make `@toptal/davinci-engine` peerDependency of `@toptal/davinci-qa`
|
|
8
|
+
|
|
9
|
+
* [#1512](https://github.com/toptal/davinci/pull/1512) [`cb8d7d5b`](https://github.com/toptal/davinci/commit/cb8d7d5b9a79208b8bd32a288c97e4fa951c78c9) Thanks [@augustobmoura](https://github.com/augustobmoura)! - - add condition to only configure `jest-styled-components` on projects that actually have `styled-components`
|
|
10
|
+
|
|
3
11
|
## 11.3.1
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-qa",
|
|
3
|
-
"version": "11.3.
|
|
3
|
+
"version": "11.3.2",
|
|
4
4
|
"description": "QA package to test your application",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -62,5 +62,8 @@
|
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"json5": "^2.2.1",
|
|
64
64
|
"mocha": "^10.0.0"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"@toptal/davinci-engine": "3 - 7"
|
|
65
68
|
}
|
|
66
69
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toptal/davinci-qa",
|
|
3
|
-
"version": "11.3.
|
|
3
|
+
"version": "11.3.2",
|
|
4
4
|
"description": "QA package to test your application",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -62,5 +62,8 @@
|
|
|
62
62
|
"devDependencies": {
|
|
63
63
|
"json5": "^2.2.1",
|
|
64
64
|
"mocha": "^10.0.0"
|
|
65
|
+
},
|
|
66
|
+
"peerDependencies": {
|
|
67
|
+
"@toptal/davinci-engine": "3 - 7"
|
|
65
68
|
}
|
|
66
69
|
}
|
|
@@ -1,3 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
const hasPackage = pkg => {
|
|
2
|
+
try {
|
|
3
|
+
require.resolve(pkg)
|
|
4
|
+
|
|
5
|
+
return true
|
|
6
|
+
} catch {
|
|
7
|
+
return false
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
if (hasPackage('styled-components')) {
|
|
12
|
+
require('jest-styled-components')
|
|
13
|
+
}
|
|
14
|
+
|
|
2
15
|
require('matchmedia-polyfill')
|
|
3
16
|
require('matchmedia-polyfill/matchMedia.addListener')
|