From f562b59dea298ebf22a54106d71d3cf61b7fa8df Mon Sep 17 00:00:00 2001 From: Bailey Pearson Date: Mon, 2 Dec 2024 14:51:35 -0700 Subject: [PATCH] fix(NODE-6590): specify correct entrypoint in package.json and include binding.gyp in the package (#47) --- .github/workflows/release.yml | 2 +- package-lock.json | 2 +- package.json | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 710ea13..c5d14f8 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -99,7 +99,7 @@ jobs: with: ignore_install_scripts: true - - run: npm publish --provenance + - run: npm publish --provenance --tag alpha if: ${{ needs.release_please.outputs.release_created }} env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package-lock.json b/package-lock.json index 4d83d6d..9f6f693 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10045,4 +10045,4 @@ "dev": true } } -} \ No newline at end of file +} diff --git a/package.json b/package.json index dfa46b6..2370629 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,14 @@ { "name": "@mongodb-js/zstd", "version": "2.0.0-alpha.0", - "main": "index.js", + "main": "lib/index.js", "types": "index.d.ts", "repository": "https://github.com/mongodb-js/zstd", "files": [ "index.d.ts", "lib/index.js", - "addon/*" + "addon/*", + "binding.gyp" ], "dependencies": { "node-addon-api": "^4.3.0",