Skip to content

Commit

Permalink
fix: Add missing properties to deployed packages (#2678)
Browse files Browse the repository at this point in the history
We were failing to publish `types` and `engine` in our packages.
  • Loading branch information
spalladino authored and Maddiaa0 committed Oct 5, 2023
1 parent 8f792e3 commit 3038d67
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions build-system/scripts/deploy_npm
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@ if [ -z "$STANDALONE" ]; then
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 we have a commit tag
if [ -n "$COMMIT_TAG" ] ; then
npm publish $TAG_ARG --access public
Expand Down

0 comments on commit 3038d67

Please sign in to comment.