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
19 changes: 15 additions & 4 deletions .github/workflows/build-macos.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ on:
tags:
- v*.*.*

env:
CARGO_TERM_COLOR: always
# sccache
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"

jobs:
build-macos:
runs-on:
Expand All @@ -33,14 +39,16 @@ jobs:
echo Version: $VERSION
echo "VERSION=$VERSION" >> ${GITHUB_ENV}

- uses: actions/setup-node@v6
- name: Install NodeJS
uses: actions/setup-node@v6
with:
node-version: 25
node-version: 26

- uses: pnpm/action-setup@v6
- name: Install pnpm
uses: pnpm/action-setup@v6
with:
cache: true
version: 10
version: 11

# Change to '--frozen-lockfile' once this gets fixed:
# https://github.com/pnpm/action-setup/issues/40
Expand All @@ -52,6 +60,9 @@ jobs:
with:
targets: aarch64-apple-darwin,x86_64-apple-darwin

- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.10

- name: Set build number
run: |
sed -i '' "s,@BUILD_NUMBER@,${{ github.run_number }}," src-tauri/tauri.conf.json
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,13 @@ jobs:

- uses: actions/setup-node@v6
with:
node-version: 25
node-version: 26

- uses: pnpm/action-setup@v6
with:
version: 10
cache: true
run_install: false
version: 11

- name: Get pnpm store directory
shell: bash
Expand Down
45 changes: 20 additions & 25 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ on:
tags:
- v*.*.*

env:
CARGO_TERM_COLOR: always
# sccache
SCCACHE_GHA_ENABLED: "true"
RUSTC_WRAPPER: "sccache"

jobs:
create-release:
name: create-release
Expand Down Expand Up @@ -62,11 +68,12 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v6
with:
version: 10
cache: true
version: 11

- uses: actions/setup-node@v6
with:
node-version: 25
node-version: 26

- name: Get pnpm store directory
run: |
Expand All @@ -78,14 +85,6 @@ jobs:
echo Version: $VERSION
echo "VERSION=$VERSION" >> ${GITHUB_ENV}

- uses: actions/cache@v5
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-build-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-build-store-

# Change to '--frozen-lockfile' once this gets fixed:
# https://github.com/pnpm/action-setup/issues/40
- name: Install Node dependencies
Expand All @@ -94,12 +93,15 @@ jobs:
- name: Install Rust stable
uses: dtolnay/rust-toolchain@stable

- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.10

- name: Install dependencies
run: |
apt-get install -y build-essential libgtk-3-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev patchelf libssl-dev libxdo-dev unzip protobuf-compiler libprotobuf-dev rpm

- name: Build packages
uses: tauri-apps/tauri-action@v0.5.23
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down Expand Up @@ -167,26 +169,19 @@ jobs:
- name: Install NodeJS
uses: actions/setup-node@v6
with:
node-version: 25
node-version: 26

- uses: pnpm/action-setup@v6
with:
version: 10
cache: true
version: 11
run_install: false

- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> ${GITHUB_ENV}

- name: Setup pnpm cache
uses: actions/cache@v5
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-build-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-build-store-

# Change to '--frozen-lockfile' once this gets fixed:
# https://github.com/pnpm/action-setup/issues/40
- name: Install Node dependencies
Expand All @@ -201,7 +196,7 @@ jobs:
sudo apt-get install -y libgtk-3-dev libwebkit2gtk-4.1-dev libayatana-appindicator3-dev librsvg2-dev patchelf libssl-dev libxdo-dev unzip protobuf-compiler libprotobuf-dev rpm

- name: Build packages
uses: tauri-apps/tauri-action@v0.5.23 # .24 seems broken, TODO: update when fixed
uses: tauri-apps/tauri-action@v0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down Expand Up @@ -344,10 +339,10 @@ jobs:
# echo "VERSION=$env:VERSION" >> $env:GITHUB_ENV
# - uses: actions/setup-node@v6
# with:
# node-version: 25
# node-version: 26
# - uses: pnpm/action-setup@v6
# with:
# version: 10
# version: 11
# run_install: false
# - name: Get pnpm store directory
# shell: bash
Expand All @@ -367,7 +362,7 @@ jobs:
# with:
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# - name: Build packages
# uses: tauri-apps/tauri-action@v0.5.23 # 0.5.24 - 0.6.1 give: Error: Could not find workspace directory, but version and/or name specifies to use workspace package
# uses: tauri-apps/tauri-action@v0
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# - name: Upload unsigned bundle
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sbom.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
submodules: recursive

- name: Create SBOM with Trivy
uses: aquasecurity/trivy-action@0.35.0
uses: aquasecurity/trivy-action@v0.36.0
env:
TRIVY_SHOW_SUPPRESSED: 1
TRIVY_IGNOREFILE: "./.trivyignore.yaml"
Expand All @@ -45,7 +45,7 @@ jobs:
scanners: "vuln"

- name: Create security advisory file with Trivy
uses: aquasecurity/trivy-action@0.35.0
uses: aquasecurity/trivy-action@v0.36.0
env:
TRIVY_SHOW_SUPPRESSED: 1
TRIVY_IGNOREFILE: "./.trivyignore.yaml"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
submodules: recursive

- name: Scan code with Trivy
uses: aquasecurity/trivy-action@0.35.0
uses: aquasecurity/trivy-action@v0.36.0
env:
TRIVY_SHOW_SUPPRESSED: 1
TRIVY_IGNOREFILE: "./.trivyignore.yaml"
Expand All @@ -57,7 +57,7 @@ jobs:
scanners: "vuln"

- name: Run sccache-cache
uses: mozilla-actions/sccache-action@v0.0.9
uses: mozilla-actions/sccache-action@v0.0.10

- name: Install required packages
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-pnpm-hash.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
# Only commit when the hash actually changed; skip if it was already correct.
- name: Commit updated hash
if: steps.hash.outputs.current != steps.hash.outputs.new
uses: actions/github-script@v7
uses: actions/github-script@v9
env:
OLD_HASH: ${{ steps.hash.outputs.current }}
NEW_HASH: ${{ steps.hash.outputs.new }}
Expand Down
2 changes: 1 addition & 1 deletion nix/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
inherit pname version pnpm;
src = ../.;
fetcherVersion = 3;
hash = "sha256-MRXM/gimWL+8oh8N1j7OsTZ/dORk0l9kFu8RS0Cz8EQ=";
hash = "sha256-gMgpzIelTYZFzz/aVr64wOGBnKyFlwFaiTO2o92s2Sw=";
};
in
craneLib.mkCargoDerivation {
Expand Down
35 changes: 10 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,29 +35,14 @@
"last 1 safari version"
]
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"react-native"
]
},
"onlyBuiltDependencies": [
"@parcel/watcher",
"@swc/core",
"esbuild"
],
"overrides": {
"mdast-util-to-hast": "13.2.1"
}
},
"dependencies": {
"@floating-ui/react": "^0.27.19",
"@hookform/resolvers": "^3.10.0",
"@react-hook/resize-observer": "^2.0.2",
"@stablelib/base64": "^2.0.1",
"@stablelib/x25519": "^2.0.1",
"@tanstack/query-core": "^5.100.10",
"@tanstack/react-virtual": "^3.13.24",
"@tanstack/query-core": "^5.100.14",
"@tanstack/react-virtual": "^3.13.26",
"@tauri-apps/api": "^2.11.0",
"@tauri-apps/plugin-clipboard-manager": "^2.3.2",
"@tauri-apps/plugin-deep-link": "^2.4.9",
Expand All @@ -76,27 +61,27 @@
"classnames": "^2.5.1",
"clsx": "^2.1.1",
"compare-versions": "^6.1.1",
"dayjs": "^1.11.20",
"dayjs": "^1.11.21",
"deepmerge-ts": "^7.1.5",
"detect-browser": "^5.3.0",
"fast-deep-equal": "^3.1.3",
"file-saver": "^2.0.5",
"get-text-width": "^1.0.3",
"html-react-parser": "^5.2.17",
"itertools": "^2.6.0",
"itertools": "^2.7.1",
"js-base64": "^3.7.8",
"lodash-es": "^4.18.1",
"merge-refs": "^2.0.0",
"millify": "^6.1.0",
"motion": "^12.38.0",
"motion": "^12.40.0",
"p-timeout": "^6.1.4",
"prop-types": "^15.8.1",
"radash": "^12.1.1",
"react": "^19.2.6",
"react-auth-code-input": "^3.2.1",
"react-click-away-listener": "^2.4.1",
"react-dom": "^19.2.6",
"react-hook-form": "^7.76.0",
"react-hook-form": "^7.76.1",
"react-hotkeys-hook": "^5.3.2",
"react-loading-skeleton": "^3.5.0",
"react-markdown": "^10.1.0",
Expand All @@ -115,19 +100,19 @@
"@biomejs/biome": "^2.4.15",
"@hookform/devtools": "^4.4.0",
"@svgr/cli": "^8.1.0",
"@tanstack/react-query": "^5.100.10",
"@tanstack/react-query-devtools": "^5.100.10",
"@tanstack/react-query": "^5.100.14",
"@tanstack/react-query-devtools": "^5.100.14",
"@tauri-apps/cli": "^2.11.2",
"@types/file-saver": "^2.0.7",
"@types/lodash-es": "^4.17.12",
"@types/node": "^24.12.4",
"@types/react": "^19.2.14",
"@types/react": "^19.2.15",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^5.2.0",
"@vitejs/plugin-react-swc": "^4.3.1",
"autoprefixer": "^10.5.0",
"npm-run-all": "^4.1.5",
"postcss": "^8.5.14",
"postcss": "^8.5.15",
"prettier": "^3.8.3",
"sass": "~1.92.1",
"typedoc": "^0.28.19",
Expand Down
Loading
Loading