@supa-magic/spm 0.2.5 → 0.2.6

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.
Files changed (2) hide show
  1. package/dist/bin/spm.js +3 -2
  2. package/package.json +1 -1
package/dist/bin/spm.js CHANGED
@@ -925,7 +925,8 @@ const registerInstallCommand = (program2) => {
925
925
  await rm(downloadDir, { recursive: true, force: true });
926
926
  const spmDir = join(projectRoot, ".spm");
927
927
  const remaining = await readdir(spmDir).catch(() => []);
928
- if (remaining.length === 0) await rm(spmDir, { force: true });
928
+ if (remaining.length === 0)
929
+ await rm(spmDir, { recursive: true, force: true });
929
930
  stepper.stop();
930
931
  const elapsed = Math.round((Date.now() - startedAt) / 1e3);
931
932
  const timeStr = elapsed >= 60 ? `${Math.floor(elapsed / 60)}m${(elapsed % 60).toString().padStart(2, "0")}s` : `${elapsed}s`;
@@ -963,7 +964,7 @@ const banner = (version2) => [
963
964
  `${shade}▝▜${light}████▛▘ ${reset$1}${dim}v${version2} ✨ supa-magic${reset$1}`,
964
965
  `${shade} ▘${light} ▝`
965
966
  ].join("\n");
966
- const version = "0.2.5";
967
+ const version = "0.2.6";
967
968
  const program = new Command();
968
969
  const gray = "\x1B[90m";
969
970
  const reset = "\x1B[0m";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supa-magic/spm",
3
- "version": "0.2.5",
3
+ "version": "0.2.6",
4
4
  "description": "CLI tool for managing AI skillsets",
5
5
  "license": "MIT",
6
6
  "contributors": [