Oh, that's right. I forgot that we're outputting the build into pkg. I'll see what I can do about improving that. In the meantime, you could run `npm link` from the pkg directory after running `make`.
However, I would still most love to know what customizations you need in core. On Thu, Sep 24, 2015 at 11:35 AM Tyler Burton <btburto...@gmail.com> wrote: > 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: > > https://www.dropbox.com/s/7zk3xb4unzoseb2/Screenshot%202015-09-24%2011.30.33.png?dl=0 > > [image: Screenshot 2015-09-24 11.30.33.png] > > Also > > On Wed, Sep 23, 2015 at 4:46 PM Randall Leeds <rand...@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 <btburto...@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 >>> btburto...@gmail.com >>> -- >>> -- >>> Tyler Burton >>> btburto...@gmail.com >>> >> _______________________________________________ >>> annotator-dev mailing list >>> annotator-dev@lists.okfn.org >>> https://lists.okfn.org/mailman/listinfo/annotator-dev >>> Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev >>> >> -- > -- > Tyler Burton > btburto...@gmail.com >
_______________________________________________ annotator-dev mailing list annotator-dev@lists.okfn.org https://lists.okfn.org/mailman/listinfo/annotator-dev Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev