Skip to content

Commit

Permalink
Fix versioning script for scoped packages
Browse files Browse the repository at this point in the history
  • Loading branch information
bglw committed Mar 15, 2023
1 parent 1b042b3 commit 2971c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .backstage/version_main_package.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if (!version) {
const pkg = path.join(__dirname, "../wrappers/node/package.json");

const pkg_contents = JSON.parse(fs.readFileSync(pkg, { encoding: "utf-8" }));
for (const dep of Object.keys(pkg_contents.optionalDependencies).filter(dep => dep.startsWith("pagebreak"))) {
for (const dep of Object.keys(pkg_contents.optionalDependencies).filter(dep => dep.startsWith("@pagebreak"))) {
pkg_contents.optionalDependencies[dep] = version;
}

Expand Down

0 comments on commit 2971c59

Please sign in to comment.