ember-cli / ember-cli/ember-try

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

Open
#1,047 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
180
Forks
57
PR merge metrics
No merged PRs in 30d

Description

`packageManagerInstallOptions` is more in line with the new `packageManager` option.

`packageManagerInstallOptions` type:

```ts
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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.