Skip to content
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: 4 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,7 @@

# Use bd merge for beads JSONL files
.beads/issues.jsonl merge=beads

# Machine-generated API contract artifacts (see ENG-40)
openapi/v1.json linguist-generated
extralit-frontend/types/generated/** linguist-generated
7 changes: 7 additions & 0 deletions .github/workflows/extralit-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ on:
- release
paths:
- "extralit-frontend/**"
- "openapi/v1.json"
- ".github/workflows/extralit-frontend.yml"

pull_request:
paths:
- "extralit-frontend/**"
- "openapi/v1.json"
Comment thread
JonnyTran marked this conversation as resolved.
- ".github/workflows/extralit-frontend.yml"

permissions:
Expand All @@ -44,6 +46,11 @@ jobs:
run: |
npm install

- name: Check generated API types are current 🔗
run: |
npm run api:types
git diff --exit-code -- types/generated/api.d.ts

- name: Run lint 🧹
continue-on-error: true
run: |
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/extralit-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+"
paths:
- "extralit-server/**"
- "openapi/v1.json"
- ".github/workflows/extralit-server.yml"

pull_request:
paths:
- "extralit-server/**"
- "openapi/v1.json"
- ".github/workflows/extralit-server.yml"

permissions:
id-token: write
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/extralit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,16 @@ on:
- "extralit/**"
- "!extralit/docs/**"
- "!extralit/mkdocs.yml"
- "openapi/v1.json"
- ".github/workflows/extralit.yml"

pull_request:
paths:
- "extralit/**"
- "!extralit/docs/**"
- "!extralit/mkdocs.yml"
- "openapi/v1.json"
- ".github/workflows/extralit.yml"

permissions:
id-token: write
Expand All @@ -50,7 +54,8 @@ jobs:
strategy:
fail-fast: true
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
# Newest supported version (requires-python <3.14).
python-version: ["3.13"]
steps:
- uses: actions/checkout@v4
- name: Install uv
Expand Down Expand Up @@ -131,7 +136,7 @@ jobs:
- name: Upload artifact
uses: actions/upload-artifact@v4
# Upload the package to be used in the next jobs only once
if: ${{ matrix.python-version == '3.9' }}
if: ${{ matrix.python-version == '3.13' }}
with:
name: extralit
path: extralit/dist
Expand Down
1 change: 1 addition & 0 deletions extralit-frontend/.prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ dist

# Lockfiles and generated data
package-lock.json
types/generated
2 changes: 1 addition & 1 deletion extralit-frontend/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default [
"v1/domain/entities/document/Document.ts",
"v1/domain/usecases/get-extraction-completion-use-case.ts",
"components/base/base-render-table/**",
"v2/infrastructure/api/generated/**",
"types/generated/**",
],
},

Expand Down
4 changes: 2 additions & 2 deletions extralit-frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions extralit-frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"scripts": {
"dev": "nuxi dev",
"postinstall": "nuxi prepare",
"api:types": "openapi-typescript ../openapi/v1.json -o types/generated/api.d.ts",
"build": "nuxi build",
"start": "nuxi preview",
"generate": "nuxi generate",
Expand Down
Loading
Loading