Open arboleya opened 1 month ago
We should export all secondary entry points (utilities) using dedicated entry points in the fuels umbrella package.
fuels
For example:
fuels/test-utils
test
fuels/cli-utils
CLI
The idea is that each of these would consolidate all utilities of the same group.
A few examples I grabbed from the codebase:
import { generateTestWallet } from '@fuel-ts/account/test-utils'; import { expectToThrowFuelError } from '@fuel-ts/errors/test-utils'; import { findBinPath } from '@fuel-ts/utils/cli-utils';
The umbrella package should be the only thing users should have to deal with.
Related comment. That PR has implementation for how the infrastructure part of this issue would be handled.
We should export all secondary entry points (utilities) using dedicated entry points in the
fuels
umbrella package.For example:
fuels/test-utils
— alltest
utilities from all sub-packagesfuels/cli-utils
— allCLI
utilities from all sub-packagesThe idea is that each of these would consolidate all utilities of the same group.
A few examples I grabbed from the codebase:
The umbrella package should be the only thing users should have to deal with.