[annotator-dev] Make a package of current 2.0 annotator

Tyler Burton btburton42 at gmail.com
Thu Sep 24 18:35:12 UTC 2015

Hi Randall,

Following your NPM link suggestion I've linked the annotator repo and then
consumed it via NPM into my module, however the `pkg` directory is now
empty. I've used NPM link before with no problems. Can you confirm that
this might just be a local issue with my own project? AFAIK I should be
seeing an index.js file in the root of the NPM module, correct?

Screenshot is attached or otherwise available at:

[image: Screenshot 2015-09-24 11.30.33.png]


On Wed, Sep 23, 2015 at 4:46 PM Randall Leeds <randall at bleeds.info> wrote:

> https://docs.npmjs.com/cli/link
> If you can, though, please send a note to the mailing list or open an
> issue, and if you already have make more noise, when you have reason to
> make changes to the core.
> Some things, like ui.main, are meant to be a bit of a template, and you
> can copy them into your own project, change them, and build an application
> from there, including that in your annotator application rather than
> including a modified annotator build with a changed ui.main.
> For everything else, if you have a reason to change the core, let's talk.
> On Wed, Sep 23, 2015 at 3:35 PM Tyler Burton <btburton42 at gmail.com> wrote:
>> I'm currently developing a module that will consume annotator and use
>> some forked modifications to Annotator UI main. Can anyone volunteer their
>> best suggestions for working with changed versions of Annotator core in my
>> current module repository?
>> I have been considering building a new version of annotator.js each time
>> I make a change using the 'make pkg/annotator.min.js' referenced in
>> the HACKING.rst doc, but it tells me "make: Nothing to be done for `all'."
>> or that "make: `pkg/annotator.min.js' is up to date."
>> If there is a better way to live compile a version and symlink it into my
>> project I'm open to other suggestions as well.
>> Many thanks,
>> Tyler Burton
>> btburton42 at gmail.com
>> --
>> --
>> Tyler Burton
>> btburton42 at gmail.com
> _______________________________________________
>> annotator-dev mailing list
>> annotator-dev at lists.okfn.org
>> https://lists.okfn.org/mailman/listinfo/annotator-dev
>> Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev
> --
Tyler Burton
btburton42 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20150924/87d06975/attachment-0004.html>

More information about the annotator-dev mailing list