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

chore: use createRequire for comapeo/geometry #25

Merged
merged 2 commits into from
Oct 14, 2024

Conversation

tomasciccola
Copy link
Contributor

This fixes the import of geometry in core. Additionally I added the resolveJsonModule flag in tsconfig.json

@tomasciccola tomasciccola self-assigned this Oct 10, 2024
lib/faker.js Outdated
s.properties.geometry = {
$ref: Geometry.$id,
//$ref: Geometry.$id,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I reverted this change from 03eb40c since keeping $ref returns an invalid object (it doesn't respect the geometry schema...)

Copy link
Contributor

@EvanHahn EvanHahn left a comment

Choose a reason for hiding this comment

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

Made a minor cleanup in 490b5c3, but LGTM.

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