Skip to content

fix(@n8n/json-schema-to-zod): Fix broken native esm due to missing extensions in compiled assets #15776

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

zrosenbauer
Copy link

@zrosenbauer zrosenbauer commented May 27, 2025

Summary

Fix issue where json-schema-to-zod is not following mandtory esm file extensions: https://nodejs.org/api/esm.html#mandatory-file-extensions

All I did was add in a compliation step using tsup. I tried to mirror existing patterns but just wanted fixed because upstream lib I'm using broke 😄

Related Linear tickets, Github issues, and Community forum posts

n/a

Review / Merge checklist

  • PR title and summary are descriptive. (conventions)
  • Docs updated or follow-up ticket created.
  • Tests included.
  • PR Labeled with release/backport (if the PR is an urgent fix that needs to be backported)

@CLAassistant
Copy link

CLAassistant commented May 27, 2025

CLA assistant check
All committers have signed the CLA.

@zrosenbauer zrosenbauer changed the title fix: Fix missing esm extensions by adding transpiler 'tsup' fix(@n8n/json-schema-to-zod): Fix missing esm extensions by adding transpiler 'tsup' May 27, 2025
Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

cubic reviewed 3 files and found no issues. Review PR in cubic.dev.

@zrosenbauer zrosenbauer changed the title fix(@n8n/json-schema-to-zod): Fix missing esm extensions by adding transpiler 'tsup' fix(@n8n/json-schema-to-zod): Fix broken native esm due to missing extensions in compiled assets May 27, 2025
@n8n-assistant n8n-assistant bot added community Authored by a community member in linear Issue or PR has been created in Linear for internal review labels May 27, 2025
@Joffcom
Copy link
Member

Joffcom commented May 27, 2025

Hey @zrosenbauer,

Thanks for the PR, We have created "GHC-2207" as the internal reference to get this reviewed.

One of us will be in touch if there are any changes needed, in most cases this is normally within a couple of weeks but it depends on the current workload of the team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Authored by a community member in linear Issue or PR has been created in Linear for internal review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants