Skip to content

Commit

Permalink
2.2.5 (#211)
Browse files Browse the repository at this point in the history
Co-authored-by: Tate Thurston <[email protected]>
  • Loading branch information
tatethurston and tatthurs authored Dec 31, 2024
1 parent e9a1073 commit c139686
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 20 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.2.5

- Fix CLI invocation on Windows.

## 2.2.4

- CLI invocation now reads next.config.js or next.config.mjs.
Expand Down
2 changes: 1 addition & 1 deletion examples/app/@types/nextjs-routes.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
// This file will be automatically regenerated when your Next.js server is running.
// nextjs-routes version: 2.2.4
// nextjs-routes version: 2.2.5
/* eslint-disable */

// prettier-ignore
Expand Down
2 changes: 1 addition & 1 deletion examples/cjs/types/nextjs-routes.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
// This file will be automatically regenerated when your Next.js server is running.
// nextjs-routes version: 2.2.4
// nextjs-routes version: 2.2.5
/* eslint-disable */

// prettier-ignore
Expand Down
2 changes: 1 addition & 1 deletion examples/intl/@types/nextjs-routes.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
// This file will be automatically regenerated when your Next.js server is running.
// nextjs-routes version: 2.2.4
// nextjs-routes version: 2.2.5
/* eslint-disable */

// prettier-ignore
Expand Down
2 changes: 1 addition & 1 deletion examples/typescript/types/nextjs-routes.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
// This file will be automatically regenerated when your Next.js server is running.
// nextjs-routes version: 2.2.4
// nextjs-routes version: 2.2.5
/* eslint-disable */

// prettier-ignore
Expand Down
2 changes: 1 addition & 1 deletion packages/e2e/@types/nextjs-routes.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
// This file will be automatically regenerated when your Next.js server is running.
// nextjs-routes version: 2.2.4
// nextjs-routes version: 2.2.5
/* eslint-disable */

// prettier-ignore
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs-routes/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nextjs-routes",
"version": "2.2.4",
"version": "2.2.5",
"description": "Type safe routing for Next.js",
"license": "MIT",
"author": "Tate <[email protected]>",
Expand Down
26 changes: 13 additions & 13 deletions packages/nextjs-routes/src/__snapshots__/core.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ exports[`route generation app directory generates routes 1`] = `
"@types/nextjs-routes.d.ts",
"// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
// This file will be automatically regenerated when your Next.js server is running.
// nextjs-routes version: 2.2.4
// nextjs-routes version: 2.2.5
/* eslint-disable */
// prettier-ignore
Expand Down Expand Up @@ -261,7 +261,7 @@ exports[`route generation app directory handles intercept routes 1`] = `
"@types/nextjs-routes.d.ts",
"// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
// This file will be automatically regenerated when your Next.js server is running.
// nextjs-routes version: 2.2.4
// nextjs-routes version: 2.2.5
/* eslint-disable */
// prettier-ignore
Expand Down Expand Up @@ -510,7 +510,7 @@ exports[`route generation app directory handles parallel routes 1`] = `
"@types/nextjs-routes.d.ts",
"// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
// This file will be automatically regenerated when your Next.js server is running.
// nextjs-routes version: 2.2.4
// nextjs-routes version: 2.2.5
/* eslint-disable */
// prettier-ignore
Expand Down Expand Up @@ -760,7 +760,7 @@ exports[`route generation app directory handles windows paths 1`] = `
"@types/nextjs-routes.d.ts",
"// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
// This file will be automatically regenerated when your Next.js server is running.
// nextjs-routes version: 2.2.4
// nextjs-routes version: 2.2.5
/* eslint-disable */
// prettier-ignore
Expand Down Expand Up @@ -1009,7 +1009,7 @@ exports[`route generation configuration i18n 1`] = `
"@types/nextjs-routes.d.ts",
"// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
// This file will be automatically regenerated when your Next.js server is running.
// nextjs-routes version: 2.2.4
// nextjs-routes version: 2.2.5
/* eslint-disable */
// prettier-ignore
Expand Down Expand Up @@ -1209,7 +1209,7 @@ exports[`route generation configuration outDir 1`] = `
"src/nextjs-routes.d.ts",
"// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
// This file will be automatically regenerated when your Next.js server is running.
// nextjs-routes version: 2.2.4
// nextjs-routes version: 2.2.5
/* eslint-disable */
// prettier-ignore
Expand Down Expand Up @@ -1385,7 +1385,7 @@ exports[`route generation configuration pageExtensions configured 1`] = `
"@types/nextjs-routes.d.ts",
"// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
// This file will be automatically regenerated when your Next.js server is running.
// nextjs-routes version: 2.2.4
// nextjs-routes version: 2.2.5
/* eslint-disable */
// prettier-ignore
Expand Down Expand Up @@ -1563,7 +1563,7 @@ exports[`route generation configuration pageExtensions default 1`] = `
"@types/nextjs-routes.d.ts",
"// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
// This file will be automatically regenerated when your Next.js server is running.
// nextjs-routes version: 2.2.4
// nextjs-routes version: 2.2.5
/* eslint-disable */
// prettier-ignore
Expand Down Expand Up @@ -1739,7 +1739,7 @@ exports[`route generation dedupes 1`] = `
"@types/nextjs-routes.d.ts",
"// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
// This file will be automatically regenerated when your Next.js server is running.
// nextjs-routes version: 2.2.4
// nextjs-routes version: 2.2.5
/* eslint-disable */
// prettier-ignore
Expand Down Expand Up @@ -1915,7 +1915,7 @@ exports[`route generation no routes 1`] = `
"@types/nextjs-routes.d.ts",
"// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
// This file will be automatically regenerated when your Next.js server is running.
// nextjs-routes version: 2.2.4
// nextjs-routes version: 2.2.5
/* eslint-disable */
// prettier-ignore
Expand Down Expand Up @@ -2091,7 +2091,7 @@ exports[`route generation pages and app directory generates routes 1`] = `
"@types/nextjs-routes.d.ts",
"// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
// This file will be automatically regenerated when your Next.js server is running.
// nextjs-routes version: 2.2.4
// nextjs-routes version: 2.2.5
/* eslint-disable */
// prettier-ignore
Expand Down Expand Up @@ -2342,7 +2342,7 @@ exports[`route generation transforms windows paths 1`] = `
"@types/nextjs-routes.d.ts",
"// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
// This file will be automatically regenerated when your Next.js server is running.
// nextjs-routes version: 2.2.4
// nextjs-routes version: 2.2.5
/* eslint-disable */
// prettier-ignore
Expand Down Expand Up @@ -2518,7 +2518,7 @@ exports[`route generation typescript 1`] = `
"@types/nextjs-routes.d.ts",
"// THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
// This file will be automatically regenerated when your Next.js server is running.
// nextjs-routes version: 2.2.4
// nextjs-routes version: 2.2.5
/* eslint-disable */
// prettier-ignore
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs-routes/src/core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { findFiles, getAppDirectory, getPagesDirectory } from "./utils.js";
// by node 17+
// import pkg from "../package.json" assert { type: "json" };
const pkg = {
version: "2.2.4",
version: "2.2.5",
};

type QueryType = "dynamic" | "catch-all" | "optional-catch-all";
Expand Down

0 comments on commit c139686

Please sign in to comment.