Skip to content
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

feat: disable espower by default #196

Merged
merged 3 commits into from
Dec 18, 2022
Merged

Conversation

fengmk2
Copy link
Member

@fengmk2 fengmk2 commented Dec 18, 2022

@eggjs/tsconfig compile to es2020 by default and espower-source don't support it

Checklist
  • npm test passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)
Description of change

@eggjs/tsconfig compile to es2020 by default and espower-source don't support it
@fengmk2
Copy link
Member Author

fengmk2 commented Dec 18, 2022

https://npmmirror.com/package/espower-source 已经失去维护,接下来会直接去掉它。

@atian25
Copy link
Member

atian25 commented Dec 18, 2022

忘记 power-assert 吧,有 typings 提示的情况下,有 API 很多也不怕

Copy link
Contributor

@killagu killagu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@fengmk2
Copy link
Member Author

fengmk2 commented Dec 18, 2022

v5 先默认改成 false,发个 minor。然后我再提交一个去掉 espower 发 major。

@fengmk2
Copy link
Member Author

fengmk2 commented Dec 18, 2022

忘记 power-assert 吧,有 typings 提示的情况下,有 API 很多也不怕

任何事情都是有代价,power-assert 理念很好,但是很难长期做下去。

@codecov
Copy link

codecov bot commented Dec 18, 2022

Codecov Report

Base: 100.00% // Head: 100.00% // No change to project coverage 👍

Coverage data is based on head (cf06b3e) compared to base (158d919).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##            master      #196   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12         8    -4     
  Lines           93        60   -33     
  Branches        16        12    -4     
=========================================
- Hits            93        60   -33     
Impacted Files Coverage Δ
test/fixtures/example-ts-cluster/app/router.ts
test/fixtures/example-ts-cluster/app.ts
...xtures/example-ts-cluster/config/config.default.ts
...fixtures/example-ts-cluster/app/controller/home.ts

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@fengmk2 fengmk2 merged commit 5e35438 into master Dec 18, 2022
@fengmk2 fengmk2 deleted the disable-espower-by-default branch December 18, 2022 14:19
atian25 pushed a commit that referenced this pull request Dec 18, 2022
[skip ci]

## [5.7.0](v5.6.1...v5.7.0) (2022-12-18)

### Features

* disable espower by default ([#196](#196)) ([5e35438](5e35438))
@github-actions
Copy link

🎉 This PR is included in version 5.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants