ionic-team / ionic-team/ionic-cli

bug: `--no-deps` option does not work

Aberta
#4,814 1 comentário 4 reações 0 responsáveis Ver no GitHub
triage
Linguagem predominante
TypeScript
Estrelas
2k
Forks
682
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

### Prerequisites

- [X] I have read the [Contributing Guidelines](https://github.com/ionic-team/ionic-framework/blob/main/.github/CONTRIBUTING.md#creating-an-issue).
- [X] I agree to follow the [Code of Conduct](https://ionicframework.com/code-of-conduct).
- [X] I have searched for [existing issues](https://github.com/ionic-team/ionic-framework/issues) that already report this problem, without success.

### Ionic Framework Version

- [ ] v4.x
- [ ] v5.x
- [X] v6.x

### Current Behavior

on running the command `ionic start "product-hunt-clone" blank --type=react --no-deps`, the ionic cli still runs the `npm i` command, even though the `--no-deps` options is enabled.

### Expected Behavior

`npm i` command should not run, and dependencies should not be installed for a project

### Steps to Reproduce

run the command `ionic start "product-hunt-clone" blank --type=react --no-deps` to create a blank starter project

### Code Reproduction URL

_No response_

### Ionic Info

Ionic:

Ionic CLI : 6.18.1

Utility:

cordova-res : not installed globally
native-run : not installed globally

System:

NodeJS : v16.14.0
npm : 8.3.1
OS : Linux 5.15

### Additional Information

_No response_

Guia de contribuição

Abrir o guia de contribuição

Direção de pesquisa

Comece executando `ionic start "product-hunt-clone" blank --type=react --no-deps` e rastreie o fluxo de início da Ionic CLI em que as dependências do projeto são instaladas. Considera-se concluído quando o comando termina sem executar `npm i` nem instalar dependências quando `--no-deps` é fornecido.

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

Avaliação

Stack de tecnologia
node.js, typescript
Domínio
cli
Tipo de issue
Bug
Dificuldade
3/5
Tempo estimado
1-2 dias
Status de atividade
Estagnada
Clareza
Claramente especificada
Facilidade para iniciantes
35/100

Receba novas issues na sua caixa de entrada

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