Skip to content

Drive Metro config using Kit config#376

Merged
afoxman merged 6 commits intomainfrom
afoxman/bundle-config
Jul 12, 2021
Merged

Drive Metro config using Kit config#376
afoxman merged 6 commits intomainfrom
afoxman/bundle-config

Conversation

@afoxman
Copy link
Copy Markdown
Contributor

@afoxman afoxman commented Jul 8, 2021

Description

Add @rnx-kit/config properties which control whether or not rnx-bundle will use the cyclic detector, the duplicate detector, and typescript validation (not currently wired up but coming in my next PR).

We want kit configuration to "program" dependencies like Metro, as it is less error-prone than having developers do it themselves. It also eliminates a lot of boilerplate code in each kit project.

While working on this, I noticed we don't have a CLI test suite. Tracked by #375.

I also noticed that @rnx-kit/third-party-notices had encoded the monorepo directory name in some of its snapshot data. I fixed that, as the directory name isn't fixed (it's chosen by each developer).

Test plan

Manual validation using @rnx-kit/test-app.

@afoxman afoxman requested review from JasonVMo and tido64 as code owners July 8, 2021 20:19
@tido64 tido64 added the feature: cli This is related to CLI label Jul 9, 2021
@afoxman afoxman enabled auto-merge (squash) July 10, 2021 07:02
@afoxman afoxman merged commit 021cfdb into main Jul 12, 2021
@afoxman afoxman deleted the afoxman/bundle-config branch July 12, 2021 07:47
tido64 added a commit that referenced this pull request Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature: cli This is related to CLI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants