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: 2 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions apps/site/redirects.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
},
{
"source": "/documentation/:path*",
"destination": "/docs/:path*"
"destination": "/en/docs/:path*"
},
{
"source": "/blog/:path*",
Expand All @@ -126,7 +126,7 @@
},
{
"source": "/:locale/documentation/:path*",
"destination": "/docs/:path*"
"destination": "/:locale/docs/:path*"
},
{
"source": "/(atom|feed|rss).xml",
Expand Down
Loading