Skip to content

Commit ad42802

Browse files
Merge branch '2023'
2 parents faaf277 + 2d5ff5e commit ad42802

File tree

200 files changed

+13319
-397
lines changed

Some content is hidden

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

200 files changed

+13319
-397
lines changed

.eslintrc.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"extends": ["next/core-web-vitals", "plugin:tailwindcss/recommended"],
3+
"plugins": ["tailwindcss"]
4+
}

.github/dependabot.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: npm
4+
directory: '/'
5+
schedule:
6+
interval: 'weekly'
7+
day: 'saturday'
8+
time: '11:00'
9+
open-pull-requests-limit: 12
10+
assignees:
11+
- ythecombinator

.gitignore

Lines changed: 20 additions & 135 deletions
Original file line numberDiff line numberDiff line change
@@ -1,143 +1,28 @@
1+
# Dependencies
2+
/node_modules
3+
/.pnp
4+
.pnp.js
15

2-
# Created by https://www.gitignore.io/api/osx,vim,node,windows,visualstudiocode
6+
# next.js
7+
/.next/
8+
/out/
39

4-
### Node ###
5-
# Logs
6-
logs
7-
*.log
10+
# Production
11+
/build
12+
13+
# Misc
14+
.DS_Store
15+
.env*
16+
17+
# Debug
818
npm-debug.log*
919
yarn-debug.log*
1020
yarn-error.log*
1121

12-
# Runtime data
13-
pids
14-
*.pid
15-
*.seed
16-
*.pid.lock
17-
18-
# Directory for instrumented libs generated by jscoverage/JSCover
19-
lib-cov
20-
21-
# Coverage directory used by tools like istanbul
22-
coverage
23-
24-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
25-
.grunt
26-
27-
# Bower dependency directory (https://bower.io/)
28-
bower_components
29-
30-
# node-waf configuration
31-
.lock-wscript
32-
33-
# Compiled binary addons (http://nodejs.org/api/addons.html)
34-
build/Release
35-
36-
# Dependency directories
37-
node_modules/
38-
jspm_packages/
39-
40-
# Typescript v1 declaration files
41-
typings/
42-
43-
# Optional npm cache directory
44-
.npm
45-
46-
# Optional eslint cache
47-
.eslintcache
48-
49-
# Optional REPL history
50-
.node_repl_history
51-
52-
# Output of 'npm pack'
53-
*.tgz
54-
55-
# Yarn Integrity file
56-
.yarn-integrity
57-
58-
# dotenv environment variables file
59-
.env
60-
61-
62-
### OSX ###
63-
*.DS_Store
64-
.AppleDouble
65-
.LSOverride
66-
67-
# Icon must end with two \r
68-
Icon
69-
70-
71-
# Thumbnails
72-
._*
73-
74-
# Files that might appear in the root of a volume
75-
.DocumentRevisions-V100
76-
.fseventsd
77-
.Spotlight-V100
78-
.TemporaryItems
79-
.Trashes
80-
.VolumeIcon.icns
81-
.com.apple.timemachine.donotpresent
82-
83-
# Directories potentially created on remote AFP share
84-
.AppleDB
85-
.AppleDesktop
86-
Network Trash Folder
87-
Temporary Items
88-
.apdisk
89-
90-
### Vim ###
91-
# swap
92-
[._]*.s[a-v][a-z]
93-
[._]*.sw[a-p]
94-
[._]s[a-v][a-z]
95-
[._]sw[a-p]
96-
# session
97-
Session.vim
98-
# temporary
99-
.netrwhist
100-
*~
101-
# auto-generated tag files
102-
tags
103-
104-
### VisualStudioCode ###
105-
.vscode/*
106-
!.vscode/settings.json
107-
!.vscode/tasks.json
108-
!.vscode/launch.json
109-
!.vscode/extensions.json
110-
111-
### Windows ###
112-
# Windows thumbnail cache files
113-
Thumbs.db
114-
ehthumbs.db
115-
ehthumbs_vista.db
116-
117-
# Folder config file
118-
Desktop.ini
119-
120-
# Recycle Bin used on file shares
121-
$RECYCLE.BIN/
122-
123-
# Windows Installer files
124-
*.cab
125-
*.msi
126-
*.msm
127-
*.msp
128-
129-
# Windows shortcuts
130-
*.lnk
131-
132-
# End of https://www.gitignore.io/api/osx,vim,node,windows,visualstudiocode
133-
134-
# Gatsby
135-
public
136-
.cache
22+
# Codegen: GraphQL
13723

138-
# Netlify Functions
139-
.netlify
24+
src/graphql/schema.graphql
25+
src/graphql/schema.ts
14026

141-
# Env variables
142-
.env.production
143-
.env.development
27+
# Contentlayer
28+
.contentlayer

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v14.13.1
1+
v16

.prettierrc

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"printWidth": 80,
3+
"semi": true,
4+
"singleQuote": true,
5+
"trailingComma": "es5",
6+
"arrowParens": "always",
7+
"importOrder": [
8+
"<THIRD_PARTY_MODULES>",
9+
"^config/(.*)$",
10+
"^services/(.*)$",
11+
"^schema/(.*)$",
12+
"^utils/(.*)$",
13+
"^content/(.*)$",
14+
"^components/shared/(.*)$",
15+
"^components/layouts/(.*)$",
16+
"^components/pages/(.*)$",
17+
"^styles/(.*)$",
18+
"^[./]"
19+
],
20+
"importOrderSeparation": true
21+
}

.ts-prunerc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"ignore": "src/graphql/schema.ts|contentlayer.config.ts|.contentlayer/generated/|src/pages/",
3+
"error": true
4+
}

.vscode/settings.json

Lines changed: 3 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -2,58 +2,12 @@
22
"search.exclude": {
33
"**/node_modules": true,
44
"**/.netlify": true,
5-
"**/.cache": true,
6-
"**/public": true
5+
"**/.next": true
76
},
87
"files.exclude": {
98
"**/node_modules": true,
109
"**/.netlify": true,
11-
"**/.cache": true,
12-
"**/public": true
10+
"**/.next": true
1311
},
14-
"editor.formatOnSave": true,
15-
"importSorter.importStringConfiguration.maximumNumberOfImportExpressionsPerLine.type": "newLineEachExpressionAfterCountLimit",
16-
"importSorter.importStringConfiguration.maximumNumberOfImportExpressionsPerLine.count": 100,
17-
"importSorter.importStringConfiguration.tabSize": 2,
18-
"importSorter.importStringConfiguration.trailingComma": "multiLine",
19-
"importSorter.generalConfiguration.sortOnBeforeSave": true,
20-
"importSorter.sortConfiguration.customOrderingRules.defaultOrderLevel": 15,
21-
"importSorter.sortConfiguration.customOrderingRules.rules": [
22-
{
23-
"regex": "^(react)$",
24-
"orderLevel": 10
25-
},
26-
{
27-
"regex": "^(components)",
28-
"orderLevel": 20
29-
},
30-
{
31-
"regex": "^(hooks)",
32-
"orderLevel": 30
33-
},
34-
{
35-
"regex": "^(utils)",
36-
"orderLevel": 40
37-
},
38-
{
39-
"regex": "^(model)",
40-
"orderLevel": 50
41-
},
42-
{
43-
"regex": "^(styles)",
44-
"orderLevel": 60
45-
},
46-
{
47-
"regex": "^(sections)",
48-
"orderLevel": 80
49-
},
50-
{
51-
"regex": "^[.]",
52-
"orderLevel": 90
53-
}
54-
],
55-
"importSorter.importStringConfiguration.spacingPerImportExpression.afterStartingBracket": 0,
56-
"importSorter.importStringConfiguration.spacingPerImportExpression.beforeEndingBracket": 0,
57-
"typescript.format.insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
58-
"importSorter.sortConfiguration.joinImportPaths": false
12+
"editor.formatOnSave": true
5913
}

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 freddydumont
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

0 commit comments

Comments
 (0)