dependabot-composer 0.170.2 → 0.171.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/helpers/v1/build +15 -4
- data/helpers/v1/composer.json +1 -1
- data/helpers/v1/composer.lock +121 -105
- data/helpers/v2/build +15 -4
- data/helpers/v2/composer.json +1 -1
- data/helpers/v2/composer.lock +217 -219
- data/lib/dependabot/composer/native_helpers.rb +1 -1
- data/lib/dependabot/composer/update_checker/version_resolver.rb +11 -2
- metadata +4 -4
data/helpers/v2/build
CHANGED
@@ -2,14 +2,25 @@
|
|
2
2
|
|
3
3
|
set -e
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
echo "usage: $0 INSTALL_DIR"
|
5
|
+
if [ -z $DEPENDABOT_NATIVE_HELPERS_PATH ]; then
|
6
|
+
echo "Unable to build, DEPENDABOT_NATIVE_HELPERS_PATH is not set"
|
8
7
|
exit 1
|
9
8
|
fi
|
10
9
|
|
10
|
+
install_dir="$DEPENDABOT_NATIVE_HELPERS_PATH/composer/v2"
|
11
|
+
mkdir -p $install_dir
|
12
|
+
|
11
13
|
helpers_dir="$(dirname "${BASH_SOURCE[0]}")"
|
12
|
-
|
14
|
+
cp -r \
|
15
|
+
"$helpers_dir/bin" \
|
16
|
+
"$helpers_dir/src" \
|
17
|
+
"$helpers_dir/.php-cs-fixer.php" \
|
18
|
+
"$helpers_dir/composer.json" \
|
19
|
+
"$helpers_dir/composer.lock" \
|
20
|
+
"$helpers_dir/phpstan.neon" \
|
21
|
+
"$install_dir"
|
22
|
+
|
23
|
+
cd "$install_dir"
|
13
24
|
|
14
25
|
composer validate --no-check-publish
|
15
26
|
composer install
|