Skip to content
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 build issues by using alpha version #784

Conversation

daniel-heppner-ibigroup
Copy link
Contributor

@daniel-heppner-ibigroup daniel-heppner-ibigroup commented Sep 27, 2024

The master branch is completely messed up, so we need to use an alpha build to fix it. After this PR is merged we can eliminate the alpha dependency.

we don't need a semantic release fix commit because it will release based on previous commits already in master once the build succeeds.

@@ -16,10 +16,10 @@
"react-map-gl": "^7.0.15"
},
"dependencies": {
"@opentripplanner/map-popup": "^4.0.0"
"@opentripplanner/map-popup": "^v3.2.0-alpha.1"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the fix

Copy link
Contributor

@amy-corson-ibigroup amy-corson-ibigroup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you! And you don't need to update snapshots, right?

@daniel-heppner-ibigroup
Copy link
Contributor Author

So, it looks like Storybook was finding the .story files buried inside node modules. This was happening because of the copy all files flag we added to Babel to support the custom image in transitive overlay. I clamped down the glob used to find stories a bit by telling it to only look in the src directories of packages. Is this too restrictive? Let me know maybe we can adjust it.

That image in the overlay keeps biting us

Copy link
Collaborator

@miles-grant-ibigroup miles-grant-ibigroup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great fix thanks. That glob wasn't reviewed properly when we approved it! This one looks good to me.

@daniel-heppner-ibigroup daniel-heppner-ibigroup merged commit 04e09ef into opentripplanner:master Oct 1, 2024
2 checks passed
@daniel-heppner-ibigroup daniel-heppner-ibigroup deleted the fix-dependency-issues branch October 1, 2024 18:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants