Skip to content

refactor: fix __dirname and package.json import issues#2029

Merged
tatomyr merged 4 commits intov2from
refactor/better-import-package-json
Mar 31, 2025
Merged

refactor: fix __dirname and package.json import issues#2029
tatomyr merged 4 commits intov2from
refactor/better-import-package-json

Conversation

@tatomyr
Copy link
Collaborator

@tatomyr tatomyr commented Mar 28, 2025

What/Why/How?

Improved esm/cjs compatibility

Reference

Testing

Screenshots (optional)

Check yourself

  • Code changed? - Tested with redoc/reference-docs/workflows (internal)
  • All new/updated code is covered with tests
  • New package installed? - Tested in different environments (browser/node)

Security

  • Security impact of change has been considered
  • Code follows company security practices and guidelines

@changeset-bot
Copy link

changeset-bot bot commented Mar 28, 2025

⚠️ No Changeset found

Latest commit: 6bbbdfd

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@tatomyr tatomyr changed the base branch from main to v2 March 28, 2025 15:38
@tatomyr tatomyr requested a review from andriimredocly March 28, 2025 15:38
@github-actions
Copy link
Contributor

github-actions bot commented Mar 28, 2025

Command Mean [ms] Min [ms] Max [ms] Relative
redocly lint packages/core/src/benchmark/benches/rebilly.yaml 960.0 ± 16.2 940.3 995.3 1.00
redocly-next lint packages/core/src/benchmark/benches/rebilly.yaml 1040.8 ± 11.9 1016.3 1053.5 1.08 ± 0.02

@tatomyr tatomyr marked this pull request as ready for review March 31, 2025 06:58
@tatomyr tatomyr requested a review from a team as a code owner March 31, 2025 06:58
@tatomyr tatomyr merged commit f17927a into v2 Mar 31, 2025
24 of 29 checks passed
@tatomyr tatomyr deleted the refactor/better-import-package-json branch March 31, 2025 06:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants