structurecc 3.3.0 → 3.3.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/install.js +5 -1
- package/package.json +1 -1
package/install.js
CHANGED
|
@@ -7,6 +7,10 @@ const os = require('os');
|
|
|
7
7
|
const CLAUDE_DIR = path.join(os.homedir(), '.claude');
|
|
8
8
|
const COMMANDS_DIR = path.join(CLAUDE_DIR, 'commands');
|
|
9
9
|
|
|
10
|
+
// Read version from package.json
|
|
11
|
+
const pkg = require('./package.json');
|
|
12
|
+
const VERSION = pkg.version;
|
|
13
|
+
|
|
10
14
|
function copyFile(src, dest) {
|
|
11
15
|
const destDir = path.dirname(dest);
|
|
12
16
|
if (!fs.existsSync(destDir)) {
|
|
@@ -22,7 +26,7 @@ function install() {
|
|
|
22
26
|
║ STRUCTURECC ║
|
|
23
27
|
║ Document Structure Extraction ║
|
|
24
28
|
║ ║
|
|
25
|
-
║ Claude Code Plugin |
|
|
29
|
+
║ Claude Code Plugin | v${VERSION.padEnd(20)}║
|
|
26
30
|
║ ║
|
|
27
31
|
╚═══════════════════════════════════════════════════╝
|
|
28
32
|
`);
|
package/package.json
CHANGED