Skip to content
Snippets Groups Projects
Commit b27c3330 authored by Eli's avatar Eli
Browse files

Resolve #3288828 "D10"

parent af7b7791
No related branches found
No related tags found
1 merge request!1Resolve #3288828 "D10"
...@@ -10,21 +10,11 @@ ...@@ -10,21 +10,11 @@
"issues": "https://www.drupal.org/project/issues/npm", "issues": "https://www.drupal.org/project/issues/npm",
"source": "http://cgit.drupalcode.org/npm" "source": "http://cgit.drupalcode.org/npm"
}, },
"require": {
"symfony/process": "^3.4 || ^4.4"
},
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Drupal\\npm\\": "src/" "Drupal\\npm\\": "src/"
} }
}, },
"extra": {
"drush": {
"services": {
"drush.services.yml": "^9"
}
}
},
"authors": [ "authors": [
{ {
"name": "Błażej Owczarczyk", "name": "Błażej Owczarczyk",
......
...@@ -2,5 +2,4 @@ name: Node Package Manager ...@@ -2,5 +2,4 @@ name: Node Package Manager
type: module type: module
description: Provides npm actions, e.g. require a package, run script, etc. description: Provides npm actions, e.g. require a package, run script, etc.
package: Javascript package: Javascript
core: 8.x core_version_requirement: ^9 || ^10
core_version_requirement: ^8 || ^9
...@@ -96,10 +96,6 @@ class Yarn extends NpmExecutablePluginBase { ...@@ -96,10 +96,6 @@ class Yarn extends NpmExecutablePluginBase {
$cwd = $this->getWorkingDirectory(); $cwd = $this->getWorkingDirectory();
array_unshift($args, "--cwd=$cwd"); array_unshift($args, "--cwd=$cwd");
array_unshift($args, 'yarn'); array_unshift($args, 'yarn');
// Drupal 8.4 come with symfony/process 3.2.8 (3.4.14 in 8.5). Array
// arguments were introduced in 3.3.
// TODO: Delete this line after dropping support for drupal 8.4.
$args = implode(' ', $args);
return new Process($args); return new Process($args);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment