Skip to content

Commit

Permalink
fix: Remove package json properties whitelist (#2680)
Browse files Browse the repository at this point in the history
Continuation to #2678, since the code was duplicated across build-system
scripts.
  • Loading branch information
spalladino authored Oct 4, 2023
1 parent fdbe2b2 commit ef499a0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions yarn-project/deploy_npm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ function deploy_package() {
done
fi

# Filter on whitelist of properties.
jq '{name, version, exports, main, homepage, author, type, license, dependencies, description, bin} | with_entries( select( .value != null ) )' \
package.json > $TMP && mv $TMP package.json

# Publish
if [ -n "${COMMIT_TAG:-}" ] ; then
npm publish $TAG_ARG --access public
Expand Down

0 comments on commit ef499a0

Please sign in to comment.