Skip to content

Commit 8c43b00

Browse files
committed
sveltekit
1 parent b4a4558 commit 8c43b00

118 files changed

Lines changed: 4934 additions & 13316 deletions

File tree

Some content is hidden

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

.browserslistrc

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

.depot/workflows/cicd.yml

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
name: ci&cd
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
9+
permissions:
10+
contents: read
11+
12+
concurrency:
13+
group: ci-${{ github.ref }}
14+
cancel-in-progress: true
15+
16+
jobs:
17+
ci:
18+
runs-on: depot-ubuntu-24.04
19+
20+
steps:
21+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
22+
with:
23+
persist-credentials: false
24+
25+
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
26+
with:
27+
node-version: 26
28+
- uses: pnpm/action-setup@0ebf47130e4866e96fce0953f49152a61190b271 # v6.0.9
29+
with:
30+
cache: true
31+
32+
- name: Install dependencies
33+
run: pnpm install --frozen-lockfile --ignore-scripts
34+
35+
- parallel:
36+
- name: build
37+
run: node --run build
38+
- name: lint
39+
run: node --run lint
40+
- name: typecheck
41+
run: node --run typecheck
42+
43+
docker-push:
44+
if: ${{ github.ref == 'refs/heads/main' }}
45+
needs: [ci]
46+
runs-on: depot-ubuntu-24.04
47+
environment: image-registry
48+
permissions:
49+
contents: read
50+
51+
steps:
52+
- uses: depot/setup-action@15c09a5f77a0840ad4bce955686522a257853461 # v1.7.1
53+
54+
- name: Build and maybe Push Docker image
55+
uses: depot/build-push-action@98e78adca7817480b8185f474a400b451d74e287 # v1.18.0
56+
with:
57+
project: z3q9sj669s
58+
platforms: linux/amd64
59+
save: true
60+
save-tags: |
61+
latest
62+
${{ github.sha }}

.env.sample

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,5 @@
1-
VERCEL_ENV=development
1+
DISCORD_CLIENT_ID=
2+
DISCORD_CLIENT_SECRET=
23

3-
## Supabase
4-
SUPABASE_URL=http://localhost:54321
5-
SUPABASE_KEY=
6-
#SUPABASE_URL=https://zumvzhjvopgyallrtymo.supabase.co
7-
#SUPABASE_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6Inp1bXZ6aGp2b3BneWFsbHJ0eW1vIiwicm9sZSI6ImFub24iLCJpYXQiOjE2NjA1ODA4NjEsImV4cCI6MTk3NjE1Njg2MX0.dUj7wiTkNEbyuOsoLqj2VfP7_kkJfJzWuF2AZe2i36Y
8-
# Secret
9-
SUPABASE_SERVICE_KEY=
10-
11-
NUXT_VAPID_PRIVATE_KEY=
12-
13-
NUXT_GCM_API_KEY=
14-
# Token that is required to run `/api/check`
15-
NUXT_CHECK_TOKEN=
16-
# Discord stuff
17-
NUXT_DISCORD_CLIENT_ID=
18-
NUXT_DISCORD_CLIENT_SECRET=
4+
VAPID_PUBLIC_KEY=
5+
VAPID_PRIVATE_KEY=

.github/renovate.json5

Lines changed: 1 addition & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,4 @@
11
{
22
$schema: "https://docs.renovatebot.com/renovate-schema.json",
3-
extends: [
4-
"config:js-app",
5-
"helpers:disableTypesNodeMajor",
6-
"schedule:earlyMondays",
7-
"group:allNonMajor",
8-
"schedule:monthly",
9-
],
10-
prHourlyLimit: 5,
11-
prConcurrentLimit: 5,
12-
branchConcurrentLimit: 5,
13-
labels: ["dependencies"],
14-
baseBranches: ["main"],
15-
packageRules: [
16-
{
17-
matchUpdateTypes: ["patch", "minor"],
18-
matchManagers: ["npm"],
19-
automerge: true,
20-
},
21-
// Build deps can be bundled together
22-
{
23-
groupName: "build deps",
24-
packagePatterns: [
25-
"esbuild",
26-
"ts(down|up)",
27-
"roll(down|up)",
28-
"(rs|web)pack",
29-
"unplugin",
30-
],
31-
},
32-
// Linting can be bunched together
33-
{
34-
groupName: "dev deps",
35-
packagePatterns: [
36-
"^@tsconfig/",
37-
"eslint",
38-
"-staged$",
39-
"prettier",
40-
"typescript",
41-
"simple-git-hooks",
42-
],
43-
automerge: true,
44-
},
45-
// Don't touch nolyfill overrides
46-
{
47-
packagePatterns: ["@nolyfill/*", "@socketregistry/*"],
48-
rangeStrategy: "replace",
49-
},
50-
// Pin GH Actions (action@hash #v0.0.0)
51-
{
52-
matchDepTypes: ["action"],
53-
pinDigests: true,
54-
prPriority: 999,
55-
},
56-
],
3+
extends: ["github>BeeeQueue/renovate-config:js-app.json"],
574
}

.github/workflows/ci.yml

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

.gitignore

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1-
.idea
21
.DS_Store
32

4-
node_modules
3+
/.data/
4+
/.svelte-kit/
5+
/build/
6+
/node_modules/
7+
8+
.idea/
9+
!.idea/jsLibraryMappings.xml
10+
!.idea/template.iml
11+
!.idea/prettier.xml
512

6-
.vercel
7-
.nuxt
8-
.nitro
9-
.cache
10-
.output
1113
.env

.npmrc

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

.oxfmtrc.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"ignorePatterns": ["pnpm-lock.yaml"],
3+
"semi": false,
4+
"sortImports": {
5+
"type": "natural",
6+
"internalPattern": ["#/", "#lib/", "$app/"],
7+
"groups": ["builtin", "external", "internal", "parent", "sibling", "index", "unknown"]
8+
},
9+
"sortPackageJson": false,
10+
"sortTailwindcss": true,
11+
"svelte": true
12+
}

.prettierignore

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

.prettierrc

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

0 commit comments

Comments
 (0)