Lemoncode / Lemoncode/master-frontend-lemoncode
[Languages] - Typescript Playground
未关闭
还没有人认领这个 Issue。
- 主要语言
- TypeScript
- 星标
- 184
- 派生
- 99
- 平均合并
- 1 分钟
- 30 天内合并 PR
- 2
描述
In the package.json should be the engine attribute, since the developers that have more projects with multi node engine can have errors when executing the project.
The example is typescript with top version 5 and node engine 12 (it is possible to have projects with this version still), when executing the project it would not transpile because it is not compatible with this version.
I think it is the best practice to add to the package version engine attribute like this:
{
"engines": {
"node": ">=16.0.0",
"npm": ">=6.0.0"
}
}
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先找到 Typescript Playground 的 package.json,并读取项目当前的元数据。添加所要求的 Node 和 npm 引擎约束,然后验证包配置反映了 issue 中描述的版本,并且项目可以使用兼容的 Node 版本运行。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- node.js, typescript
- 领域
- tooling
- Issue 类型
- 缺陷
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 活跃度
- 停滞
- 描述清晰度
- 描述清楚
- 新手友好度
- 55/100