-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: feat: add esm version #216
base: master
Are you sure you want to change the base?
Conversation
Important Auto Review SkippedMore than 25% of the files skipped due to max files limit. The review is being skipped to prevent a low-quality review. 48 files out of 105 files are above the max files limit of 50. Please upgrade to Pro plan to get higher limits. You can disable this status message by setting the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@types/lodash@4.17.0, npm/@types/nunjucks@3.2.6 |
a105355
to
590f408
Compare
core/ajv-decorator/tsconfig.esm.json
Outdated
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"moduleResolution": "Bundler", | ||
"module": "ESNext", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESNext 是代表 ES 的那个版本?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ESNext 是最新版本的,我先改成统一的使用ES2020吧
是否需要加一个独立的集成测试,看看打包和独立运行 esm 版本是否正常? |
10fdb05
to
6e6bd90
Compare
core/ajv-decorator/esm/package.json
Outdated
@@ -0,0 +1,3 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这个文件要一直保留吗?能放到构建脚本生成吗?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
core/ajv-decorator/tsconfig.esm.json
Outdated
"extends": "../../tsconfig.json", | ||
"compilerOptions": { | ||
"moduleResolution": "node", | ||
"module": "ESNext", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
根路径下要不要搞个 tsconfig.esm.json?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
我看每个文件夹下都有 tsconfig.pub.json ,为了保持一致我才添加了这个 config ,最好还是保持格式一致吧🤔
3036bc5
to
6710289
Compare
6710289
to
933134c
Compare
Checklist
npm test
passesAffected core subsystem(s)
Description of change