Skip to content
Back to skills

Upgrade Prerelease Deps

ASecurity

Upgrade dependencies in this repo, above all the pinned pre-release ones (nitro, oxfmt, @hey-api/openapi-ts). Use when bumping any package version, reviewing a Renovate PR, acting on pnpm audit:check, or when an install fails the release quarantine.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added October 26, 2026
developmenttypescriptrustgoreactgitapi

Works with

  • api

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 26, 2026

npx -y skills add TiagoGranelli/slopproof --skill upgrade-prerelease-deps --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Upgrade Prerelease Deps?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Upgrade Prerelease Deps
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tiagogranelli-upgrade-prerelease-deps/badge)](https://www.skillsdirectory.com/skills/tiagogranelli-upgrade-prerelease-deps)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: upgrade-prerelease-deps
description: Upgrade dependencies in this repo, above all the pinned pre-release ones (nitro, oxfmt, @hey-api/openapi-ts). Use when bumping any package version, reviewing a Renovate PR, acting on pnpm audit:check, or when an install fails the release quarantine.
---

# Upgrade dependencies

## Policy

- `package.json` uses exact versions (`savePrefix: ''`; `tests/unit/repo-policy.test.ts` checks), and `pnpm-lock.yaml`
  is committed with them. pnpm 12 blocks dependency build scripts (`allowBuilds`) and quarantines fresh
  releases (`minimumReleaseAge`, one day, strict: a younger version fails the install instead of being excluded
  silently). Each exception names an exact version and its reason in `pnpm-workspace.yaml`.
  `trustPolicy: no-downgrade` fails a version published with weaker provenance than an earlier one, and
  `strictPeerDependencies` an unmet peer. Every frozen install checks the lockfile against these policies.
- A vulnerable transitive package gets an exact `overrides` entry in `pnpm-workspace.yaml` naming the advisory
  (and an `ignoreDependencyOverrides` entry in `.fallowrc.json`, since the overridden version is no longer in
  the lockfile). An advisory that cannot apply here goes in `auditConfig.ignoreGhsas` in
  `pnpm-workspace.yaml`, with a comment giving the reason and a review date (write it by hand; `pnpm audit
  --ignore` adds the id without the comment). `pnpm audit:check` is the gate; Renovate's OSV alerts open fix PRs.
- Pre-release packages, pinned exactly: `nitro` (its npm `latest` is an `-rc` / pre-1.0 build), `oxfmt` (0.x,
  announced as beta), and `@hey-api/openapi-ts` (a `next` snapshot, below). (`@tanstack/react-start` reached 1.0
  stable and stays pinned like every other stable dependency.)
- Skills are pinned to a commit (`skills-lock.json`); update the shadcn skill in the PR that bumps `shadcn`
  ([docs/agents/skills.md](../../../docs/agents/skills.md)). Docs shipped inside packages are pinned by the
  lockfile.

## Steps

1. Renovate (`.github/renovate.json`) opens the PRs, a week after each release; it follows the `next` dist-tag for
   Hey API. By hand, `pnpm outdated` lists what is newer.
2. Upgrade one pre-release package per PR: `pnpm add --save-exact <name>@<version>`.
3. Package-specific work:
   - **Effect** (stable since 4.0.0): upgrade `@effect/vitest` with it, run `pnpm codegen`, and review the
     `openapi.json` diff. A check the document lost is a reason to stop: 4.0.0 exports a `Schema.isPattern` only
     when its RegExp has the `u` flag.
   - **Hey API:** stays on the `next` snapshot `0.0.0-next-20260930190945`. The stable 0.99.0 needs the JS
     compiler API that TypeScript 7 no longer has, and crashes; Renovate follows `next` only
     ([ADR 0002](../../../docs/decisions/0002-typescript-7.md)). After any bump, run `pnpm codegen` and review
     the `src/sdk` diff.
   - **@effect/tsgo** (0.x): the tsconfig plugin serves editors and `effect-tsgo diagnostics` is the `effect`
     gate. Use it through those two only; `effect-tsgo patch` stays unused.
4. Run `pnpm check`, `pnpm check:drift`, and `pnpm build && pnpm verify:app`. All three must pass.

## Done when

The three commands pass, `package.json` and `pnpm-lock.yaml` change together, and every exception added to
`pnpm-workspace.yaml` names the exact version and its reason.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.