getsentry / getsentry/sentry-javascript

Clean up utils/types-hoist folders from v9 migration

Ouverte
#14,922 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Task
Langage dominant
TypeScript
Étoiles
8.7k
Forks
1.8k
Merge moyen
1 j 17 h
PR mergées (30 j)
515

Description

### Description

For v9 we hoisted `@sentry/utils` and `@sentry/types` into `@sentry/core`. We did that in a bit of a "lazy" way by dumping everything in a `utils-hoist` and `types-hoist` folder respectively and doing `export * from ...`.

Since `export * from ...` is rather error prone and makes bundlers unhappy because it makes them go look for exports, we should get rid of this patterns sooner rather than later and top-level-export all the api we intend to export.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.