Skip to content

Commit

Permalink
wip test
Browse files Browse the repository at this point in the history
  • Loading branch information
steebchen committed Oct 16, 2024
1 parent 5554745 commit 219b7e1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/account-wasm/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ pnpm wasm-pack build --target bundler --out-dir ./pkg-session --release --featur
# This removes `"type": "module"` field from the package.json files
for dir in pkg-controller pkg-session; do
mv $dir/package.json $dir/temp.json
jq -r 'del(.type)' $dir/temp.json >$dir/package.json
rm $dir/temp.json
# replace package.json name with the directory name
jq ".name = \"@cartridge/$dir\"" $dir/temp.json >$dir/temp2.json
jq -r 'del(.type)' $dir/temp2.json >$dir/temp3.json
mv $dir/temp3.json $dir/package.json
done

0 comments on commit 219b7e1

Please sign in to comment.