ember-try icon indicating copy to clipboard operation
ember-try copied to clipboard

[Suggestion] Deprecate `npmOptions` and `buildManagerOptions` options in favor of a single `packageManagerInstallOptions` option

Open bertdeblock opened this issue 1 year ago • 0 comments

packageManagerInstallOptions is more in line with the new packageManager option.

packageManagerInstallOptions type:

packageManagerInstallOptions: string[] | (defaultOptions: string[], scenario: Scenario) => string[];

When the user provides string[], we don't include the default options like we do now. If the user wants to make sure the default options are included as well, they must provide a function and spread in the default options manually.

bertdeblock avatar Jan 03 '25 16:01 bertdeblock