Skip to content

Conversation

@Huulivoide
Copy link
Contributor

@Huulivoide Huulivoide commented Dec 4, 2025

UI: Drop direct dep on @graphql-typed-document-node/core

Apollo client also has a dependency on it, and the types can and should be imported trough Apollo instead. Also the only piece of code that was referencing it was a piece of dead code that has been dropped completely. One might argue that the code was simply waiting to be used later on, but the implementation was not valid. GraphGL variables is not the correct way to passtrough the role into an Apollo query.

UI: Drop unused deps: bufferutil, encoding & utf-8-validate

TDBM: Drop cross-fetch as unneeded

TDBM: Move rollup deps to devDependencies

TDBM: Update Rollup and streamline config

  • Update both CommonJS and TypeScript plugins to lates versions.
  • Streamline bundles to index and CypressSpecExport. Aka, the seed data command bundles have been dropped, and the command have been included in the index bundle instead.
  • Changed packege.json commands to run the seed programs from the index.js file direcrtly.
  • Drop .d.ts file bundler, we can just reuse the files generated by tsc.
  • Add proper exports section to package.json.

This change is Reviewable

Apollo client also has a dependency on it, and the types can and
should be imported trough Apollo instead. Also the only piece of
code that was referencing it was a piece of dead code that has been
dropped completely. One might argue that the code was simply waiting
to be used later on, but the implementation was not valid.
GraphGL `variables` is not the correct way to passtrough the role into
an Apollo query.
* Update both CommonJS and TypeScript plugins to lates versions.
* Streamline bundles to index and CypressSpecExport. Aka, the seed
  data command bundles have been dropped, and the command have been
  included in the index bundle instead.
* Changed packege.json commands to run the seed programs from the
  index.js file direcrtly.
* Drop .d.ts file bundler, we can just reuse the files generated by tsc.
* Add proper `exports` section to package.json.
Copy link
Member

@Jontzii Jontzii left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

@Jontzii reviewed 10 of 10 files at r1, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @Huulivoide)

@Huulivoide Huulivoide merged commit 52d32eb into main Dec 4, 2025
24 checks passed
@Huulivoide Huulivoide deleted the prune-deps branch December 4, 2025 11:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants