Skip to content
Closed
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ export const getLocale = (event: RequestEvent): Locale => {
};
```

> `getLocaleFromStorage` will check the locale from header or cookie depending on your configuration. See [Configuration](https://intlayer.org/doc/concept/configuration) for more details.
> `getLocaleFromStorage` will check the locale from header or cookie depending on your configuration. See [Configuration](https://intlayer.org/doc/configuration) for more details.

> The `localeDetector` function will treat the `Accept-Language` header and return the best match.

Expand Down
2 changes: 1 addition & 1 deletion .agents/skills/intlayer-usage/references/why.md
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ const ComponentExample = () => {
This approach allows you to:

1. **Increase the speed of development**
- `.content.{ts|js|mjs|cjs|json|tsx|jsx|md|mdx|yaml|yml}` files can be created using a VSCode extension
- `.content.{{ts|mjs|cjs|json}}` files can be created using a VSCode extension
- Autocompletion AI tools in your IDE (such as GitHub Copilot) can help you declare your content, reducing copy/paste

2. **Clean your codebase**
Expand Down
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
{
"name": "intlayer-lsp",
"description": "Intlayer language server: Go-to-Definition for useIntlayer / getIntlayer / useDictionary / getDictionary keys across all *-intlayer packages",
"version": "9.1.3",
"version": "9.0.0-canary.15",
"author": {
"name": "Intlayer",
"url": "https://intlayer.org"
Expand Down
46 changes: 0 additions & 46 deletions .github/workflows/tauri-app-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,6 @@ jobs:
platform: [macos-latest, windows-latest, ubuntu-latest]
runs-on: ${{ matrix.platform }}

# Code-signing secrets. When a secret is not configured in the repo it
# resolves to an empty string, and the matching signing step is skipped,
# so the corresponding artifact is simply built unsigned (green build).
env:
# --- macOS (Apple Developer ID signing + notarization) ---
APPLE_CERTIFICATE: ${{ secrets.APPLE_CERTIFICATE }}
APPLE_CERTIFICATE_PASSWORD: ${{ secrets.APPLE_CERTIFICATE_PASSWORD }}
APPLE_SIGNING_IDENTITY: ${{ secrets.APPLE_SIGNING_IDENTITY }}
APPLE_ID: ${{ secrets.APPLE_ID }}
APPLE_PASSWORD: ${{ secrets.APPLE_PASSWORD }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}
# --- Windows (code-signing certificate) ---
WINDOWS_CERTIFICATE: ${{ secrets.WINDOWS_CERTIFICATE }}
WINDOWS_CERTIFICATE_PASSWORD: ${{ secrets.WINDOWS_CERTIFICATE_PASSWORD }}
# --- Linux (AppImage GPG signing) ---
LINUX_SIGN_GPG_PRIVATE_KEY: ${{ secrets.LINUX_SIGN_GPG_PRIVATE_KEY }}
LINUX_SIGN_GPG_KEY_ID: ${{ secrets.LINUX_SIGN_GPG_KEY_ID }}
APPIMAGETOOL_SIGN_PASSPHRASE: ${{ secrets.LINUX_SIGN_GPG_PASSPHRASE }}

steps:
- uses: actions/checkout@v4

Expand Down Expand Up @@ -76,40 +57,13 @@ jobs:
working-directory: apps/app
run: bun --bun vite build --config tauri.vite.config.ts

# Windows: decode the base64 .pfx from the secret and import it into the
# current-user certificate store so signtool can find it by thumbprint.
# Emits the `--config` arg that merges the Windows signing settings.
- name: Import Windows signing certificate
id: windows_signing
if: matrix.platform == 'windows-latest' && env.WINDOWS_CERTIFICATE != ''
shell: pwsh
run: |
New-Item -ItemType Directory -Force -Path certificate | Out-Null
Set-Content -Path certificate/tempCert.txt -Value $env:WINDOWS_CERTIFICATE
certutil -decode certificate/tempCert.txt certificate/certificate.pfx
Remove-Item -Path certificate/tempCert.txt
Import-PfxCertificate -FilePath certificate/certificate.pfx -CertStoreLocation Cert:\CurrentUser\My -Password (ConvertTo-SecureString -String $env:WINDOWS_CERTIFICATE_PASSWORD -Force -AsPlainText)
"args=--config src-tauri/tauri.windows.conf.json" >> $env:GITHUB_OUTPUT

# Linux: import the GPG private key used to sign the AppImage.
- name: Import GPG signing key (Linux)
if: matrix.platform == 'ubuntu-latest' && env.LINUX_SIGN_GPG_PRIVATE_KEY != ''
run: echo "$LINUX_SIGN_GPG_PRIVATE_KEY" | gpg --batch --import

- name: Build and publish Tauri app
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# AppImage GPG signing (Linux only; ignored on other platforms).
# SIGN=1 is only enabled when the GPG private key secret is present.
SIGN: ${{ matrix.platform == 'ubuntu-latest' && env.LINUX_SIGN_GPG_PRIVATE_KEY != '' && '1' || '' }}
SIGN_KEY: ${{ env.LINUX_SIGN_GPG_KEY_ID }}
APPIMAGETOOL_FORCE_SIGN: '1'
with:
projectPath: apps/app
tauriScript: bunx tauri
# Windows signing config merge (empty on other platforms / when unsigned).
args: ${{ steps.windows_signing.outputs.args }}
tagName: ${{ steps.get_version.outputs.version }}
releaseName: '${{ steps.get_version.outputs.version }}'
releaseBody: 'See the assets to download this version and install.'
Expand Down
4 changes: 0 additions & 4 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,6 @@ bun run test # vitest (concurrency=2)

Users declare content in `.content.ts` files (co-located with components) using `t()` from `intlayer`. **Intlayer Compiler** (build-tool plugin) extracts at build time → emits JSON to `.intlayer/`. At runtime, `useIntlayer` (react-intlayer etc.) reads compiled dictionaries.

## Git

Except if explicitly formulated, you cannot use git commit, stash, push, pull or changing branch

## Commit conventions

Format: `<type>(<scope>): <subject>` — enforced by commitlint + husky.
Expand Down
Loading