@next/codemod 16.2.0-canary.7 → 16.2.0-canary.8

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.
Files changed (2) hide show
  1. package/lib/agents-md.js +1 -1
  2. package/package.json +1 -1
package/lib/agents-md.js CHANGED
@@ -198,7 +198,7 @@ function generateClaudeMdIndex(data) {
198
198
  const parts = [];
199
199
  parts.push('[Next.js Docs Index]');
200
200
  parts.push(`root: ${docsPath}`);
201
- parts.push('IMPORTANT: Prefer retrieval-led reasoning over pre-training-led reasoning for any Next.js tasks.');
201
+ parts.push('STOP. What you remember about Next.js is WRONG for this project. Always search docs and read before any task.');
202
202
  const targetFile = outputFile || 'CLAUDE.md';
203
203
  parts.push(`If docs missing, run this command first: npx @next/codemod agents-md --output ${targetFile}`);
204
204
  const allFiles = collectAllFilesFromSections(sections);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next/codemod",
3
- "version": "16.2.0-canary.7",
3
+ "version": "16.2.0-canary.8",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",