mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-10 17:52:36 +00:00
## About The Pull Request Swaps out node & yarn in favor of [bun](https://bun.sh/)  sub tasks - [x] add bun setup script - [x] fix tgui-dev-server (bun glob is different) - [x] set juke to run bun - [x] remove all yarn stuff - [x] convert all tests from vitest to bun - [x] fight with CI/tgs ## Why It's Good For The Game Yarn has served us over the years as our package manager but the method it bundles dependencies has lead to issues and setbacks, notably needing to wait on rspack support, but more recently in trying to switch to biome 1. I can add in packages that do not need these workarounds, like god intended 2. We won't need to [keep around sdks](https://yarnpkg.com/getting-started/editor-sdks) which rely on yarn to even publish 3. We're not committing the yarn cache or .pnp file, which kind of defeats the purpose 4. Native typescript support and testing 5. Because it'd be cool ## Caveats Rspack was throwing errors on TGS while doing this. I needed to switch back to webpack/swc, which seems to work flawlessly. It was too tiring for anyone involved to debug and this was the simplest route. It adds a completely negligible amount of time to build. It might even resolve some issues elsewhere. Making this switch extends that very first setup time! I'm working on cutting it down, but as of right now, it takes about 80 seconds just for TGUI to download all the packages. Afterwards, it's the same. ## Changelog
37 lines
696 B
Bash
37 lines
696 B
Bash
#!/bin/sh
|
|
|
|
#Project dependencies file
|
|
#Final authority on what's required to fully build the project
|
|
|
|
# byond version. Also must be updated in .tgs.yml
|
|
export BYOND_MAJOR=516
|
|
export BYOND_MINOR=1659
|
|
|
|
#rust_g git tag
|
|
export RUST_G_VERSION=3.9.0
|
|
|
|
# node version
|
|
export NODE_VERSION_LTS=22.11.0
|
|
|
|
# Bun version
|
|
export BUN_VERSION=1.2.16
|
|
|
|
# SpacemanDMM git tag
|
|
export SPACEMAN_DMM_VERSION=suite-1.10
|
|
|
|
# Python version for mapmerge and other tools
|
|
export PYTHON_VERSION=3.9.0
|
|
|
|
#dreamluau repo
|
|
export DREAMLUAU_REPO="tgstation/dreamluau"
|
|
|
|
#dreamluau git tag
|
|
export DREAMLUAU_VERSION=0.1.2
|
|
|
|
#hypnagogic repo
|
|
export CUTTER_REPO=spacestation13/hypnagogic
|
|
|
|
#hypnagogic git tag
|
|
export CUTTER_VERSION=v4.0.0
|
|
|