arvinxx / gitmoji-commit-workflow

😉 Gitmoji Commit Workflow
MIT License
220 stars 27 forks source link

404 gitmojis.json #657

Closed tianyingchun closed 1 year ago

tianyingchun commented 1 year ago

https://github.com/carloscuesta/gitmoji/blob/master/src/data/gitmojis.json

this repo has been removed.

caiotracera commented 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.

tianyingchun commented 1 year ago

can these be installed automatically? always need mananully?

caiotracera commented 1 year ago

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 :(

caiotracera commented 1 year ago

Maybe this fix can be included on #656

tianyingchun commented 1 year ago

:) waiting this release, i am really not familar with implementation of gitmoji

patevs commented 1 year ago

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"
arvinxx commented 1 year ago

Fix in 2.2.8