Skip to content

Conversation

@notrab
Copy link
Owner

@notrab notrab commented Feb 3, 2021

No description provided.

getTobiasNielsen and others added 3 commits February 3, 2021 16:17
* Update prettierrc.config.js

I did this to make the files more consistent

* Revert "Update prettierrc.config.js"

This reverts commit a48336d.

* Update prettierrc.config.js

* Renamed prettier config properly

https://prettier.io/docs/en/configuration.html

* Hit the most important files with prettier, to avoid mixing prettier corrections with real changes later

* Added typescript, and also a very open tsconfig

This should lay a foundation for future update, but they should be done incrementally

* Added ts supprt and fixed a type declaration path mistake

Updated jest, added babel typescript for jest, added a type to CartProvider

* Update prettier.config.js

Co-authored-by: Jamie Barton <[email protected]>

* Update prettier.config.js

Co-authored-by: Jamie Barton <[email protected]>

* Update prettier.config.js

Co-authored-by: Jamie Barton <[email protected]>

* Update prettier.config.js

Co-authored-by: Jamie Barton <[email protected]>

* Update prettier.config.js

Co-authored-by: Jamie Barton <[email protected]>

* Update src/useLocalStorage.ts

Co-authored-by: Jamie Barton <[email protected]>

* Update src/useLocalStorage.ts

Co-authored-by: Jamie Barton <[email protected]>

* Added some of the updates

* Added * as React

* Added some interfaces, some strictness, some looseness

* Fixed typo

* Added optional on the CartProvider props

* Missed an any, will need a proper type

* Added payload, instead of item

* Fixed typo

* Turned on  "noImplicitAny": true,  "strictNullChecks": true, and "forceConsistentCasingInFileNames": true,

* Changed the last flags to true. TS is fully strict now.

* Stronger typed CartProvider props

* Little stronger storage type

Co-authored-by: Jamie Barton <[email protected]>
@notrab notrab merged commit 4824d8b into main Feb 3, 2021
@notrab notrab deleted the beta branch February 3, 2021 16:30
@github-actions
Copy link

github-actions bot commented Feb 3, 2021

🎉 This PR is included in version 1.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@notrab
Copy link
Owner Author

notrab commented Mar 7, 2021

@all-contributors please add @getTobiasNielsen for code

@allcontributors
Copy link
Contributor

@notrab

I've put up a pull request to add @getTobiasNielsen! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants