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

Create a dev/test utils package #5244

Open
turadg opened this issue Apr 28, 2022 · 0 comments
Open

Create a dev/test utils package #5244

turadg opened this issue Apr 28, 2022 · 0 comments
Labels
enhancement New feature or request tooling repo-wide infrastructure

Comments

@turadg
Copy link
Member

turadg commented Apr 28, 2022

What is the Problem Being Solved?

In many cases packages depend on each other for exports only need for development or testing. This increases the cycles in the dependency graph: #4645

It also makes it more work to maintain semantic version discipline and can lead to hacks like not declaring dependencies (example in #5232 )

Description of the Design

Create a package that gathers up exports that needed only for development or testing.

Trim down the exports of the primary packages. For example, @agoric/swingset-vat may be able to just export makeFakeVirtualStuff in place of tools/.

Security Considerations

Isolates test/dev code.

Test Plan

CI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request tooling repo-wide infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants