Open
Conversation
Author
|
If you want to try it out locally before merging, you can install it with the following command: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have prepared to publish d3sparql.js as npm package.
It automatically generates Node.js build (
dist/d3sparql.cjs) and browser build (dist/d3sparql.js) from the source code using the ECMAScript module (src/d3sparql.mjs). This is a similar mechanism to sparql-support.There is already a library named
d3-sparql, and npm didn't allow us to give it a similar name. Hence the name of this package is@ktym/d3sparql.As an example, here's how to use this package from TogoStanza:
After merging the pull request, follow these steps:
npm version minor: Increment the package version (0.0.0 -> 0.1.0 in this case), commit and create a git taggit push --tags: Push that commit and tag to GitHubnpm publish --access public: Submit this package to the npm registry