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 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. 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",