NativeScript / NativeScript/nativescript-cli
Updating package.json platform versions, doesn't work.
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- JavaScript
- Estrelas
- 1.1k
- Forks
- 204
- Merge médio
- 1d 9h
- PRs com merge (30d)
- 8
Descrição
Environment
- CLI: 7.x
Describe the bug
Basically because we are using NPM now to manage the dependancies; it will store a copy of the runtime in @nativescript/ios or @nativescript/android if you bump the version of the package.json file; it will bump those copies; but the copy that we create in the "platforms/ios" or "platforms/android" remains whatever was their before.
Expected behavior
That I would have the version in the package.json file.
Additional context
We might need a post install script to clean the platforms/ios or platforms/android folder on install of the runtimes, so that way the next tns command will see the platforms folder empty and re-install the platforms from the npm version that was installed.
Possible corner case is if the CLI installs the platforms version before doing a npm i; we need to verify this isn't the case.
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Comece rastreando como package.json atualiza as cópias de runtime em @nativescript/ios e @nativescript/android e, em seguida, compare isso com o tratamento existente de platforms/ios e platforms/android. Verifique se a CLI instala as plataformas antes de npm i e avalie a limpeza pós-instalação sugerida. Considera-se concluído quando as pastas das plataformas usam as versões instaladas de package.json.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- javascript
- Domínio
- cli, mobile-dev
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 30/100