CartoDB / carto-api-client

Client library for CARTO APIs and framework-agnostic CARTO + deck.gl applications.
MIT License
0 stars 0 forks source link

feat(sources): Move sources from @deck.gl/carto #28

Open donmccurdy opened 3 weeks ago

donmccurdy commented 3 weeks ago

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.

donmccurdy commented 5 days ago

@padawannn I've reverted the coverage change in this PR and moved that into https://github.com/CartoDB/carto-api-client/pull/29 with more explanation!