Move all @simple-release packages to 3.x together, with a release dry run on PRs

Aperta
#182 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
58/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github-actions, node.js, typescript
Ambito
backend, ci-cd, release

Direzione di ricerca

Read scripts/release.ts and the CI workflow that defines the release job to trace how the three @simple-release/* packages are used and when releases run. Check the package manifests and existing CI checks, then confirm the dry run cannot create tags, GitHub releases, or publishes. Done means PR CI runs that dry run, checks the packages share a major version, and the next main release publishes the bumped packages.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Replaces Dependabot PR #156, which moved only @simple-release/core to 3.x. scripts/release.ts passes @simple-release/npm's NpmWorkspacesProject and @simple-release/github's GithubHosting into core's Releaser, so all three must move together. CI on #156 couldn't show whether the split works: the release job only runs on a push to main, and it was skipped.

Do:

  1. Bump @simple-release/core, @simple-release/npm and @simple-release/github to their current 3.x versions together. 3.0.0's only breaking change is dropping Node 18 and 20, and CI already runs Node 22 and 24.
  2. Add a CI step on PRs that runs scripts/release.ts in dry-run mode (no tags, no GitHub release, no publish), so a broken release path fails the PR instead of the first release after merge.
  3. Add a CI check that fails when the @simple-release/* packages don't share a major version.

The mitigation for future bumps is moving this repo to Renovate with a rule that groups @simple-release/*, under the shared preset in ping-poet/dreamwright#748.

Verified when: the PR's dry-run release step passes on 3.x, and the next real release from main after merge publishes the bumped packages.

Lingua principale
TypeScript
Stelle
0
Fork
2
Merge medio
11g 7h
PR unite (30g)
10

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di activescott/auth

Tutte le issue di activescott/auth

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.