Skip to content

Commit 6e47a83

Browse files
Merge branch 'main' into main
2 parents 13a68ff + b2d335b commit 6e47a83

File tree

218 files changed

+30977
-7379
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

218 files changed

+30977
-7379
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
"@lingo.dev/compiler": patch
3+
---
4+
5+
docs: comprehensive README update with LLM configuration, manual overrides, and advanced features
6+
7+
Added extensive documentation covering:
8+
- Complete LLM provider configuration (OpenAI, Anthropic, Google, Groq, Mistral, OpenRouter, Ollama)
9+
- Environment variables for all supported providers
10+
- Locale-pair model mapping with wildcard patterns
11+
- Custom translation prompts
12+
- Manual translation overrides using data-lingo-override attribute
13+
- Build modes (translate vs cache-only) and recommended workflows
14+
- Custom locale resolvers (server and client)
15+
- Configuration options table with defaults
16+
- Development configuration (pseudotranslator, translation server port)
17+
- Locale persistence configuration (cookie settings)
18+
- Pluralization configuration
19+
- Updated feature list
20+
- Fixed demo app paths in examples

.github/workflows/release.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
permissions:
1818
contents: write
1919
pull-requests: write
20-
id-token: write
20+
id-token: write # Required for npm Trusted Publishing with OIDC
2121
steps:
2222
- name: Checkout
2323
uses: actions/checkout@v4
@@ -87,6 +87,13 @@ jobs:
8787
- name: Test
8888
run: pnpm turbo test --force
8989

90+
- name: Import GPG key
91+
uses: crazy-max/ghaction-import-gpg@v6
92+
with:
93+
gpg_private_key: ${{ secrets.GHA_BOT_GPG }}
94+
git_user_signingkey: true
95+
git_commit_gpgsign: true
96+
9097
- name: Create Release Pull Request or Publish to npm
9198
id: changesets
9299
uses: changesets/action@v1
@@ -95,6 +102,7 @@ jobs:
95102
version: pnpm changeset version
96103
publish: pnpm changeset publish
97104
commit: "chore: bump package version"
105+
setupGitUser: false
98106
env:
99107
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
100108
NPM_CONFIG_PROVENANCE: true

demo/adonisjs/.editorconfig

Lines changed: 0 additions & 22 deletions
This file was deleted.

demo/adonisjs/.env.example

Lines changed: 0 additions & 7 deletions
This file was deleted.

demo/adonisjs/.gitignore

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)