@elumixor/devkit 0.12.0 → 0.12.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/update.ts +2 -1
package/package.json
CHANGED
package/src/update.ts
CHANGED
|
@@ -28,5 +28,6 @@ export async function runUpdate(dry = false) {
|
|
|
28
28
|
console.log(`${manifest.name ?? "project"}: ${spec} -> ${pinned ? "" : "^"}${latest}`);
|
|
29
29
|
if (dry) return;
|
|
30
30
|
const flags = [...(dev ? ["-d"] : []), ...(pinned ? ["--exact"] : [])];
|
|
31
|
-
|
|
31
|
+
// `bun add` writes the spec verbatim, so a range has to be asked for as one.
|
|
32
|
+
await $`bun add ${flags} ${NAME}@${pinned ? "" : "^"}${latest}`.quiet();
|
|
32
33
|
}
|