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: use tshy to build and support ESM and CommonJS both #22

Merged
merged 5 commits into from
Nov 25, 2023

Conversation

fengmk2
Copy link
Member

@fengmk2 fengmk2 commented Sep 15, 2023

No description provided.

@fengmk2
Copy link
Member Author

fengmk2 commented Sep 15, 2023

依赖 eggjs/bin#239

@socket-security
Copy link

socket-security bot commented Sep 15, 2023

New and updated dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
tshy-after 1.0.0 None +0 5.02 kB fengmk2
tshy 1.0.0 filesystem +2 586 kB isaacs
eslint-config-egg 12.3.1...13.0.0 None +1/-19 109 kB
@types/node 18.17.17...20.6.2 None +0/-0 3.86 MB types

package.json Outdated Show resolved Hide resolved
@codecov
Copy link

codecov bot commented Sep 15, 2023

Codecov Report

Merging #22 (b6ee5b4) into master (a68e5cb) will not change coverage.
Report is 1 commits behind head on master.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##            master       #22   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines          775       775           
  Branches        81        76    -5     
=========================================
  Hits           775       775           
Files Changed Coverage Δ
src/index.ts 100.00% <100.00%> (ø)
src/is.ts 100.00% <100.00%> (ø)
src/types/external.ts 100.00% <100.00%> (ø)
src/types/node.ts 100.00% <100.00%> (ø)
src/types/std.ts 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@fengmk2 fengmk2 merged commit 3688cd6 into master Nov 25, 2023
@fengmk2 fengmk2 deleted the support-esm-and-cjs-both branch November 25, 2023 07:05
fengmk2 pushed a commit that referenced this pull request Nov 25, 2023
[skip ci]

## [2.1.0](v2.0.1...v2.1.0) (2023-11-25)

### Features

* use tshy to build and support ESM and CommonJS both ([#22](#22)) ([3688cd6](3688cd6))
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.

2 participants