Skip to content
Open
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
2 changes: 1 addition & 1 deletion .buildpacks
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
https://github.com/heroku/heroku-buildpack-apt
https://github.com/Turbo87/heroku-buildpack-crates-io#7916dff181a455c55ef3a1603a4efe00920a16c2
https://github.com/Turbo87/heroku-buildpack-crates-io#548cef4ec86eda61bfbf62d0546269dc4632175f
38 changes: 38 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,17 @@ jobs:
with:
files: .github/workflows/**

- uses: tj-actions/changed-files@24d32ffd492484c1d75e0c0b894501ddb9d30d62 # v47.0.0
id: changed-files-svelte
with:
files: svelte/**

outputs:
non-js: ${{ steps.changed-files-non-js.outputs.any_modified }}
non-rust: ${{ steps.changed-files-non-rust.outputs.any_modified }}
rust-lockfile: ${{ steps.changed-files-rust-lockfile.outputs.any_modified }}
ci: ${{ steps.changed-files-ci.outputs.any_modified }}
svelte: ${{ steps.changed-files-svelte.outputs.any_modified }}

percy-nonce:
name: Frontend / Percy Nonce
Expand Down Expand Up @@ -362,3 +368,35 @@ jobs:
with:
sarif_file: results.sarif
category: zizmor

svelte:
name: Svelte (experimental)
runs-on: ubuntu-24.04
needs: changed-files
if: needs.changed-files.outputs.svelte == 'true'

defaults:
run:
working-directory: svelte

steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
with:
persist-credentials: false

- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
with:
version: ${{ env.PNPM_VERSION }}

- uses: actions/setup-node@395ad3262231945c25e8478fd5baf05154b1d79f # v6.1.0
with:
cache: pnpm
node-version-file: package.json

- run: pnpm install

- run: pnpm lint
- run: pnpm check
- run: pnpm build
- run: pnpm playwright install chromium-headless-shell
- run: pnpm test
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
dist/
svelte/
1 change: 1 addition & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
- `/app/models/` - Ember Data models (crate, version, user, keyword, etc.)
- `/app/adapters/`, `/app/serializers/` - Ember Data adapter layer
- `/app/services/` - Shared services (session, notifications, API client)
- `/svelte/` - Frontend SvelteKit application (WIP)
- `/crates/` - Workspace crates providing specialized functionality
- `crates_io_api_types/` - API response serialization types
- `crates_io_database/` - Database models and schema (Diesel ORM)
Expand Down
7 changes: 4 additions & 3 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import globals from 'globals';
import path from 'node:path';
import { fileURLToPath } from 'node:url';

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);
const filename = fileURLToPath(import.meta.url);
const dirname = path.dirname(filename);
const compat = new FlatCompat({
baseDirectory: __dirname,
baseDirectory: dirname,
recommendedConfig: js.configs.recommended,
allConfig: js.configs.all,
});
Expand All @@ -25,6 +25,7 @@ export default [
'.git/**/*',
'crates/',
'playwright-report/',
'svelte/',
'target/',
'test-results/',
'tmp/',
Expand Down
Loading
Loading