From 03bf14f10aac5e1460b4fadb9ae88b6e3b288b42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=94=D0=B0=D0=BD=D0=B8=D1=97=D0=BB=20=D0=93=D1=80=D0=B8?= =?UTF-8?q?=D0=B3=D0=BE=D1=80=27=D1=94=D0=B2?= Date: Wed, 26 Mar 2025 22:23:17 +0200 Subject: [PATCH] Add missing TypeScript package and update readme Unfortunately we have to keep a second copy for now. The lockfile specifies the same version as used in the root package to avoid issues. This may be replaced with Node.js type stripping in the future. README.md is updated to include the correct command for testing the Electron wrapper. --- README.md | 2 +- electron/package.json | 3 ++- electron/yarn.lock | 5 +++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index eea0bef3..0af12b06 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ and does not intend to provide compatibility for older clients. - Run `yarn` in the root folder and in `electron/`. - Run `yarn gulp` in the root folder to build and serve files. Ignore the browser tab that opens. -- Open a new terminal and run `yarn startDev` in `electron/` to open an Electron window. +- Open a new terminal and run `yarn start` in `electron/` to open an Electron window. - Tip: If you open the Electron window too early, you can reload it when focused on DevTools. ### Release diff --git a/electron/package.json b/electron/package.json index b19c7d38..f93c08c2 100644 --- a/electron/package.json +++ b/electron/package.json @@ -10,6 +10,7 @@ }, "dependencies": {}, "devDependencies": { - "electron": "^31.3.0" + "electron": "^31.3.0", + "typescript": "^5.4.5" } } diff --git a/electron/yarn.lock b/electron/yarn.lock index ada2f8aa..874c6379 100644 --- a/electron/yarn.lock +++ b/electron/yarn.lock @@ -495,6 +495,11 @@ type-fest@^0.13.1: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.13.1.tgz#0172cb5bce80b0bd542ea348db50c7e21834d934" integrity sha512-34R7HTnG0XIJcBSn5XhDd7nNFPRcXYRZrBB2O2jdKqYODldSzBAqzsWoZYYvduky73toYS/ESqxPvkDf/F0XMg== +typescript@5.4.5: + version "5.4.5" + resolved "https://registry.yarnpkg.com/typescript/-/typescript-5.4.5.tgz#42ccef2c571fdbd0f6718b1d1f5e6e5ef006f611" + integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ== + undici-types@~5.26.4: version "5.26.5" resolved "https://registry.yarnpkg.com/undici-types/-/undici-types-5.26.5.tgz#bcd539893d00b56e964fd2657a4866b221a65617"