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

Alpha (#1180) #1181

Merged
merged 6 commits into from
Jul 30, 2022
Merged

Alpha (#1180) #1181

merged 6 commits into from
Jul 30, 2022

Conversation

imbhargav5
Copy link
Owner

@imbhargav5 imbhargav5 commented Jul 29, 2022

  • Fix ts and lint errors
  • Remove deprecated hooks
  • Update website and new docs
  • Move to vercel
  • Fix helper scripts
  • Move to changesets and turborepo

* fix(types): remove any types (#1152)

* fix(types): remove any types

* chore(jest.config.js): use tsconfig pathmappings

* fix(usefreshtick): update callback types

* chore(settings.json): update settings to include eslint fix on save

* fix(usedimensionsref): update warning logic

* fix(useundostate): update types

* fix(usenavigatorlanguage): fix types

* fix(usethrottle): fix types

* chore(see): add see links

* fix(usekey): update types

* fix(usekeyref): update types

* fix(usesessionstorage): update types

* fix(useselectablelist): update types

* fix(useraf): update types

* fix(usemultiselectablelist): fix types

* fix(usekeybindings): fix types

* fix(usefullscreen): tsignore usefullscreen for now

* test: update test cases

* fix(types): remove any ambigiuous types wip

* fix(usetoggle): update types and add generics

* fix(usethrottle spec): update types in test cases

* fix(usetimeoutwhen): test cases

update test cases

* fix(usesessionstorage): update types in test cases

* test(useraf): update test case

* test(usepreviousimmediate): update test cases

* test(usepreviousdifferent): fix ts errors in tests

* test(useprevious): fix ts errors in tests

* test(useoutsideclickref): fix ts errors in tests

* test(useoutsideclick): fix ts errors in test

* test(useonline): fix ts errors in tests

* test(usenavigatorlanguage): fix ts errors in tests

* test(usemutationobserver): fix ts errors

* test(uselocalstorage): fix tests

* test(usekey): update tests and fix ts errors

* test(useinterval tests): update tests and fix ts errors

* test(update test cases): update tests

* fix: lint errors (#1179)

* chore(lint): fix eslint wip

* chore(lint and tsc): fixes

* fix(usemergerefs): fix types

* fix(usematchmedia): tsc and lint fixes

* chore(usemap): types

* chore(lint): fixes

* fix(deprecated): hooks removed

BREAKING CHANGE: useIntervalWhen, useLocalstorageState, usePreviousImmediate,
useSessionstorageState, useTimeoutWhen, useDidUpdate, useInViewRef hooks should be used instead.

* fix(index): remove unused

* fix(build): build fix

* fix(types): fixes

* fix(usefullscreen): ignore eslint errors for now

* fix(updates): update types and tests

* style(lint): fix lint errors

* chore(helpers): update helper scripts

* chore(cleanup): clean helpers

* chore(allcontributors): cleanup helpers

* test(generalssrtest): remove unnecessary tests
@codecov
Copy link

codecov bot commented Jul 29, 2022

Codecov Report

Merging #1181 (cb3cbc5) into main (971bd3e) will increase coverage by 3.17%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1181      +/-   ##
==========================================
+ Coverage   91.17%   94.34%   +3.17%     
==========================================
  Files          69       63       -6     
  Lines        4103     3857     -246     
  Branches      682      665      -17     
==========================================
- Hits         3741     3639     -102     
+ Misses        360      217     -143     
+ Partials        2        1       -1     
Impacted Files Coverage Δ
packages/rooks/src/hooks/useBoundingclientrect.ts 100.00% <ø> (ø)
...ckages/rooks/src/hooks/useBoundingclientrectRef.ts 75.00% <ø> (ø)
packages/rooks/src/hooks/useCountdown.ts 75.51% <ø> (ø)
packages/rooks/src/hooks/useCounter.ts 97.61% <ø> (ø)
packages/rooks/src/hooks/useDebounce.ts 100.00% <ø> (ø)
packages/rooks/src/hooks/useDebouncedValue.ts 100.00% <ø> (ø)
packages/rooks/src/hooks/useDidMount.ts 90.00% <ø> (ø)
packages/rooks/src/hooks/useDidUpdate.ts 95.65% <ø> (ø)
packages/rooks/src/hooks/useDimensionsRef.ts 91.17% <ø> (ø)
...ckages/rooks/src/hooks/useDocumentEventListener.ts 100.00% <ø> (ø)
... and 120 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 971bd3e...cb3cbc5. Read the comment docs.

* chore(turborepo): move to turborepo

* chore(turborepo): move to turborepo

* build(prettier): fix configuration

* build(scripts): update scripts

* build(script): fix create script

* build(website): docs scripts update

* chore(allcontributors): update action

* ci(actions): configure actions and workflows with changesets

* ci(workflows): fix typo

* ci: force build

* ci(turbo): turbo vercel

* chore(vercel.json): remove unnecessary file

* ci: force build

* ci(workflows): add update-package-list-to-markdown to contributors.yml

* ci(ci): workflow filter fix

* chore(add changeset): changeset added
@vercel
Copy link

vercel bot commented Jul 29, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
rooks ✅ Ready (Inspect) Visit Preview Jul 30, 2022 at 6:49PM (UTC)

@imbhargav5 imbhargav5 changed the title Next (#1180) Alpha (#1180) Jul 29, 2022
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* fix: website

* fix: website

* docs(website): improvements to website and docs

* chore: remove unused

* docs(website): improvements to website and docs

* chore(create script): introduce category for hooks

* fix: remove unnecessary import

* chore(categories): show categories better

* chore(readme): format readme

* docs(update docs): new docs pattern for all hooks

* chore(website): add home page

* test(imports): put back react imports
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant