Skip to content

Commit e637ae4

Browse files
committed
fix: use workspace protocol for scanner dependency
Replace `file:../scanner` with `workspace:*` so pnpm resolves to the npm version on publish. Fixes ERR_MODULE_NOT_FOUND when installing @ottersight/cli globally via npx. Bump both packages to 0.1.3.
1 parent baf0788 commit e637ae4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/cli/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ottersight/cli",
3-
"version": "0.1.0",
3+
"version": "0.1.3",
44
"type": "module",
55
"description": "ottersight - local SCA scanner CLI",
66
"license": "MIT",
@@ -18,7 +18,7 @@
1818
"node": ">=20"
1919
},
2020
"dependencies": {
21-
"@ottersight/scanner": "file:../scanner",
21+
"@ottersight/scanner": "workspace:*",
2222
"chalk": "^5.6.2",
2323
"cli-table3": "^0.6.5",
2424
"commander": "^14.0.3",

packages/scanner/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@ottersight/scanner",
3-
"version": "0.1.0",
3+
"version": "0.1.3",
44
"type": "module",
55
"description": "OtterSight scanner core - SBOM + CVE + EUVD + KEV enrichment",
66
"license": "MIT",

0 commit comments

Comments
 (0)