-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat!: typescript configuration and jest v29 upgrade (#429)
This introduces two main features: * feat: Re-enable typescript for production builds (introduced directly in this `alpha` branch) * feat!: updated jest to v29 (introduced originally via #415) It also includes a series of minor workflow and dependency updates. BREAKING CHANGE: Updating jest from v26 to v29 changes the default snapshotFormat.
- Loading branch information
1 parent
9c0b275
commit 91c6ce4
Showing
13 changed files
with
2,367 additions
and
2,927 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import React, { CSSProperties } from 'react'; | ||
|
||
type ImageProps = { | ||
src: string; | ||
alt?: string; | ||
style?: CSSProperties; | ||
}; | ||
|
||
const Image = ({ alt, ...rest }:ImageProps) => <img alt={alt} {...rest} />; | ||
|
||
const defaultProps = { | ||
alt: undefined, | ||
style: undefined, | ||
}; | ||
Image.defaultProps = defaultProps; | ||
export default Image; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"extends": "../tsconfig.json", | ||
"compilerOptions": { | ||
"rootDir": ".", | ||
"outDir": "dist" | ||
}, | ||
"include": [ | ||
".eslintrc.js", | ||
"env.config.js", | ||
"src" | ||
], | ||
"exclude": [ | ||
"node_modules", | ||
"dist", | ||
] | ||
} |
Oops, something went wrong.