@stackguide/mcp-server 1.0.0
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/LICENSE +674 -0
- package/README.md +453 -0
- package/data/knowledge/python-django/architecture/architecture-patterns.md +201 -0
- package/data/knowledge/python-django/common-issues/common-issues.md +181 -0
- package/data/knowledge/python-django/patterns/drf-patterns.md +133 -0
- package/data/knowledge/react-node/architecture/node-architecture.md +257 -0
- package/data/knowledge/react-node/common-issues/common-issues.md +262 -0
- package/data/knowledge/react-node/patterns/react-patterns.md +244 -0
- package/data/rules/python-django/best-practices/django-best-practices.md +120 -0
- package/data/rules/python-django/coding-standards/django-standards.md +104 -0
- package/data/rules/python-django/security/security-guidelines.md +146 -0
- package/data/rules/react-node/best-practices/react-best-practices.md +195 -0
- package/data/rules/react-node/coding-standards/node-standards.md +192 -0
- package/data/rules/react-node/coding-standards/react-standards.md +155 -0
- package/data/rules/react-node/security/security-guidelines.md +228 -0
- package/dist/config/persistence.d.ts +15 -0
- package/dist/config/persistence.d.ts.map +1 -0
- package/dist/config/persistence.js +171 -0
- package/dist/config/persistence.js.map +1 -0
- package/dist/config/types.d.ts +47 -0
- package/dist/config/types.d.ts.map +1 -0
- package/dist/config/types.js +116 -0
- package/dist/config/types.js.map +1 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +1799 -0
- package/dist/index.js.map +1 -0
- package/dist/resources/knowledgeProvider.d.ts +10 -0
- package/dist/resources/knowledgeProvider.d.ts.map +1 -0
- package/dist/resources/knowledgeProvider.js +130 -0
- package/dist/resources/knowledgeProvider.js.map +1 -0
- package/dist/resources/rulesProvider.d.ts +10 -0
- package/dist/resources/rulesProvider.d.ts.map +1 -0
- package/dist/resources/rulesProvider.js +135 -0
- package/dist/resources/rulesProvider.js.map +1 -0
- package/dist/services/cursorDirectory.d.ts +55 -0
- package/dist/services/cursorDirectory.d.ts.map +1 -0
- package/dist/services/cursorDirectory.js +367 -0
- package/dist/services/cursorDirectory.js.map +1 -0
- package/dist/services/ruleManager.d.ts +18 -0
- package/dist/services/ruleManager.d.ts.map +1 -0
- package/dist/services/ruleManager.js +382 -0
- package/dist/services/ruleManager.js.map +1 -0
- package/dist/services/webDocumentation.d.ts +41 -0
- package/dist/services/webDocumentation.d.ts.map +1 -0
- package/dist/services/webDocumentation.js +237 -0
- package/dist/services/webDocumentation.js.map +1 -0
- package/package.json +46 -0
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
// Supported projects definition
|
|
2
|
+
export const SUPPORTED_PROJECTS = {
|
|
3
|
+
'python-django': {
|
|
4
|
+
type: 'python-django',
|
|
5
|
+
name: 'Python Django',
|
|
6
|
+
description: 'Django web framework with Python',
|
|
7
|
+
languages: ['python'],
|
|
8
|
+
frameworks: ['django'],
|
|
9
|
+
detectionFiles: ['manage.py', 'django', 'settings.py']
|
|
10
|
+
},
|
|
11
|
+
'python-fastapi': {
|
|
12
|
+
type: 'python-fastapi',
|
|
13
|
+
name: 'Python FastAPI',
|
|
14
|
+
description: 'FastAPI modern web framework',
|
|
15
|
+
languages: ['python'],
|
|
16
|
+
frameworks: ['fastapi'],
|
|
17
|
+
detectionFiles: ['main.py', 'fastapi']
|
|
18
|
+
},
|
|
19
|
+
'python-flask': {
|
|
20
|
+
type: 'python-flask',
|
|
21
|
+
name: 'Python Flask',
|
|
22
|
+
description: 'Flask micro web framework',
|
|
23
|
+
languages: ['python'],
|
|
24
|
+
frameworks: ['flask'],
|
|
25
|
+
detectionFiles: ['app.py', 'flask']
|
|
26
|
+
},
|
|
27
|
+
'react-node': {
|
|
28
|
+
type: 'react-node',
|
|
29
|
+
name: 'React with Node.js',
|
|
30
|
+
description: 'React frontend with Node.js backend',
|
|
31
|
+
languages: ['javascript', 'typescript'],
|
|
32
|
+
frameworks: ['react', 'node', 'express'],
|
|
33
|
+
detectionFiles: ['package.json', 'react', 'node']
|
|
34
|
+
},
|
|
35
|
+
'react-typescript': {
|
|
36
|
+
type: 'react-typescript',
|
|
37
|
+
name: 'React TypeScript',
|
|
38
|
+
description: 'React with TypeScript',
|
|
39
|
+
languages: ['typescript'],
|
|
40
|
+
frameworks: ['react'],
|
|
41
|
+
detectionFiles: ['tsconfig.json', 'react']
|
|
42
|
+
},
|
|
43
|
+
'vue-node': {
|
|
44
|
+
type: 'vue-node',
|
|
45
|
+
name: 'Vue.js with Node.js',
|
|
46
|
+
description: 'Vue.js frontend with Node.js backend',
|
|
47
|
+
languages: ['javascript', 'typescript'],
|
|
48
|
+
frameworks: ['vue', 'node'],
|
|
49
|
+
detectionFiles: ['package.json', 'vue']
|
|
50
|
+
},
|
|
51
|
+
'nextjs': {
|
|
52
|
+
type: 'nextjs',
|
|
53
|
+
name: 'Next.js',
|
|
54
|
+
description: 'Next.js React framework',
|
|
55
|
+
languages: ['javascript', 'typescript'],
|
|
56
|
+
frameworks: ['nextjs', 'react'],
|
|
57
|
+
detectionFiles: ['next.config.js', 'next.config.mjs']
|
|
58
|
+
},
|
|
59
|
+
'express': {
|
|
60
|
+
type: 'express',
|
|
61
|
+
name: 'Express.js',
|
|
62
|
+
description: 'Express.js Node framework',
|
|
63
|
+
languages: ['javascript', 'typescript'],
|
|
64
|
+
frameworks: ['express', 'node'],
|
|
65
|
+
detectionFiles: ['package.json', 'express']
|
|
66
|
+
},
|
|
67
|
+
'nestjs': {
|
|
68
|
+
type: 'nestjs',
|
|
69
|
+
name: 'NestJS',
|
|
70
|
+
description: 'NestJS Node framework',
|
|
71
|
+
languages: ['typescript'],
|
|
72
|
+
frameworks: ['nestjs', 'node'],
|
|
73
|
+
detectionFiles: ['nest-cli.json', 'nestjs']
|
|
74
|
+
},
|
|
75
|
+
'laravel': {
|
|
76
|
+
type: 'laravel',
|
|
77
|
+
name: 'Laravel PHP',
|
|
78
|
+
description: 'Laravel PHP framework',
|
|
79
|
+
languages: ['php'],
|
|
80
|
+
frameworks: ['laravel'],
|
|
81
|
+
detectionFiles: ['artisan', 'composer.json']
|
|
82
|
+
},
|
|
83
|
+
'rails': {
|
|
84
|
+
type: 'rails',
|
|
85
|
+
name: 'Ruby on Rails',
|
|
86
|
+
description: 'Ruby on Rails framework',
|
|
87
|
+
languages: ['ruby'],
|
|
88
|
+
frameworks: ['rails'],
|
|
89
|
+
detectionFiles: ['Gemfile', 'config/routes.rb']
|
|
90
|
+
},
|
|
91
|
+
'golang': {
|
|
92
|
+
type: 'golang',
|
|
93
|
+
name: 'Go',
|
|
94
|
+
description: 'Go programming language',
|
|
95
|
+
languages: ['go'],
|
|
96
|
+
frameworks: [],
|
|
97
|
+
detectionFiles: ['go.mod', 'main.go']
|
|
98
|
+
},
|
|
99
|
+
'rust': {
|
|
100
|
+
type: 'rust',
|
|
101
|
+
name: 'Rust',
|
|
102
|
+
description: 'Rust programming language',
|
|
103
|
+
languages: ['rust'],
|
|
104
|
+
frameworks: [],
|
|
105
|
+
detectionFiles: ['Cargo.toml', 'main.rs']
|
|
106
|
+
},
|
|
107
|
+
'custom': {
|
|
108
|
+
type: 'custom',
|
|
109
|
+
name: 'Custom Project',
|
|
110
|
+
description: 'Custom project configuration',
|
|
111
|
+
languages: [],
|
|
112
|
+
frameworks: [],
|
|
113
|
+
detectionFiles: []
|
|
114
|
+
}
|
|
115
|
+
};
|
|
116
|
+
//# sourceMappingURL=types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/config/types.ts"],"names":[],"mappings":"AAyFA,gCAAgC;AAChC,MAAM,CAAC,MAAM,kBAAkB,GAAqC;IAClE,eAAe,EAAE;QACf,IAAI,EAAE,eAAe;QACrB,IAAI,EAAE,eAAe;QACrB,WAAW,EAAE,kCAAkC;QAC/C,SAAS,EAAE,CAAC,QAAQ,CAAC;QACrB,UAAU,EAAE,CAAC,QAAQ,CAAC;QACtB,cAAc,EAAE,CAAC,WAAW,EAAE,QAAQ,EAAE,aAAa,CAAC;KACvD;IACD,gBAAgB,EAAE;QAChB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