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

--no-scripts removes dev dependencies #214

Open
cuchac opened this issue Mar 8, 2021 · 0 comments
Open

--no-scripts removes dev dependencies #214

cuchac opened this issue Mar 8, 2021 · 0 comments

Comments

@cuchac
Copy link

cuchac commented Mar 8, 2021

Hello,
when I run composer update dev dependencies are installed and appears in lock file. When I run composer update --no-scripts dev dependencies are removed from lock file and uninstalled.

Example repository

composer.json

{
  "require": {
    "wikimedia/composer-merge-plugin": "^2.0"
  },
  "extra": {
    "merge-plugin": {
      "require": [
        "composer-shared.json"
      ],
      "merge-extra": true,
      "merge-scripts": true
    }
  }
}

composer-shared.json

{
  "require": {
  },
  "require-dev": {
    "phpunit/phpunit": "^7.5"
  }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant