claude-cli-advanced-starter-pack 1.0.0 → 1.0.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/package.json
CHANGED
|
@@ -500,7 +500,7 @@ export async function detectTechStack(projectRoot, options = {}) {
|
|
|
500
500
|
const pythonPackages = readPythonRequirements(projectRoot);
|
|
501
501
|
|
|
502
502
|
// --- FRONTEND DETECTION ---
|
|
503
|
-
spinner
|
|
503
|
+
if (spinner) spinner.text = 'Detecting frontend framework...';
|
|
504
504
|
|
|
505
505
|
for (const [framework, patterns] of Object.entries(DETECTION_PATTERNS.frontend)) {
|
|
506
506
|
if (
|
|
@@ -549,7 +549,7 @@ export async function detectTechStack(projectRoot, options = {}) {
|
|
|
549
549
|
}
|
|
550
550
|
|
|
551
551
|
// --- BACKEND DETECTION ---
|
|
552
|
-
spinner
|
|
552
|
+
if (spinner) spinner.text = 'Detecting backend framework...';
|
|
553
553
|
|
|
554
554
|
for (const [framework, patterns] of Object.entries(DETECTION_PATTERNS.backend)) {
|
|
555
555
|
const hasPkg = hasPackages(pkgJson, patterns.packages);
|
|
@@ -580,7 +580,7 @@ export async function detectTechStack(projectRoot, options = {}) {
|
|
|
580
580
|
result.backend.healthEndpoint = '/api/health';
|
|
581
581
|
|
|
582
582
|
// --- DATABASE DETECTION ---
|
|
583
|
-
spinner
|
|
583
|
+
if (spinner) spinner.text = 'Detecting database...';
|
|
584
584
|
|
|
585
585
|
for (const [db, patterns] of Object.entries(DETECTION_PATTERNS.database)) {
|
|
586
586
|
if (hasPackages(pkgJson, patterns.packages)) {
|
|
@@ -603,7 +603,7 @@ export async function detectTechStack(projectRoot, options = {}) {
|
|
|
603
603
|
}
|
|
604
604
|
|
|
605
605
|
// --- TESTING DETECTION ---
|
|
606
|
-
spinner
|
|
606
|
+
if (spinner) spinner.text = 'Detecting testing frameworks...';
|
|
607
607
|
|
|
608
608
|
for (const [framework, patterns] of Object.entries(DETECTION_PATTERNS.e2eFramework)) {
|
|
609
609
|
if (
|
|
@@ -641,7 +641,7 @@ export async function detectTechStack(projectRoot, options = {}) {
|
|
|
641
641
|
result.testing.selectors = detectSelectors(projectRoot);
|
|
642
642
|
|
|
643
643
|
// --- DEPLOYMENT DETECTION ---
|
|
644
|
-
spinner
|
|
644
|
+
if (spinner) spinner.text = 'Detecting deployment platforms...';
|
|
645
645
|
|
|
646
646
|
for (const [platform, patterns] of Object.entries(DETECTION_PATTERNS.deployment)) {
|
|
647
647
|
if (fileExists(projectRoot, patterns.configFiles)) {
|
|
@@ -657,7 +657,7 @@ export async function detectTechStack(projectRoot, options = {}) {
|
|
|
657
657
|
}
|
|
658
658
|
|
|
659
659
|
// --- DEV ENVIRONMENT ---
|
|
660
|
-
spinner
|
|
660
|
+
if (spinner) spinner.text = 'Detecting dev environment...';
|
|
661
661
|
|
|
662
662
|
// Detect package manager
|
|
663
663
|
if (existsSync(join(projectRoot, 'pnpm-lock.yaml'))) {
|
|
@@ -683,7 +683,7 @@ export async function detectTechStack(projectRoot, options = {}) {
|
|
|
683
683
|
}
|
|
684
684
|
|
|
685
685
|
// --- VERSION CONTROL ---
|
|
686
|
-
spinner
|
|
686
|
+
if (spinner) spinner.text = 'Detecting version control...';
|
|
687
687
|
|
|
688
688
|
const gitInfo = detectGitInfo(projectRoot);
|
|
689
689
|
if (gitInfo) {
|
|
@@ -702,7 +702,7 @@ export async function detectTechStack(projectRoot, options = {}) {
|
|
|
702
702
|
api: `http://localhost:${result.backend.port || 8000}/api`,
|
|
703
703
|
};
|
|
704
704
|
|
|
705
|
-
spinner
|
|
705
|
+
if (spinner) spinner.succeed('Tech stack detection complete');
|
|
706
706
|
|
|
707
707
|
return result;
|
|
708
708
|
}
|