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: support cjs and esm both #265

Merged
merged 42 commits into from
Jun 17, 2024

fix import error

dcc9fc2
Select commit
Loading
Failed to load commit list.
Merged

feat: support cjs and esm both #265

fix import error
dcc9fc2
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch failed Jun 17, 2024 in 0s

93.25% of diff hit (target 99.76%)

View this Pull Request on Codecov

93.25% of diff hit (target 99.76%)

Annotations

Check warning on line 184 in src/egg.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/egg.ts#L183-L184

Added lines #L183 - L184 were not covered by tests

Check warning on line 213 in src/egg.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/egg.ts#L212-L213

Added lines #L212 - L213 were not covered by tests

Check warning on line 222 in src/egg.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/egg.ts#L221-L222

Added lines #L221 - L222 were not covered by tests

Check warning on line 249 in src/egg.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/egg.ts#L247-L249

Added lines #L247 - L249 were not covered by tests

Check warning on line 287 in src/egg.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/egg.ts#L285-L287

Added lines #L285 - L287 were not covered by tests

Check warning on line 304 in src/egg.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/egg.ts#L302-L304

Added lines #L302 - L304 were not covered by tests

Check warning on line 354 in src/egg.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/egg.ts#L352-L354

Added lines #L352 - L354 were not covered by tests

Check warning on line 372 in src/egg.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/egg.ts#L370-L372

Added lines #L370 - L372 were not covered by tests

Check warning on line 378 in src/egg.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/egg.ts#L376-L378

Added lines #L376 - L378 were not covered by tests

Check warning on line 384 in src/egg.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/egg.ts#L382-L384

Added lines #L382 - L384 were not covered by tests

Check warning on line 403 in src/egg.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/egg.ts#L401-L403

Added lines #L401 - L403 were not covered by tests

Check warning on line 99 in src/lifecycle.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/lifecycle.ts#L99

Added line #L99 was not covered by tests

Check warning on line 102 in src/lifecycle.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/lifecycle.ts#L102

Added line #L102 was not covered by tests

Check warning on line 122 in src/lifecycle.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/lifecycle.ts#L121-L122

Added lines #L121 - L122 were not covered by tests

Check warning on line 140 in src/lifecycle.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/lifecycle.ts#L129-L140

Added lines #L129 - L140 were not covered by tests

Check warning on line 184 in src/lifecycle.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/lifecycle.ts#L177-L184

Added lines #L177 - L184 were not covered by tests

Check warning on line 190 in src/lifecycle.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/lifecycle.ts#L187-L190

Added lines #L187 - L190 were not covered by tests

Check warning on line 198 in src/lifecycle.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/lifecycle.ts#L196-L198

Added lines #L196 - L198 were not covered by tests

Check warning on line 211 in src/lifecycle.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/lifecycle.ts#L210-L211

Added lines #L210 - L211 were not covered by tests

Check warning on line 227 in src/lifecycle.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/lifecycle.ts#L225-L227

Added lines #L225 - L227 were not covered by tests

Check warning on line 246 in src/lifecycle.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/lifecycle.ts#L239-L246

Added lines #L239 - L246 were not covered by tests

Check warning on line 263 in src/lifecycle.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/lifecycle.ts#L256-L263

Added lines #L256 - L263 were not covered by tests

Check warning on line 277 in src/lifecycle.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/lifecycle.ts#L272-L277

Added lines #L272 - L277 were not covered by tests

Check warning on line 298 in src/lifecycle.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/lifecycle.ts#L284-L298

Added lines #L284 - L298 were not covered by tests

Check warning on line 308 in src/lifecycle.ts

See this annotation in the file changed.

@codecov codecov / codecov/patch

src/lifecycle.ts#L308

Added line #L308 was not covered by tests