@claude-code-mastery/starter-kit 1.3.0 → 1.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/bin/cli.js
CHANGED
|
@@ -3,6 +3,7 @@ import fs from 'fs';
|
|
|
3
3
|
import path from 'path';
|
|
4
4
|
import os from 'os';
|
|
5
5
|
import https from 'https';
|
|
6
|
+
import { execSync } from 'child_process';
|
|
6
7
|
import { fileURLToPath } from 'url';
|
|
7
8
|
|
|
8
9
|
const __filename = fileURLToPath(import.meta.url);
|
|
@@ -160,6 +161,17 @@ export function mergeSettings(homeDir = os.homedir()) {
|
|
|
160
161
|
fs.writeFileSync(glPath, JSON.stringify(gl, null, 2), 'utf8');
|
|
161
162
|
}
|
|
162
163
|
|
|
164
|
+
// ── MDD integration ───────────────────────────────────────────────────────────
|
|
165
|
+
|
|
166
|
+
function runMddInstall() {
|
|
167
|
+
try {
|
|
168
|
+
execSync('npm install -g @thedecipherist/mdd', { stdio: 'inherit' });
|
|
169
|
+
execSync('mdd install', { stdio: 'inherit' });
|
|
170
|
+
} catch {
|
|
171
|
+
console.log(' ⚠ MDD install skipped — run manually: npm install -g @thedecipherist/mdd && mdd install');
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
163
175
|
// ── main commands ─────────────────────────────────────────────────────────────
|
|
164
176
|
|
|
165
177
|
export async function init(homeDir = os.homedir()) {
|
|
@@ -176,6 +188,8 @@ export async function init(homeDir = os.homedir()) {
|
|
|
176
188
|
console.log(` Copied claude-mastery-project.conf → ${claudeDir}`);
|
|
177
189
|
}
|
|
178
190
|
fs.writeFileSync(path.join(claudeDir, 'starter-kit-source-path'), starterKitDir, 'utf8');
|
|
191
|
+
console.log('\nInstalling MDD workflow...');
|
|
192
|
+
runMddInstall();
|
|
179
193
|
const version = readInstalledVersion(homeDir);
|
|
180
194
|
console.log(`\n✅ Installed v${version} to ${starterKitDir}`);
|
|
181
195
|
console.log(' Run /starter-kit update inside Claude Code to update in future.\n');
|
|
@@ -191,6 +205,8 @@ export async function update(homeDir = os.homedir()) {
|
|
|
191
205
|
copyPackageFiles(homeDir);
|
|
192
206
|
symlinkAll(homeDir);
|
|
193
207
|
mergeSettings(homeDir);
|
|
208
|
+
console.log('\nUpdating MDD workflow...');
|
|
209
|
+
runMddInstall();
|
|
194
210
|
console.log(`\n✅ Updated to v${readInstalledVersion(homeDir)}`);
|
|
195
211
|
}
|
|
196
212
|
|
package/package.json
CHANGED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
[ZoneTransfer]
|
|
2
|
-
ZoneId=3
|
|
3
|
-
ReferrerUrl=https://claude.ai/chat/597ba4c7-56c2-4a17-8c34-c62cc3cd01b9
|
|
4
|
-
HostUrl=https://claude.ai/api/organizations/72c98b96-eeec-4437-8319-588863e85078/conversations/597ba4c7-56c2-4a17-8c34-c62cc3cd01b9/wiggle/download-file?path=%2Fmnt%2Fuser-data%2Foutputs%2Fskills%2Fdocker-swarm%2FSKILL.md
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
[ZoneTransfer]
|
|
2
|
-
ZoneId=3
|
|
3
|
-
ReferrerUrl=https://claude.ai/chat/597ba4c7-56c2-4a17-8c34-c62cc3cd01b9
|
|
4
|
-
HostUrl=https://claude.ai/api/organizations/72c98b96-eeec-4437-8319-588863e85078/conversations/597ba4c7-56c2-4a17-8c34-c62cc3cd01b9/wiggle/download-file?path=%2Fmnt%2Fuser-data%2Foutputs%2Fskills%2Fnginx%2FSKILL.md
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
[ZoneTransfer]
|
|
2
|
-
ZoneId=3
|
|
3
|
-
ReferrerUrl=https://claude.ai/chat/597ba4c7-56c2-4a17-8c34-c62cc3cd01b9
|
|
4
|
-
HostUrl=https://claude.ai/api/organizations/72c98b96-eeec-4437-8319-588863e85078/conversations/597ba4c7-56c2-4a17-8c34-c62cc3cd01b9/wiggle/download-file?path=%2Fmnt%2Fuser-data%2Foutputs%2Fskills%2Fnodejs%2FSKILL.md
|