@clidey/dory 0.5.0 → 0.7.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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@clidey/dory",
3
3
  "private": false,
4
- "version": "0.5.0",
4
+ "version": "0.7.0",
5
5
  "type": "module",
6
6
  "description": "A CLI tool for building and previewing documentation sites",
7
7
  "keywords": [
@@ -103,7 +103,7 @@ async function generateLlmTxt() {
103
103
  }
104
104
 
105
105
  // Write to output file
106
- const outputPath = path.join(outputDir, 'llm.txt');
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('/llm.txt', (req, res, next) => {
163
+ server.middlewares.use('/llms.txt', (req, res, next) => {
164
164
  if (req.method !== 'GET') {
165
165
  return next();
166
166
  }
@@ -170,7 +170,7 @@ export function llmTxtGenerator(options: LlmTxtGeneratorOptions = {}): Plugin {
170
170
 
171
171
  this.emitFile({
172
172
  type: 'asset',
173
- fileName: 'llm.txt',
173
+ fileName: 'llms.txt',
174
174
  source: aggregatedContent
175
175
  });
176
176