-
-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: add missing highlight.js dependency #257
Conversation
@stavalfi Hello! Thanks for contribution! As I understand, you probably install this template by yarn and by this it complains, yes? Also Please also change the PR title to the valid one -> https://github.com/asyncapi/.github/blob/master/CONTRIBUTING.md#conventional-commits |
Hi, yarn>=2 (and also I think pnmp) does not allow to use dep if it is not listed in the deps section. so this fix is required to run this lib when using yarn>=2. wdut? |
@stavalfi I tested your PR locally and it works :) I know, it sounds crazy, but I always prefer to check, even that "small" change. However, I get such an errors:
No one has reported problems with this to us so it's probably the result of bumping up the highlight to the latest version. Could you please fix this "bug" by changing this line - https://github.com/asyncapi/html-template/blob/master/filters/all.js#L78 to: const lang = require(path.resolve(hljsLanguagesPath, langPath.replace('.js', ''))); I would appreciate it and wouldn't have to do another PR. Also please change the PR's title to the |
@stavalfi Hi. Would you like to continue working on this PR in near future? :) |
@magicmatatjahu done. sorry for the delay! not sure why build is failing. I changed the commit title. |
@stavalfi No worries, you should change title of PR, not commit. I made it for you. Everything looks good. Thanks for contribution! :) |
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
🎉 This PR is included in version 0.23.8 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Add missing
highlight.js
dependency.Related issue(s):
None.