You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* build: Check for circular dep with madge
Madge (https://www.npmjs.com/package/madge) is a library that can
traverse module dependency trees to check for circular dependencies.
We can leverage it using `madge --circular /path/to/index.ts` to make
sure that our packages don't contain circular deps. On average madge
takes around 2-3 sec, so we are not sacrificing a ton of CI time.
* fix(node): Remove circular dependency
To remove the circular relationship between backend and parsers,
we extract the NodeOptions type into a separate types.ts file.
* fix(hub): Remove circular dep between hub and interface
To remove this, the interface.ts was removed and all of it's
types were moved into hub.ts
* fix(hub): Remove circular dep from session
To remove this circular dep, we extract the SessionFlusher
from session.ts into it's own file.
* fix(nextjs): Remove circular dependency
To remove the circular dependency between index.server.ts and
utils/instrumentServer.ts, we rely on importing Sentry func (like
startTransaction and captureException) from `@sentry/node` directly.
* build(types): Don't run madge on @sentry/types
* build: Run circularDepCheck github action
0 commit comments