Skip to content

Commit 095c86d

Browse files
authored
Update dependency policy (#80)
2 parents e8257f8 + 871cc05 commit 095c86d

15 files changed

Lines changed: 282 additions & 134 deletions

File tree

.github/dependabot.yml

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,41 @@ updates:
33
- package-ecosystem: "github-actions"
44
directory: "/"
55
schedule:
6-
interval: weekly
6+
interval: "weekly"
77
groups:
88
github-actions:
99
patterns:
1010
- "*"
11+
12+
- package-ecosystem: "npm"
13+
directory: "/"
14+
schedule:
15+
interval: "weekly"
16+
cooldown:
17+
semver-patch-days: 1
18+
semver-minor-days: 3
19+
semver-major-days: 14
20+
versioning-strategy: "increase-if-necessary"
21+
groups:
22+
npm-production:
23+
dependency-type: "production"
24+
patterns:
25+
- "*"
26+
npm-development:
27+
dependency-type: "development"
28+
patterns:
29+
- "*"
30+
31+
- package-ecosystem: "cargo"
32+
directory: "/standalone/src-tauri"
33+
schedule:
34+
interval: "weekly"
35+
cooldown:
36+
semver-patch-days: 1
37+
semver-minor-days: 3
38+
semver-major-days: 14
39+
versioning-strategy: "increase-if-necessary"
40+
groups:
41+
cargo:
42+
patterns:
43+
- "*"

.github/workflows/chromatic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- name: Setup pnpm
3232
uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
3333
with:
34-
version: 10
34+
version: 11.0.6
3535

3636
- name: Install dependencies
3737
run: pnpm install

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
2323
with:
24-
version: 10
24+
version: 11.0.6
2525

2626
- name: Install dependencies
2727
run: pnpm install
@@ -44,7 +44,7 @@ jobs:
4444

4545
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
4646
with:
47-
version: 10
47+
version: 11.0.6
4848

4949
- uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
5050

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
3939
with:
40-
version: 10
40+
version: 11.0.6
4141

4242
- name: Install workspace dependencies
4343
run: pnpm install --frozen-lockfile
@@ -164,7 +164,7 @@ jobs:
164164

165165
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
166166
with:
167-
version: 10
167+
version: 11.0.6
168168

169169
- name: Install workspace dependencies
170170
run: pnpm install --frozen-lockfile
@@ -235,7 +235,7 @@ jobs:
235235

236236
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
237237
with:
238-
version: 10
238+
version: 11.0.6
239239

240240
- name: Install workspace dependencies
241241
run: pnpm install --frozen-lockfile

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Dependencies
22
node_modules/
3+
.pnpm-store/
34

45
# Build output
56
dist/

docs/specs/deploy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ strategy:
9595
```
9696

9797
Each matrix leg:
98-
1. Checkout, setup Node 22, pnpm 10, Rust stable
98+
1. Checkout, setup Node 22, pnpm 11.0.6, Rust stable
9999
2. Install workspace dependencies once from the repo root with `pnpm install --frozen-lockfile`
100100
3. Install system deps (Linux: libgtk, libwebkit, etc.)
101101
4. Generate an ephemeral, per-job Tauri updater key with `pnpm --dir standalone exec tauri signer generate --ci --write-keys "$RUNNER_TEMP/tauri-ci-updater.key" --force`
@@ -111,7 +111,7 @@ The CI updater key exists only so Tauri emits updater-shaped artifacts during un
111111
### Job: `build-vscode`
112112

113113
Runs on `ubuntu-latest`:
114-
1. Checkout, setup Node 22, pnpm 10
114+
1. Checkout, setup Node 22, pnpm 11.0.6
115115
2. `pnpm install --frozen-lockfile` at the repo root
116116
3. `pnpm --filter dormouse-lib test`
117117
4. `pnpm --filter dormouse build:frontend && pnpm --filter dormouse build`

lib/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"storybook": "^10.4.0",
3838
"tailwindcss": "^4.3.0",
3939
"typescript": "^6.0.3",
40-
"vite": "^7.3.1",
40+
"vite": "^7.3.3",
4141
"vitest": "^4.1.6"
4242
}
4343
}

package.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "dormouse-root",
33
"private": true,
44
"license": "FSL-1.1-MIT",
5+
"packageManager": "pnpm@11.0.6",
56
"scripts": {
67
"build": "pnpm run build:vscode && pnpm --filter dormouse-website build",
78
"test": "pnpm -r run test",
@@ -15,12 +16,5 @@
1516
"dogfood:standalone": "bash standalone/scripts/dogfood.sh",
1617
"storybook": "pnpm --filter dormouse-lib storybook",
1718
"bundle-themes": "node lib/scripts/bundle-themes.mjs"
18-
},
19-
"pnpm": {
20-
"onlyBuiltDependencies": [
21-
"@swc/core",
22-
"esbuild",
23-
"node-pty"
24-
]
2519
}
2620
}

0 commit comments

Comments
 (0)