Skip to content

Commit 104f0f9

Browse files
committed
Merge branch 'main' of github.com:Cap-go/website
2 parents d69d661 + 49cb3a8 commit 104f0f9

File tree

1,783 files changed

+132162
-87087
lines changed

Some content is hidden

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

1,783 files changed

+132162
-87087
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
BEARER_TOKEN="..."
2-
OPENAI_API_KEY="..."
2+
OPENAI_API_KEY="..."

.github/workflows/deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
11
name: Deploy
22

3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
37
on:
48
push:
59
branches:
610
- main
711

812
jobs:
913
build:
10-
runs-on: warp-ubuntu-latest-x64-4x-spot
14+
runs-on: ubuntu-latest
1115
steps:
1216
- uses: actions/checkout@v4
1317
- name: Setup bun

.github/workflows/indexnow.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
google-indexing:
1818
runs-on: ubuntu-latest
1919
steps:
20-
- uses: robingenz/action-google-indexing@v1.0.0
20+
- uses: robingenz/action-google-indexing@v1.0.2
2121
with:
2222
siteUrl: 'capgo.app'
2323
gcpServiceAccountKey: ${{ secrets.GCP_SA_KEY }}

.prettierignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,3 @@ pnpm-debug.log*
2424
**/*.yml
2525
public/
2626
src/services/locale.ts
27-
src/services/translations.ts
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# .vscode/i18n-ally-custom-framework.yml
2+
3+
# An array of strings which contain Language Ids defined by VS Code
4+
# You can check available language ids here: https://code.visualstudio.com/docs/languages/identifiers
5+
languageIds:
6+
- javascript
7+
- typescript
8+
- vue
9+
- astro
10+
11+
# An array of RegExes to find the key usage. **The key should be captured in the first match group**.
12+
# You should unescape RegEx strings in order to fit in the YAML file
13+
# To help with this, you can use https://www.freeformatter.com/json-escape.html
14+
usageMatchRegex:
15+
# The following example shows how to detect `t("your.i18n.keys")`
16+
# the `{key}` will be placed by a proper keypath matching regex,
17+
# you can ignore it and use your own matching rules as well
18+
- "[^\\w\\d]m\\.({key})\\(.*?\\)"
19+
- "{{\\s*m\\.({key})\\(.*?\\)\\s*}}"
20+
- "{m\\.({key})\\(.*?\\)}"
21+
22+
# A RegEx to set a custom scope range. This scope will be used as a prefix when detecting keys
23+
# and works like how the i18next framework identifies the namespace scope from the
24+
# useTranslation() hook.
25+
# You should unescape RegEx strings in order to fit in the YAML file
26+
# To help with this, you can use https://www.freeformatter.com/json-escape.html
27+
scopeRangeRegex: "import\\s*\\*\\s*as\\s*m\\s*from\\s*['\"`].*?paraglide/messages['\"`]"
28+
29+
# An array of strings containing refactor templates.
30+
# The "$1" will be replaced by the keypath specified.
31+
# Optional: uncomment the following two lines to use
32+
33+
refactorTemplates:
34+
- m.$1()
35+
36+
# If set to true, only enables this custom framework (will disable all built-in frameworks)
37+
monopoly: true

.vscode/settings.json

Lines changed: 17 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,24 @@
11
{
2+
"i18n-ally.keystyle": "nested",
23
"i18n-ally.localesPaths": "messages",
34
"i18n-ally.sortKeys": true,
4-
"files.exclude": {
5-
"node_modules": true,
6-
"src/content/de": true,
7-
"public": true,
8-
"dist": true,
9-
"src/content/es": true,
10-
"src/content/fr": true,
11-
"src/content/id": true,
12-
"src/content/it": true,
13-
"src/content/ja": true,
14-
"src/content/ko": true,
15-
},
165
"search.exclude": {
17-
"node_modules": true,
18-
"public": true,
196
"dist": true,
20-
"src/content/de": true,
21-
"src/content/es": true,
22-
"src/content/fr": true,
23-
"src/content/id": true,
24-
"src/content/it": true,
25-
"src/content/ja": true,
26-
"src/content/ko": true,
7+
"public": true,
8+
"node_modules": true,
9+
"src/content/blog/de": true,
10+
"src/content/blog/es": true,
11+
"src/content/blog/fr": true,
12+
"src/content/blog/id": true,
13+
"src/content/blog/it": true,
14+
"src/content/blog/ja": true,
15+
"src/content/blog/ko": true,
16+
"src/content/plugins-tutorials/de": true,
17+
"src/content/plugins-tutorials/es": true,
18+
"src/content/plugins-tutorials/fr": true,
19+
"src/content/plugins-tutorials/id": true,
20+
"src/content/plugins-tutorials/it": true,
21+
"src/content/plugins-tutorials/ja": true,
22+
"src/content/plugins-tutorials/ko": true,
2723
}
2824
}

bun.lockb

20.2 KB
Binary file not shown.

locales/de.yml

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

locales/en.yml

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

locales/es.yml

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

0 commit comments

Comments
 (0)