Skip to content

Commit

Permalink
Merge pull request #68 from neon-bindings/create-binary-manifest-with…
Browse files Browse the repository at this point in the history
…-prefix

bugfix(@neon-rs/manifest): include prefix when creating binary package
  • Loading branch information
dherman authored Nov 15, 2024
2 parents 4f9f684 + d703190 commit 90b1ab1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/manifest/package.json
Original file line number Diff line number Diff line change
@@ -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": {
".": {
Expand Down
2 changes: 1 addition & 1 deletion src/manifest/src/cache/npm/package.cts
Original file line number Diff line number Diff line change
Expand Up @@ -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}\`.`,
Expand Down
2 changes: 1 addition & 1 deletion src/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 90b1ab1

Please sign in to comment.