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

Silence prefer builtins and circular dependency warnings when building extensions #18366

Merged
merged 3 commits into from
Apr 28, 2023

Conversation

nickrum
Copy link
Member

@nickrum nickrum commented Apr 28, 2023

Those warnings come up when bundling API extensions. Circular dependency warnings are only silenced when only external files are involved. Unfortunately, the prefer builtins warning can't be disabled for external files only, enabling the option and thus silencing the warning should still be rasonably safe for API extensions as this is rollup's default.

@nickrum nickrum requested review from a team, paescuj, rijkvanzanten and jaads and removed request for a team April 28, 2023 18:06
@changeset-bot
Copy link

changeset-bot bot commented Apr 28, 2023

🦋 Changeset detected

Latest commit: 06eff53

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@directus/extensions-sdk Patch
@directus/api Patch
create-directus-extension Patch
directus Patch

Not sure what this means? Click here to learn what changesets are.

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

@nickrum nickrum force-pushed the imp/extension-warnings-silence branch from 018d2ec to 06eff53 Compare April 28, 2023 18:11
@rijkvanzanten rijkvanzanten merged commit 3ff71cc into main Apr 28, 2023
6 checks passed
@rijkvanzanten rijkvanzanten deleted the imp/extension-warnings-silence branch April 28, 2023 19:07
@rijkvanzanten rijkvanzanten added this to the Next Release milestone May 4, 2023
meditadvisors pushed a commit to ciso360ai/directus-mod that referenced this pull request May 13, 2023
…g extensions (directus#18366)

* Silence prefer builtins warning

* Silence circular dependency warning if only external files are involved

* Add changeset
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants