Skip to content

Commit e73e5b6

Browse files
committed
save
1 parent d4be2c7 commit e73e5b6

File tree

140 files changed

+958
-1623
lines changed

Some content is hidden

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

140 files changed

+958
-1623
lines changed

.claude/skills/desktop-release/SKILL.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ Perform a regular desktop release. This skill handles the full release workflow
1818
## Step 1: Gather changes since last release
1919

2020
1. Find the last release tag:
21-
```bash
21+
```sh
2222
git tag --sort=-creatordate | grep '^desktop/v' | head -1
2323
```
2424
2. Get all commits since that tag on the current branch:
25-
```bash
25+
```sh
2626
git log <last-tag>..HEAD --oneline --no-merges
2727
```
2828
3. Categorize commits into:
@@ -38,7 +38,7 @@ Perform a regular desktop release. This skill handles the full release workflow
3838
3. Wait for user confirmation or edits before writing.
3939
4. Write the final content to `apps/desktop/changelog/next.md`, following the template format:
4040

41-
```markdown
41+
```md
4242
# What's new in vNEXT_VERSION
4343

4444
## Shiny new things
@@ -65,11 +65,11 @@ Perform a regular desktop release. This skill handles the full release workflow
6565
`nbump` requires a clean working tree. Commit changelog edits before running bump.
6666

6767
1. Stage the changelog update:
68-
```bash
68+
```sh
6969
git add apps/desktop/changelog/next.md
7070
```
7171
2. Commit it on `dev`:
72-
```bash
72+
```sh
7373
git commit -m "docs(desktop): prepare release changelog"
7474
```
7575
3. If there are no changes to commit, continue without creating an extra commit.
@@ -79,11 +79,11 @@ Perform a regular desktop release. This skill handles the full release workflow
7979
This is critical for determining whether users need a full app update or can use the lightweight renderer hot update.
8080

8181
1. Check what files changed in `apps/desktop/layer/main/` since the last release tag:
82-
```bash
82+
```sh
8383
git diff <last-tag>..HEAD --name-only -- apps/desktop/layer/main/
8484
```
8585
2. Also check changes to `apps/desktop/package.json` fields other than version/mainHash (since package.json is included in the hash calculation):
86-
```bash
86+
```sh
8787
git diff <last-tag>..HEAD -- apps/desktop/package.json
8888
```
8989

@@ -104,11 +104,11 @@ Present your analysis to the user with:
104104

105105
1. Save the current mainHash from `apps/desktop/package.json` for later comparison.
106106
2. Verify working tree is clean before bump:
107-
```bash
107+
```sh
108108
git status --short
109109
```
110110
3. Change directory to `apps/desktop/` and run the bump:
111-
```bash
111+
```sh
112112
cd apps/desktop && pnpm bump
113113
```
114114
4. This command will:
@@ -126,17 +126,17 @@ Present your analysis to the user with:
126126
If Step 4 decided mainHash should NOT be updated, restore the old value now. The bump has already committed, pushed, and created the PR on a new release branch, so we amend the commit and force push. This is safe because the release branch was just created.
127127

128128
1. Change back to the repo root first (Step 5 left the working directory at `apps/desktop/`):
129-
```bash
129+
```sh
130130
cd ../..
131131
```
132132
2. Ensure you are on the `release/desktop/{NEW_VERSION}` branch (bump should have switched to it).
133133
3. Replace the recalculated mainHash with the saved old value in `apps/desktop/package.json`.
134134
4. Stage and amend the release commit:
135-
```bash
135+
```sh
136136
git add apps/desktop/package.json && git commit --amend --no-edit
137137
```
138138
5. Force push the release branch:
139-
```bash
139+
```sh
140140
git push --force origin release/desktop/{NEW_VERSION}
141141
```
142142

.claude/skills/installing-mobile-preview-builds/SKILL.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,21 @@ Use this skill to create a fresh local `preview` iOS build and install it on a c
2121
- Run from repo root and ensure `apps/mobile` exists.
2222
- Verify `pnpm`, `xcrun`, `xcodebuild`, and `eas-cli` are available.
2323
- Verify EAS login:
24-
```bash
24+
```sh
2525
cd apps/mobile
2626
pnpm dlx eas-cli whoami
2727
```
2828
2. Resolve target device.
2929
- List paired devices:
30-
```bash
30+
```sh
3131
xcrun devicectl list devices
3232
```
3333
- Choose device in this order:
3434
- `$ARGUMENTS` if provided and matches exactly one device.
3535
- Otherwise, first paired iPhone.
3636
3. Trigger local `preview` iOS build.
3737

38-
```bash
38+
```sh
3939
mkdir -p .context/preview-install
4040
cd apps/mobile
4141
pnpm dlx eas-cli build -p ios --profile preview --non-interactive --local --output=./build-preview.ipa
@@ -44,14 +44,14 @@ Use this skill to create a fresh local `preview` iOS build and install it on a c
4444
```
4545

4646
4. Install to device locally.
47-
```bash
47+
```sh
4848
unzip -q -o .context/preview-install/folo-preview.ipa -d .context/preview-install/unpacked
4949
APP_PATH=$(find .context/preview-install/unpacked/Payload -maxdepth 1 -name '*.app' -type d | head -n 1)
5050
xcrun devicectl device install app --device "<device-id>" "$APP_PATH"
5151
```
5252
5. Try launching app.
5353

54-
```bash
54+
```sh
5555
xcrun devicectl device process launch --device "<device-id>" is.follow --activate
5656
```
5757

@@ -64,7 +64,7 @@ Use this skill to create a fresh local `preview` iOS build and install it on a c
6464
- failing command
6565
- key error message from command output
6666
- If app config fails with `Assets source directory not found ... /out/rn-web`, prebuild assets then retry once:
67-
```bash
67+
```sh
6868
pnpm --filter @follow/rn-micro-web-app build --outDir out/rn-web/html-renderer
6969
```
7070

.claude/skills/mobile-release/SKILL.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ Perform a regular mobile release. This skill handles the full release workflow f
1818
## Step 1: Gather changes since last release
1919

2020
1. Find the last release tag (both old `mobile@` and new `mobile/v` prefixes exist):
21-
```bash
21+
```sh
2222
git tag --sort=-creatordate | grep -E '^mobile[@/]' | head -1
2323
```
2424
2. If no tag found, find the last release commit by matching only the subject line:
25-
```bash
25+
```sh
2626
git log --format="%H %s" | grep "^[a-f0-9]* release(mobile): release v" | head -1 | awk '{print $1}'
2727
```
2828
3. Get all commits since the last release on the current branch:
29-
```bash
29+
```sh
3030
git log <last-tag-or-commit>..HEAD --oneline --no-merges
3131
```
3232
4. Categorize commits into:
@@ -42,7 +42,7 @@ Perform a regular mobile release. This skill handles the full release workflow f
4242
3. Wait for user confirmation or edits before writing.
4343
4. Write the final content to `apps/mobile/changelog/next.md`, following the template format:
4444

45-
```markdown
45+
```md
4646
# What's New in vNEXT_VERSION
4747

4848
## Shiny new things
@@ -69,23 +69,23 @@ Perform a regular mobile release. This skill handles the full release workflow f
6969
`nbump` requires a clean working tree. Commit changelog edits before running bump.
7070

7171
1. Stage the changelog update:
72-
```bash
72+
```sh
7373
git add apps/mobile/changelog/next.md
7474
```
7575
2. Commit it on `dev`:
76-
```bash
76+
```sh
7777
git commit -m "docs(mobile): prepare release changelog"
7878
```
7979
3. If there are no changes to commit, continue without creating an extra commit.
8080

8181
## Step 4: Execute bump
8282

8383
1. Verify working tree is clean before bump:
84-
```bash
84+
```sh
8585
git status --short
8686
```
8787
2. Change directory to `apps/mobile/` and run the bump:
88-
```bash
88+
```sh
8989
cd apps/mobile && pnpm bump
9090
```
9191
3. This is an interactive `nbump` command that prompts for version selection. It will:

.claude/skills/update-deps/SKILL.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ After all updates are applied:
108108

109109
Run these commands sequentially in the repo root and capture results:
110110

111-
```bash
111+
```sh
112112
pnpm install
113113
pnpm typecheck
114114
pnpm test
@@ -119,7 +119,7 @@ pnpm lint
119119

120120
Run these commands sequentially in `BACKEND_DIR` and capture results:
121121

122-
```bash
122+
```sh
123123
pnpm install
124124
pnpm typecheck
125125
pnpm test

.github/ISSUE_TEMPLATE/i18n.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: 🌐 Internationalization (i18n)
22
description: Contribute to or report issues with translations
33
title: "[i18n]: "
4-
labels: ["i18n", "triage"]
4+
labels: [i18n, triage]
55
body:
66
- type: markdown
77
attributes:

.github/actions/setup-version/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
name: Setup Version
2-
description: "Setup Version"
2+
description: Setup Version
33
inputs:
44
type:
55
required: true
66
description: "Type of the app, either 'desktop' or 'mobile'"
7-
default: "desktop"
7+
default: desktop
88
outputs:
99
APP_VERSION:
10-
description: "App Version"
10+
description: App Version
1111
value: ${{ steps.version.outputs.APP_VERSION }}
1212
runs:
13-
using: "composite"
13+
using: composite
1414
steps:
15-
- name: "Write Version"
15+
- name: Write Version
1616
id: version
1717
shell: bash
1818
run: |

.github/actions/setup-xcode/action.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
name: "Setup Xcode"
2-
description: "Setup specific Xcode version for iOS builds"
1+
name: Setup Xcode
2+
description: Setup specific Xcode version for iOS builds
33
inputs:
44
xcode-version:
5-
description: "Xcode version to use"
5+
description: Xcode version to use
66
required: false
7-
default: "26.0.1"
7+
default: 26.0.1
88

99
runs:
10-
using: "composite"
10+
using: composite
1111
steps:
1212
- uses: maxim-lobanov/setup-xcode@v1
1313
with:

.github/advanced-issue-labeler.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
policy:
22
- section:
33
- id: [platform]
4-
block-list: ["None", "Other"]
4+
block-list: [None, Other]
55
label:
66
- name: "platform: desktop"
7-
keys: ["Desktop - macOS", "Desktop - Windows", "Desktop - Linux", "Desktop - Web"]
7+
keys: [Desktop - macOS, Desktop - Windows, Desktop - Linux, Desktop - Web]
88
- name: "platform: mobile"
9-
keys: ["Mobile - iOS", "Mobile - Android", "Mobile - Web"]
9+
keys: [Mobile - iOS, Mobile - Android, Mobile - Web]

.github/dependabot.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,15 @@ updates:
3333

3434
# filter not work
3535
- dependency-name: unplugin-ast
36-
versions: ["0.14.5"]
36+
versions: [0.14.5]
3737

3838
open-pull-requests-limit: 100
3939
groups:
4040
minor-and-patch:
4141
applies-to: version-updates
4242
update-types:
43-
- "minor"
44-
- "patch"
43+
- minor
44+
- patch
4545
pathed:
4646
patterns:
4747
- immer

.github/workflows/build-android.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
- "**"
77
paths:
88
- "apps/mobile/**"
9-
- "pnpm-lock.yaml"
9+
- pnpm-lock.yaml
1010
workflow_dispatch:
1111
inputs:
1212
profile:
@@ -15,11 +15,11 @@ on:
1515
options:
1616
- preview
1717
- production
18-
description: "Build profile"
18+
description: Build profile
1919
release:
2020
type: boolean
2121
default: false
22-
description: "Create a release draft for the build"
22+
description: Create a release draft for the build
2323

2424
concurrency:
2525
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event.inputs.profile }}
@@ -52,13 +52,13 @@ jobs:
5252
uses: actions/setup-node@v6
5353
with:
5454
node-version: 22
55-
cache: "pnpm"
55+
cache: pnpm
5656

5757
- name: Set up JDK 17
5858
uses: actions/setup-java@v5
5959
with:
6060
java-version: "17"
61-
distribution: "zulu"
61+
distribution: zulu
6262

6363
- name: Setup Android SDK
6464
uses: android-actions/setup-android@v3
@@ -102,7 +102,7 @@ jobs:
102102
id: version
103103
uses: ./.github/actions/setup-version
104104
with:
105-
type: "mobile"
105+
type: mobile
106106

107107
- name: Prepare Release Notes
108108
if: github.event.inputs.release == 'true'

0 commit comments

Comments
 (0)