Skip to content

chore(ci): Fix build and release scripts#77

Merged
donmccurdy merged 4 commits intomainfrom
fix/misplaced-prepublish-script
Apr 1, 2025
Merged

chore(ci): Fix build and release scripts#77
donmccurdy merged 4 commits intomainfrom
fix/misplaced-prepublish-script

Conversation

@donmccurdy
Copy link

@donmccurdy donmccurdy commented Mar 31, 2025

Changes:

  • chore(deps): Update to deck.gl v9.1.8 (fixes issue with React strict mode)
  • chore(deps): Update to @carto/api-client v0.4.9
  • fix(react): Begin adopting defaults for React Router v7, fix warnings
  • fix(ci): Minor fixes for build and release scripts

@donmccurdy donmccurdy changed the title chore(ci): Remove misplaced prepublish and prepack scripts chore(ci): Fix build and release scripts Mar 31, 2025
@donmccurdy donmccurdy requested a review from a team March 31, 2025 15:34
@@ -64,7 +71,7 @@ export class FormulaWidgetComponent {
)
.then((response) => {
Copy link

Choose a reason for hiding this comment

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

Does it make sense to type the response instead?

Copy link
Author

Choose a reason for hiding this comment

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

The response type is known to be FormulaResponse, unfortunately we need the cast because the officially the response type can be null. I'm not sure it should be nullable so I have a TODO to try to change the type in the API client, rather than trying to do special null-handling in the template for now. :)

Copy link

Choose a reason for hiding this comment

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

Gotcha! Yeah, we should probably be more explicit with the response, otherwise casting it as a consumer feels a bit strange 👍

@@ -45,7 +49,7 @@ export function FormulaWidget({
}),
)
.then((response) => {
Copy link

Choose a reason for hiding this comment

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

Does it make sense to type the response instead?

@donmccurdy donmccurdy merged commit 54a38c6 into main Apr 1, 2025
5 checks passed
@donmccurdy donmccurdy deleted the fix/misplaced-prepublish-script branch April 1, 2025 13:34
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.

2 participants