Skip to content

[TRI-1333] [TRI-1332] Upgrade all packages/* and use fetch instead of node-fetch #525

@matt-aitken

Description

@matt-aitken

Problem

Our packages currently support Node 16–17. This means we can't use fetch and we can't support some modern deployment platforms like Cloudflare/Vercel edge functions.

Node v18 is now LTS and v16 has entered "end-of-life" with no official support.

Solution

  • Set the engines.node property in all of the packages/*/package.json files.
  • Upgrade all packages/* to support Node v18.
  • Change fetch to node-fetch
  • Fix any other issues
  • Ensure that typechecking has no errors: pnpm run --filter "./packages/**" typecheck

From SyncLinear.com | TRI-1332

TRI-1333

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions