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

Port JavaScript to TypeScript, Phase 1 #134

Merged
merged 28 commits into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
960c422
chore(typescript): add basic tsconfig.json
louh Dec 4, 2024
4692094
refactor(404): port typescript
louh Dec 4, 2024
98e3cad
chore(ts): add ui path to config
louh Dec 4, 2024
5e2d366
refactor(settings): port typescript
louh Dec 4, 2024
4e0da78
refactor(mixins): port most to typescript
louh Dec 4, 2024
b5cc738
refactor(themes): port typescript
louh Dec 4, 2024
7e77b47
refactor(brandmarks): port typescript
louh Dec 4, 2024
4bc2e32
refactor(actionbars): port typescript
louh Dec 4, 2024
e9515a3
refactor(Footer): port typescript
louh Dec 4, 2024
e8432a7
refactor(assets): add type definitions for imported assets
louh Dec 4, 2024
3901a9e
refactor(animations): port typescript
louh Dec 4, 2024
1d48c2c
refactor(partials/ofLayout): port typescript
louh Dec 4, 2024
6f70baa
refactor(contexts): port typescript
louh Dec 4, 2024
6696f6e
refactor(partials): port most of them to typescript
louh Dec 4, 2024
7193712
refactor(assets): port remainder to typescript
louh Dec 4, 2024
b154036
refactor(Layout): port typescript + convert to functional component
louh Dec 4, 2024
199bcd3
refactor(setSpace): port to typescript
louh Dec 4, 2024
6f107ad
refactor(Gallery): port typescript
louh Dec 4, 2024
fe740fd
refactor(Icon): port typescript
louh Dec 4, 2024
7a0745b
refactor(Tabs): port typescript
louh Dec 4, 2024
a43e3f0
refactor(Copy): port typescript
louh Dec 4, 2024
2c980b3
refactor(Tile): port typescript
louh Dec 4, 2024
16cf524
refactor(Modal): port typescript
louh Dec 4, 2024
68ed85b
chore(gatsby): auto-generate gatsby query types
louh Dec 4, 2024
9586777
refactor(PersonModal): port typescript (see note)
louh Dec 5, 2024
929fa49
refactor(Tile): polymorphic component typing proof of concept
louh Dec 5, 2024
2864fea
refactor(actions): port typescript (see notes)
louh Dec 5, 2024
5d7b5e9
refactor(Link): do not need to type theme parameter on styled components
louh Dec 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions gatsby-config.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
module.exports = {
siteMetadata: {},
graphqlTypegen: {
typesOutputPath: `./lib/gatsby-types.d.ts`
},
plugins: [
"gatsby-plugin-catch-links",
`gatsby-plugin-image`,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 3 additions & 1 deletion lib/config/meta.js → lib/config/meta.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
const config = {
/* some awkward meta */
designer: "Mogli Studio — https://moglistudio.pl",
owner: "Bad Idea Factory — https://biffud.com",
Expand All @@ -13,3 +13,5 @@ module.exports = {
twitterHandle: "biffud", // used for twitter cards
url: "https://biffud.com" // used as base for generating rel="canonical" links
};

export default config;
Loading
Loading