-
Notifications
You must be signed in to change notification settings - Fork 0
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(tailwind): include colorMap.json in tailwind folder #71
Conversation
CHANGELOG.md
Outdated
### Bug Fixes | ||
|
||
* **tailwind:** include colorMap.json in tailwind folder ([3589503](https://github.com/archilogic-com/honeycomb/commit/3589503b00bd3775ff1161de60469f00ec86dbc1)) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The changelog is here because this is the test-preset-fix
version?
"version": "2.5.1-test-preset-fix.1",
this format of versioning is new to me 🙂
tailwind/colorMap.json
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure I follow... The file is now in 2 places?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, unfortunately. I'm looking for a better way but I wanted to fix the broken package in the meantime. Summary:
- the types have been broken for some time (I think since v2.2.0) as we are emitting the folder structure including
src
. See the dist folder here - my fix in v2.5.0 was to use the
rootDir
option. The restriction is that all compiled files must be insiderootDir
, hence movingcolorMap.json
intosrc
. - moving the
colorMap
worked locally but caused an issue with the npm package, because the tailwind files are not compiled, and thesrc
directory is not included in the distributed package 🤦♂️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created al-4728
to follow up
## [2.5.1](v2.5.0...v2.5.1) (2023-08-14) ### Bug Fixes * **tailwind:** include colorMap.json in tailwind folder ([#71](#71)) ([6e23ea1](6e23ea1))
🎉 This PR is included in version 2.5.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
This is a quick fix for the broken v2.5.0 build, which has issues due to the
tailwind-preset.cjs
file needing to be resolved at build-time. The issue only surfaces when installing via npm, because in that case thesrc
folder is excluded.