@comunica/packager
TypeScript icon, indicating that this package has built-in type declarations

3.0.1 • Public • Published

Comunica Packager

npm version

A tool for generating a dependency list from a config file.

This tool can be used if you want to create a custom Comunica config and query engine.

This module is part of the Comunica framework, and should only be used by developers that want to build their own query engine.

Click here if you just want to query with Comunica.

Install

$ yarn add @comunica/packager

Usage

Generating a dependency list

$ comunica-package -c config/config-default.json

Example output:

{
  "@comunica/actor-context-preprocess-source-to-destination": "^2.0.0",
  "@comunica/actor-hash-bindings-sha1": "^2.0.0",
  "@comunica/actor-http-fetch": "^2.0.0",
  "@comunica/actor-http-proxy": "^2.0.0",
  "@comunica/actor-init-query": "^2.0.0",
...

This will output a list of dependencies that can be included in your package.json file.

Initializing a new package

$ comunica-package -c config/config-default.json -o my-sparql-engine

This will create a directory my-sparql-engine containing new package.json and index.js files.

Note on additional dependencies

If you are extending from a config in @comunica/config-query-sparql, make sure to include @comunica/config-query-sparql as a dependency as well.

If you include a bin/ directory, you may also want to include @comunica/runner-cli as dependency.

Dependents (0)

Package Sidebar

Install

npm i @comunica/packager

Weekly Downloads

20

Version

3.0.1

License

MIT

Unpacked Size

13.8 kB

Total Files

6

Last publish

Collaborators

  • jeswr
  • joachimvh
  • rubensworks
  • rubenverborgh
  • dexagod