* tgui-bench (#61081)
Added a package that allows precisely benchmarking tgui components on IE11 without having the game launched.
It has a convenient syntax for writing tests, just create a file packages/tgui-bench/tests/*.test.tsx, and export a function which you want to benchmark
Performance improvements
As part of this PR, I have also improved the raw performance of some tgui components:
Button component - 1.8x faster
Flex component - 1.1x faster
Stack component - 1.3x faster
This improves performance of heavy UIs by a tiny bit.
* tgui-bench
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
* [modular][ready]adds a fashionable baseball cap
* Update head.dm
* the rumors were true....
* Update head.dm
* timb living ass
* huh
* improved sprite
* Update head.dmi
* ok there
Co-authored-by: louiseedwardstuart <bonniefluff>
* Juke Build 0.8.1 (#60404)
* Juke Build 0.8.1 Hotfix 1 (#60897)
* Juke Build 0.8.1 Hotfix 1
* Do not restore Yarn cache on just DM build
* Makes it so Skyrat's modular code is also checked for updates to see if it needs to rebuild
* chmod's tools/bootstrap/nod
Added a / just to make it so it'd let me commit
* Trying to chmod again
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
* Create explicit warning if not building with CBT (#57931)
Adds a new CBT define which is automatically created when building. If this define is absent, the build will fail.
This is what Cyberboss tried to do with USE_BUILD_BAT_INSTEAD_OF_DREAM_MAKER.dm, but couldn't.
The reasoning behind this is CBT is already a requirement to build a fresh project, otherwise the tgui bundle files won't exist. This gives a readable error to go along with that. However, you can currently build once then just use Dream Maker. This is a footgun - not only are we already adding new things to CBT like tgfont which will fail later on, but also it will create weird scenarios when we add tasks to CBT that don't immediately fail if not ran, or otherwise create out of sync builds.
Also replaces rmSync with unlinkSync, which works on older Node versions.
Co-authored-by: Kyle Spier-Swenson <kyleshome@ gmail.com>
Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>
* Create explicit warning if not building with CBT
Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Kyle Spier-Swenson <kyleshome@ gmail.com>
Co-authored-by: Aleksej Komarov <stylemistake@ gmail.com>
* Revert "Use a dummy include to indicate TGUI isn't built (#56470)" (#56711)
* Revert "Use a dummy include to indicate TGUI isn't built"
Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
* Use a dummy include to indicate TGUI isn't built (#56470)
* Use a dummy include to indicate TGUI isn't built
Co-authored-by: Jordan Brown <Cyberboss@users.noreply.github.com>