Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #7

Merged
merged 3 commits into from
Nov 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 0 additions & 17 deletions .changeset/curvy-crabs-pay.md

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/docusaurus.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Storybook
name: Docusaurus

on:
push:
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
name: Release
name: Lint

on:
push:
branches:
- main

pull_request:
types: [opened, edited, reopened, synchronize]

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,6 @@
"apps/*",
"packages/*"
],
"license": "MIT"
"license": "MIT",
"version": "0.0.0"
}
22 changes: 22 additions & 0 deletions packages/wethegit-react-hooks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# @wethegit/react-hooks

## 2.0.0

### Major Changes

- [#6](https://github.com/wethegit/react-hooks/pull/6) [`806244e`](https://github.com/wethegit/react-hooks/commit/806244e6a92d9998e4693088adc27fe6aee7958b) Thanks [@marlonmarcello](https://github.com/marlonmarcello)! - New features:

1. `typescript` and exported types
2. `changeset` for version control
3. documentation with `docusaurus`
4. `useAnimatePresence`, hook for animating components in/out of DOM
5. `useMediaQuery`, hook for matching a media query and listening to changes
6. `usePersistedMediaQuery`, hook for matching a media query, listening to changes and persisting on `localStorage`

Fixes:

- Fixes #5 with new `usePersisteMediaQuery` hook

Changes:

- `useLocalStorage` is now `usePersistedState`
2 changes: 1 addition & 1 deletion packages/wethegit-react-hooks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@wethegit/react-hooks",
"version": "1.0.3",
"version": "2.0.0",
"description": "A collection of helpers for use in React projects.",
"files": [
"dist"
Expand Down