next 16.0.1 → 16.0.2-canary.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.
Files changed (38) hide show
  1. package/dist/bin/next +1 -1
  2. package/dist/build/index.js +4 -3
  3. package/dist/build/index.js.map +1 -1
  4. package/dist/build/swc/index.js +1 -1
  5. package/dist/build/utils.d.ts +3 -1
  6. package/dist/build/utils.js +5 -4
  7. package/dist/build/utils.js.map +1 -1
  8. package/dist/build/webpack-config.js +5 -3
  9. package/dist/build/webpack-config.js.map +1 -1
  10. package/dist/client/app-bootstrap.js +1 -1
  11. package/dist/client/index.js +1 -1
  12. package/dist/compiled/next-server/pages-api.runtime.dev.js +1 -1
  13. package/dist/compiled/next-server/pages-api.runtime.dev.js.map +1 -1
  14. package/dist/compiled/next-server/pages.runtime.dev.js +1 -1
  15. package/dist/compiled/next-server/pages.runtime.dev.js.map +1 -1
  16. package/dist/esm/build/index.js +4 -3
  17. package/dist/esm/build/index.js.map +1 -1
  18. package/dist/esm/build/swc/index.js +1 -1
  19. package/dist/esm/build/utils.js +5 -4
  20. package/dist/esm/build/utils.js.map +1 -1
  21. package/dist/esm/build/webpack-config.js +5 -3
  22. package/dist/esm/build/webpack-config.js.map +1 -1
  23. package/dist/esm/client/app-bootstrap.js +1 -1
  24. package/dist/esm/client/index.js +1 -1
  25. package/dist/esm/server/dev/hot-reloader-turbopack.js +1 -1
  26. package/dist/esm/server/dev/hot-reloader-webpack.js +1 -1
  27. package/dist/esm/server/lib/app-info-log.js +1 -1
  28. package/dist/esm/server/lib/start-server.js +1 -1
  29. package/dist/esm/shared/lib/errors/canary-only-config-error.js +1 -1
  30. package/dist/server/dev/hot-reloader-turbopack.js +1 -1
  31. package/dist/server/dev/hot-reloader-webpack.js +1 -1
  32. package/dist/server/lib/app-info-log.js +1 -1
  33. package/dist/server/lib/start-server.js +1 -1
  34. package/dist/shared/lib/errors/canary-only-config-error.js +1 -1
  35. package/dist/telemetry/anonymous-meta.js +1 -1
  36. package/dist/telemetry/events/session-stopped.js +2 -2
  37. package/dist/telemetry/events/version.js +2 -2
  38. 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${"16.0.1"}`, '-v, --version', 'Outputs the Next.js version.');
82
+ }).helpCommand(false).helpOption('-h, --help', 'Displays this message.').version(`Next.js v${"16.0.2-canary.0"}`, '-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('--debug-prerender', 'Enables debug mode for prerendering. Not for production use!').option('--no-mangling', 'Disables mangling.').option('--profile', 'Enables production profiling for React.').option('--experimental-app-only', 'Builds only App Router routes.').option('--turbo', 'Builds using Turbopack.').option('--turbopack', 'Builds using Turbopack.').option('--webpack', 'Builds using webpack.').addOption(new _commander.Option('--experimental-build-mode [mode]', 'Uses an experimental build mode.').choices([
84
84
  'compile',
85
85
  'generate',
@@ -375,7 +375,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
375
375
  try {
376
376
  const nextBuildSpan = (0, _trace.trace)('next-build', undefined, {
377
377
  buildMode: experimentalBuildMode,
378
- version: "16.0.1"
378
+ version: "16.0.2-canary.0"
379
379
  });
380
380
  _buildcontext.NextBuildContext.nextBuildSpan = nextBuildSpan;
381
381
  _buildcontext.NextBuildContext.dir = dir;
@@ -897,7 +897,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
897
897
  // Files outside of the distDir can be "type": "module"
898
898
  await writeFileUtf8(_path.default.join(distDir, 'package.json'), '{"type": "commonjs"}');
899
899
  // These are written to distDir, so they need to come after creating and cleaning distDr.
900
- await (0, _builddiagnostics.recordFrameworkVersion)("16.0.1");
900
+ await (0, _builddiagnostics.recordFrameworkVersion)("16.0.2-canary.0");
901
901
  await (0, _builddiagnostics.updateBuildDiagnostics)({
902
902
  buildStage: 'start'
903
903
  });
@@ -2574,7 +2574,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
2574
2574
  configOutDir: _path.default.join(dir, configOutDir),
2575
2575
  staticPages,
2576
2576
  serverPropsPages,
2577
- nextVersion: "16.0.1",
2577
+ nextVersion: "16.0.2-canary.0",
2578
2578
  tracingRoot: outputFileTracingRoot,
2579
2579
  hasNodeMiddleware,
2580
2580
  hasInstrumentationHook,
@@ -2615,6 +2615,7 @@ async function build(dir, reactProductionProfiling = false, debugOutput = false,
2615
2615
  pageExtensions: config.pageExtensions,
2616
2616
  buildManifest,
2617
2617
  middlewareManifest,
2618
+ functionsConfigManifest,
2618
2619
  hasGSPAndRevalidateZero
2619
2620
  }));
2620
2621
  await nextBuildSpan.traceChild('telemetry-flush').traceAsyncFn(()=>telemetry.flush());