diff --git a/src/manifest/package.json b/src/manifest/package.json index 30f0344c..8fcbac8a 100644 --- a/src/manifest/package.json +++ b/src/manifest/package.json @@ -1,7 +1,7 @@ { "name": "@neon-rs/manifest", "private": false, - "version": "0.2.0", + "version": "0.2.1", "description": "Library for working with Neon package configuration.", "exports": { ".": { diff --git a/src/manifest/src/cache/npm/package.cts b/src/manifest/src/cache/npm/package.cts index 6e6b7432..0572022e 100644 --- a/src/manifest/src/cache/npm/package.cts +++ b/src/manifest/src/cache/npm/package.cts @@ -83,7 +83,7 @@ export class BinaryPackage { const targetInfo = describeTarget(rust); const libraryManifest = cacheCfg.manifest; const org = libraryManifest.cfg().org; - const name = `${org}/${node}`; + const name = `${org}/${cacheCfg.manifest.cfg().prefix ?? ''}${node}`; const json: any = { name, description: `Prebuilt binary package for \`${libraryManifest.name}\` on \`${targetInfo.node}\`.`, diff --git a/src/package-lock.json b/src/package-lock.json index cc601995..b7c8a6f2 100644 --- a/src/package-lock.json +++ b/src/package-lock.json @@ -213,7 +213,7 @@ }, "manifest": { "name": "@neon-rs/manifest", - "version": "0.2.0", + "version": "0.2.1", "license": "MIT", "dependencies": { "jscodeshift": "^0.15.1"