Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tgui maintenance chores #60859

Merged
merged 1 commit into from Aug 16, 2021

Conversation

stylemistake
Copy link
Member

@stylemistake stylemistake commented Aug 14, 2021

About The Pull Request

Upgrades:

  • Yarn 3.0
  • TypeScript 4.3
  • Sass 1.37
    • Required some refactoring of / into math.div() in CSS

Dependency removals:

I initially thought it was impossible to stop relying on this package, but fortunately, ES module support in Node 12+ now comes standard and I only had to convert the very few external module imports to require() (because Yarn PnP).

I also moved logging.js directly into tgui-dev-server package, because that's where it is used. One less internal dependency.

Sidegrades:

  • Removed creation of a common tgui chunk, because in practice it creates unnecessary complexity (devs sometimes get a white screen due to this chunk being invalid) and doesn't really save that much data on CDN, and definitely doesn't make tgui load faster.

I think that is all. I tested it a bit and everything seemingly works.

@tgstation-server tgstation-server added Tools We pretend to be a real development community UI We make the game less playable, but with round edges labels Aug 14, 2021
@stylemistake stylemistake changed the title tgui maintenance tgui chores Aug 14, 2021
@stylemistake stylemistake changed the title tgui chores tgui maintenance chores Aug 14, 2021
@Cyberboss Cyberboss merged commit 9bbabfe into tgstation:master Aug 16, 2021
@stylemistake stylemistake deleted the tgui-upgrade-post-juke branch August 16, 2021 17:56
ZeWaka added a commit to goonstation/goonstation that referenced this pull request Oct 12, 2021
BraveMole pushed a commit to tgstation/TerraGov-Marine-Corps that referenced this pull request Oct 15, 2021
* i should have split this into different commits but
tgstation/tgstation#60695
tgstation/tgstation#60736
tgstation/tgstation#60775
tgstation/tgstation#60859

* Juke build 0.8.1/0.9.0/0.8.1 revert
tgstation/tgstation#60404
tgstation/tgstation#60897
tgstation/tgstation#61025
tgstation/tgstation#61110
tgstation/tgstation#61005

* allow cancel tgui alert
tgstation/tgstation#61072

* TGUI bench
tgstation/tgstation#61081

* upgrade stuff from tgstation/tgstation#61313

* component stuff from tgstation/tgstation#61381

* improvements from:
tgstation/tgstation#61925
tgstation/tgstation#61496
tgstation/tgstation#61381

* aaaaaaaaaaaa

* linter errors

* no strictnullcheckyet

* Tooltip:
tgstation/tgstation#61783
and types.ts i forgot

* oops

* i hate git why was this still here

* stuff i forgot

* aaa

* strictnullchecks fixes

* button stuff i jumped

* TGUI tasks
LemonInTheDark pushed a commit to LemonInTheDark/tgstation that referenced this pull request Dec 12, 2021
* tgui maintenance chores (tgstation#60859)

## About The Pull Request

**Upgrades:**

- Yarn 3.0
- TypeScript 4.3
- Sass 1.37
  - Required some refactoring of `/` into `math.div()` in CSS

**Dependency removals:**

- Removed ESM package, see: standard-things/esm#902

I initially thought it was impossible to stop relying on this package, but fortunately, ES module support in Node 12+ now comes standard and I only had to convert the very few external module imports to `require()` (because Yarn PnP).

I also moved `logging.js` directly into `tgui-dev-server` package, because that's where it is used. One less internal dependency.

**Sidegrades:**

- Removed creation of a common tgui chunk, because in practice it creates unnecessary complexity (devs sometimes get a white screen due to this chunk being invalid) and doesn't really save that much data on CDN, and **definitely** doesn't make tgui load faster.

I think that is all. I tested it a bit and everything seemingly works.

* tgui maintenance chores

Co-authored-by: Aleksej Komarov <stylemistake@gmail.com>
ZeWaka added a commit to goonstation/goonstation that referenced this pull request Aug 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tools We pretend to be a real development community UI We make the game less playable, but with round edges
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants