NativeScript / NativeScript/nativescript-cli
resources generate images support
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
Is your feature request related to a problem? Please describe.
When adding a new image resource to your project, it would be handy to be able to add one without going through https://images.nativescript.rocks/ or manually creating your own and placing them in the right folders.
Describe the solution you'd like
An extension of the resources generate command could be used that would act almost identically to the generate icons command, however it would use the original file name instead of "icon" when creating the different image sizes.
Describe alternatives you've considered
Making the generate icons command take another (optional) argument which allows an output name to be specified would also solve this issue
Anything else?
No response
Please accept these terms
- I have searched the existing issues as well as StackOverflow and this has not been posted before
- I agree to follow this project's Code of Conduct
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 localizando o comando resources generate e sua implementação existente para gerar ícones. Estenda o comando para gerar os tamanhos das imagens usando o nome de arquivo original ou ofereça suporte a um nome de saída opcional; a tarefa estará concluída quando um novo recurso de imagem puder ser gerado sem ferramentas externas ou posicionamento manual em uma pasta.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- javascript
- Domínio
- cli
- Tipo de issue
- Funcionalidade
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 45/100