Moves functions dealing with the CARTO API from @deck.gl/carto into @carto/api-client, intending that the @deck.gl/carto module can be more focused on visualization. For backwards compatibility, the @deck.gl/carto module will depend on @carto/api-client and re-export the functions it previously provided. The source code in this PR is minimally changed for TypeScript compiler settings and some cleanup; the unit tests required a more extensive rewrite to move from Tape to Vitest.
Moves functions dealing with the CARTO API from
@deck.gl/carto
into@carto/api-client
, intending that the@deck.gl/carto
module can be more focused on visualization. For backwards compatibility, the@deck.gl/carto
module will depend on@carto/api-client
and re-export the functions it previously provided. The source code in this PR is minimally changed for TypeScript compiler settings and some cleanup; the unit tests required a more extensive rewrite to move from Tape to Vitest.