@react-native-community/cli-config
Advanced tools
Comparing version 13.5.0 to 13.5.1-alpha.0
@@ -59,2 +59,9 @@ "use strict"; | ||
} | ||
const removeDuplicateCommands = commands => { | ||
const uniqueCommandsMap = new Map(); | ||
commands.forEach(command => { | ||
uniqueCommandsMap.set(command.name, command); | ||
}); | ||
return Array.from(uniqueCommandsMap.values()); | ||
}; | ||
@@ -105,3 +112,3 @@ /** | ||
}), | ||
commands: [...acc.commands, ...config.commands], | ||
commands: removeDuplicateCommands([...config.commands, ...acc.commands]), | ||
platforms: { | ||
@@ -108,0 +115,0 @@ ...acc.platforms, |
{ | ||
"name": "@react-native-community/cli-config", | ||
"version": "13.5.0", | ||
"version": "13.5.1-alpha.0", | ||
"license": "MIT", | ||
@@ -11,3 +11,3 @@ "main": "build/index.js", | ||
"dependencies": { | ||
"@react-native-community/cli-tools": "13.5.0", | ||
"@react-native-community/cli-tools": "13.5.1-alpha.0", | ||
"chalk": "^4.1.2", | ||
@@ -25,3 +25,3 @@ "cosmiconfig": "^5.1.0", | ||
"devDependencies": { | ||
"@react-native-community/cli-types": "13.5.0", | ||
"@react-native-community/cli-types": "13.5.1-alpha.0", | ||
"@types/cosmiconfig": "^5.0.3", | ||
@@ -36,3 +36,3 @@ "@types/glob": "^7.1.1" | ||
}, | ||
"gitHead": "092c37cf27ebbf019e710f8aa118f673066f273c" | ||
"gitHead": "f50cc16bce038808680f55c10d659b94215f1a71" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
65188
635
1
+ Added@react-native-community/cli-tools@13.5.1-alpha.0(transitive)
- Removed@react-native-community/cli-tools@13.5.0(transitive)