Skip to content

Commit

Permalink
Version Packages (#967)
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 May 15, 2024
1 parent a32f285 commit 77e4572
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 21 deletions.
20 changes: 0 additions & 20 deletions .changeset/seven-apes-tap.md

This file was deleted.

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

## 12.6.0

### Minor Changes

- Add support for [removing assertion functions][assertion removal docs] named `invariant` and assertions from the `tiny-invariant` library, a lightweight alternative to `assert` ([#966](https://github.com/seek-oss/sku/pull/966))

**EXAMPLE USAGE**:

```tsx
import React from 'react';
import invariant from 'tiny-invariant';

export const Rating = ({ rating }: { rating: number }) => {
invariant(rating >= 0 && rating <= 5, 'Rating must be between 0 and 5');

return <div>...</div>;
};
```

[assertion removal docs]: https://seek-oss.github.io/sku/#/./docs/extra-features?id=assertion-removal

## 12.5.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": "12.5.1",
"version": "12.6.0",
"description": "Front-end development toolkit, powered by Webpack, Babel, CSS Modules, Less and Jest",
"main": "index.js",
"bin": {
Expand Down

0 comments on commit 77e4572

Please sign in to comment.