From 8a25fe8d0d3a95609acd7ea8b1404c28fbf5dfd1 Mon Sep 17 00:00:00 2001 From: Santiago Palladino Date: Wed, 4 Oct 2023 10:11:57 -0300 Subject: [PATCH 1/2] chore: Add missing properties to deployed packages --- build-system/scripts/deploy_npm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-system/scripts/deploy_npm b/build-system/scripts/deploy_npm index 78a3a17b6a3..f49093c54bb 100755 --- a/build-system/scripts/deploy_npm +++ b/build-system/scripts/deploy_npm @@ -50,7 +50,7 @@ if [ -z "$STANDALONE" ]; then fi # Filter on whitelist of properties. -jq '{name, version, exports, main, homepage, author, type, license, dependencies, description, bin} | with_entries( select( .value != null ) )' \ +jq '{name, version, exports, main, homepage, author, type, license, dependencies, description, bin, engine, types} | with_entries( select( .value != null ) )' \ package.json > $TMP && mv $TMP package.json # Publish if we have a commit tag From c9c74547fff5f1daec4cfebeb00ab6874285ac6b Mon Sep 17 00:00:00 2001 From: Santiago Palladino Date: Wed, 4 Oct 2023 10:22:26 -0300 Subject: [PATCH 2/2] Remove whitelist --- build-system/scripts/deploy_npm | 4 ---- 1 file changed, 4 deletions(-) diff --git a/build-system/scripts/deploy_npm b/build-system/scripts/deploy_npm index f49093c54bb..59d3cc034b4 100755 --- a/build-system/scripts/deploy_npm +++ b/build-system/scripts/deploy_npm @@ -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, engine, types} | 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