Artifactory does not support npm-deprecate.
You can apply a deprecated message to a package or to a specific version of a package.
| #!/bin/bash | |
| originalFilePath=$1 | |
| #extension=$(echo "$originalFilePath" | rev | cut -d"." -f1 | rev) | |
| pathWithoutExtension=$(echo "$originalFilePath" | rev | cut -d"." -f2- | rev) | |
| /Applications/ffmpeg -i "$originalFilePath" -filter_complex "[0:v] fps=15,split [a][b];[a] palettegen [p];[b][p] paletteuse" "$pathWithoutExtension.gif" |
| #!/bin/bash | |
| originalFilePath=$1 | |
| #extension=$(echo "$originalFilePath" | rev | cut -d"." -f1 | rev) | |
| pathWithoutExtension=$(echo "$originalFilePath" | rev | cut -d"." -f2- | rev) | |
| /Applications/ffmpeg -i "$originalFilePath" "$pathWithoutExtension.mp4" | |
| if [ $? -eq 0 ]; then | |
| rm -f "$originalFilePath" | |
| fi |
| alias gitpruneorigin="git remote update origin --prune >/dev/null 2>&1" | |
| alias gitprune='gitpruneorigin && git branch -r | awk '"'"'{print $1}'"'"' | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk '"'"'{print $1}'"'"' | xargs git branch -D' |
Artifactory does not support npm-deprecate.
You can apply a deprecated message to a package or to a specific version of a package.