iTowns / itowns

A Three.js-based framework written in Javascript/WebGL for visualizing 3D geospatial data
http://www.itowns-project.org
Other
1.07k stars 290 forks source link

fix(deps): update babel and add @babel/core dependency #2329

Closed Desplandis closed 1 month ago

Desplandis commented 1 month ago

Description

This PR bumps @babel/cli, @babel/plugin-transform-runtime, @babel/preset-env and @babel/register to their latest version (7.24.6). It also add the @babel/core dev dependencies, a missing peer dependency of the above packages.

Adding this @babel/core fixes the following error on stricter package managers (e.g. yarn):

$ cross-env BABEL_DISABLE_CACHE=1 babel src --out-dir lib
Error: Cannot find module '@babel/core'