Skip to content

Commit

Permalink
bugfix in @neon-rs/manifest: creating a binary package needs to inclu…
Browse files Browse the repository at this point in the history
…de the optional prefix
  • Loading branch information
dherman committed Nov 15, 2024
1 parent 4f9f684 commit d703190
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 d703190

Please sign in to comment.