Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 24 commits into
base: main
Choose a base branch
from

Conversation

donmccurdy
Copy link
Member

@donmccurdy donmccurdy commented Oct 9, 2024

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 donmccurdy marked this pull request as draft October 9, 2024 20:38
@donmccurdy donmccurdy marked this pull request as ready for review October 30, 2024 18:28
package.json Outdated Show resolved Hide resolved
package.json Outdated
@@ -4,7 +4,7 @@
"repository": "github:CartoDB/carto-api-client",
"author": "Don McCurdy <[email protected]>",
"packageManager": "[email protected]",
"version": "0.3.1",
"version": "0.4.0-alpha.3",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Publishing alpha versions for testing in @deck.gl/carto.

@@ -98,5 +98,6 @@
"vite": "^5.2.10",
"vitest": "1.6.0",
"vue": "^3.4.27"
}
},
"stableVersion": "0.3.1"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yarn seems to do this automatically when we publish an alpha, so that it knows what the most recent stable version was if you decide to publish another? Seems harmless, and will likely disappear on the next stable version.

@donmccurdy
Copy link
Member Author

@padawannn I've reverted the coverage change in this PR and moved that into #29 with more explanation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant