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

Allow library building from source when including in package.json #654

Open
RinkeHoekstra opened this issue Jul 11, 2024 · 0 comments
Open

Comments

@RinkeHoekstra
Copy link
Contributor

The current package.json does not have a prepare step, which means that it is hard for development projects to include a specific branch or commit to their dependencies (as no libraries will be built automatically).

I propose to include:

"prepare": "npm run build && npm run build:types && npm run build:browser && npm run build:esm",

This allows projects to include rdflib as follows in their package.json dependencies:

"rdflib": "github:linkeddata/rdflib.js#COMMITHASH",

As per https://docs.npmjs.com/cli/v10/configuring-npm/package-json#git-urls-as-dependencies

RinkeHoekstra added a commit to RinkeHoekstra/rdflib.js that referenced this issue Jul 11, 2024
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

No branches or pull requests

1 participant