forked from Lainports/freebsd-ports
Upstream has migrated from long obsolete yarn v1 to npm as node package manager. So make necessary changes to Makefile to follow the migration. While here, remove REH (remote extension host) option which is no-op in package building. Users who want to build remote extension host can now use dedicated make target "build-remote-extension-host". Changelog: https://code.visualstudio.com/updates/v1_94 Reported by: GitHub (watch releases)
24 lines
625 B
TypeScript
24 lines
625 B
TypeScript
--- build/lib/preLaunch.ts.orig 2024-09-27 21:08:28 UTC
|
|
+++ build/lib/preLaunch.ts
|
|
@@ -35,9 +35,9 @@ async function ensureNodeModules() {
|
|
}
|
|
}
|
|
|
|
-async function getElectron() {
|
|
- await runProcess(npm, ['run', 'electron']);
|
|
-}
|
|
+// async function getElectron() {
|
|
+// await runProcess(npm, ['run', 'electron']);
|
|
+// }
|
|
|
|
async function ensureCompiled() {
|
|
if (!(await exists('out'))) {
|
|
@@ -47,7 +47,7 @@ async function main() {
|
|
|
|
async function main() {
|
|
await ensureNodeModules();
|
|
- await getElectron();
|
|
+ // await getElectron();
|
|
await ensureCompiled();
|
|
|
|
// Can't require this until after dependencies are installed
|