File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,11 @@ set -eu
4
4
5
5
echo " Listing all swc crates"
6
6
7
- swc_crates=$( cargo metadata --format-version=1 --all-features | jq ' .packages .[] | select(.repository == "https://github.com/swc-project/swc.git" or .repository == "https://github.com/swc-project/plugins.git") | .name+"@"+.version' -r)
7
+ swc_crates=$( cargo metadata --format-version=1 --all-features | jq ' .packages .[] | select(.repository == "https://github.com/swc-project/swc.git" or .repository == "https://github.com/swc-project/plugins.git") | .name' -r)
8
+ swc_deps=$( cargo metadata --format-version=1 --all-features | jq ' .packages .[] | select(.repository == "https://github.com/swc-project/swc.git" or .repository == "https://github.com/swc-project/plugins.git") | .name+"@"+.version' -r)
8
9
9
10
command=" cargo update"
10
- for crate in $swc_crates ; do
11
+ for crate in $swc_deps ; do
11
12
command=" $command -p $crate "
12
13
done
13
14
You can’t perform that action at this time.
0 commit comments