0adf41c7f0
* add cli init maxDuration to the api/trigger route for nextjs * refactor createTriggerRoute * move boxen log to createTriggerRoute function * refine detectNextVersion and versionNumberPattern regex to match the latest nextjs version * add tests for the detectNextVersion function * add changeset file * If the regex doesn't match, it returns null instead of throwing * Tweaked message about the max duration --------- Co-authored-by: Matt Aitken <matt@mattaitken.com>