Commit graph

2 commits

Author SHA1 Message Date
Renée Kooi
60a5bf8d68
Exclude .git from npm publish
npm is supposed to ignore this by default, but in v2.0.2 the `.git`
folder was included in the published hexo-filter-github-emojis module.
This causes problems when doing `npm install` again, because it sees a
git repo where it expects a bare npm package.

```
npm ERR! path ./node_modules/hexo-filter-github-emojis
npm ERR! code EISGIT
npm ERR! git ./node_modules/hexo-filter-github-emojis:
Appears to be a git repo or submodule.
npm ERR! git ./node_modules/hexo-filter-github-emojis
npm ERR! git Refusing to remove it. Update manually,
npm ERR! git or move it out of the way first.
```

If you publish again with this patch, all should be fine ✌️

Thanks for this package!
2019-07-19 13:08:39 +02:00
CRIMX
b20ba676ac first commit 2016-12-22 19:11:28 +08:00