Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/release-dry-run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@v6
with:
version: 10.13.1
run_install: false
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
- uses: pnpm/action-setup@v6
with:
version: 10.13.1
run_install: false
Expand Down
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ format and uses semantic versioning when versioned releases are published.
generated repository README template.
- Tightened template file validation and aligned generated workflow action
versions.
- Updated the `next-app` template to Next.js 16.3.4 and sharp 0.35.4 to clear
the current high-severity advisory set, and aligned the generated
`next-env.d.ts` with Next.js 16.3.4 build output.

## Release Links

Expand Down
6 changes: 3 additions & 3 deletions scripts/smoke-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -195,16 +195,16 @@ test -f web-app/tsconfig.json
node -e '
const pkg = require("./web-app/package.json");
const expected = {
dependencies: { next: "16.2.12", react: "19.1.9", "react-dom": "19.1.9" },
dependencies: { next: "16.3.4", react: "19.1.9", "react-dom": "19.1.9" },
devDependencies: {
"@types/node": "22.20.1",
"@types/react": "19.1.17",
"@types/react-dom": "19.1.11",
eslint: "9.39.5",
"eslint-config-next": "16.2.12",
"eslint-config-next": "16.3.4",
typescript: "5.9.3"
},
overrides: { postcss: "8.5.23", sharp: "0.35.3" }
overrides: { postcss: "8.5.23", sharp: "0.35.4" }
};
for (const [field, values] of Object.entries(expected)) {
if (JSON.stringify(pkg[field]) !== JSON.stringify(values)) {
Expand Down
7 changes: 4 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@ function nextPackageJsonTemplate(): string {
"audit": "npm audit --omit=dev --audit-level=high"
},
"dependencies": {
"next": "16.2.12",
"next": "16.3.4",
"react": "19.1.9",
"react-dom": "19.1.9"
},
Expand All @@ -537,12 +537,12 @@ function nextPackageJsonTemplate(): string {
"@types/react": "19.1.17",
"@types/react-dom": "19.1.11",
"eslint": "9.39.5",
"eslint-config-next": "16.2.12",
"eslint-config-next": "16.3.4",
"typescript": "5.9.3"
},
"overrides": {
"postcss": "8.5.23",
"sharp": "0.35.3"
"sharp": "0.35.4"
}
}
`;
Expand Down Expand Up @@ -571,6 +571,7 @@ function nextEnvironmentDeclarationTemplate(): string {
return `/// <reference types="next" />
/// <reference types="next/image-types/global" />
import "./.next/types/routes.d.ts";
import "./.next/types/root-params.d.ts";

// NOTE: This file should not be edited
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
Expand Down
Loading
Loading