1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2024-12-28 21:25:25 +00:00

Update node to latest lts (12.16.3) and update deps

This commit is contained in:
Asher 2020-04-29 11:43:13 -05:00
parent 86dc38e69f
commit f3edb1cc5f
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A
3 changed files with 1111 additions and 841 deletions

View File

@ -13,7 +13,7 @@ RUN yum update -y && yum install -y \
libx11-devel
RUN mkdir /usr/share/node && cd /usr/share/node \
&& curl "https://nodejs.org/dist/v12.14.0/node-v12.14.0-linux-$(uname -m | sed 's/86_//; s/aarch/arm/').tar.xz" | tar xJ --strip-components=1 --
&& curl "https://nodejs.org/dist/v12.16.3/node-v12.16.3-linux-$(uname -m | sed 's/86_//; s/aarch/arm/').tar.xz" | tar xJ --strip-components=1 --
ENV PATH "$PATH:/usr/share/node/bin"
RUN npm install -g yarn@1.22.4

View File

@ -11,7 +11,7 @@ index e73dd4d9e8..e3192b3a0d 100644
build/node_modules
coverage/
diff --git a/.yarnrc b/.yarnrc
index 7808166004..c877697068 100644
index 7808166004..a7300dbfb9 100644
--- a/.yarnrc
+++ b/.yarnrc
@@ -1,3 +1,3 @@
@ -19,7 +19,7 @@ index 7808166004..c877697068 100644
-target "7.1.11"
-runtime "electron"
+disturl "http://nodejs.org/dist"
+target "12.14.0"
+target "12.16.3"
+runtime "node"
diff --git a/build/npm/postinstall.js b/build/npm/postinstall.js
index 7a2320d828..5768890636 100644

1946
yarn.lock

File diff suppressed because it is too large Load Diff