@next/codemod 16.5.0-canary.70 → 16.5.0-canary.71

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 +4 -1
  2. package/package.json +1 -1
package/lib/agents-md.js CHANGED
@@ -269,7 +269,10 @@ function collectDocFiles(dir) {
269
269
  .filter((f) => (f.endsWith('.mdx') || f.endsWith('.md')) &&
270
270
  !/[/\\]index\.mdx$/.test(f) &&
271
271
  !/[/\\]index\.md$/.test(f) &&
272
- !f.startsWith('index.'))
272
+ !f.startsWith('index.') &&
273
+ // Error pages are opened by name from the link in a message, not
274
+ // browsed. Listing all of them would nearly double the index.
275
+ !/^messages[/\\]/.test(f))
273
276
  .sort()
274
277
  .map((f) => ({ relativePath: f.replace(/\\/g, '/') }));
275
278
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next/codemod",
3
- "version": "16.5.0-canary.70",
3
+ "version": "16.5.0-canary.71",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",