Skip to content

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

Open
@RinkeHoekstra

Description

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions