Skip to content

Commit 5e6431f

Browse files
Merge pull request #160 from list-jonas/main
2 parents d0e8fca + 85ffeec commit 5e6431f

File tree

382 files changed

+3244
-155474
lines changed

Some content is hidden

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

382 files changed

+3244
-155474
lines changed

.eslintrc.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"extends": ["next/core-web-vitals", "next/typescript"]
3+
}

.gitattributes

-1
This file was deleted.

.github/ISSUE_TEMPLATE/bug_report.md

-40
This file was deleted.

.github/ISSUE_TEMPLATE/feature_request.md

-19
This file was deleted.

.github/dependabot.yml

-6
This file was deleted.

.github/workflows/deploy.yml

-53
This file was deleted.

.github/workflows/nextjs.yml

+91
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
# Sample workflow for building and deploying a Next.js site to GitHub Pages
2+
#
3+
# To get started with Next.js see: https://nextjs.org/docs/getting-started
4+
#
5+
name: Deploy Next.js site to Pages
6+
7+
on:
8+
# Runs on pushes targeting the default branch
9+
push:
10+
branches: ["main"]
11+
12+
# Allows you to run this workflow manually from the Actions tab
13+
workflow_dispatch:
14+
15+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
16+
permissions:
17+
contents: read
18+
pages: write
19+
id-token: write
20+
21+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
22+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
23+
concurrency:
24+
group: "pages"
25+
cancel-in-progress: false
26+
27+
jobs:
28+
# Build job
29+
build:
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v4
34+
- name: Detect package manager
35+
id: detect-package-manager
36+
run: |
37+
if [ -f "${{ github.workspace }}/package.json" ]; then
38+
echo "manager=npm" >> $GITHUB_OUTPUT
39+
echo "command=install" >> $GITHUB_OUTPUT
40+
echo "runner=npx --no-install" >> $GITHUB_OUTPUT
41+
exit 0
42+
else
43+
echo "Unable to determine package manager"
44+
exit 1
45+
fi
46+
- name: Setup Node
47+
uses: actions/setup-node@v4
48+
with:
49+
node-version: "20"
50+
cache: ${{ steps.detect-package-manager.outputs.manager }}
51+
cache-dependency-path: "package.json"
52+
check-latest: true
53+
- name: Setup Pages
54+
uses: actions/configure-pages@v5
55+
# with:
56+
# Automatically inject basePath in your Next.js configuration file and disable
57+
# server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
58+
#
59+
# You may remove this line if you want to manage the configuration yourself.
60+
# static_site_generator: next
61+
- name: Restore cache
62+
uses: actions/cache@v4
63+
with:
64+
path: |
65+
.next/cache
66+
node_modules
67+
# Generate a new cache whenever packages or source files change.
68+
key: ${{ runner.os }}-nextjs-${{ hashFiles('package.json') }}
69+
# If source files changed but packages didn't, rebuild from a prior cache.
70+
restore-keys: |
71+
${{ runner.os }}-nextjs-
72+
- name: Install dependencies
73+
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
74+
- name: Build with Next.js
75+
run: ${{ steps.detect-package-manager.outputs.runner }} next build
76+
- name: Upload artifact
77+
uses: actions/upload-pages-artifact@v3
78+
with:
79+
path: ./out
80+
81+
# Deployment job
82+
deploy:
83+
environment:
84+
name: github-pages
85+
url: ${{ steps.deployment.outputs.page_url }}
86+
runs-on: ubuntu-latest
87+
needs: build
88+
steps:
89+
- name: Deploy to GitHub Pages
90+
id: deployment
91+
uses: actions/deploy-pages@v4

.gitignore

+28-6
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,30 @@
1+
# deps
12
/node_modules
2-
.idea
3-
public/
4-
quartz/.quartz-cache
3+
package-lock.json
4+
5+
# generated content
6+
.contentlayer
7+
.content-collections
8+
.source
9+
10+
# test & build
11+
/coverage
12+
/.next/
13+
/out/
14+
/build
15+
*.tsbuildinfo
16+
17+
# misc
518
.DS_Store
6-
workspace.json
7-
.idea/discord.xml
8-
content/.obsidian/core-plugins.json
19+
*.pem
20+
/.pnp
21+
.pnp.js
22+
npm-debug.log*
23+
yarn-debug.log*
24+
yarn-error.log*
25+
**/.obsidian
26+
27+
# others
28+
.env*.local
29+
.vercel
30+
next-env.d.ts

.idea/.gitignore

Whitespace-only changes.

.idea/discord.xml

-14
This file was deleted.

.idea/docs.iml

-12
This file was deleted.

.idea/inspectionProfiles/Project_Default.xml

-20
This file was deleted.

.idea/modules.xml

-8
This file was deleted.

.idea/prettier.xml

-6
This file was deleted.

.idea/vcs.xml

-6
This file was deleted.

.node-version

-1
This file was deleted.

.npmrc

-1
This file was deleted.

.prettierignore

-3
This file was deleted.

.prettierrc

-7
This file was deleted.

Dockerfile

-11
This file was deleted.

0 commit comments

Comments
 (0)