Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connect with GitHub #27

Merged
merged 10 commits into from
Aug 26, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
run: echo "has-permissions=${{ steps.secrets-check.outcome == 'success' && 'true' || 'false' }}" >> $GITHUB_OUTPUT

check-and-fix:
name: Pre-checks
name: Check and fix
runs-on: ubuntu-latest
needs: permissions-check
permissions:
Expand Down Expand Up @@ -127,7 +127,7 @@ jobs:
- name: ✨ Check Svelte format
id: svelte-format
if: steps.changed-files.outputs.code_changes == 'true'
run: pnpm check
run: pnpm check:ci

- name: ✨ Check style with Prettier & ESLint
id: prettier-eslint
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,8 @@ Made with SvelteKit, TailwindCSS & shadcn-svelte.
- Dynamically computed badges to indicate whether a package is the Latest, a Major version, a Prerelease, or a Maintenance version
- Hover popups at multiple places across the site
- "What's new" banner to keep users updated about the latest changes of the website
- Optional use of a GitHub token to avoid rate limiting…
- …in dev mode in a `.env` file (see `.env.example`)
- …in production by inputting it in the settings page (click the gear icon in the navbar)
- Authenticate with GitHub to bypass rate limits and get access to more features
- Optional use of a GitHub token to avoid rate limiting in dev mode in a `.env` file (see `.env.example`)

## How does it work?

Expand Down
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"build": "vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:ci": "svelte-kit sync && svelte-check --no-tsconfig",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --check . && eslint .",
"format": "prettier --write ."
Expand All @@ -21,13 +22,15 @@
"@types/eslint": "^9.6.0",
"@types/semver": "^7.5.8",
"@vercel/speed-insights": "^1.0.12",
"arctic": "^1.9.2",
"autoprefixer": "^10.4.20",
"bits-ui": "^0.21.13",
"clsx": "^2.1.1",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.43.0",
"globals": "^15.9.0",
"lucia": "^3.2.0",
"lucide-svelte": "^0.435.0",
"mode-watcher": "^0.4.1",
"octokit": "^4.0.2",
Expand All @@ -43,6 +46,8 @@
"svelte-check": "^3.8.6",
"svelte-exmarkdown": "^3.0.5",
"svelte-meta-tags": "^3.1.3",
"svelte-persisted-store": "^0.11.0",
"svelte-sonner": "^0.3.27",
"tailwind-merge": "^2.5.2",
"tailwind-variants": "^0.2.1",
"tailwindcss": "^3.4.10",
Expand Down
Loading
Loading