@clidey/dory 0.5.0 → 0.6.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/package.json
CHANGED
|
@@ -103,7 +103,7 @@ async function generateLlmTxt() {
|
|
|
103
103
|
}
|
|
104
104
|
|
|
105
105
|
// Write to output file
|
|
106
|
-
const outputPath = path.join(outputDir, '
|
|
106
|
+
const outputPath = path.join(outputDir, 'llms.txt');
|
|
107
107
|
fs.writeFileSync(outputPath, aggregatedContent.trim());
|
|
108
108
|
|
|
109
109
|
console.log(`✅ Generated LLM text file: ${outputPath}`);
|
|
@@ -160,7 +160,7 @@ export function llmTxtDevServer(): Plugin {
|
|
|
160
160
|
return {
|
|
161
161
|
name: 'llm-txt-dev-server',
|
|
162
162
|
configureServer(server) {
|
|
163
|
-
server.middlewares.use('/
|
|
163
|
+
server.middlewares.use('/llms.txt', (req, res, next) => {
|
|
164
164
|
if (req.method !== 'GET') {
|
|
165
165
|
return next();
|
|
166
166
|
}
|