Skip to content

Commit

Permalink
refactor: set propert main entry point, even though we dont export …
Browse files Browse the repository at this point in the history
…anything

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
  • Loading branch information
jkowalleck committed Mar 22, 2024
1 parent 6e79be8 commit 7b71637
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"bin": {
"cyclonedx-npm": "./bin/cyclonedx-npm-cli.js"
},
"main": "./dist/index.js",
"main": "./dist/cli.js",
"exports": "./dist/index.js",
"scripts": {
"prepublish": "npm run build",
Expand Down
5 changes: 4 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,7 @@ Call it programmatically like so:
], { stdio: ['ignore', 'pipe', 'ignore'], encoding: 'buffer', maxBuffer: BUFFER_MAX_LENGTH }))
`)

export {/* See above! */}
export {/*
Intentionally, here are no exports.
See above!
*/}

0 comments on commit 7b71637

Please sign in to comment.