testing/code-oss: upgrade to 1.85.0, rebuild with electron 28

This commit is contained in:
lauren n. liberda 2023-12-09 13:39:28 +01:00 committed by omni
parent 77fa195d16
commit 2c267d4499
5 changed files with 1610 additions and 19 deletions

View File

@ -1,6 +1,6 @@
# Maintainer: lauren n. liberda <lauren@selfisekai.rocks>
pkgname=code-oss
pkgver=1.84.1
pkgver=1.85.0
pkgrel=0
# get this from vscodium
_productjson=49583eb39dd33f265e7a6dec28fe7bd25d418d9c
@ -16,7 +16,7 @@ makedepends="
krb5-dev
libsecret-dev
libxkbfile-dev
nodejs~18
nodejs-dev
npm
pngquant
python3
@ -27,24 +27,41 @@ subpackages="
$pkgname-zsh-completion
"
install="$pkgname.post-install"
_l10nd=0.0.30
source="$pkgname-$pkgver.tar.gz::https://github.com/microsoft/vscode/archive/refs/tags/$pkgver.tar.gz
product-$_productjson.json::https://github.com/VSCodium/vscodium/raw/$_productjson/product.json
https://github.com/microsoft/vscode-l10n/archive/refs/tags/l10n-dev/v$_l10nd/l10n-dev-$_l10nd.tar.gz
launcher
enable-extensions.patch
no-git.patch
no-res.patch.noauto
electron21.patch
webpack-hash.patch.noauto
node-sitter.patch.l10n
no-source-maps.patch
"
builddir="$srcdir/vscode-$pkgver"
options="!check net" # no tests (that make sense to run..)
export ELECTRON_SKIP_BINARY_DOWNLOAD=1
export PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1
export npm_config_nodedir=/usr/include/electron/node_headers
export npm_config_build_from_source=true
prepare() {
default_prepare
mv -v ../vscode-l10n-l10n-dev-v$_l10nd ../l10n
msg "Applying more patches"
for x in $source; do
case "$x" in
*.patch.l10n)
msg "$x"
patch -p1 -i "$srcdir"/$x -d "$srcdir"/l10n
;;
esac
done
sed -i '/^disturl\b/d' .yarnrc
echo 'nodedir /usr/include/electron/node_headers' >> .yarnrc
echo 'ignore-engines "true"' >> .yarnrc
@ -52,6 +69,13 @@ prepare() {
# block husky
git init .
(
cd ../l10n/l10n-dev
npm ci --ignore-scripts
npm rebuild tree-sitter tree-sitter-typescript
npm run compile
)
# electron 20+ workaround for bad gyp usage
# XXX: LARGEFILE64 fixme
export CFLAGS="$CFLAGS -D_LARGEFILE64_SOURCE"
@ -60,6 +84,8 @@ prepare() {
yarn install --cache-folder "$srcdir" --frozen-lockfile
npm_config_nodedir=/usr npm rebuild tree-sitter tree-sitter-typescript
patch -Np1 < "$srcdir"/webpack-hash.patch.noauto
patch -Np1 < "$srcdir"/no-res.patch.noauto
@ -143,12 +169,15 @@ package() {
}
sha512sums="
e78d7acbb7f636b7847ce03d43e50db149b512a31c0816cba32efea094df4271cc417ab930ac8e6e173cc534847d5f090e672e050d5aec5ce51f51f8bc43fbc5 code-oss-1.84.1.tar.gz
28f778b2d679e6723d20123d4907a21f36bb7434e94ba63ac590e0df38155472550291a77f37618e3a63e9ac150a47d6d3d088e1d250dcce03b43cee578bdd0b code-oss-1.85.0.tar.gz
a811b37deab287dde57574931496d0534c7dccb1d94a13bc371ac91941f3026bbee2604715f98486149163f9ac21aca13cabf4119d32c54603f88179fd38daa9 product-49583eb39dd33f265e7a6dec28fe7bd25d418d9c.json
ff3f1b221c320b9f46cd36ab9a9da79e873b2c9005c069b4cccc85beb283d2d5141de48acc71a95c9103d03d6f9f10bc3acc8b1d5a3494e611f2dfb2fafaf3c2 l10n-dev-0.0.30.tar.gz
0db712e99f7f9a263a8c4222e8c21bbd2ac130c216d752071e9961aba1b98831007e0b9602a375df04dd1c0de805f956c6506d65e5500df855087db614cad08c launcher
9f36c7fa6f0fd6a516f8e22c47f53013337985e59085bf1ea70165d42a513a92aa2a7a99ef0715e752c7190fd39ba703d405838e61bcfb60cabe47c421781eb4 enable-extensions.patch
f8d744ed29d4fa57bd00b916e689ea0f5ac5590910e369fa26c76bd2bc6ba2dd692c06f11342f8517667fb818caab7b4e349cd30c629be225bc9cea4e02ed3b9 no-git.patch
4f10b14aaab71e69652662dea0dd5ba00d996282bc864743210185d93a9b7c54c71942fe1e7cd630abd914e3c770eca6c2110c13fb6a8c5e728c5172d1d0cd9f no-git.patch
48e46bd2ec1490e456a9227c4d74eae5e5c6a7e48a98f8f463370bf60eb7fcb140337e3e02577dea1eabbc48174e2e3b31a4717a945d5dc21ccdbfd3a9807349 no-res.patch.noauto
e6ecb4e1eabac225115cbec99cf8dffd80ae640914d0823cad6a9ea33210aeb447582ffc5471b57d5265ab8d16a2e744f7ff32afb4e389c71b234dd490b19f79 electron21.patch
7effe899c82fb484db686f57b2f80811018ec76f98bc7c4ca6b5edbf651e56e61d565024bf3cd948b54a255c91ec3f1464ee9d9a0e06e966a8232e41bc2de514 electron21.patch
0939ed0e39883b27ac13cdde2e1dbce506043997b6b52610d1f75560db58bac646d6f8fd6b909e8ad595aab6ed9f3777206e33d7fa5a58e0a7acc4c530b5d6b0 webpack-hash.patch.noauto
cc9bd5b2c1f79bf05be3e963803389f935e4ab516d5a3f37dd0a96629561edd7ca179dcfc77b2da3add9ebe072f0374ef25ba00c6b17266615b7019e58c243e8 node-sitter.patch.l10n
20310187474b13bb0d4a7d39cdd93cdb005bf241110da0b02c4fa0927363fe8ea566dd259ce767ceffab771806f3365c209e401f1a3435361582bbedb525c5c7 no-source-maps.patch
"

View File

@ -1,22 +1,110 @@
pty from PR: https://github.com/microsoft/node-pty/pull/644
web-tree-sitter: https://github.com/tree-sitter/tree-sitter/issues/2338
diff --git a/package.json b/package.json
index 00d5e86..eda82d2 100644
--- a/package.json
+++ b/package.json
@@ -222,6 +223,9 @@
@@ -97,7 +97,7 @@
"native-is-elevated": "0.7.0",
"native-keymap": "^3.3.4",
"native-watchdog": "^1.4.1",
- "node-pty": "1.1.0-beta5",
+ "node-pty": "git+https://github.com/kkocdko/node-pty.git#c682e8ede3cb2d51f629c45c3dc46f9642140153",
"tas-client-umd": "0.1.8",
"v8-inspect-profiler": "^0.1.0",
"vscode-oniguruma": "1.7.0",
@@ -134,7 +134,7 @@
"@typescript-eslint/experimental-utils": "^5.57.0",
"@typescript-eslint/parser": "^5.57.0",
"@vscode/gulp-electron": "^1.36.0",
- "@vscode/l10n-dev": "0.0.21",
+ "@vscode/l10n-dev": "file:../l10n/l10n-dev/",
"@vscode/telemetry-extractor": "^1.10.2",
"@vscode/test-cli": "^0.0.3",
"@vscode/test-electron": "^2.3.5",
@@ -217,6 +217,10 @@
"webpack-stream": "^7.0.0",
"xml2js": "^0.5.0",
"yaserver": "^0.2.0"
},
+ "resolutions": {
+ "nan": "^2.17.0"
"yaserver": "^0.4.0"
+ },
+ "resolutions": {
+ "nan": "^2.18.0",
+ "node-addon-api": "^7.0.0"
},
"repository": {
"type": "git",
"url": "https://github.com/microsoft/vscode.git"
diff --git a/yarn.lock b/yarn.lock
index be4114f..20d1ed1 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -6985,12 +6985,7 @@ mute-stream@0.0.7:
@@ -1372,17 +1372,17 @@
resolved "https://registry.yarnpkg.com/@vscode/iconv-lite-umd/-/iconv-lite-umd-0.7.0.tgz#d2f1e0664ee6036408f9743fee264ea0699b0e48"
integrity sha512-bRRFxLfg5dtAyl5XyiVWz/ZBPahpOpPrNYnnHpOpUZvam4tKH35wdhP4Kj6PbM0+KdliOsPzbGWpkxcdpNB/sg==
-"@vscode/l10n-dev@0.0.21":
- version "0.0.21"
- resolved "https://registry.yarnpkg.com/@vscode/l10n-dev/-/l10n-dev-0.0.21.tgz#c25a29c7d1484b1dacf4ba98fbd16c1b32a0087e"
- integrity sha512-KR3OvvLs8AGCWM3LHAAKUfltltANdGjX4fn2jfY13Eb5z4c6smR81p7a9yTo6Kr///zSZuBHQ/hXMmMRtuPTBw==
+"@vscode/l10n-dev@file:../l10n/l10n-dev":
+ version "0.0.30"
dependencies:
+ debug "^4.3.4"
deepmerge-json "^1.5.0"
- glob "^8.0.3"
+ glob "^10.0.0"
pseudo-localization "^2.4.0"
- web-tree-sitter "^0.20.7"
- xml2js "^0.4.23"
- yargs "^17.5.1"
+ tree-sitter "^0.20.6"
+ tree-sitter-typescript "^0.20.1"
+ xml2js "^0.5.0"
+ yargs "^17.7.1"
"@vscode/policy-watcher@^1.1.4":
version "1.1.6"
@@ -4641,7 +4641,7 @@
once "^1.3.0"
path-is-absolute "^1.0.0"
-glob@^10.3.10:
+glob@^10.0.0, glob@^10.3.10:
version "10.3.10"
resolved "https://registry.yarnpkg.com/glob/-/glob-10.3.10.tgz#0351ebb809fd187fe421ab96af83d3a70715df4b"
integrity sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==
@@ -4687,17 +4687,6 @@
once "^1.3.0"
path-is-absolute "^1.0.0"
-glob@^8.0.3:
- version "8.0.3"
- resolved "https://registry.yarnpkg.com/glob/-/glob-8.0.3.tgz#415c6eb2deed9e502c68fa44a272e6da6eeca42e"
- integrity sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==
- dependencies:
- fs.realpath "^1.0.0"
- inflight "^1.0.4"
- inherits "2"
- minimatch "^5.0.1"
- once "^1.3.0"
-
global-agent@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/global-agent/-/global-agent-3.0.0.tgz#ae7cd31bd3583b93c5a16437a1afe27cc33a1ab6"
@@ -6660,13 +6649,6 @@
dependencies:
brace-expansion "^2.0.1"
-minimatch@^5.0.1:
- version "5.1.0"
- resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-5.1.0.tgz#1717b464f4971b144f6aabe8f2d0b8e4511e09c7"
- integrity sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==
- dependencies:
- brace-expansion "^2.0.1"
-
minimatch@^7.4.3:
version "7.4.6"
resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-7.4.6.tgz#845d6f254d8f4a5e4fd6baf44d5f10c8448365fb"
@@ -6838,16 +6820,11 @@
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab"
integrity sha1-MHXOk7whuPq0PhvE2n6BFe0ee6s=
@ -24,9 +112,215 @@ index be4114f..20d1ed1 100644
- version "2.14.2"
- resolved "https://registry.yarnpkg.com/nan/-/nan-2.14.2.tgz#f5376400695168f4cc694ac9393d0c9585eeea19"
- integrity sha512-M2ufzIiINKCuDfBSAUr1vWQ+vuVcA9kqx8JJUsbQi6yf1uGRyb7HfpdfUr5qLXf3B/t8dPvcjhKMmlfnP47EzQ==
-
+nan@^2.12.1, nan@^2.14.0, nan@^2.17.0, nan@^2.18.0:
+ version "2.18.0"
+ resolved "https://registry.yarnpkg.com/nan/-/nan-2.18.0.tgz#26a6faae7ffbeb293a39660e88a76b82e30b7554"
+ integrity sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w==
-nan@^2.17.0:
+nan@^2.12.1, nan@^2.17.0:
version "2.17.0"
resolved "https://registry.yarnpkg.com/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb"
integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==
- version "2.17.0"
- resolved "https://registry.yarnpkg.com/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb"
- integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==
-
nanoid@3.3.3:
version "3.3.3"
resolved "https://registry.yarnpkg.com/nanoid/-/nanoid-3.3.3.tgz#fd8e8b7aa761fe807dba2d1b98fb7241bb724a25"
@@ -6948,31 +6925,11 @@
dependencies:
semver "^7.3.5"
-node-addon-api@^3.0.2:
- version "3.1.0"
- resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.1.0.tgz#98b21931557466c6729e51cb77cd39c965f42239"
- integrity sha512-flmrDNB06LIl5lywUz7YlNGZH/5p0M7W28k8hzd9Lshtdh1wshD2Y+U4h9LD6KObOy1f+fEVdgprPrEymjM5uw==
+node-addon-api@^3.0.2, node-addon-api@^3.2.1, node-addon-api@^4.2.0, node-addon-api@^4.3.0, node-addon-api@^6.0.0, node-addon-api@^7.0.0:
+ version "7.0.0"
+ resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.0.0.tgz#8136add2f510997b3b94814f4af1cce0b0e3962e"
+ integrity sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA==
-node-addon-api@^3.2.1:
- version "3.2.1"
- resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.2.1.tgz#81325e0a2117789c0128dab65e7e38f07ceba161"
- integrity sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==
-
-node-addon-api@^4.2.0:
- version "4.2.0"
- resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-4.2.0.tgz#117cbb5a959dff0992e1c586ae0393573e4d2a87"
- integrity sha512-eazsqzwG2lskuzBqCGPi7Ac2UgOoMz8JVOXVhTvvPDYhthvNpefx8jWD8Np7Gv+2Sz0FlPWZk0nJV0z598Wn8Q==
-
-node-addon-api@^4.3.0:
- version "4.3.0"
- resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-4.3.0.tgz#52a1a0b475193e0928e98e0426a0d1254782b77f"
- integrity sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==
-
-node-addon-api@^6.0.0:
- version "6.0.0"
- resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-6.0.0.tgz#cfb3574e6df708ff71a30db6c4762d9e06e11c27"
- integrity sha512-GyHvgPvUXBvAkXa0YvYnhilSB1A+FRYMpIVggKzPZqdaZfevZOuzfWzyvgzOwRLHBeo/MMswmJFsrNF4Nw1pmA==
-
node-fetch@2.6.8:
version "2.6.8"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.8.tgz#a68d30b162bc1d8fd71a367e81b997e1f4d4937e"
@@ -6992,12 +6949,9 @@
resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.3.0.tgz#9f256b03e5826150be39c764bf51e993946d71a3"
integrity sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q==
-node-pty@1.1.0-beta5:
- version "1.1.0-beta5"
- resolved "https://registry.yarnpkg.com/node-pty/-/node-pty-1.1.0-beta5.tgz#364386b7058a93070234064f13164ec1ef914993"
- integrity sha512-j3QdgFHnLY0JWxztrvM3g67RaQLOGvytv+C6mFu0PqD+JILlzqfwuoyqRqVxdZZjoOTUXPfSRj1qPVCaCH+eOw==
- dependencies:
- nan "^2.17.0"
+"node-pty@git+https://github.com/kkocdko/node-pty.git#c682e8ede3cb2d51f629c45c3dc46f9642140153":
+ version "1.0.0"
+ resolved "git+https://github.com/kkocdko/node-pty.git#c682e8ede3cb2d51f629c45c3dc46f9642140153"
node-releases@^1.1.71:
version "1.1.72"
@@ -8026,7 +7980,7 @@
picocolors "^1.0.0"
source-map-js "^1.0.2"
-prebuild-install@7.1.1:
+prebuild-install@7.1.1, prebuild-install@^7.1.1:
version "7.1.1"
resolved "https://registry.yarnpkg.com/prebuild-install/-/prebuild-install-7.1.1.tgz#de97d5b34a70a0c81334fd24641f2a1702352e45"
integrity sha512-jAXscXWMcCK8GgCoHOfIr0ODh5ai8mj63L2nWrjuAgXE6tDyYGnx4/8o/rCgU+B4JSyZBKbeZqzhtwtC3ovxjw==
@@ -9616,6 +9570,21 @@
resolved "https://registry.yarnpkg.com/tree-kill/-/tree-kill-1.2.2.tgz#4ca09a9092c88b73a7cdc5e8a01b507b0790a0cc"
integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==
+tree-sitter-typescript@^0.20.1:
+ version "0.20.3"
+ resolved "https://registry.yarnpkg.com/tree-sitter-typescript/-/tree-sitter-typescript-0.20.3.tgz#454560314c419f5364cd4585a48d675e44f55edc"
+ integrity sha512-5+RZ9G3/VOxxSzyniVc5dfNhfan1eOxQvUdTgXhpsGIYlmSW3HwIuPEJ7r65FWH2WnJWirOu11Pm0usmkx2JOg==
+ dependencies:
+ nan "^2.14.0"
+
+tree-sitter@^0.20.6:
+ version "0.20.6"
+ resolved "https://registry.yarnpkg.com/tree-sitter/-/tree-sitter-0.20.6.tgz#fec52e5d7cc6c583135756479f2440dd89b25cbe"
+ integrity sha512-GxJodajVpfgb3UREzzIbtA1hyRnTxVbWVXrbC6sk4xTMH5ERMBJk9HJNq4c8jOJeUaIOmLcwg+t6mez/PDvGqg==
+ dependencies:
+ nan "^2.18.0"
+ prebuild-install "^7.1.1"
+
ts-loader@^9.4.2:
version "9.4.2"
resolved "https://registry.yarnpkg.com/ts-loader/-/ts-loader-9.4.2.tgz#80a45eee92dd5170b900b3d00abcfa14949aeb78"
@@ -10131,11 +10100,6 @@
glob-to-regexp "^0.4.1"
graceful-fs "^4.1.2"
-web-tree-sitter@^0.20.7:
- version "0.20.7"
- resolved "https://registry.yarnpkg.com/web-tree-sitter/-/web-tree-sitter-0.20.7.tgz#b0ddb78e8244221a3100f432c7e162516cd9cd09"
- integrity sha512-flC9JJmTII9uAeeYpWF8hxDJ7bfY+leldQryetll8Nv4WgI+MXc6h7TiyAZASWl9uC9TvmfdgOjZn1DAQecb3A==
-
webidl-conversions@^3.0.0:
version "3.0.1"
resolved "https://registry.yarnpkg.com/webidl-conversions/-/webidl-conversions-3.0.1.tgz#24534275e2a7bc6be7bc86611cc16ae0a5654871"
@@ -10371,7 +10335,7 @@
resolved "https://registry.yarnpkg.com/ws/-/ws-7.4.6.tgz#5654ca8ecdeee47c33a9a4bf6d28e2be2980377c"
integrity sha512-YmhHDO4MzaDLB+M9ym/mDA5z0naX8j7SIlT8f8z+I0VtzsRbekxEutHSme7NPS2qE8StCYQNUnfWdXta/Yu85A==
-xml2js@^0.4.19, xml2js@^0.4.23:
+xml2js@^0.4.19:
version "0.4.23"
resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.4.23.tgz#a0c69516752421eb2ac758ee4d4ccf58843eac66"
integrity sha512-ySPiMjM0+pLDftHgXY4By0uswI3SPKLDw/i3UXbnO8M/p28zqexCUoPmQFrYD+/1BzhGJSs2i1ERWKJAtiLrug==
@@ -10535,7 +10499,7 @@
y18n "^4.0.0"
yargs-parser "^18.1.2"
-yargs@^17.2.1, yargs@^17.5.1:
+yargs@^17.2.1:
version "17.6.0"
resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.6.0.tgz#e134900fc1f218bc230192bdec06a0a5f973e46c"
integrity sha512-8H/wTDqlSwoSnScvV2N/JHfLWOKuh5MVla9hqLjK3nsfyy6Y4kDSYSvkU5YCUEPOSnRXfIyx3Sq+B/IWudTo4g==
@@ -10548,7 +10512,7 @@
y18n "^5.0.5"
yargs-parser "^21.0.0"
-yargs@^17.7.2:
+yargs@^17.7.1, yargs@^17.7.2:
version "17.7.2"
resolved "https://registry.yarnpkg.com/yargs/-/yargs-17.7.2.tgz#991df39aca675a192b816e1e0363f9d75d2aa269"
integrity sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==
--- ./remote/package.json.orig
+++ ./remote/package.json
@@ -29,12 +29,16 @@
"kerberos": "^2.0.1",
"minimist": "^1.2.6",
"native-watchdog": "^1.4.1",
- "node-pty": "1.1.0-beta5",
+ "node-pty": "git+https://github.com/kkocdko/node-pty.git#c682e8ede3cb2d51f629c45c3dc46f9642140153",
"tas-client-umd": "0.1.8",
"vscode-oniguruma": "1.7.0",
"vscode-regexpp": "^3.1.0",
"vscode-textmate": "9.0.0",
"yauzl": "^2.9.2",
"yazl": "^2.4.3"
+ },
+ "resolutions": {
+ "nan": "^2.18.0",
+ "node-addon-api": "^7.0.0"
}
}
--- ./remote/yarn.lock.orig
+++ ./remote/yarn.lock
@@ -389,10 +389,10 @@
resolved "https://registry.yarnpkg.com/ms/-/ms-2.1.2.tgz#d09d1f357b443f493382a8eb3ccd183872ae6009"
integrity sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==
-nan@^2.17.0:
- version "2.17.0"
- resolved "https://registry.yarnpkg.com/nan/-/nan-2.17.0.tgz#c0150a2368a182f033e9aa5195ec76ea41a199cb"
- integrity sha512-2ZTgtl0nJsO0KQCjEpxcIr5D+Yv90plTitZt9JBfQvVJDS5seMl3FOvsh3+9CoYWXf/1l5OaZzzF6nDm4cagaQ==
+nan@^2.17.0, nan@^2.18.0:
+ version "2.18.0"
+ resolved "https://registry.yarnpkg.com/nan/-/nan-2.18.0.tgz#26a6faae7ffbeb293a39660e88a76b82e30b7554"
+ integrity sha512-W7tfG7vMOGtD30sHoZSSc/JVYiyDPEyQVso/Zz+/uQd0B0L46gtC+pHha5FFMRpil6fm/AoEcRWyOVi4+E/f8w==
napi-build-utils@^1.0.1:
version "1.0.2"
@@ -411,32 +411,19 @@
dependencies:
semver "^7.3.5"
-node-addon-api@^3.0.2:
- version "3.1.0"
- resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.1.0.tgz#98b21931557466c6729e51cb77cd39c965f42239"
- integrity sha512-flmrDNB06LIl5lywUz7YlNGZH/5p0M7W28k8hzd9Lshtdh1wshD2Y+U4h9LD6KObOy1f+fEVdgprPrEymjM5uw==
+node-addon-api@^3.0.2, node-addon-api@^3.2.1, node-addon-api@^4.3.0, node-addon-api@^7.0.0:
+ version "7.0.0"
+ resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-7.0.0.tgz#8136add2f510997b3b94814f4af1cce0b0e3962e"
+ integrity sha512-vgbBJTS4m5/KkE16t5Ly0WW9hz46swAstv0hYYwMtbG7AznRhNyfLRe8HZAiWIpcHzoO7HxhLuBQj9rJ/Ho0ZA==
-node-addon-api@^3.2.1:
- version "3.2.1"
- resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-3.2.1.tgz#81325e0a2117789c0128dab65e7e38f07ceba161"
- integrity sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A==
-
-node-addon-api@^4.3.0:
- version "4.3.0"
- resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-4.3.0.tgz#52a1a0b475193e0928e98e0426a0d1254782b77f"
- integrity sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==
-
node-gyp-build@^4.3.0:
version "4.3.0"
resolved "https://registry.yarnpkg.com/node-gyp-build/-/node-gyp-build-4.3.0.tgz#9f256b03e5826150be39c764bf51e993946d71a3"
integrity sha512-iWjXZvmboq0ja1pUGULQBexmxq8CV4xBhX7VDOTbL7ZR4FOowwY/VOtRxBN/yKxmdGoIp4j5ysNT4u3S2pDQ3Q==
-node-pty@1.1.0-beta5:
- version "1.1.0-beta5"
- resolved "https://registry.yarnpkg.com/node-pty/-/node-pty-1.1.0-beta5.tgz#364386b7058a93070234064f13164ec1ef914993"
- integrity sha512-j3QdgFHnLY0JWxztrvM3g67RaQLOGvytv+C6mFu0PqD+JILlzqfwuoyqRqVxdZZjoOTUXPfSRj1qPVCaCH+eOw==
- dependencies:
- nan "^2.17.0"
+"node-pty@git+https://github.com/kkocdko/node-pty.git#c682e8ede3cb2d51f629c45c3dc46f9642140153":
+ version "1.0.0"
+ resolved "git+https://github.com/kkocdko/node-pty.git#c682e8ede3cb2d51f629c45c3dc46f9642140153"
once@^1.3.1, once@^1.4.0:
version "1.4.0"

View File

@ -2,10 +2,10 @@ diff --git a/build/npm/postinstall.js b/build/npm/postinstall.js
index 187f123..8e489fb 100644
--- a/build/npm/postinstall.js
+++ b/build/npm/postinstall.js
@@ -72,6 +72,3 @@ for (let dir of dirs) {
@@ -110,6 +110,3 @@
yarnInstall(dir, opts);
}
-
-cp.execSync('git config pull.rebase merges');
-cp.execSync('git config blame.ignoreRevsFile .git-blame-ignore');
-cp.execSync('git config blame.ignoreRevsFile .git-blame-ignore-revs');

View File

@ -0,0 +1,23 @@
Error: EMFILE: too many open files, open '/home/lauren/aports/testing/code-oss/src/vscode-1.85.0/out-build/vs/base/browser/ui/list/listView.js.map'
--- ./build/lib/optimize.ts.orig
+++ ./build/lib/optimize.ts
@@ -121,7 +121,7 @@
}
function toConcatStream(src: string, bundledFileHeader: string, sources: bundle.IFile[], dest: string, fileContentMapper: (contents: string, path: string) => string): NodeJS.ReadWriteStream {
- const useSourcemaps = /\.js$/.test(dest) && !/\.nls\.js$/.test(dest);
+ const useSourcemaps = false;
// If a bundle ends up including in any of the sources our copyright, then
// insert a fake source at the beginning of each bundle with our copyright
--- ./build/lib/optimize.js.orig
+++ ./build/lib/optimize.js
@@ -103,7 +103,7 @@
return code.replace('"$BASE_URL"', 'baseUrl');
}
function toConcatStream(src, bundledFileHeader, sources, dest, fileContentMapper) {
- const useSourcemaps = /\.js$/.test(dest) && !/\.nls\.js$/.test(dest);
+ const useSourcemaps = false;
// If a bundle ends up including in any of the sources our copyright, then
// insert a fake source at the beginning of each bundle with our copyright
let containsOurCopyright = false;

File diff suppressed because it is too large Load Diff