Closed tianyingchun closed 1 year ago
Hey, @tianyingchun!
For now, you can take the content from this link and paste on node_modules/commitlint-plugin-gitmoji/lib/gitmojis.json
or something like that.
can these be installed automatically? always need mananully?
Yes, the process can be automatic again, but I think we need to update the packages/commitlint-plugin
to use at least the version 3.13.1, that seems to be root cause of this problem: https://github.com/carloscuesta/gitmoji/releases/tag/v3.13.1
I don't know if @arvinxx is working on that, so can you open a PR with this change? I am afraid that I won't have time to work on that anytime soon :(
Maybe this fix can be included on #656
:) waiting this release, i am really not familar with implementation of gitmoji
As a workaround, you can set the GITMOJI_URL
environment variable to the working URL.
E.g., Using PowerShell, run the following command:
$ENV:GITMOJI_URL="https://raw.githubusercontent.com/carloscuesta/gitmoji/master/packages/gitmojis/src/gitmojis.json"
https://github.com/carloscuesta/gitmoji/blob/master/src/data/gitmojis.json
this repo has been removed.