Skip to content

Commit 5c32a7b

Browse files
Connect with GitHub (#27)
1 parent f0d3215 commit 5c32a7b

36 files changed

+921
-727
lines changed

.github/workflows/pr-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
run: echo "has-permissions=${{ steps.secrets-check.outcome == 'success' && 'true' || 'false' }}" >> $GITHUB_OUTPUT
3939

4040
check-and-fix:
41-
name: Pre-checks
41+
name: Check and fix
4242
runs-on: ubuntu-latest
4343
needs: permissions-check
4444
permissions:
@@ -127,7 +127,7 @@ jobs:
127127
- name: ✨ Check Svelte format
128128
id: svelte-format
129129
if: steps.changed-files.outputs.code_changes == 'true'
130-
run: pnpm check
130+
run: pnpm check:ci
131131

132132
- name: ✨ Check style with Prettier & ESLint
133133
id: prettier-eslint

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ Made with SvelteKit, TailwindCSS & shadcn-svelte.
1313
- Dynamically computed badges to indicate whether a package is the Latest, a Major version, a Prerelease, or a Maintenance version
1414
- Hover popups at multiple places across the site
1515
- "What's new" banner to keep users updated about the latest changes of the website
16-
- Optional use of a GitHub token to avoid rate limiting…
17-
- …in dev mode in a `.env` file (see `.env.example`)
18-
- …in production by inputting it in the settings page (click the gear icon in the navbar)
16+
- Authenticate with GitHub to bypass rate limits and get access to more features
17+
- Optional use of a GitHub token to avoid rate limiting in dev mode in a `.env` file (see `.env.example`)
1918

2019
## How does it work?
2120

package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"build": "vite build",
88
"preview": "vite preview",
99
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
10+
"check:ci": "svelte-kit sync && svelte-check --no-tsconfig",
1011
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
1112
"lint": "prettier --check . && eslint .",
1213
"format": "prettier --write ."
@@ -21,13 +22,15 @@
2122
"@types/eslint": "^9.6.0",
2223
"@types/semver": "^7.5.8",
2324
"@vercel/speed-insights": "^1.0.12",
25+
"arctic": "^1.9.2",
2426
"autoprefixer": "^10.4.20",
2527
"bits-ui": "^0.21.13",
2628
"clsx": "^2.1.1",
2729
"eslint": "^9.9.1",
2830
"eslint-config-prettier": "^9.1.0",
2931
"eslint-plugin-svelte": "^2.43.0",
3032
"globals": "^15.9.0",
33+
"lucia": "^3.2.0",
3134
"lucide-svelte": "^0.435.0",
3235
"mode-watcher": "^0.4.1",
3336
"octokit": "^4.0.2",
@@ -43,6 +46,8 @@
4346
"svelte-check": "^3.8.6",
4447
"svelte-exmarkdown": "^3.0.5",
4548
"svelte-meta-tags": "^3.1.3",
49+
"svelte-persisted-store": "^0.11.0",
50+
"svelte-sonner": "^0.3.27",
4651
"tailwind-merge": "^2.5.2",
4752
"tailwind-variants": "^0.2.1",
4853
"tailwindcss": "^3.4.10",

0 commit comments

Comments
 (0)