@html-validate/jest-config 3.0.0 → 3.1.0

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/jest-preset.js CHANGED
@@ -8,8 +8,9 @@ module.exports = {
8
8
  "!**/*.spec.[jt]s",
9
9
  "!**/*.d.ts",
10
10
  "!**/index.[jt]s",
11
+ "!**/__fixtures__/**",
11
12
  ],
12
- coverageReporters: ["text", "text-summary", "html", "json", "lcov"],
13
+ coverageReporters: ["text", "text-summary", "cobertura", "html", "json", "lcov"],
13
14
  reporters: [
14
15
  "default",
15
16
  [
@@ -20,6 +21,9 @@ module.exports = {
20
21
  },
21
22
  ],
22
23
  ],
24
+ snapshotFormat: {
25
+ escapeString: false,
26
+ },
23
27
  snapshotSerializers: [
24
28
  path.join(path.dirname(require.resolve("pretty-format")), "plugins/ConvertAnsi"),
25
29
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@html-validate/jest-config",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "Jest sharable preset used by the various HTML-validate packages",
5
5
  "keywords": [
6
6
  "jest"
@@ -23,7 +23,6 @@
23
23
  "prepare": "husky install",
24
24
  "prettier:check": "prettier --check .",
25
25
  "prettier:write": "prettier --write .",
26
- "semantic-release": "semantic-release",
27
26
  "test": "jest"
28
27
  },
29
28
  "husky": {
@@ -33,9 +32,7 @@
33
32
  }
34
33
  },
35
34
  "commitlint": {
36
- "extends": [
37
- "@html-validate"
38
- ]
35
+ "extends": "@html-validate"
39
36
  },
40
37
  "lint-staged": {
41
38
  "*.{js,json,md}": "prettier --write"
@@ -52,15 +49,12 @@
52
49
  "pretty-format": "^27.0.0"
53
50
  },
54
51
  "devDependencies": {
55
- "@commitlint/cli": "13.2.0",
56
- "@html-validate/commitlint-config": "2.0.0",
57
- "@html-validate/prettier-config": "2.0.0",
58
- "@html-validate/semantic-release-config": "3.0.0",
59
- "@types/jest": "27.0.2",
60
- "husky": "7.0.2",
61
- "lint-staged": "11.2.0",
62
- "prettier": "2.4.1",
63
- "semantic-release": "18.0.0"
52
+ "@html-validate/commitlint-config": "2.1.9",
53
+ "@html-validate/prettier-config": "2.1.0",
54
+ "@types/jest": "27.4.1",
55
+ "husky": "7.0.4",
56
+ "lint-staged": "12.4.1",
57
+ "prettier": "2.6.2"
64
58
  },
65
59
  "peerDependencies": {
66
60
  "jest": "^24 || ^25 || ^26 || ^27",
package/CHANGELOG.md DELETED
@@ -1,231 +0,0 @@
1
- # @html-validate/jest-config changelog
2
-
3
- ## [3.0.0](https://gitlab.com/html-validate/jest-config/compare/v2.2.0...v3.0.0) (2021-10-10)
4
-
5
- ### ⚠ BREAKING CHANGES
6
-
7
- - **deps:** Update dependency jest-junit to v13
8
-
9
- ### Dependency upgrades
10
-
11
- - **deps:** Update dependency jest-junit to v13 ([76cd448](https://gitlab.com/html-validate/jest-config/commit/76cd448bfe71eaa0e70b29e77a52d34a28f3ed33))
12
-
13
- ## [2.2.0](https://gitlab.com/html-validate/jest-config/compare/v2.1.0...v2.2.0) (2021-06-16)
14
-
15
- ### Features
16
-
17
- - compatibility with older jest versions ([2f8b37b](https://gitlab.com/html-validate/jest-config/commit/2f8b37be8078f87704f9414e6b154de6481111ac))
18
-
19
- ## [2.1.0](https://gitlab.com/html-validate/jest-config/compare/v2.0.0...v2.1.0) (2021-05-31)
20
-
21
- ### Features
22
-
23
- - convert ansi in snapshots ([158b13b](https://gitlab.com/html-validate/jest-config/commit/158b13b982404585e950799dbcb62bbeeb33515d))
24
-
25
- ### Bug Fixes
26
-
27
- - serializer path ([1566a55](https://gitlab.com/html-validate/jest-config/commit/1566a552da12d07b98021946b458c99b104df2b1))
28
- - use `require.resolve` to resolve dependencies ([34b34f6](https://gitlab.com/html-validate/jest-config/commit/34b34f6595ba8b846f66d74b02bb684876cd41a1))
29
-
30
- ### Dependency upgrades
31
-
32
- - **deps:** relax dependency ranges ([d57987b](https://gitlab.com/html-validate/jest-config/commit/d57987bf51e792c842f94ce694662d5da49bc386))
33
- - **deps:** require jest 27.x ([bdc3650](https://gitlab.com/html-validate/jest-config/commit/bdc3650c3dc5e2f091e48cc9997c51cd4aefede5))
34
-
35
- ## [2.0.0](https://gitlab.com/html-validate/jest-config/compare/v1.2.10...v2.0.0) (2021-05-28)
36
-
37
- ### ⚠ BREAKING CHANGES
38
-
39
- - **deps:** Update dependency ts-jest to v27
40
-
41
- ### Dependency upgrades
42
-
43
- - **deps:** update dependency jest-junit to v12.1.0 ([d99dae7](https://gitlab.com/html-validate/jest-config/commit/d99dae73b7bd7a26702f1e6972568d26c7f704e0))
44
- - **deps:** Update dependency ts-jest to v27 ([1cffaba](https://gitlab.com/html-validate/jest-config/commit/1cffaba9c828b40bfb02f3a790bf354adf4727c5))
45
-
46
- ### [1.2.10](https://gitlab.com/html-validate/jest-config/compare/v1.2.9...v1.2.10) (2021-05-09)
47
-
48
- ### Dependency upgrades
49
-
50
- - **deps:** update dependency ts-jest to v26.5.6 ([ad365c7](https://gitlab.com/html-validate/jest-config/commit/ad365c70ee6e3f90a92eee48ac3440ac4d5fa3a4))
51
-
52
- ### [1.2.9](https://gitlab.com/html-validate/jest-config/compare/v1.2.8...v1.2.9) (2021-04-18)
53
-
54
- ### Dependency upgrades
55
-
56
- - **deps:** update dependency ts-jest to v26.5.5 ([c8ec4f2](https://gitlab.com/html-validate/jest-config/commit/c8ec4f2e5e0a74a6f98a41028603197a259668d6))
57
-
58
- ### [1.2.8](https://gitlab.com/html-validate/jest-config/compare/v1.2.7...v1.2.8) (2021-03-21)
59
-
60
- ### Dependency upgrades
61
-
62
- - **deps:** update dependency ts-jest to v26.5.4 ([bb2ce7d](https://gitlab.com/html-validate/jest-config/commit/bb2ce7d46974d3b7f9d8fa09be3d4fb9710995d6))
63
-
64
- ### [1.2.7](https://gitlab.com/html-validate/jest-config/compare/v1.2.6...v1.2.7) (2021-03-07)
65
-
66
- ### Dependency upgrades
67
-
68
- - **deps:** update dependency ts-jest to v26.5.3 ([ad9c2a1](https://gitlab.com/html-validate/jest-config/commit/ad9c2a1a7ae2314520efdc1f3becd020d3624d2f))
69
-
70
- ### [1.2.6](https://gitlab.com/html-validate/jest-config/compare/v1.2.5...v1.2.6) (2021-02-28)
71
-
72
- ### Dependency upgrades
73
-
74
- - **deps:** update dependency ts-jest to v26.5.2 ([ed174cf](https://gitlab.com/html-validate/jest-config/commit/ed174cf05ca2f75b504953bb1a20b303feaf0eb9))
75
-
76
- ### [1.2.5](https://gitlab.com/html-validate/jest-config/compare/v1.2.4...v1.2.5) (2021-02-14)
77
-
78
- ### Dependency upgrades
79
-
80
- - **deps:** update dependency ts-jest to v26.5.1 ([50532ab](https://gitlab.com/html-validate/jest-config/commit/50532abbb48fe8d1c66a2261590929ebb02f58ce))
81
-
82
- ### [1.2.4](https://gitlab.com/html-validate/jest-config/compare/v1.2.3...v1.2.4) (2021-01-31)
83
-
84
- ### Dependency upgrades
85
-
86
- - **deps:** update dependency ts-jest to v26.5.0 ([484f358](https://gitlab.com/html-validate/jest-config/commit/484f358ba5760b8f9a1f84c48597d6dfa694803d))
87
-
88
- ### [1.2.3](https://gitlab.com/html-validate/jest-config/compare/v1.2.2...v1.2.3) (2020-12-19)
89
-
90
- ### Bug Fixes
91
-
92
- - fix monorepo regexp ([eb8ecec](https://gitlab.com/html-validate/jest-config/commit/eb8ecec013243fd25ad12d2e224b90a6f7466a9a))
93
-
94
- ### [1.2.2](https://gitlab.com/html-validate/jest-config/compare/v1.2.1...v1.2.2) (2020-12-19)
95
-
96
- ### Bug Fixes
97
-
98
- - coverage in monorepo layout ([3ae96ab](https://gitlab.com/html-validate/jest-config/commit/3ae96ab77d4f4836b7b30249676c4e244ceccfba))
99
-
100
- ### [1.2.1](https://gitlab.com/html-validate/jest-config/compare/v1.2.0...v1.2.1) (2020-12-19)
101
-
102
- ### Bug Fixes
103
-
104
- - ignore compiled specs in monorepo layout ([51641c0](https://gitlab.com/html-validate/jest-config/commit/51641c0d04031c7073f6e6648e525d520c46be92))
105
-
106
- ## [1.2.0](https://gitlab.com/html-validate/jest-config/compare/v1.1.0...v1.2.0) (2020-11-29)
107
-
108
- ### Features
109
-
110
- - include `ts-jest` dependency ([bcdf5fd](https://gitlab.com/html-validate/jest-config/commit/bcdf5fd8b8b41b62ab0a53ef4f13cb4eb1648210))
111
-
112
- ## [1.1.0](https://gitlab.com/html-validate/jest-config/compare/v1.0.34...v1.1.0) (2020-11-22)
113
-
114
- ### Features
115
-
116
- - ignore tests from cypress folder ([1bc0344](https://gitlab.com/html-validate/jest-config/commit/1bc03443882fddb2c37d7e85f533352d10b49bc5))
117
-
118
- ### [1.0.34](https://gitlab.com/html-validate/jest-config/compare/v1.0.33...v1.0.34) (2020-11-14)
119
-
120
- ### Bug Fixes
121
-
122
- - coverage report as json and lcov ([5a15f45](https://gitlab.com/html-validate/jest-config/commit/5a15f4528e7b502aad6a868cad8e88ed34fd97ad))
123
- - ignore coverage for `index.[jt]s` ([2cb7c3d](https://gitlab.com/html-validate/jest-config/commit/2cb7c3d8035a94a1efb721c03914af514b33d154))
124
-
125
- ### [1.0.33](https://gitlab.com/html-validate/jest-config/compare/v1.0.32...v1.0.33) (2020-11-05)
126
-
127
- ### Bug Fixes
128
-
129
- - ignore `dist` folder ([24d4030](https://gitlab.com/html-validate/jest-config/commit/24d4030799826f9354939388b5feb79c1f5669e3))
130
-
131
- ## [1.0.32](https://gitlab.com/html-validate/jest-config/compare/v1.0.31...v1.0.32) (2020-11-01)
132
-
133
- ## [1.0.31](https://gitlab.com/html-validate/jest-config/compare/v1.0.30...v1.0.31) (2020-10-25)
134
-
135
- ## [1.0.30](https://gitlab.com/html-validate/jest-config/compare/v1.0.29...v1.0.30) (2020-10-18)
136
-
137
- ## [1.0.29](https://gitlab.com/html-validate/jest-config/compare/v1.0.28...v1.0.29) (2020-10-11)
138
-
139
- ### Bug Fixes
140
-
141
- - **deps:** update dependency jest-junit to v12 ([c99067b](https://gitlab.com/html-validate/jest-config/commit/c99067ba9be2519fca8a7cd1a353cc50fc1469fa))
142
-
143
- ## [1.0.28](https://gitlab.com/html-validate/jest-config/compare/v1.0.27...v1.0.28) (2020-10-04)
144
-
145
- ## [1.0.27](https://gitlab.com/html-validate/jest-config/compare/v1.0.26...v1.0.27) (2020-09-27)
146
-
147
- ## [1.0.26](https://gitlab.com/html-validate/jest-config/compare/v1.0.25...v1.0.26) (2020-09-20)
148
-
149
- ## [1.0.25](https://gitlab.com/html-validate/jest-config/compare/v1.0.24...v1.0.25) (2020-09-13)
150
-
151
- ## [1.0.24](https://gitlab.com/html-validate/jest-config/compare/v1.0.23...v1.0.24) (2020-09-06)
152
-
153
- ## [1.0.23](https://gitlab.com/html-validate/jest-config/compare/v1.0.22...v1.0.23) (2020-08-30)
154
-
155
- ## [1.0.22](https://gitlab.com/html-validate/jest-config/compare/v1.0.21...v1.0.22) (2020-08-23)
156
-
157
- ## [1.0.21](https://gitlab.com/html-validate/jest-config/compare/v1.0.20...v1.0.21) (2020-08-16)
158
-
159
- ## [1.0.20](https://gitlab.com/html-validate/jest-config/compare/v1.0.19...v1.0.20) (2020-08-09)
160
-
161
- ## [1.0.19](https://gitlab.com/html-validate/jest-config/compare/v1.0.18...v1.0.19) (2020-08-02)
162
-
163
- ### Bug Fixes
164
-
165
- - **deps:** update dependency jest-junit to v11.1.0 ([b16824e](https://gitlab.com/html-validate/jest-config/commit/b16824ead54e91ccf4ddd263ba64894fe8984130))
166
-
167
- ## [1.0.18](https://gitlab.com/html-validate/jest-config/compare/v1.0.17...v1.0.18) (2020-07-26)
168
-
169
- ## [1.0.17](https://gitlab.com/html-validate/jest-config/compare/v1.0.16...v1.0.17) (2020-07-19)
170
-
171
- ## [1.0.16](https://gitlab.com/html-validate/jest-config/compare/v1.0.15...v1.0.16) (2020-07-12)
172
-
173
- ## [1.0.15](https://gitlab.com/html-validate/jest-config/compare/v1.0.14...v1.0.15) (2020-07-05)
174
-
175
- ## [1.0.14](https://gitlab.com/html-validate/jest-config/compare/v1.0.13...v1.0.14) (2020-06-28)
176
-
177
- ### Bug Fixes
178
-
179
- - **deps:** update dependency jest-junit to v11 ([bdfefdc](https://gitlab.com/html-validate/jest-config/commit/bdfefdc1f69f8c64468c93473d3f555bc913ef8d))
180
-
181
- ## [1.0.13](https://gitlab.com/html-validate/jest-config/compare/v1.0.12...v1.0.13) (2020-06-21)
182
-
183
- ## [1.0.12](https://gitlab.com/html-validate/jest-config/compare/v1.0.11...v1.0.12) (2020-06-14)
184
-
185
- ## [1.0.11](https://gitlab.com/html-validate/jest-config/compare/v1.0.10...v1.0.11) (2020-06-07)
186
-
187
- ## [1.0.10](https://gitlab.com/html-validate/jest-config/compare/v1.0.9...v1.0.10) (2020-05-31)
188
-
189
- ## [1.0.9](https://gitlab.com/html-validate/jest-config/compare/v1.0.8...v1.0.9) (2020-05-24)
190
-
191
- ## [1.0.8](https://gitlab.com/html-validate/jest-config/compare/v1.0.7...v1.0.8) (2020-05-17)
192
-
193
- ## [1.0.7](https://gitlab.com/html-validate/jest-config/compare/v1.0.6...v1.0.7) (2020-05-10)
194
-
195
- ## [1.0.6](https://gitlab.com/html-validate/jest-config/compare/v1.0.5...v1.0.6) (2020-05-03)
196
-
197
- ## [1.0.5](https://gitlab.com/html-validate/jest-config/compare/v1.0.4...v1.0.5) (2020-04-26)
198
-
199
- ## [1.0.4](https://gitlab.com/html-validate/jest-config/compare/v1.0.3...v1.0.4) (2020-04-19)
200
-
201
- ### Bug Fixes
202
-
203
- - drop support for jsx and `moduleFileExtensions` ([756eea5](https://gitlab.com/html-validate/jest-config/commit/756eea52dd2dc8d2da95fd144374b80dc424bc5e))
204
-
205
- ## [1.0.3](https://gitlab.com/html-validate/jest-config/compare/v1.0.2...v1.0.3) (2020-04-19)
206
-
207
- ### Bug Fixes
208
-
209
- - always ignore build folder ([4c8a5b0](https://gitlab.com/html-validate/jest-config/commit/4c8a5b01d857908b69c5834db49179301eaa746b))
210
-
211
- ## [1.0.2](https://gitlab.com/html-validate/jest-config/compare/v1.0.1...v1.0.2) (2020-04-19)
212
-
213
- ### Bug Fixes
214
-
215
- - allow `spec.js` ([3172972](https://gitlab.com/html-validate/jest-config/commit/31729725c60081cdd821c2ba33cc71867808bf0f))
216
-
217
- ## [1.0.1](https://gitlab.com/html-validate/jest-config/compare/v1.0.0...v1.0.1) (2020-04-19)
218
-
219
- ### Bug Fixes
220
-
221
- - allow **tests** too ([462029e](https://gitlab.com/html-validate/jest-config/commit/462029ec35a0faa3ad7ec068853b056d97656256))
222
-
223
- # 1.0.0 (2020-04-19)
224
-
225
- ### Bug Fixes
226
-
227
- - dont run coverage on d.ts ([5a2c463](https://gitlab.com/html-validate/jest-config/commit/5a2c4632905f802f2851f7f505b3f7a406369651))
228
-
229
- ### Features
230
-
231
- - initial version ([178dee8](https://gitlab.com/html-validate/jest-config/commit/178dee8d6378b9f2eb07532bff48e5d266b3202a))