next 15.2.0-canary.72 → 15.2.0-canary.74

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.

Potentially problematic release.


This version of next might be problematic. Click here for more details.

Files changed (37) hide show
  1. package/dist/bin/next +1 -1
  2. package/dist/build/index.js +5 -2
  3. package/dist/build/index.js.map +1 -1
  4. package/dist/build/swc/index.js +1 -1
  5. package/dist/build/webpack-config.js +2 -2
  6. package/dist/client/app-bootstrap.js +1 -1
  7. package/dist/client/index.js +1 -1
  8. package/dist/esm/build/index.js +6 -3
  9. package/dist/esm/build/index.js.map +1 -1
  10. package/dist/esm/build/swc/index.js +1 -1
  11. package/dist/esm/build/webpack-config.js +2 -2
  12. package/dist/esm/client/app-bootstrap.js +1 -1
  13. package/dist/esm/client/index.js +1 -1
  14. package/dist/esm/server/config.js +1 -1
  15. package/dist/esm/server/dev/hot-reloader-turbopack.js +1 -1
  16. package/dist/esm/server/dev/hot-reloader-webpack.js +1 -1
  17. package/dist/esm/server/dev/turbopack-utils.js +4 -3
  18. package/dist/esm/server/dev/turbopack-utils.js.map +1 -1
  19. package/dist/esm/server/lib/app-info-log.js +1 -1
  20. package/dist/esm/server/lib/router-utils/setup-dev-bundler.js +5 -3
  21. package/dist/esm/server/lib/router-utils/setup-dev-bundler.js.map +1 -1
  22. package/dist/esm/server/lib/start-server.js +1 -1
  23. package/dist/experimental/testing/server/config-testing-utils.js +3 -1
  24. package/dist/experimental/testing/server/config-testing-utils.js.map +1 -1
  25. package/dist/server/config.js +1 -1
  26. package/dist/server/dev/hot-reloader-turbopack.js +1 -1
  27. package/dist/server/dev/hot-reloader-webpack.js +1 -1
  28. package/dist/server/dev/turbopack-utils.js +4 -3
  29. package/dist/server/dev/turbopack-utils.js.map +1 -1
  30. package/dist/server/lib/app-info-log.js +1 -1
  31. package/dist/server/lib/router-utils/setup-dev-bundler.js +4 -2
  32. package/dist/server/lib/router-utils/setup-dev-bundler.js.map +1 -1
  33. package/dist/server/lib/start-server.js +1 -1
  34. package/dist/telemetry/anonymous-meta.js +1 -1
  35. package/dist/telemetry/events/session-stopped.js +2 -2
  36. package/dist/telemetry/events/version.js +2 -2
  37. package/package.json +15 -15
package/dist/bin/next CHANGED
@@ -79,7 +79,7 @@ const program = new NextRootCommand();
79
79
  program.name('next').description('The Next.js CLI allows you to develop, build, start your application, and more.').configureHelp({
80
80
  formatHelp: (cmd, helper)=>(0, _formatclihelpoutput.formatCliHelpOutput)(cmd, helper),
81
81
  subcommandTerm: (cmd)=>`${cmd.name()} ${cmd.usage()}`
82
- }).helpCommand(false).helpOption('-h, --help', 'Displays this message.').version(`Next.js v${"15.2.0-canary.72"}`, '-v, --version', 'Outputs the Next.js version.');
82
+ }).helpCommand(false).helpOption('-h, --help', 'Displays this message.').version(`Next.js v${"15.2.0-canary.74"}`, '-v, --version', 'Outputs the Next.js version.');
83
83
  program.command('build').description('Creates an optimized production build of your application. The output displays information about each route.').argument('[directory]', `A directory on which to build the application. ${(0, _picocolors.italic)('If no directory is provided, the current directory will be used.')}`).option('-d, --debug', 'Enables a more verbose build output.').option('--no-lint', 'Disables linting.').option('--no-mangling', 'Disables mangling.').option('--profile', 'Enables production profiling for React.').option('--experimental-app-only', 'Builds only App Router routes.').addOption(new _commander.Option('--experimental-turbo').hideHelp()).addOption(new _commander.Option('--experimental-build-mode [mode]', 'Uses an experimental build mode.').choices([
84
84
  'compile',
85
85
  'generate'
@@ -364,7 +364,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
364
364
  const nextBuildSpan = (0, _trace.trace)('next-build', undefined, {
365
365
  buildMode: experimentalBuildMode,
366
366
  isTurboBuild: String(turboNextBuild),
367
- version: "15.2.0-canary.72"
367
+ version: "15.2.0-canary.74"
368
368
  });
369
369
  _buildcontext.NextBuildContext.nextBuildSpan = nextBuildSpan;
370
370
  _buildcontext.NextBuildContext.dir = dir;
@@ -723,7 +723,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
723
723
  // Files outside of the distDir can be "type": "module"
724
724
  await writeFileUtf8(_path.default.join(distDir, 'package.json'), '{"type": "commonjs"}');
725
725
  // These are written to distDir, so they need to come after creating and cleaning distDr.
726
- await (0, _builddiagnostics.recordFrameworkVersion)("15.2.0-canary.72");
726
+ await (0, _builddiagnostics.recordFrameworkVersion)("15.2.0-canary.74");
727
727
  await (0, _builddiagnostics.updateBuildDiagnostics)({
728
728
  buildStage: 'start'
729
729
  });
@@ -1377,6 +1377,9 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
1377
1377
  }
1378
1378
  ]
1379
1379
  };
1380
+ if (turboNextBuild) {
1381
+ await writeManifest(_path.default.join(distDir, 'static', buildId, _constants1.TURBOPACK_CLIENT_MIDDLEWARE_MANIFEST), functionsConfigManifest.functions['/_middleware'].matchers || []);
1382
+ }
1380
1383
  }
1381
1384
  }
1382
1385
  await writeFunctionsConfigManifest(distDir, functionsConfigManifest);