Skip to content

Commit a8e1af7

Browse files
committed
chore: rename update commands in package.json and update documentation
- Renamed the `update:all` command to `update:dependencies` for clarity in package.json. - Updated the setup documentation to reflect the new command names and improve instructions for updating catalogs and dependencies.
1 parent 83b29c8 commit a8e1af7

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

docs/setup.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -214,14 +214,14 @@ pnpm catalog:minimum # Switch all packages to lowest supported versions
214214
### Updating Catalog Versions
215215

216216
```bash
217-
# Update catalog versions interactively
218-
pnpm catalog:update
217+
# Update all catalogs and dependencies interactively
218+
pnpm update:dependencies
219219

220-
# Preview changes without applying them
221-
pnpm catalog:update:dry
220+
# Update the Tauri version across packages (npm + Cargo.toml)
221+
pnpm update:tauri
222222

223-
# Update all catalogs and other dependencies
224-
pnpm update:all
223+
# Preview catalog changes without applying them
224+
pnpm catalog:update:dry
225225

226226
# Target a specific catalog
227227
pnpm catalog:update --default
@@ -274,11 +274,11 @@ pnpm turbo build
274274
### Update Dependencies
275275

276276
```bash
277-
# Update dependencies interactively
278-
pnpm update:interactive
277+
# Update all catalogs and dependencies interactively
278+
pnpm update:dependencies
279279

280-
# Preview changes without applying
281-
pnpm update:interactive:dry
280+
# Update the Tauri version across packages (npm + Cargo.toml)
281+
pnpm update:tauri
282282
```
283283

284284
## Troubleshooting

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@
6262
"test:package:tauri": "pnpx tsx ./scripts/test-package.ts --service=tauri",
6363
"test:unit": "turbo run test:unit",
6464
"typecheck": "turbo run typecheck",
65-
"update:tauri": "tsx ./scripts/update-tauri-version.ts",
66-
"update:all": "pnpm catalog:update --default && pnpm catalog:update --next && pnpm up -iLr"
65+
"update:dependencies": "pnpm catalog:update --default && pnpm catalog:update --next && pnpm up -iLr",
66+
"update:tauri": "tsx ./scripts/update-tauri-version.ts"
6767
},
6868
"devDependencies": {
6969
"@biomejs/biome": "2.4.6",

0 commit comments

Comments
 (0)