diff --git a/.env.example b/.env.example index dede689..86f11ce 100644 --- a/.env.example +++ b/.env.example @@ -1,2 +1,5 @@ API_URL='http://localhost:8000' +DUMMY=false GITHUB_TOKEN='YOUR_GITHUB_TOKEN' + +LOGGER_LAYER_URI=github:DCC-BS/nuxt-layers/pino-logger diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f5251c8..041977f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,7 +9,7 @@ on: - main jobs: - build: + ci: runs-on: ubuntu-latest steps: - uses: DCC-BS/ci-workflows/actions/node-bun-biome-playwright@v8 @@ -20,6 +20,5 @@ jobs: run_playwright: "false" install_method: "bun" build_command: "bun run build" - test_command: "bunx playwright test" - artifact_name: "playwright-report" - artifact_retention_days: 30 + - name: test + run: bun run test diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml index 908c317..5e2977f 100644 --- a/.github/workflows/docker-publish.yml +++ b/.github/workflows/docker-publish.yml @@ -1,13 +1,6 @@ name: Build and Publish Docker Image on: workflow_dispatch: - inputs: - version_bump: - description: Version bump type - required: true - default: patch - type: choice - options: [major, minor, patch] permissions: contents: write @@ -18,7 +11,6 @@ jobs: uses: DCC-BS/ci-workflows/.github/workflows/publish-docker.yml@v8 secrets: inherit with: - release_type: ${{ inputs.version_bump }} # major|minor|patch version_project_type: "node" # or "python" registry: ghcr.io image_name: ghcr.io/${{ github.repository }} diff --git a/.gitignore b/.gitignore index a420bdc..95664fe 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,5 @@ logs .env.* !.env.example !docker/.env.backend.example + +.worktreees/* diff --git a/.nuxtrc b/.nuxtrc new file mode 100644 index 0000000..1e1fe83 --- /dev/null +++ b/.nuxtrc @@ -0,0 +1 @@ +setups.@nuxt/test-utils="4.0.0" \ No newline at end of file diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..6079175 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,132 @@ +# Transcribo Frontend - Agent Coding Guidelines + +## Build & Development Commands + +```bash +# Install dependencies (Bun required, not npm) +bun install + +# Development server +bun run dev + +# Build for production +bun run build + +# Start production server +bun run start + +# Generate static site +bun run generate + +# Linting & Formatting +bun run lint # Biome format --write +bun run check # Biome check --fix + +# Docker +bun run docker:dev # Start dev container +bun run docker:dev:down # Stop dev container +bun run docker:prod # Start production container +bun run docker:prod:down # Stop production container +``` + +## Package Manager +**Use `bun` for all package operations, NOT npm.** + +## Code Style Guidelines + +### TypeScript & Vue +- **Always use Composition API** (` + + diff --git a/app/components/ExportToolbar.vue b/app/components/ExportToolbar.vue index 8f8f44d..bdbf77a 100644 --- a/app/components/ExportToolbar.vue +++ b/app/components/ExportToolbar.vue @@ -1,75 +1,122 @@