8000 Update Code to 1.101.0 (#7376) · coder/code-server@405eb0f · GitHub
[go: up one dir, main page]

Skip to content

Commit 405eb0f

Browse files
authored
Update Code to 1.101.0 (#7376)
1 parent 6e26dad commit 405eb0f

28 files changed

+65
-81
lines changed

.node-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
20.19.0
1+
22.15.1

ci/build/npm-postinstall.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ main() {
7676
echo "USE AT YOUR OWN RISK!"
7777
fi
7878

79-
if [ "$major_node_version" -ne "${FORCE_NODE_VERSION:-20}" ]; then
80-
echo "ERROR: code-server currently requires node v20."
79+
if [ "$major_node_version" -ne "${FORCE_NODE_VERSION:-22}" ]; then
80 8000 +
echo "ERROR: code-server currently requires node v22."
8181
if [ -n "$FORCE_NODE_VERSION" ]; then
8282
echo "However, you have overrided the version check to use v$FORCE_NODE_VERSION."
8383
fi

docs/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The prerequisites for contributing to code-server are almost the same as those
3232
for [VS Code](https://github.com/Microsoft/vscode/wiki/How-to-Contribute#prerequisites).
3333
Here is what is needed:
3434

35-
- `node` v20.x
35+
- `node` v22.x
3636
- `git` v2.x or greater
3737
- [`git-lfs`](https://git-lfs.github.com)
3838
- [`npm`](https://www.npmjs.com/)

docs/android.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
1111
```
1212

1313
6. Exit the terminal using `exit` and then reopen the terminal
14-
7. Install and use Node.js 20:
14+
7. Install and use Node.js 22:
1515

1616
```shell
1717
nvm install 18

docs/npm.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ includes installing instructions based on your operating system.
3030
## Node.js version
3131

3232
We use the same major version of Node.js shipped with Code's remote, which is
33-
currently `20.x`. VS Code also [lists Node.js
33+
currently `22.x`. VS Code also [lists Node.js
3434
requirements](https://github.com/microsoft/vscode/wiki/How-to-Contribute#prerequisites).
3535

3636
Using other versions of Node.js [may lead to unexpected
@@ -78,7 +78,7 @@ Proceed to [installing](#installing)
7878
## FreeBSD
7979

8080
```sh
81-
pkg install -y git python npm-node20 pkgconf
81+
pkg install -y git python npm-node22 pkgconf
8282
pkg install -y libinotify
8383
```
8484

docs/termux.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ npm config set python python3
5757
node -v
5858
```
5959

60-
you will get Node version `v20`
60+
you will get Node version `v22`
6161

6262
5. Now install code-server following our guide on [installing with npm](./npm.md)
6363

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
flake-utils.lib.eachDefaultSystem
1111
(system:
1212
let pkgs = nixpkgs.legacyPackages.${system};
13-
nodejs = pkgs.nodejs_20;
13+
nodejs = pkgs.nodejs_22;
1414
in {
1515
devShells.default = pkgs.mkShell {
1616
nativeBuildInputs = with pkgs; [

lib/vscode

Submodule vscode updated 1423 files

package-lock.json

Lines changed: 11 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"@types/express": "^5.0.0",
4848
"@types/http-proxy": "1.17.7",
4949
"@types/js-yaml": "^4.0.6",
50-
"@types/node": "20.x",
50+
"@types/node": "22.x",
5151
"@types/pem": "^1.14.1",
5252
"@types/proxy-from-env": "^1.0.1",
5353
"@types/safe-compare": "^1.1.0",
@@ -90,7 +90,7 @@
9090
"xdg-basedir": "^4.0.0"
9191
},
9292
"resolutions": {
93-
"@types/node": "20.x"
93+
"@types/node": "22.x"
9494
},
9595
"bin": {
9696
"code-server": "out/node/entry.js"
@@ -105,7 +105,7 @@
105105
"remote-development"
106106
],
107107
"engines": {
108-
"node": "20"
108+
"node": "22"
109109
},
110110
"jest": {
111111
"transform": {

0 commit comments

Comments
 (0)
0