Scripts currently use CJS, which is causing a bit of a mess when trying
to use shared utilities from the app. Converting everything to ESM so
there are fewer conflicts when adding new scripts going forward.
With the new docs IA and some recent team restructuring, the docs
section-to-Notion team mapping needs to be updated.
Do not merge before the new IA is merged.