ide / await-lock

Mutex locks for async functions
MIT License
89 stars 12 forks source link

Include src (sans tests) in published npm package for source maps #24

Closed ide closed 2 years ago

ide commented 2 years ago

The source map references the .ts file under src -- include it in the published package while still excluding tests.

Ran npm pack to verify:

npm notice === Tarball Contents ===
npm notice 1.1kB LICENSE
npm notice 1.1kB README.md
npm notice 1.5kB build/AwaitLock.d.ts
npm notice 4.8kB build/AwaitLock.js
npm notice 1.7kB build/AwaitLock.js.map
npm notice 1.3kB package.json
npm notice 2.7kB src/AwaitLock.ts

Closes #23

codecov[bot] commented 2 years ago

Codecov Report

Merging #24 (9328786) into main (dc7d511) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #24   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         1           
  Lines           34        34           
  Branches         5         6    +1     
=========================================
  Hits            34        34           
Flag Coverage Δ
node_10 100.00% <ø> (ø)
node_12 100.00% <ø> (ø)
node_14 100.00% <ø> (ø)
node_16 100.00% <ø> (ø)
node_18 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update dc7d511...9328786. Read the comment docs.