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

Aberta
#2,511 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
5/5
Tempo estimado
Mais de uma semana
Facilidade para iniciantes
25/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
node.js, typescript

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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]

Linguagem predominante
TypeScript
Estrelas
975
Forks
189
Merge médio
19h 57min
PRs com merge (30d)
542

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de getsentry/toolkit

Todas as issues de getsentry/toolkit

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.