From d2e9acd92bb05646a7cc828410a35ee6859367c1 Mon Sep 17 00:00:00 2001 From: Claudio Wunder Date: Thu, 21 Aug 2025 01:47:30 +0200 Subject: [PATCH 1/3] Revert "fix(redirects): don't prefix `/docs`" (#8097) --- apps/site/redirects.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/site/redirects.json b/apps/site/redirects.json index 653e6379a63fc..3698f577095fe 100644 --- a/apps/site/redirects.json +++ b/apps/site/redirects.json @@ -106,7 +106,7 @@ }, { "source": "/documentation/:path*", - "destination": "/docs/:path*" + "destination": "/en/docs/:path*" }, { "source": "/blog/:path*", @@ -126,7 +126,7 @@ }, { "source": "/:locale/documentation/:path*", - "destination": "/docs/:path*" + "destination": "/:locale/docs/:path*" }, { "source": "/(atom|feed|rss).xml", From e6a0cbbf1dfbcdce0bdc2653055be5c935305380 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Linus=20Unneb=C3=A4ck?= Date: Thu, 21 Aug 2025 16:10:35 +0200 Subject: [PATCH 2/3] docs: update default type stripping Node.js version (#8099) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * docs: update default type stripping Node.js version Signed-off-by: Linus Unnebäck * doc: avoid mentioning EOL Node.js version Co-authored-by: Aviv Keller Signed-off-by: Linus Unnebäck --------- Signed-off-by: Linus Unnebäck Co-authored-by: Aviv Keller --- apps/site/pages/en/learn/typescript/publishing-a-ts-package.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/site/pages/en/learn/typescript/publishing-a-ts-package.md b/apps/site/pages/en/learn/typescript/publishing-a-ts-package.md index b83c505211161..8ea984811aedf 100644 --- a/apps/site/pages/en/learn/typescript/publishing-a-ts-package.md +++ b/apps/site/pages/en/learn/typescript/publishing-a-ts-package.md @@ -15,7 +15,7 @@ Some important things to note: - Fields like `scripts.test` operate on source-code, so they would use the file extensions of the source code (ex `"test": "node --test './src/**/*.test.ts'`). -- Node runs TypeScript code via a process called "[type stripping](https://nodejs.org/api/typescript.html#type-stripping)", wherein node (via [Amaro](https://github.com/nodejs/amaro)) removes TypeScript-specific syntax, leaving behind vanilla JavaScript (which node already understands). This behaviour is enabled by default as of node version 23.6.0. +- Node runs TypeScript code via a process called "[type stripping](https://nodejs.org/api/typescript.html#type-stripping)", wherein node (via [Amaro](https://github.com/nodejs/amaro)) removes TypeScript-specific syntax, leaving behind vanilla JavaScript (which node already understands). This behaviour is enabled by default as of node version 22.18.0. - Node does **not** strip types in `node_modules` because it can cause significant performance issues for the official TypeScript compiler (`tsc`) and parts of VS Code, so the TypeScript maintainers would like to discourage people publishing raw TypeScript, at least for now. - Consuming TypeScript-specific features like `enum` in node still requires a flag ([`--experimental-transform-types`](https://nodejs.org/api/typescript.html#typescript-features)). There are often better alternatives for these anyway. From 7bdc4ffa9c73f147742676af15d1b047f3c822e3 Mon Sep 17 00:00:00 2001 From: Aviv Keller Date: Thu, 21 Aug 2025 10:11:29 -0400 Subject: [PATCH 3/3] fix(CODEOWNERS): add nvmrc, publish script under web-infra (#8094) --- .github/CODEOWNERS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index a122846990f36..a12b22ef5b80e 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -4,7 +4,9 @@ # Infrastructure .github @nodejs/web-infra .husky @nodejs/web-infra +.nvmrc @nodejs/web-infra codecov.yml @nodejs/web-infra +packages/ui-components/scripts/publish.mjs @nodejs/web-infra # Dependencies pnpm-workspace.yaml @nodejs/nodejs-website @nodejs/web-infra