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

Deploy contribution tool across different hosts #172

Merged
merged 7 commits into from
Nov 19, 2024

Conversation

Ndpnt
Copy link
Member

@Ndpnt Ndpnt commented Nov 15, 2024

Also update engine and load terms-types as a dependency

@Ndpnt Ndpnt force-pushed the deploy-contribution-tool-across-different-hosts branch from d93ce1c to 6114dd7 Compare November 15, 2024 10:30
@Ndpnt Ndpnt requested a review from MattiSG November 18, 2024 08:31
return JSON.parse(
JSON.stringify({
props: {
...props,
documentTypes: await getDocumentTypes(),
documentTypes: TERMS_TYPES.default || TERMS_TYPES,
Copy link
Member

Choose a reason for hiding this comment

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

Why can't we know exactly how to load the data?

Copy link
Member Author

Choose a reason for hiding this comment

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

We know, it was just to make it resilient for futur updates if we change how it is exported as we do not want to maintain this code, but I can simplify it if you prefer?

Copy link
Member

Choose a reason for hiding this comment

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

Since we have now locked dependencies versions, such a change would need a voluntary update in the codebase so I don't see much point in future-proofing at this stage. Up to you 🙂

@Ndpnt Ndpnt merged commit ebc2931 into main Nov 19, 2024
1 check passed
@Ndpnt Ndpnt deleted the deploy-contribution-tool-across-different-hosts branch November 19, 2024 08:47
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