Monorepo for the next-llms-txt ecosystem.
packages/
├── next-llms-txt/ # Main library package - Next.js plugin for generating llms.txt files
├── demo-server/ # Demo Next.js application showcasing the plugin
└── cypress-tests/ # E2E test suite
- Node.js 22.x or higher
- npm
npm installThis will install dependencies for all workspace packages.
npm run buildBuilds all packages in the workspace.
npm run dev # Develop the main library
npm run server:demo # Run the demo servernpm test # Run all tests across workspaces
npm run test:unit # Run unit tests
npm run test:coverage # Run tests with coverage
npm run test:e2e # Run Cypress E2E testsnpm run lint # Lint all packages
npm run lint:fix # Auto-fix linting issuesnpm run cypress:open # Open Cypress UI
npm run cypress:run # Run Cypress tests headlesslyThe main library package. See packages/next-llms-txt/README.md for detailed documentation.
Publishing:
npm run publish:dry -w next-llms-txt # Dry run
npm run publish -w next-llms-txt # Actual publishA Next.js application demonstrating the plugin in action.
npm run server:demo # Development mode
npm run server:demo:build # Production buildE2E test suite for integration testing.
- TypeScript: Shared base configuration at
tsconfig.base.json, extended by all packages - ESLint: Each package has its own configuration
- Workspaces: Managed via npm workspaces
See packages/next-llms-txt/CONTRIBUTING.md for contribution guidelines.