From 2a247570922adba01a3358d587b61715eab36417 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 28 Nov 2023 14:00:02 -0800 Subject: [PATCH] release: v2 * Version Packages --- .changeset/curvy-crabs-pay.md | 17 ----------------- .github/workflows/docusaurus.yml | 2 +- .github/workflows/lint.yml | 6 +----- package.json | 3 ++- packages/wethegit-react-hooks/CHANGELOG.md | 22 ++++++++++++++++++++++ packages/wethegit-react-hooks/package.json | 2 +- 6 files changed, 27 insertions(+), 25 deletions(-) delete mode 100644 .changeset/curvy-crabs-pay.md create mode 100644 packages/wethegit-react-hooks/CHANGELOG.md diff --git a/.changeset/curvy-crabs-pay.md b/.changeset/curvy-crabs-pay.md deleted file mode 100644 index 1f85b80..0000000 --- a/.changeset/curvy-crabs-pay.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -"@wethegit/react-hooks": major ---- - -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` diff --git a/.github/workflows/docusaurus.yml b/.github/workflows/docusaurus.yml index fdc53af..53de414 100644 --- a/.github/workflows/docusaurus.yml +++ b/.github/workflows/docusaurus.yml @@ -1,4 +1,4 @@ -name: Storybook +name: Docusaurus on: push: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5031170..95cb155 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,10 +1,6 @@ -name: Release +name: Lint on: - push: - branches: - - main - pull_request: types: [opened, edited, reopened, synchronize] diff --git a/package.json b/package.json index 2390b62..6e226b6 100755 --- a/package.json +++ b/package.json @@ -26,5 +26,6 @@ "apps/*", "packages/*" ], - "license": "MIT" + "license": "MIT", + "version": "0.0.0" } diff --git a/packages/wethegit-react-hooks/CHANGELOG.md b/packages/wethegit-react-hooks/CHANGELOG.md new file mode 100644 index 0000000..924deaf --- /dev/null +++ b/packages/wethegit-react-hooks/CHANGELOG.md @@ -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` diff --git a/packages/wethegit-react-hooks/package.json b/packages/wethegit-react-hooks/package.json index a69325f..42d4de1 100644 --- a/packages/wethegit-react-hooks/package.json +++ b/packages/wethegit-react-hooks/package.json @@ -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"