-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update
jest
, typescript
, babel
, eslint-config-seek
and minimu…
…m node version requirement (#709)
- Loading branch information
Showing
25 changed files
with
2,649 additions
and
2,662 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
'sku': minor | ||
--- | ||
|
||
Update to eslint-config-seek v10 | ||
|
||
This update involves a few major version jumps, so be sure to read the following release notes for all the breaking changes: | ||
- [v8.0.0](https://github.com/seek-oss/eslint-config-seek/releases/tag/v8.0.0) | ||
- [v9.0.0](https://github.com/seek-oss/eslint-config-seek/releases/tag/v9.0.0) | ||
- [v10.0.0](https://github.com/seek-oss/eslint-config-seek/releases/tag/v10.0.0) | ||
|
||
You should be able to automatically fix most lint warnings/errors by running `yarn sku format`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
--- | ||
'sku': minor | ||
--- | ||
|
||
Upgrade from jest v27 to v29 | ||
|
||
Please take a look at the following upgrade guides as there may be breaking changes that affect your tests: | ||
- [v27 to v28 upgrade guide](https://jestjs.io/docs/28.x/upgrading-to-jest28) | ||
- [v28 to v29 upgrade guide](https://jestjs.io/docs/upgrading-to-jest29) | ||
|
||
Likely the most significant change is the new default snapshot format: | ||
|
||
```diff | ||
- Expected: \\"a\\" | ||
+ Expected: "a" | ||
|
||
- Object { | ||
- Array [] | ||
- } | ||
+ { | ||
+ [] | ||
+ } | ||
``` | ||
|
||
This may require you to update your snapshots. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'sku': minor | ||
--- | ||
|
||
Drop support for Node v12 | ||
|
||
Sku now only supports Node v14.15 and above. | ||
Although sku itself does not depend on any Node v14 APIs, Node v12 is [no longer officially supported](https://github.com/nodejs/Release#end-of-life-releases), and many of sku's dependencies no longer support it either. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
'sku': minor | ||
--- | ||
|
||
Update typescript dependency | ||
|
||
Sku now has a `typescript` dependency of `^4.5.0`. | ||
Previously the version was restricted due to a type issue with `braid-design-system` and `[email protected]`. | ||
Please take a look at the release notes for recent typescript versions as there may be breaking changes that need to be addressed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.