Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Telemetry is on by default **with no warning**

Abierto
#4,900 1 comentario 2 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
28/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
typescript
Área
cli

Línea de trabajo

Comienza ejecutando npx @ionic/cli help después de eliminar ~/.ionic/ y, a continuación, sigue los puntos de entrada de configuración y ayuda del primer inicio de la CLI. Comprueba cómo se crea la configuración telemetry y cómo se expone mediante ionic config; se considera terminado cuando los usuarios reciben una advertencia durante el primer inicio y pueden descubrir cómo consultar o cambiar la configuración de telemetría.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

triage

Description:

Ionic collects telemetry by default, does not warn users, does not mention it on first run, and hides the config in a way that cannot be discovered simply with a ionic help (this used to work in ionic v3 when telemetry was a top-level command.

Steps to Reproduce:

  1. remove local ionic settings:
rm -rf ~/.ionic/
  1. in a new window, just run the help:
npx @ionic/cli help
  1. observe that ~/.ionic/config.json was created with "telemetry": true and scan the terminal output

Output:

package.json:

{
  "version": "6.20.1",
  "telemetry": true,
  "npmClient": "npm",
  "tokens.telemetry": "...UUID..."
}

Local screen output makes no mention of the telemetry setting:

   _             _
  (_) ___  _ __ (_) ___
  | |/ _ \| '_ \| |/ __|
  | | (_) | | | | | (__
  |_|\___/|_| |_|_|\___| CLI 6.20.1


  Usage:

    $ ionic <command> [<args>] [--help] [--verbose] [--quiet] [--no-interactive] [--no-color] [--confirm] [options]

  Global Commands:

    completion ...................... (experimental) Enables tab-completion for
                                      Ionic CLI commands.
    config <subcommand> ............. Manage CLI and project config values
                                      (subcommands: get, set, unset)
    deploy <subcommand> ............. (paid) Appflow Deploy functionality
                                      (subcommands: manifest)
    docs ............................ Open the Ionic documentation website
    info ............................ Print project, system, and environment
                                      information
    init ............................ (beta) Initialize existing projects with
                                      Ionic
    login ........................... Log in to Ionic
    logout .......................... Log out of Ionic
    signup .......................... Create an Ionic account
    ssh <subcommand> ................ Commands for configuring SSH keys
                                      (subcommands: add, delete, generate, list,
                                      setup, use)
    start ........................... Create a new project

  Project Commands:

    You are not in a project directory.

NOTE: THERE IS NO TELEMETRY WARNING ON FIRST RUN WITH ANY COMMAND

If you wipe the config and start a new project without the wizard, you can search the output and notice that it never once mentions the telemetry.

Lenguaje dominante
TypeScript
Estrellas
2k
Forks
681
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ionic-team/ionic-cli

Todos los issues de ionic-team/ionic-cli

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.