Skip to content

Commit 3a433bc

Browse files
♻️ refactor: delete legacy 2020 code
1 parent ad42802 commit 3a433bc

File tree

247 files changed

+9507
-51812
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

247 files changed

+9507
-51812
lines changed

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

LICENSE.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
MIT License
22

3-
Initial project Copyright (c) 2018 Enrique Benitez <hello@bntz.io>
4-
Changes Copyright (c) 2018 Matheus Albuquerque <hey@ythecombinator.space>.
3+
Copyright (c) 2022 Matheus Albuquerque <land@ythecombinator.space>.
54

65
Permission is hereby granted, free of charge, to any person obtaining a copy
76
of this software and associated documentation files (the "Software"), to deal

codegen.ts

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import { CodegenConfig } from '@graphql-codegen/cli';
2+
3+
const config: CodegenConfig = {
4+
overwrite: true,
5+
schema: {
6+
[process.env.CONTENTFUL_SCHEMA]: {
7+
headers: {
8+
Authorization: `Bearer ${process.env.CONTENTFUL_TOKEN}`,
9+
},
10+
},
11+
},
12+
documents: ['src/**/!(*.d).{ts,tsx}', 'src/**/*.graphql'],
13+
generates: {
14+
'src/graphql/schema.ts': {
15+
plugins: [
16+
'typescript',
17+
'typescript-operations',
18+
'typescript-react-apollo',
19+
],
20+
},
21+
'src/graphql/schema.graphql': {
22+
plugins: ['schema-ast'],
23+
},
24+
},
25+
};
26+
27+
export default config;

functions/config.ts

Lines changed: 0 additions & 10 deletions
This file was deleted.

functions/endpoints/map.ts

Lines changed: 0 additions & 41 deletions
This file was deleted.

functions/map.ts

Lines changed: 0 additions & 1 deletion
This file was deleted.

functions/models/polarsteps.ts

Lines changed: 0 additions & 123 deletions
This file was deleted.

gatsby-config.js

Lines changed: 0 additions & 103 deletions
This file was deleted.

0 commit comments

Comments
 (0)