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

chore(gatsby): Begin typing the redux code #20457

Merged
merged 13 commits into from
Jan 15, 2020
Merged

Conversation

blainekasten
Copy link
Contributor

This adds types to some of the redux code. Trying to do just small bits so the reviews are easier. There are lot's of any's and more work to do. But this is a decent start!

@blainekasten blainekasten requested a review from a team as a code owner January 7, 2020 21:13
@vladar
Copy link
Contributor

vladar commented Jan 9, 2020

Is it ready for review? Tests are failing at the moment.

@blainekasten blainekasten requested a review from a team January 10, 2020 20:02
@blainekasten blainekasten added the type: maintenance An issue or pull request describing a change that isn't a bug, feature or documentation change label Jan 10, 2020
@@ -52,7 +52,9 @@ module.exports = {
},
},
collectCoverageFrom: coverageDirs,
reporters: [`default`].concat(useCoverage ? `jest-junit` : []),
reporters: process.env.CI
? [[`jest-silent-reporter`, { useDots: true }]]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is to make debugging our CI test failures easier. Right now the output is so large it takes a while for circle ci to actually render the test output. This change makes it so that we only report test failures in CI.

Copy link
Contributor

@pvdz pvdz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's good? :)

package.json Show resolved Hide resolved
@@ -32,26 +39,30 @@ const readState = () => {
} catch (e) {
// ignore errors.
}
return {}
// BUG: Would this not cause downstream bugs? seems likely. Why wouldn't we just
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is what somebody else should check into. I don't know :/

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah. Me either, but it's existing functionality.. I need to explore that more with somebody

packages/gatsby/src/redux/index.ts Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: maintenance An issue or pull request describing a change that isn't a bug, feature or documentation change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants