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(cli): Remove crypto module from @fern-api/ir-generator #5358

Merged
merged 3 commits into from
Dec 6, 2024

Conversation

amckinney
Copy link
Contributor

@amckinney amckinney commented Dec 6, 2024

This removes the crypto module from the @fern-api/ir-generator package, as well as the following other edits:

  1. Update @fern-api/path-utils to omit the conditional path import, which is incompatible in some environments.
  2. Update the hashJSON function without the crypto module, which is used to generate example IDs in the IR.
    • Note that the IDs generated in the @fern-api/docs-resolver are unaffected given that this module doesn't need to be browser compatible.
  3. Add a build.cjs setup for the @fern-api/ir-generator package, which is used in test environments.
  4. Incorporate the changes to remove the dependency on @redocly-openapi-core from fix(cli): Remove @redocly/openapi-core from browser workspace #5359.

@amckinney amckinney requested a review from dsinghvi as a code owner December 6, 2024 20:40
@amckinney amckinney merged commit 046c466 into main Dec 6, 2024
47 of 50 checks passed
@amckinney amckinney deleted the amckinney/crypto branch December 6, 2024 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants