Commit graph

48 commits

Author SHA1 Message Date
Pyrox 826e2c2867
[nix] Update packaged yarn 2024-02-04 19:21:36 -05:00
Laura Hausmann 827370c9df
[yarn] Update version to 4.1.0 2024-01-31 22:06:22 +01:00
Laura Hausmann ffb1e11648
[yarn] Fix @babel/eslint-parser checksum 2023-12-08 13:51:51 +01:00
Laura Hausmann 4a50e464b6
[yarn] Fix @babel/eslint-parser package resolution 2023-12-08 13:50:22 +01:00
Pyrox c59adf1ac9 [feat] Dedupe babel dependencies
Removes 18 dependencies further from iceshrimp, which is ~1.9MB in dependency space saving
2023-12-08 13:30:27 +01:00
Pyrox c5e0dce64d [feat] Upgrade rollup plugins to rollup 4 compatible versions
This updates all rollup plugins to their latest version and ensures that there are no more peer dependency version warnings for rollup.
2023-12-08 13:30:03 +01:00
Pyrox ee23bd56a3 [feat] Upgrade Rollup to version 4 2023-12-08 13:30:03 +01:00
Pyrox 64603dd584 [feat] Upgrade biome from 1.3.1 to 1.4.0 2023-12-04 14:04:37 +01:00
Pyrox 70ee2b9258 [iceshrimp-js] Update typescript to 5.1.6
This unifies the typescript version used throughout all packages, which removes 2 packages from the yarn cache and also makes things a bit neater.

We should try to bump this for all packages at the same time in the future.
2023-12-04 13:17:36 +01:00
Laura Hausmann 61c532a854
[mastodon-client] Add html cache for user profiles and note contents 2023-11-26 21:41:20 +01:00
Laura Hausmann f350755721
[mastodon-client] Switch to happy-dom 2023-11-25 02:11:44 +01:00
Laura Hausmann cbedd28724
[client] Upgrade vue and vite to their respective latest versions 2023-11-24 05:08:11 +01:00
Laura Hausmann 3cb46cd6fc
[backend] Update re2 dependency
re2 was updated to include https://github.com/uhop/node-re2/pull/198 which fixes build on nixOS
2023-11-23 14:59:49 +01:00
Laura Hausmann 9b2e966c19
[backend] Remove external search backends 2023-11-19 01:36:54 +01:00
Pyrox 33f5217fad [yarn]: Enable support for corepack offline installs
This is required to enable building from nix, as corepack cannot fetch the yarn version from npmjs.com during a build.
Thus, an offline version is required.

This also means that when upgrading yarn, also ensure to run `yarn fetch-yarn` to fetch the latest yarn version to the correct place, and commit that with your version bump.
This will ensure that the version in the repo is kept in sync with the version in package.json.
2023-11-19 01:12:51 +01:00
Laura Hausmann 2231b9ca19
[yarn] Update .yarnrc.yml in focus-production 2023-11-17 01:52:56 +01:00
Laura Hausmann 20410b0543
[backend] Move back to upstream re2 dependency
Upstream accepted my patches for both re2 (fixing build on arm64-musl) and the install-artifact-from-github dependency (cutting down build times for architectures where prebuilts are available from ~2 minutes to ~2 seconds), so there's no reason to stick with our fork.
2023-11-15 15:12:59 +01:00
Laura Hausmann 016e7dc752
[yarn] Upgrade to v4.0.1 2023-11-10 05:11:30 +01:00
Laura Hausmann 9e53d46b71
[yarn] Add focus-production script 2023-11-06 20:00:09 +01:00
Laura Hausmann 7cf00d1503
[backend] Move to our own fork of the re2 package
This fixes builds on alpine-arm64 (and presumably also other musl-arm64 distros)
2023-11-05 16:54:00 +01:00
Laura Hausmann b100b88971
Migrate from rome to biome 2023-10-27 16:46:38 +02:00
Laura Hausmann c49780bcee
Fix build on NodeJS 21 2023-10-26 18:38:39 +02:00
Aylam 72fba5fc76
Update .yarn/sdks 2023-10-25 18:49:17 +02:00
Laura Hausmann 1f53affd76
Upgrade versions of dependencies with critical vulnerabilities 2023-10-20 23:16:11 +02:00
Laura Hausmann 544b5a1678
[backend] Use a semaphore around populateMentions
This fixes a user-generated DoS payload for giant webring-style trees of mentions in user bios that could cause backend stalls.
2023-10-20 20:16:01 +02:00
Laura Hausmann f8cfdeb67d
Fix compatibility with NodeJS >= 18.6, add npm cache for all supported architectures and platforms 2023-10-19 02:26:08 +02:00
Laura Hausmann 5c7a663320
[backend] Remove nsfw detection / tensorflow 2023-10-18 23:18:00 +02:00
Laura Hausmann bb5d0e319d
[backend] Add missing postgres types 2023-10-13 18:44:25 +02:00
Laura Hausmann 0611651409
Remove megalodon 2023-10-05 14:36:14 +02:00
Laura Hausmann 76aa8eeefb
Port native-utils code back to typescript 2023-09-26 17:21:44 +02:00
Aylam 80db27d3d8
Add .yarn/sdks 2023-09-10 13:07:57 +02:00
Laura Hausmann 85f396ff49
Make WebFinger respect host-meta 2023-09-06 19:13:57 +02:00
Luna 748bbdf6a3
fix pnp emoji stuff 2023-07-28 13:44:26 +02:00
Laura Hausmann f165d9e578
Fix emojilib 2023-07-27 16:49:37 +02:00
Laura Hausmann 2251dd76bf
Add yarn cache for zero installs 2023-07-27 15:57:32 +02:00
April John d42a12559b fixups 2023-07-27 13:45:15 +02:00
Luna 283e632772 switch to yarn 2023-07-27 07:22:09 +05:30
ThatOneCalculator 5873afd9e6 styling 2023-02-01 11:51:19 -08:00
Freeplay 3657ba0b1f oops 2023-01-19 19:59:36 -05:00
Freeplay 11d515e770 update brnach 2023-01-18 15:33:19 -05:00
Kainoa Kanter 19596a91e4 refactor: 🔨 Use pnpm instead of yarn (#9461)
Reasons:

1. `pnpm` is now an industry standard, being faster and less buggy than `yarn`.
2. Faster build time as builds are concurrent: 63 seconds down to 35 seconds!!
3. Resolves #9412

Co-authored-by: ThatOneCalculator <kainoa@t1c.dev>
Reviewed-on: https://codeberg.org/calckey/calckey/pulls/9461
2023-01-13 04:18:16 +00:00
cutestnekoaqua e7e34fb61c update yarn 2022-12-27 00:37:57 +01:00
cutestnekoaqua b16f320607 Reproducible Builds 2022-12-27 00:24:19 +01:00
ThatOneCalculator bcb2355bbb 🙏 2022-05-31 00:13:41 -07:00
ThatOneCalculator 480a8ffa6d :godmode: 2022-05-30 23:55:47 -07:00
ThatOneCalculator 6e16bed0a8 More yarn workspaces stuff 2022-05-30 17:31:24 -07:00
ThatOneCalculator eb9fbc99e1 use "packageManager" 2022-05-29 17:08:57 -07:00
ThatOneCalculator f8477b9277 Proper upgrade to yarn 2022-05-29 13:13:27 -07:00