You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**npm:**find directories containing `package.json`, then run `npm outdated --json || true` in each (npm exits non-zero when updates exist)
87
87
88
88
Also fetch the advisory URLs for any security-related updates. Individual alert details are at `https://github.com/{owner}/{repo}/security/dependabot/{alert_number}`. Fetch alert numbers and GHSA IDs via:
Report the final PR URL and a summary of what was done.
@@ -278,16 +272,16 @@ Report the final PR URL and a summary of what was done.
278
272
-**Never push to `main` directly.** Always work on a feature branch.
279
273
-**Never push code that doesn't pass `make lint` and `make test`.** If you can't fix it in 3 tries, stop and ask.
280
274
-**Be conservative with major version bumps.** If a major version update breaks things and the fix isn't obvious, skip that package and note it in the PR description.
281
-
-**Preserve lockfiles.** Always regenerate `Cargo.lock` and `package-lock.json` after updating — don't just edit manifests.
275
+
-**Regenerate lockfiles.** Always regenerate `Cargo.lock` and `package-lock.json` after updating — don't just edit manifests.
282
276
-**One ecosystem at a time.** Complete the full cycle (update → build → push → PR → CI green) for one ecosystem before moving to the next.
283
277
-**If no updates are needed** for an ecosystem, skip it and tell the user.
284
278
-**Security alerts take priority.** Address security alerts first within each ecosystem.
285
279
-**Clippy is strict.** This repo forbids `unwrap_used` outside tests and denies all warnings. New dependency versions may trigger new clippy lints — fix them.
286
280
287
281
## Edge cases
288
282
289
-
-**Cargo workspace:**All Rust dependencies are managed at the workspace root. Always run `cargo update` and `cargo check` from the repo root.
290
-
-**npm is scoped to string-offsets:** The only npm package is in `crates/string-offsets/js/`. Don't look for npm elsewhere.
283
+
-**Cargo workspace:**Dependencies are declared per-crate but share a single `Cargo.lock` at the workspace root. Always run `cargo update` and `cargo check` from the repo root.
284
+
-**npm:** Look for `package.json` files to discover npm packages rather than hardcoding paths — the repo layout may change.
291
285
-**WASM builds:** After updating `wasm-bindgen` or related deps, verify `make build-js` still works — WASM toolchain version mismatches are common.
292
286
-**Rate limits:** If `gh api` hits rate limits, wait and retry. Report to user if persistent.
293
287
-**Nothing to update:** Report cleanly and move to the next ecosystem (or exit).
0 commit comments