alleyinteractive / alleyinteractive/alley-scripts
Change moduleResolution to bundler in tsconfig
- Dominant language
- TypeScript
- Stars
- 10
- Forks
- 3
- Avg merge
- 4d 22h
- Merged PRs (30d)
- 2
Description
### 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.
Contributor guide
Research direction
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.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, tooling
- Issue type
- Refactor
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 76/100