-
Notifications
You must be signed in to change notification settings - Fork 15
Conversation
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.
Overall, I'm liking these changes. Actually installing the PPX on each platform and running tailwind-ppx --help
is a straightforward way to have confidence we did everything correctly. I have a few questions that I left in the comments, but mostly it looks good!!
Do we want to remove scripts/release-make-skeleton.js
? It seems that you new bundle-release.js
file effectively replaces it.
Finally, I see some of the test and install workflows are failing in CI. Can you take a look at this? I assume I'll be changing around which ones are required for pull requests, but let's just make sure everything is passing before merging in.
I removed it. Should we get rid of the
Yes, that's normal. As explained, the |
@dylanirlbeck I rebased on master now that #83 is merged and CI is green :) |
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.
Overall, LGTM! I'm definitely ready to merge these changes in. Just three questions from me:
-
Is there a way you can test that the
use-tailwind-ppx
script works on each platform? In the README I listed the different ways to call the script, so perhaps we could throw in a check there? I just want to make sure nothing is broken with the new flow. -
We do not want to remove the
release-postinstall.js
script, because that's what gets copied into therelease
zip folder and is run when a user installs the NPM package. -
After we merge this, which GitHub actions checks should be required on PRs? It looks like every check except the
(only on release) Publish
one, right?
Looking forward to merging this soon!
I added that to the CI config. A new BS project is bootstrapped where the
I think we can remove it. I use another one for the CI stuff now (taken from the
Yes indeed :) The publish one should get triggered when you create a tag. |
This gets rid of the bash scripts which block #93 and generally improve the whole CI process (I think). This is mostly based on redemon. Here is a general overview of the steps:
1. build_and_test
esy npm-release
command (which works now)2. prepare-publish
bundle-release.js
script from hello-reason template3. test-platform
--help
command but at least we can make sure that package can be installed and run correctly.4. publish
Note that for now, the
test-platform
fails because the--help
command returns an exit code 2 (while it works correctly). I tested it with #93 and it should be fixed (I guess due to one of the dependencies update)