tegami 0.1.4 → 0.1.5

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.
@@ -81,15 +81,15 @@ var NpmRegistryClient = class {
81
81
  async publish(pkg, { packageStore }) {
82
82
  const distTag = packageStore.npm?.distTag;
83
83
  if (this.client === "bun") {
84
- const tarball = "pkg.tgz";
84
+ const tarballPath = path.resolve(pkg.path, "pkg.tgz");
85
85
  const packResult = await x("bun", [
86
86
  "pm",
87
87
  "pack",
88
88
  "--filename",
89
- tarball
89
+ tarballPath
90
90
  ], { nodeOptions: { cwd: pkg.path } });
91
91
  if (packResult.exitCode !== 0) throw execFailure(`Failed to pack ${pkg.name}@${pkg.version}.`, packResult);
92
- const publishArgs = ["publish", tarball];
92
+ const publishArgs = ["publish", tarballPath];
93
93
  if (distTag) publishArgs.push("--tag", distTag);
94
94
  const publishResult = await x("npm", publishArgs, { nodeOptions: { cwd: pkg.path } });
95
95
  if (publishResult.exitCode !== 0) throw execFailure(`Failed to publish ${pkg.name}@${pkg.version}${distTag ? ` with dist-tag "${distTag}"` : ""}.`, publishResult);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tegami",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Utility for package versioning & publish",
5
5
  "license": "MIT",
6
6
  "author": "Fuma Nama",