nathandunn / jbrowse-widget-v1

External Reimplementation of JBrowse Protein Widget
0 stars 0 forks source link

create instructions for remote inclusion #1

Open nathandunn opened 5 years ago

nathandunn commented 5 years ago

Method 1:

  1. jbrowse-components: yarn && yarn build at top level
  2. cp jbrowse-components/packages/core/dist to ./node_modules/@gmod/jbrowse-core

This works because its compiled out of typescript, so likely having the typescript properly compiled is the key here.

nathandunn commented 5 years ago

The goal is to avoid having a dependent project being dependent on the original source.

As the yarn build is essential, that maybe sufficient. Using yalc / verdaccio / might create the same benefit however.