We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 08b9ea6 commit 7e47337Copy full SHA for 7e47337
1 file changed
scripts/bump-package-version.ts
@@ -37,7 +37,7 @@ if (currentVersion.startsWith('0.')) {
37
bumpType = 'patch';
38
}
39
40
-await Bun.$`cd "${pkgDir}" && bun pm version ${bumpType}`;
+await Bun.$`bun pm version ${bumpType}`.cwd(pkgDir);
41
const updatedPkgJson = await Bun.file(pkgJsonPath).json();
42
const newVersion: string = updatedPkgJson.version;
43
const newTag = getPkgTag(pkg, newVersion);
@@ -98,6 +98,10 @@ if (pkg === 'wxt') {
98
templatePkgJsonPaths.push(templatePkgJsonPath);
99
consola.success(`Updated wxt version in ${templatePkgJsonPath}`);
100
101
+ } else {
102
+ console.warn(`No package.json found in ${templatePkgJsonPath}`, {
103
+ cwd: process.cwd(),
104
+ });
105
106
107
0 commit comments