NativeScript / NativeScript/nativescript-cli
Support pnpm without shamefully-hoist
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- JavaScript
- Estrellas
- 1.1k
- Forks
- 204
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 8
Descripción
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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
El issue no nombra archivos, tests ni puntos de entrada. Empieza rastreando cómo la CLI gestiona la instalación del gestor de paquetes y del workspace, y después identifica dónde se hacen suposiciones sobre el hoisting. Se considera terminado cuando NativeScript funciona en un workspace de pnpm sin requerir --shamefully-hoist, manteniendo al mismo tiempo el aislamiento de paquetes de pnpm.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- build-system, cli
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 25/100