NativeScript / NativeScript/nativescript-cli
Support pnpm without shamefully-hoist
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.
It would be nice if NativeScript worked with pnpm without --shamefully-hoist, as that flag disables the isolation and strictness of packages that pnpm otherwise grants, and makes NativeScript incompatible with pnpm workspaces as it likely assumes on where the hoisting happens and workspaces generally don't use or want to use that flag.
Describe the solution you'd like
Support pnpm without --shamefully-hoist.
Describe alternatives you've considered
Give up and use it with the flag outside a pnpm workspace, wiring the internal packages some other way.
Anything else?
shamefully-hoist = true can be included in a project level .npmrc for users running pnpm install directly so they don't have to remember including that. It can also be generated by the CLI when using pnpm or suggested to be added by it if it is missing.
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
A issue não nomeia arquivos, testes nem pontos de entrada. Comece rastreando o tratamento da instalação do gerenciador de pacotes e do workspace pela CLI e, em seguida, identifique onde são feitas suposições sobre hoisting. A tarefa estará concluída quando NativeScript funcionar em um workspace do pnpm sem exigir --shamefully-hoist, mantendo ao mesmo tempo o isolamento de pacotes do pnpm.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- javascript
- Domínio
- build-system, cli
- Tipo de issue
- Funcionalidade
- Dificuldade
- 5/5
- Tempo estimado
- Mais de uma semana
- Status de atividade
- Estagnada
- Clareza
- Precisa de esclarecimento
- Facilidade para iniciantes
- 25/100