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

Update all the things #57

Open
wants to merge 81 commits into
base: main
Choose a base branch
from
Open

Conversation

rriski
Copy link
Contributor

@rriski rriski commented Apr 29, 2024

Very messy PR updating a bunch of things:

  • Node.js 16 -> 21 (alpine image for Node.js 22 is broken atm: v22.0.0 arm image broken nodejs/docker-node#2074)
  • All dependencies
    • Most notable antd v5, next.js 14, yarn v4, nx v18
    • Antd v5 removed less
    • Next.js 14 changed how next/image works + other changes to config
  • Fixed a bunch of things after updating dependencies
    • Broken imports with dependencies updating to ESM (we still need to use CJS in server)
    • faker dependency deprecated methods and changed mock image domain from placeimg.com to picsum.photos

@rriski rriski force-pushed the rriski-dep-updates branch 4 times, most recently from 61cd688 to 3061c0d Compare April 29, 2024 15:37
@rriski rriski force-pushed the rriski-dep-updates branch 2 times, most recently from e74cf9c to cb6135e Compare February 3, 2025 21:17
rriski added 27 commits February 3, 2025 23:25
Running build in docker and locally results in a different machine id
and nx starts rejecting cached builds.
Faker image generation changed to loremflickr needed to update next.config.js
To void associating the file as an sqlite database
* pg 17
* wal2json 2.6
* use debian bookworm
`npx nx migrate latest` + `yarn nx migrate --run-migrations`
Remove env var to fix:

    NX_REJECT_UNKNOWN_LOCAL_CACHE=0 is not supported with the new database cache. Read more at https://nx.dev/deprecated/legacy-cache#nxrejectunknownlocalcache.
@rriski rriski force-pushed the rriski-dep-updates branch from cb6135e to c3e4fc8 Compare February 3, 2025 21:28
Still a few pesky errors left:

	Error processing '/work/@app/worker/dist/tasks/gdpr__delete_event_registrations.js': A dynamic import callback was invoked without --experimental-vm-modules
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.

1 participant