Port sentry-wizard into the CLI as `sentry wizard`

Aperta
#2,511 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
node.js, typescript

Direzione di ricerca

Start by reading the wizard source under src/ and the CLI's existing sentry mcp bundling, which the issue names as the model for the npm package. Then map the platform flows and the listed CLI, API, dependency, and login changes; done means sentry wizard covers the agreed scope and npx @sentry/wizard -i <platform> still works. This spans a large codebase and coordinated init/wizard work, so expect design and integration work.

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

Descrizione

CLI

Bring getsentry/sentry-wizard (9.1.0) into the CLI as sentry wizard before v4.0.0 is cut (#1965). The wizard is about 28k lines in src/ across the per-platform flows, about 2k lines of legacy lib/, and about 21k lines of e2e tests.

Scope already decided:

  • Login: use the CLI's login and the agent handoff flow (#2320, #2479, #2384) instead of the wizard's account/settings/wizard/<hash> browser flow. Keep anything from the old flow that improves the new one, such as picking or creating a project and returning the DSN in one trip.
  • Drop lib/: the legacy Cordova/Electron flow and inquirer.
  • Move the wizard's own sentry-cli use to v4 commands: 15 files. This covers @sentry/cli@^2 installs (src/sourcemaps/tools/sentry-cli.ts, wrangler.ts), sentry.io/get-cli (src/utils/bash.ts), and the Xcode build-phase and snapshots templates (src/apple/).
  • Dependencies: yargs, axios, glob, opn and inquirer are replaced by the CLI's stricli, API client, tinyglobby and browser opener. js-yaml and xml-js are dropped. magicast, recast and xcode stay until the init/wizard unification (#2510).
  • npm @sentry/wizard: becomes a bundled single-binary package that runs sentry wizard, the same way @sentry/mcp-server bundles sentry mcp. npx @sentry/wizard -i <platform> keeps working; Sentry onboarding and docs use it widely.
  • sentry init stays a separate command until #2510.

Related: #1856 (sentry init agent setup guide).

via @BYK.

--

View Session [Sentry]

Lingua principale
TypeScript
Stelle
975
Fork
189
Merge medio
19h 57m
PR unite (30g)
542

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 getsentry/toolkit

Tutte le issue di getsentry/toolkit

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.