1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-11 09:11:50 +00:00

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.
This commit is contained in:
Даниїл Григор'єв 2025-03-26 22:23:17 +02:00
parent c836589d9b
commit 03bf14f10a
No known key found for this signature in database
GPG Key ID: B890DF16341D8C1D
3 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -10,6 +10,7 @@
},
"dependencies": {},
"devDependencies": {
"electron": "^31.3.0"
"electron": "^31.3.0",
"typescript": "^5.4.5"
}
}

View File

@ -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"