difizen / mana

https://mana.difizen.net
MIT License
13 stars 1 forks source link

umi plugin #47

Closed BroKun closed 3 months ago

BroKun commented 3 months ago

引入和配置

export default defineConfig({
  // 引入
  plugins: ['@difizen/umi-plugin-mana'],
  // 配置
  mana: {
    decorator: true,
    nodenext: true,
    routerBase: true,
    runtime: true,
  },
});
changeset-bot[bot] commented 3 months ago

🦋 Changeset detected

Latest commit: 719e6ff05a67f09e19ed5a1e8fa2585e5d138357

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 10 packages | Name | Type | | ------------------------ | ----- | | @difizen/mana-observable | Patch | | @difizen/umi-plugin-mana | Patch | | @difizen/mana-syringe | Patch | | @difizen/mana-common | Patch | | @difizen/mana-react | Patch | | @difizen/mana-core | Patch | | @difizen/mana-l10n | Patch | | @difizen/mana-app | Patch | | @difizen/mana-ui | Patch | | @difizen/mana-docs | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 32.98969% with 130 lines in your changes missing coverage. Please review.

Project coverage is 27.64%. Comparing base (8fcb442) to head (719e6ff). Report is 5 commits behind head on main.

Files Patch % Lines
packages/umi-plugin-mana/src/mana-runtime.ts 58.71% 45 Missing :warning:
packages/umi-plugin-mana/src/index.ts 0.00% 43 Missing :warning:
packages/umi-plugin-mana/src/router-base.ts 0.00% 21 Missing :warning:
packages/umi-plugin-mana/src/decorator.ts 0.00% 17 Missing :warning:
packages/umi-plugin-mana/src/nodenext.ts 0.00% 4 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #47 +/- ## ========================================== + Coverage 27.43% 27.64% +0.20% ========================================== Files 345 350 +5 Lines 40917 41123 +206 Branches 1263 949 -314 ========================================== + Hits 11226 11367 +141 - Misses 29691 29756 +65 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.