Skip to content

Commit bd7c06a

Browse files
committed
Initial commit
1 parent ce7a625 commit bd7c06a

File tree

244 files changed

+18903
-27
lines changed

Some content is hidden

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

244 files changed

+18903
-27
lines changed

.firebaserc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"projects": {
3+
"default": "website-17fc7"
4+
}
5+
}
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# This file was auto-generated by the Firebase CLI
2+
# https://github.com/firebase/firebase-tools
3+
4+
name: Deploy to Firebase Hosting on merge
5+
"on":
6+
push:
7+
branches:
8+
- main
9+
jobs:
10+
build_and_deploy:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v3
14+
- uses: pnpm/action-setup@v2
15+
name: Install pnpm
16+
id: pnpm-install
17+
with:
18+
version: 7
19+
run_install: false
20+
21+
- name: Get pnpm store directory
22+
id: pnpm-cache
23+
shell: bash
24+
run: |
25+
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
26+
27+
- uses: actions/cache@v3
28+
name: Setup pnpm cache
29+
with:
30+
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
31+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
32+
restore-keys: |
33+
${{ runner.os }}-pnpm-store-
34+
35+
- name: Install dependencies
36+
run: pnpm install
37+
- run: pnpm run build
38+
- uses: FirebaseExtended/action-hosting-deploy@v0
39+
with:
40+
repoToken: "${{ secrets.GITHUB_TOKEN }}"
41+
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_WEBSITE_17FC7 }}"
42+
channelId: live
43+
projectId: website-17fc7
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# This file was auto-generated by the Firebase CLI
2+
# https://github.com/firebase/firebase-tools
3+
4+
name: Deploy to Firebase Hosting on PR
5+
"on": pull_request
6+
jobs:
7+
build_and_preview:
8+
if: "${{ github.event.pull_request.head.repo.full_name == github.repository }}"
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v3
12+
- uses: pnpm/action-setup@v2
13+
name: Install pnpm
14+
id: pnpm-install
15+
with:
16+
version: 7
17+
run_install: false
18+
19+
- name: Get pnpm store directory
20+
id: pnpm-cache
21+
shell: bash
22+
run: |
23+
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
24+
25+
- uses: actions/cache@v3
26+
name: Setup pnpm cache
27+
with:
28+
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }}
29+
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
30+
restore-keys: |
31+
${{ runner.os }}-pnpm-store-
32+
33+
- name: Install dependencies
34+
run: pnpm install
35+
- run: pnpm run build
36+
- uses: FirebaseExtended/action-hosting-deploy@v0
37+
with:
38+
repoToken: "${{ secrets.GITHUB_TOKEN }}"
39+
firebaseServiceAccount: "${{ secrets.FIREBASE_SERVICE_ACCOUNT_WEBSITE_17FC7 }}"
40+
projectId: website-17fc7

.hintrc

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"extends": [
3+
"development"
4+
],
5+
"hints": {
6+
"compat-api/css": [
7+
"default",
8+
{
9+
"ignore": [
10+
"user-select"
11+
]
12+
}
13+
]
14+
}
15+
}

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
auto-install-peers = true
2+
legacy-peer-deps = true

astro.config.mjs

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,29 @@
11
import { defineConfig } from 'astro/config';
2+
import solidJs from "@astrojs/solid-js";
3+
import sitemap from "@astrojs/sitemap";
4+
import image from "@astrojs/image";
5+
import prefetch from "@astrojs/prefetch";
6+
import partytown from "@astrojs/partytown";
7+
import compress from "astro-compress";
8+
import rome from "astro-rome";
9+
import compressor from "astro-compressor";
210

311
// https://astro.build/config
4-
export default defineConfig({});
12+
export default defineConfig({
13+
compressHTML: true,
14+
integrations: [solidJs(), sitemap(), image(), prefetch(), partytown({
15+
config: {
16+
forward: ["dataLayer.push"]
17+
}
18+
}), compress({
19+
css: true,
20+
html: true,
21+
img: true,
22+
js: true,
23+
svg: true
24+
}), rome(), compressor()],
25+
site: "https://deeprobin.de",
26+
experimental: {
27+
assets: true
28+
}
29+
});

firebase.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"hosting": {
3+
"public": "dist",
4+
"ignore": [
5+
"firebase.json",
6+
"**/.*",
7+
"**/node_modules/**"
8+
]
9+
}
10+
}

package.json

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,30 @@
77
"start": "astro dev",
88
"build": "astro build",
99
"preview": "astro preview",
10-
"astro": "astro"
10+
"astro": "astro",
11+
"ci": "npm install -g astro"
1112
},
1213
"dependencies": {
13-
"astro": "^2.4.1"
14+
"@astrojs/image": "^0.16.9",
15+
"@astrojs/partytown": "^1.2.2",
16+
"@astrojs/prefetch": "^0.2.3",
17+
"@astrojs/sitemap": "^1.3.1",
18+
"@astrojs/solid-js": "^2.2.0",
19+
"@fontsource/open-sans": "^4.5.14",
20+
"@fontsource/sarabun": "^4.5.9",
21+
"@kobalte/core": "^0.9.6",
22+
"@nanostores/persistent": "^0.7.0",
23+
"@nanostores/solid": "^0.3.2",
24+
"astro": "^2.5.1",
25+
"astro-compress": "^1.1.44",
26+
"astro-compressor": "^0.4.0",
27+
"astro-rome": "^0.1.15",
28+
"clarity-js": "^0.7.8",
29+
"firebase": "^9.22.0",
30+
"lucide-solid": "^0.216.0",
31+
"nanostores": "^0.7.4",
32+
"sass": "^1.62.1",
33+
"solid-icons": "^1.0.4",
34+
"solid-js": "^1.7.5"
1435
}
15-
}
36+
}

0 commit comments

Comments
 (0)