Closed btakita closed 3 years ago
Putting "Fixes #9" in a comment won't link the PR to the issue. You need to do it in the description. Can you edit the description so that "Fixes #9" isn't in a code block or quoted or anything like that, but is just plain text
Got it. I was adding the "fixes https://github.com/Conduitry/cheap-watch/issues/9" with an indent to the commit which caused it to be quoted. Will update my process.
@benmccann Thank you for accepting this merge. I want to point out that "type": "module"
was added to package.json
. Is cheap-watch
ready to move over to ESM by default? There is cjs
& mjs
handling added but I was not able to test this from a cjs
module.
I updated test.js
to ESM.
I think that the important part of this has now been merged and released: https://github.com/Conduitry/cheap-watch/pull/4
Besides the change in #4, I don't think the other changes here are something I want to do. I don't want "type": "module"
because I don't want to exclude earlier versions of Node.
If you want to install this as a Git submodule rather than using npm, I'd recommend installing the tags directly (rather than master
), as they point to already-built copies of the code - e.g. https://github.com/Conduitry/cheap-watch/tree/v1.0.4
fixes https://github.com/Conduitry/cheap-watch/issues/9
dist/CheapWatch.cjs
&dist/CheapWatch.mjs
are bundled in this PR. Feel free to convert back to original file names if preferred.I'm also using the
rollup-plugin-typescript2
plugin to fix a build issue inside of a pnpm multirepo withcheap-watch
installed as a git submodule.The
dist/CheapWatch.mjs
top line is nowimport { EventEmitter } from 'events';
instead ofimport * as EventEmitter from 'events';