Skip to content

Commit

Permalink
Provide better npm options
Browse files Browse the repository at this point in the history
* Use `--no-package-lock` (prevents a warning around using
  `--ignore-shrinkwrap`)
* Use `--legacy-peer-deps` to work around an issue with
  `@ember/test-helpers` having a peerDep on ember-source >= 3.8, but
  release/beta/canary channel downloads don't satisfy (in
  `semver.satisfies` terms)
  • Loading branch information
rwjblue committed Jun 16, 2022
1 parent 1ba594b commit b1e48f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test-app/config/ember-try.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ const embroider = {

module.exports = async function() {
return {
buildManagerOptions() {
return ['--no-package-lock', '--legacy-peer-deps'];
},

scenarios: [
{
name: 'ember-lts-3.24',
Expand Down

0 comments on commit b1e48f0

Please sign in to comment.