Skip to content

Commit 40aeb53

Browse files
docs(node): document pre-bundled items and how to opt out (#1695)
* docs(node): document pre-bundled items and how to opt out Added notes on excluding pre-bundled items and VS Code extensions. * Fix formatting in NOTES.md Corrected formatting and punctuation in the NOTES.md file. * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent 765e8eb commit 40aeb53

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

src/node/NOTES.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,27 @@ Debian/Ubuntu, RedHat Enterprise Linux, Fedora, Alma, and Rocky Linux distributi
2525
**Note**: RedHat 7 Family (RedHat, CentOS, etc.) must use Node versions less than 18 due to its system libraries and long-term support (LTS) policies.
2626

2727
`bash` is required to execute the `install.sh` script.
28+
29+
## Pre-bundled items
30+
31+
> [!NOTE]
32+
> Beyond the core install, this feature also sets up a few items by default for convenience — recommended VS Code extensions (such as a linter) and supporting tools. This is intentional behavior shared across features in this repository.
33+
34+
## Excluding pre-bundled items
35+
36+
Exclude a bundled **VS Code extension** by prefixing its ID with `-`, or (when supported by a feature option) disable a bundled **tool** by setting its version option to `none` (for example, `pnpmVersion`: `none`):
37+
38+
```json
39+
{
40+
"features": {
41+
"ghcr.io/devcontainers/features/node:2": {
42+
"pnpmVersion": "none"
43+
}
44+
},
45+
"customizations": {
46+
"vscode": {
47+
"extensions": [ "-dbaeumer.vscode-eslint" ]
48+
}
49+
}
50+
}
51+
```

0 commit comments

Comments
 (0)