Skip to content

Commit

Permalink
Version Packages (#1027)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
seek-oss-ci and github-actions[bot] authored Jul 30, 2024
1 parent 2015760 commit 48ae90b
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 30 deletions.
29 changes: 0 additions & 29 deletions .changeset/pink-carpets-return.md

This file was deleted.

30 changes: 30 additions & 0 deletions packages/sku/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# sku

## 13.0.2

### Patch Changes

- Replace `sku/config/jest` entrypoint with `sku/jest-preset` ([#1024](https://github.com/seek-oss/sku/pull/1024))

**BREAKING CHANGE FOR CUSTOM JEST CONFIG**:

This breaking change will only affect a very small number of projects that have a custom Jest configuration/wish to debug tests in their IDE, and it is intended to be a quick fix/improvement for a feature released in `sku@13.0.0`. Therefore, it's not being released as a major version.

The `sku/config/jest` entrypoint has been removed in favor of a new `sku/jest-preset` entrypoint. The `sku/jest-preset` module is a better way to expose a [jest preset], rather than a relative path (the previous implementation), as it works even if `sku` is hoisted to a parent `node_modules` directory.

**MIGRATION GUIDE**:

```diff
// jest.config.js
- const { preset } = require('sku/config/jest');

/** @type {import('jest').Config} */
module.exports = {
// If you've already migrated to sku v13
- preset,
// If you're still on sku v12.x
- preset: 'sku/config/jest',
+ preset: 'sku',
};
```

[jest preset]: https://jestjs.io/docs/configuration#preset-string

## 13.0.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/sku/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "sku",
"version": "13.0.1",
"version": "13.0.2",
"description": "Front-end development toolkit, powered by Webpack, Babel, Vanilla Extract and Jest",
"types": "./sku-types.d.ts",
"bin": {
Expand Down

0 comments on commit 48ae90b

Please sign in to comment.