@commercetools-backend/eslint-config-node 21.25.2 → 22.0.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/CHANGELOG.md +28 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# @commercetools-backend/eslint-config-node
|
|
2
2
|
|
|
3
|
+
## 22.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- [#3026](https://github.com/commercetools/merchant-center-application-kit/pull/3026) [`968c3c4d2`](https://github.com/commercetools/merchant-center-application-kit/commit/968c3c4d21e0caeb98334f5d905213dbdd9b208d) Thanks [@emmenko](https://github.com/emmenko)! - Upgrade following dependencies to major versions:
|
|
8
|
+
|
|
9
|
+
- `jest` to `v29.x`.
|
|
10
|
+
- `jsdom` to `v21.x`.
|
|
11
|
+
- `eslint-plugin-jest` to `v27.x`.
|
|
12
|
+
|
|
13
|
+
# Migration
|
|
14
|
+
|
|
15
|
+
The package `@commercetools-frontend/jest-preset-mc-app` contains most of the updates and migration changes.
|
|
16
|
+
|
|
17
|
+
We don't expect any specific migration effort besides updating all Jest dependencies to their latest version (including possible Jest plugins being used).
|
|
18
|
+
|
|
19
|
+
However, there are a couple of possible necessary updates to consider:
|
|
20
|
+
|
|
21
|
+
- [Jest snapshots format changed a bit](https://jestjs.io/docs/upgrading-to-jest29#snapshot-format). You might need to update your snapshots by passing the option `-u` to the Jest command.
|
|
22
|
+
- The ESLint plugin for Jest might yield some new errors due to its breaking changes. See [changelog](https://github.com/jest-community/eslint-plugin-jest/blob/main/CHANGELOG.md#2700-2022-08-28).
|
|
23
|
+
|
|
24
|
+
For more detailed information about upgrading Jest, please refer to the official guides:
|
|
25
|
+
|
|
26
|
+
- [From v27 to v28](https://jestjs.io/docs/28.x/upgrading-to-jest28)
|
|
27
|
+
- [From v28 to v29](https://jestjs.io/docs/upgrading-to-jest29)
|
|
28
|
+
|
|
29
|
+
- [#3039](https://github.com/commercetools/merchant-center-application-kit/pull/3039) [`76ba54c16`](https://github.com/commercetools/merchant-center-application-kit/commit/76ba54c164dbac75ef3e3962292933b06f4843e7) Thanks [@emmenko](https://github.com/emmenko)! - Drop support for Node.js `v14`. Make sure you use Node.js `v16` or `>=v18`.
|
|
30
|
+
|
|
3
31
|
## 21.25.2
|
|
4
32
|
|
|
5
33
|
## 21.25.1
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@commercetools-backend/eslint-config-node",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "22.0.0",
|
|
4
4
|
"description": "ESLint config for Node.js projects.",
|
|
5
5
|
"bugs": "https://github.com/commercetools/merchant-center-application-kit/issues",
|
|
6
6
|
"repository": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"eslint-config-prettier": "^8.6.0",
|
|
26
26
|
"eslint-import-resolver-typescript": "^3.5.3",
|
|
27
27
|
"eslint-plugin-import": "^2.27.5",
|
|
28
|
-
"eslint-plugin-jest": "^
|
|
28
|
+
"eslint-plugin-jest": "^27.2.1",
|
|
29
29
|
"eslint-plugin-node": "^11.1.0",
|
|
30
30
|
"eslint-plugin-prettier": "^4.2.1"
|
|
31
31
|
},
|
|
@@ -37,6 +37,6 @@
|
|
|
37
37
|
"eslint": "8.36.0"
|
|
38
38
|
},
|
|
39
39
|
"engines": {
|
|
40
|
-
"node": "
|
|
40
|
+
"node": "16.x || >=18.0.0"
|
|
41
41
|
}
|
|
42
42
|
}
|