@audaxic/memory-claude 1.0.1 → 1.0.2
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/bin/install.js +4 -1
- package/package.json +1 -1
package/bin/install.js
CHANGED
|
@@ -9,6 +9,7 @@ import {
|
|
|
9
9
|
copyFile,
|
|
10
10
|
access,
|
|
11
11
|
readdir,
|
|
12
|
+
rm,
|
|
12
13
|
} from "node:fs/promises";
|
|
13
14
|
import { join, dirname } from "node:path";
|
|
14
15
|
import { homedir } from "node:os";
|
|
@@ -88,7 +89,9 @@ async function main() {
|
|
|
88
89
|
}
|
|
89
90
|
|
|
90
91
|
for (const dir of DIRS_TO_COPY) {
|
|
91
|
-
|
|
92
|
+
const destDir = join(PLUGIN_DEST, dir);
|
|
93
|
+
await rm(destDir, { recursive: true, force: true });
|
|
94
|
+
await copyDir(join(PACKAGE_ROOT, dir), destDir);
|
|
92
95
|
}
|
|
93
96
|
console.log("✓ Plugin files copied to ~/.claude/skills/audaxic-memory/");
|
|
94
97
|
|
package/package.json
CHANGED