File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ ' react-simplikit ' : patch
3+ ---
4+
5+ Deprecate hooks that depend on browser-specific APIs
6+
7+ The following hooks are now marked as deprecated:
8+
9+ - ` useDoubleClick `
10+ - ` useGeolocation `
11+ - ` useImpressionRef `
12+ - ` useIntersectionObserver `
13+ - ` useLongPress `
14+ - ` useOutsideClickEffect `
15+ - ` useStorageState `
16+ - ` useVisibilityEvent `
17+
18+ These hooks will be removed in a future major version as react-simplikit is now focused on platform-independent, pure state/logic hooks.
Original file line number Diff line number Diff line change 2727 cache : ' yarn'
2828 registry-url : ' https://registry.npmjs.org'
2929
30+ - name : Update npm for OIDC trusted publishing
31+ run : npm install -g npm@latest
32+
3033 - name : Install Dependencies
3134 run : yarn install
3235
@@ -36,15 +39,20 @@ jobs:
3639 - name : Type Check
3740 run : yarn run test:type
3841
39- - name : Create Release Pull Request or Publish to npm
42+ - name : Create Release Pull Request
43+ id : changesets
4044 uses : changesets/action@v1
4145 with :
4246 title : ' chore: version packages'
4347 commit : ' chore: version packages'
4448 version : yarn run changeset:version
45- publish : yarn run changeset:publish
4649 env :
4750 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
51+
52+ - name : Publish to npm
53+ if : steps.changesets.outputs.hasChangesets == 'false'
54+ run : yarn run changeset:publish
55+ env :
4856 NPM_CONFIG_PROVENANCE : true
4957
5058 get-diffs :
Original file line number Diff line number Diff line change 11# react-simplikit
22
3- ## 0.0.47
4-
5- ### Patch Changes
6-
7- - [ #302 ] ( https://github.com/toss/react-simplikit/pull/302 ) [ ` 9a73aa0 ` ] ( https://github.com/toss/react-simplikit/commit/9a73aa038f364c8a3733f147142946f0e2ee8a30 ) Thanks [ @kimyouknow ] ( https://github.com/kimyouknow ) ! - Deprecate hooks that depend on browser-specific APIs
8-
9- The following hooks are now marked as deprecated:
10-
11- - ` useDoubleClick `
12- - ` useGeolocation `
13- - ` useImpressionRef `
14- - ` useIntersectionObserver `
15- - ` useLongPress `
16- - ` useOutsideClickEffect `
17- - ` useStorageState `
18- - ` useVisibilityEvent `
19-
20- These hooks will be removed in a future major version as react-simplikit is now focused on platform-independent, pure state/logic hooks.
21-
223## 0.0.46
234
245### Patch Changes
You can’t perform that action at this time.
0 commit comments