alleyinteractive / alleyinteractive/alley-scripts
Change moduleResolution to bundler in tsconfig
- Lenguaje dominante
- TypeScript
- Estrellas
- 10
- Forks
- 3
- Merge medio
- 4 d 22 h
- PR fusionados (30 d)
- 2
Descripción
### Description
We are currently using moduleResolution=node (which aliases node10), intended for older versions of node that we aren't using. We should instead use `bundler` since we are primarily building for the web (this can always be overridden on a per-project basis if that assumption is not true). This is resulting in an error in linters because node/node10 are deprecated values for the moduleResolution setting.
### Use Case
When a user uses the tsconfig package, it should have a modern value for moduleResolution.
Guía de contribución
Línea de trabajo
Locate the tsconfig package and find the configuration that sets moduleResolution to node. Confirm the available TypeScript configuration and linter context, then update that setting to the requested modern value and verify that the deprecation error is gone.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- typescript
- Área
- build-system, tooling
- Tipo de issue
- Refactorización
- Dificultad
- 1/5
- Tiempo estimado
- Menos de una hora
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 76/100