Skip to content

Commit f562b59

Browse files
fix(NODE-6590): specify correct entrypoint in package.json and include binding.gyp in the package (#47)
1 parent 35d87d9 commit f562b59

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ jobs:
9999
with:
100100
ignore_install_scripts: true
101101

102-
- run: npm publish --provenance
102+
- run: npm publish --provenance --tag alpha
103103
if: ${{ needs.release_please.outputs.release_created }}
104104
env:
105105
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
{
22
"name": "@mongodb-js/zstd",
33
"version": "2.0.0-alpha.0",
4-
"main": "index.js",
4+
"main": "lib/index.js",
55
"types": "index.d.ts",
66
"repository": "https://github.com/mongodb-js/zstd",
77
"files": [
88
"index.d.ts",
99
"lib/index.js",
10-
"addon/*"
10+
"addon/*",
11+
"binding.gyp"
1112
],
1213
"dependencies": {
1314
"node-addon-api": "^4.3.0",

0 commit comments

Comments
 (0)