alleyinteractive / alleyinteractive/alley-scripts
Change moduleResolution to bundler in tsconfig
- Ngôn ngữ chính
- TypeScript
- Star
- 10
- Fork
- 3
- Merge trung bình
- 4 ngày 22 giờ
- Pull request đã merge (30 ngày)
- 2
Mô tả
### 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.
Hướng dẫn đóng góp
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- typescript
- Lĩnh vực
- build-system, tooling
- Loại issue
- Tái cấu trúc
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 76/100