incubator-annotator.git
2 weeks agoChange wiki link target master
A. Soroka [Mon, 19 Nov 2018 15:22:27 +0000 (10:22 -0500)] 
Change wiki link target

As per announcement at https://cwiki.apache.org/confluence/display/ANNO, changed link to Github wiki

2 weeks agoChange issue tracker link
A. Soroka [Mon, 19 Nov 2018 15:19:55 +0000 (10:19 -0500)] 
Change issue tracker link

Seems like the actual work of tracking issues is going on in Github?

7 weeks agoMerge pull request #43 from apache/validation-test-tweaks
Randall Leeds [Wed, 17 Oct 2018 16:14:32 +0000 (09:14 -0700)] 
Merge pull request #43 from apache/validation-test-tweaks

Validation test tweaks

8 weeks agoAdd top-level tests in .eslintrc.yml 43/head
Randall Leeds [Mon, 15 Oct 2018 00:59:14 +0000 (17:59 -0700)] 
Add top-level tests in .eslintrc.yml

8 weeks agoRemove uses of require from validation tests
Randall Leeds [Sun, 14 Oct 2018 23:57:10 +0000 (16:57 -0700)] 
Remove uses of require from validation tests

Strict .mjs does not have access to `require`. Due to a bug in `esm`, it
worked up until now. However, removing it is necessary to unblock
upgrading `esm`.

At the same time, address the fact that it is not ideal to assume that
the node modules directory is relative to the current working directory.
Instead, rely on `resolve` to do a recursive search.

8 weeks agoRemove package-lock.json
Randall Leeds [Sun, 14 Oct 2018 01:53:06 +0000 (18:53 -0700)] 
Remove package-lock.json

8 weeks agoAdd missing license headers
Randall Leeds [Sat, 13 Oct 2018 23:25:58 +0000 (16:25 -0700)] 
Add missing license headers

8 weeks agoUpdate validation script info and add examples
Juan Corona [Fri, 12 Oct 2018 10:51:31 +0000 (12:51 +0200)] 
Update validation script info and add examples

8 weeks agoAdd remote URL fetching to `yarn validate --url`
Juan Corona [Wed, 10 Oct 2018 10:09:36 +0000 (12:09 +0200)] 
Add remote URL fetching to `yarn validate --url`

2 months agoAdd `yarn validate` for JSON testing
Benjamin Young [Thu, 4 Oct 2018 19:30:48 +0000 (15:30 -0400)] 
Add `yarn validate` for JSON testing

Reduces the `yarn test` (run by travis, pre-commit, etc) to just code testing.

2 months agoAdd Travis badge to readme
BigBlueHat [Wed, 3 Oct 2018 14:24:16 +0000 (10:24 -0400)] 
Add Travis badge to readme

2 months agoAdd Apache License preamble to demo/index
Benjamin Young [Wed, 3 Oct 2018 14:09:04 +0000 (10:09 -0400)] 
Add Apache License preamble to demo/index

2 months agoAdd Travis-CI for test running (#37)
BigBlueHat [Tue, 2 Oct 2018 20:14:08 +0000 (16:14 -0400)] 
Add Travis-CI for test running (#37)

* Add initial .travis.yml

* Install latest stable of yarn

Travis is a bit behind atm (1.3.2 O.o)

* Lower the yarn version to match README

* Add engines information to all the packages

* Attempt to use multiple .nvmrc files

This is how .nvmrc files work...but not sure about Travis
https://docs.travis-ci.com/user/languages/javascript-with-nodejs/#Specifying-Node.js-versions-using-.nvmrc

* Expand readme to cover usage & dev

* Revert "Attempt to use multiple .nvmrc files"

This reverts commit d4b0b4eff4ae16a96898f4d3f09245eaa06c3a81.

* Add Node 10 to travis

* Removing node 6 because yarn

5 months agoImprove readme; Add JSON test info
Benjamin Young [Tue, 12 Jun 2018 14:42:36 +0000 (10:42 -0400)] 
Improve readme; Add JSON test info

5 months agoUpdate readme for simplicity & demo mention
Benjamin Young [Tue, 12 Jun 2018 14:40:02 +0000 (10:40 -0400)] 
Update readme for simplicity & demo mention

Remake of 5c0de589da7057049dc6a7026607fba51e6825ce which
got lost during a merge...somehow.

5 months agoInitial incorporation of Annotation Schema MUSTs (#32)
BigBlueHat [Tue, 12 Jun 2018 14:34:02 +0000 (07:34 -0700)] 
Initial incorporation of Annotation Schema MUSTs (#32)

* Initial incorporation of Annotation Schema MUSTs

Fixes #31.

Plenty more schemas where these came from. Hopefully this sets the stage for
similar testings of the SHOULDs, Collections, etc.

* Gather .mjs files from test/ if present

5 months agoRemove commented-out code
Randall Leeds [Mon, 11 Jun 2018 15:46:15 +0000 (08:46 -0700)] 
Remove commented-out code

5 months agoRe-enable strict CJS interop
Randall Leeds [Sat, 9 Jun 2018 18:26:32 +0000 (11:26 -0700)] 
Re-enable strict CJS interop

6 months agoFold refinedBy and any into core selector package
Randall Leeds [Sat, 9 Jun 2018 20:11:38 +0000 (13:11 -0700)] 
Fold refinedBy and any into core selector package

6 months agoRemove empty package.json section
Randall Leeds [Sat, 9 Jun 2018 19:43:58 +0000 (12:43 -0700)] 
Remove empty package.json section

6 months agoFix #29; Use NOTICE file for W3C license reference
Benjamin Young [Sat, 9 Jun 2018 19:15:50 +0000 (12:15 -0700)] 
Fix #29; Use NOTICE file for W3C license reference

Removed W3C Software and Documentation License text from LICENSE.
Replace with mention and link to that license from NOTICE.

6 months agoUpdate readme for simplicity & demo mention
Benjamin Young [Sat, 9 Jun 2018 19:15:18 +0000 (12:15 -0700)] 
Update readme for simplicity & demo mention

6 months agoMerge pull request #30 from Treora/remove-reselect
Randall Leeds [Sat, 9 Jun 2018 18:57:35 +0000 (11:57 -0700)] 
Merge pull request #30 from Treora/remove-reselect

Remove reselect/memoisation.

6 months agoRemove reselect/memoisation. 30/head
Gerben [Fri, 8 Jun 2018 22:54:01 +0000 (15:54 -0700)] 
Remove reselect/memoisation.

6 months agoUpdate readme for simplicity & demo mention
Benjamin Young [Sat, 9 Jun 2018 18:44:34 +0000 (11:44 -0700)] 
Update readme for simplicity & demo mention

6 months agoFix eslint nit
Randall Leeds [Fri, 8 Jun 2018 23:38:01 +0000 (16:38 -0700)] 
Fix eslint nit

6 months agoFix whitespace in demo
Randall Leeds [Fri, 8 Jun 2018 22:09:08 +0000 (15:09 -0700)] 
Fix whitespace in demo

6 months agoCombine eslint overrides for scripts
Randall Leeds [Fri, 8 Jun 2018 21:55:50 +0000 (14:55 -0700)] 
Combine eslint overrides for scripts

6 months agoMake everything run without building again
Randall Leeds [Fri, 8 Jun 2018 21:54:38 +0000 (14:54 -0700)] 
Make everything run without building again

6 months agoUpdate dependencies
Randall Leeds [Fri, 8 Jun 2018 19:24:05 +0000 (12:24 -0700)] 
Update dependencies

6 months agoUpdate ESLint config
Randall Leeds [Sun, 25 Mar 2018 18:33:21 +0000 (11:33 -0700)] 
Update ESLint config

6 months agoUpgrade dependencies
Randall Leeds [Sun, 25 Mar 2018 18:29:20 +0000 (11:29 -0700)] 
Upgrade dependencies

8 months agoBump NOTICE copyright end year to 2018
Benjamin Young [Wed, 28 Mar 2018 18:23:19 +0000 (14:23 -0400)] 
Bump NOTICE copyright end year to 2018

8 months agoAdd NOTICE files to all packages
Benjamin Young [Wed, 28 Mar 2018 18:21:06 +0000 (14:21 -0400)] 
Add NOTICE files to all packages

Fixes #24

8 months agoAdd NOTICE to fragment-identifier package
Benjamin Young [Wed, 28 Mar 2018 16:54:04 +0000 (12:54 -0400)] 
Add NOTICE to fragment-identifier package

Relates to #24

8 months agoAdd Apache License 2.0 LICENSE file to packages
Benjamin Young [Wed, 28 Mar 2018 16:51:03 +0000 (12:51 -0400)] 
Add Apache License 2.0 LICENSE file to packages

Since each package is (potentially) distributed separately.

Related to #24

8 months agoFix #26 by explaining it is local only content
Benjamin Young [Wed, 28 Mar 2018 13:47:24 +0000 (09:47 -0400)] 
Fix #26 by explaining it is local only content

8 months agoFix fragment grammar license text
Randall Leeds [Tue, 13 Mar 2018 04:10:49 +0000 (21:10 -0700)] 
Fix fragment grammar license text

Close #13

8 months agoAdd preserve-comment-header Babel plugin
Randall Leeds [Mon, 12 Mar 2018 19:24:14 +0000 (12:24 -0700)] 
Add preserve-comment-header Babel plugin

Shout out to Logan Smyth for whipping this up.

8 months agoInclude all tests in webpack test bundle
Randall Leeds [Mon, 12 Mar 2018 04:47:33 +0000 (21:47 -0700)] 
Include all tests in webpack test bundle

8 months agoExtract cartesian test into test file
Randall Leeds [Mon, 12 Mar 2018 04:46:39 +0000 (21:46 -0700)] 
Extract cartesian test into test file

8 months agoUse lib imports in tests
Randall Leeds [Mon, 12 Mar 2018 04:37:20 +0000 (21:37 -0700)] 
Use lib imports in tests

The module resolver handles the aliasing. With this, shipping tests with
published versions might be possible.

8 months agoUpgrade @babel/runtime dependencies
Randall Leeds [Mon, 12 Mar 2018 04:31:06 +0000 (21:31 -0700)] 
Upgrade @babel/runtime dependencies

8 months agoChase the ecosystem
Randall Leeds [Sat, 10 Mar 2018 23:33:49 +0000 (15:33 -0800)] 
Chase the ecosystem

8 months agoUpgrade dependencies
Randall Leeds [Sat, 10 Mar 2018 23:25:06 +0000 (15:25 -0800)] 
Upgrade dependencies

10 months agoMove preload modules from nyc to mocha
Randall Leeds [Fri, 19 Jan 2018 03:53:32 +0000 (19:53 -0800)] 
Move preload modules from nyc to mocha

Allow mocha to be used without nyc to run tests by moving the preload
requires from the nyc cofiguration to the mocha configuration.

10 months agoUpgrade dependencies
Randall Leeds [Fri, 19 Jan 2018 03:51:02 +0000 (19:51 -0800)] 
Upgrade dependencies

10 months agoUse babel resolver instead of webpack
Randall Leeds [Wed, 10 Jan 2018 08:34:17 +0000 (00:34 -0800)] 
Use babel resolver instead of webpack

Resolve package sources during development so that tests and webpack can
work without running build first.

10 months agoClean up .babelrc.js with constants
Randall Leeds [Wed, 10 Jan 2018 09:34:12 +0000 (01:34 -0800)] 
Clean up .babelrc.js with constants

10 months agoUpgrade dependencies
Randall Leeds [Wed, 10 Jan 2018 06:11:40 +0000 (22:11 -0800)] 
Upgrade dependencies

10 months agoUpgrade to webpack@next
Randall Leeds [Wed, 10 Jan 2018 06:04:24 +0000 (22:04 -0800)] 
Upgrade to webpack@next

10 months agoStandardize on BABEL_ENV over NODE_ENV
Randall Leeds [Wed, 10 Jan 2018 08:32:12 +0000 (00:32 -0800)] 
Standardize on BABEL_ENV over NODE_ENV

BABEL_ENV better clearly communicates what is being selected.

10 months agoBuild infrastructure
Randall Leeds [Sun, 7 Jan 2018 02:24:01 +0000 (18:24 -0800)] 
Build infrastructure

Set up the build infrastructure.

- Stanardize on all source files in `src` directories

- Move all source files to `.mjs`

- Set up Webpack to prioritize `.mjs`

- Set up ESLint import plugin for `.mjs`

- Set up ESLint for transpiled and local `.mjs`  scripts

- Add npm build scripts for CommonJS and ES modules

- Add .npmignore files for every package

10 months agoAccept all module reloads in demo
Randall Leeds [Wed, 10 Jan 2018 07:49:13 +0000 (23:49 -0800)] 
Accept all module reloads in demo

11 months agoRe-introduce coverage with nyc
Randall Leeds [Sat, 6 Jan 2018 23:20:01 +0000 (15:20 -0800)] 
Re-introduce coverage with nyc

Made possible by the @std/esm upgrade.

11 months agoUpgrade dependencies
Randall Leeds [Sat, 6 Jan 2018 21:17:37 +0000 (13:17 -0800)] 
Upgrade dependencies

12 months agoAdd @babel/polyfill to the test runner
Randall Leeds [Sat, 2 Dec 2017 22:14:22 +0000 (14:14 -0800)] 
Add @babel/polyfill to the test runner

12 months agoRemove coverage for now
Randall Leeds [Sat, 2 Dec 2017 22:13:22 +0000 (14:13 -0800)] 
Remove coverage for now

New warnings being emitted along with the imperfect hacks to get
istanbul working on babel 7 are not worth it at this stage of the
project. Coverage can be added back when nyc upgrades to babel 7.

12 months agoUpgrade dependencies
Randall Leeds [Sat, 2 Dec 2017 22:11:05 +0000 (14:11 -0800)] 
Upgrade dependencies

12 months agoMove babel runtime dependency into packages
Randall Leeds [Sat, 25 Nov 2017 19:34:19 +0000 (14:34 -0500)] 
Move babel runtime dependency into packages

The workspace is really a development thing, so it doesn't need any
dependencies outside of dev dependencies. The packages themselves will
need the runtime at runtime because the transform will result in helpers
being pulled from it. However, it's nice to let consumers use the
version they want by specifying it as a peer dependency.

12 months agoChange up how BABEL_ENV and NODE_ENV are used
Randall Leeds [Sat, 25 Nov 2017 07:32:42 +0000 (02:32 -0500)] 
Change up how BABEL_ENV and NODE_ENV are used

12 months agoFix some demo styles
Randall Leeds [Fri, 24 Nov 2017 21:06:19 +0000 (16:06 -0500)] 
Fix some demo styles

12 months agoMerge pull request #17 from apache/demo-tweaks
Randall Leeds [Fri, 24 Nov 2017 21:02:38 +0000 (16:02 -0500)] 
Merge pull request #17 from apache/demo-tweaks

Demo tweaks

12 months agoAdd missing license headers
Randall Leeds [Fri, 24 Nov 2017 21:00:15 +0000 (16:00 -0500)] 
Add missing license headers

12 months agoMove some package config out of package.json
Randall Leeds [Thu, 23 Nov 2017 22:10:32 +0000 (17:10 -0500)] 
Move some package config out of package.json

12 months agoUse ES modules for babel helpers.
Randall Leeds [Thu, 23 Nov 2017 22:04:55 +0000 (17:04 -0500)] 
Use ES modules for babel helpers.

With the @std/esm 0.17 upgrade, third-party packages will inherit some
processing by @std/esm when possible, enabling the helpers to be parsed
as modules in the command line just as they are in the webpack setup.

12 months agoUpgrade @std/esm to 0.17
Randall Leeds [Thu, 23 Nov 2017 22:04:38 +0000 (17:04 -0500)] 
Upgrade @std/esm to 0.17

12 months agoUpdate README
Randall Leeds [Sun, 19 Nov 2017 23:37:20 +0000 (15:37 -0800)] 
Update README

12 months agoAdd stub test suite for selector
Randall Leeds [Sun, 19 Nov 2017 23:43:31 +0000 (15:43 -0800)] 
Add stub test suite for selector

12 months agoAdd browser test suite
Randall Leeds [Sun, 19 Nov 2017 23:33:51 +0000 (15:33 -0800)] 
Add browser test suite

12 months agoSet up coverage
Randall Leeds [Sun, 19 Nov 2017 01:05:29 +0000 (17:05 -0800)] 
Set up coverage

12 months agoSet up testing
Randall Leeds [Sat, 18 Nov 2017 09:46:38 +0000 (01:46 -0800)] 
Set up testing

12 months agoSet module outputs based on BABEL_ENV
Randall Leeds [Sat, 18 Nov 2017 09:40:44 +0000 (01:40 -0800)] 
Set module outputs based on BABEL_ENV

12 months agoBump eslint ecmaVersion
Randall Leeds [Sat, 18 Nov 2017 09:05:39 +0000 (01:05 -0800)] 
Bump eslint ecmaVersion

12 months agoUpdates for new @std/esm version
Randall Leeds [Sat, 18 Nov 2017 08:39:34 +0000 (00:39 -0800)] 
Updates for new @std/esm version

12 months agoBump dependencies
Randall Leeds [Sat, 18 Nov 2017 08:39:14 +0000 (00:39 -0800)] 
Bump dependencies

12 months agoUse .babelrc.js instead of .babelrc
Randall Leeds [Mon, 13 Nov 2017 01:00:15 +0000 (17:00 -0800)] 
Use .babelrc.js instead of .babelrc

Using JS for the .babelrc file seems to be the way the babel project is
heading.

12 months agoFix selector package.json indentation
Randall Leeds [Sat, 18 Nov 2017 08:39:59 +0000 (00:39 -0800)] 
Fix selector package.json indentation

12 months agoRemove contenteditable magic...for now 17/head
Benjamin Young [Wed, 1 Nov 2017 19:49:28 +0000 (15:49 -0400)] 
Remove contenteditable magic...for now

There is a good bit more to do with cursor resetting
and such (given that the demo currently replaces all
content when showing the highlight).

Definitely on the to-revisit-list, though!

12 months agoLink to Selectors section specifically
Benjamin Young [Wed, 1 Nov 2017 18:46:11 +0000 (14:46 -0400)] 
Link to Selectors section specifically

12 months agoStyle #selector() links wiith 📌 prefix
Benjamin Young [Wed, 1 Nov 2017 18:44:26 +0000 (14:44 -0400)] 
Style #selector() links wiith 📌 prefix

12 months agoMake all external links open in new tab
Benjamin Young [Wed, 1 Nov 2017 18:24:33 +0000 (14:24 -0400)] 
Make all external links open in new tab

12 months agoFix encoding of complex highlighting example
Benjamin Young [Wed, 1 Nov 2017 17:29:49 +0000 (13:29 -0400)] 
Fix encoding of complex highlighting example

12 months agoClean up crusty pasta
Randall Leeds [Mon, 13 Nov 2017 00:08:38 +0000 (16:08 -0800)] 
Clean up crusty pasta

Remove some linter violations that snuck in with the pasta branch.

12 months agoClean up package.json files
Randall Leeds [Sun, 12 Nov 2017 23:54:06 +0000 (15:54 -0800)] 
Clean up package.json files

12 months agoMove DOM concerns from text into dom/text
Randall Leeds [Sun, 12 Nov 2017 23:48:29 +0000 (15:48 -0800)] 
Move DOM concerns from text into dom/text

12 months agoBreak babelrc out of webpack config
Randall Leeds [Sun, 12 Nov 2017 23:01:14 +0000 (15:01 -0800)] 
Break babelrc out of webpack config

Rather than anticipating the use of webpack for publishing bundles this
anticipates using babel directly to publish modules.

12 months agoAdd comments to @babel/preset-env configuration
Randall Leeds [Sun, 12 Nov 2017 22:47:57 +0000 (14:47 -0800)] 
Add comments to @babel/preset-env configuration

12 months agoDo not polyfill library transformations
Randall Leeds [Sun, 12 Nov 2017 20:55:50 +0000 (12:55 -0800)] 
Do not polyfill library transformations

In order to publish the individual libraries more easily, prepare the
webpack configuration for use by the libraries, in addition to the demo.
Rather than adding polyfills through the babel runtime transformation
plugin, which results in imperfect polyfilling of some instance methods,
expect that applications will polyfill their environments. This decision
seems reasonable especially in light of the switch to using only shipped
proposals in the environment preset that avoids requiring any consumers
to apply highly experimental transformations.

Instead, add an import of @babel/polyfill to the demo and let the env
preset transform it to a minimal polyfill for the target environments.

12 months agoAdd node target for preset-env for good measure
Randall Leeds [Sun, 12 Nov 2017 20:06:42 +0000 (12:06 -0800)] 
Add node target for preset-env for good measure

Having a node target for preset-env means that whatever gets shipped to
npm could be transpiled for compatibility with node runtimes as well as
browsers.

12 months agoUpgrade dependencies
Randall Leeds [Sun, 12 Nov 2017 19:50:35 +0000 (11:50 -0800)] 
Upgrade dependencies

12 months agoScoped babel packages and stricter proposals
Randall Leeds [Sun, 12 Nov 2017 19:26:36 +0000 (11:26 -0800)] 
Scoped babel packages and stricter proposals

Upgrade babel-eslint, babel-loader and all the babel packages to use the
new scoped packages from Babel 7.x. Switch the env preset to use only
stage 3 proposals that are shipped in browsers already.

13 months agoMerge pull request #15 from tilgovi/pasta
BigBlueHat [Tue, 31 Oct 2017 13:18:17 +0000 (09:18 -0400)] 
Merge pull request #15 from tilgovi/pasta

Hackathon produce

Huge thanks to @tilgovi @Treora & @JakeHartnell

13 months agofix trailing comma.. 15/head
Gerben [Sat, 28 Oct 2017 00:18:16 +0000 (01:18 +0100)] 
fix trailing comma..

13 months agoMove dependency into sub-package.
Gerben [Fri, 27 Oct 2017 23:44:56 +0000 (00:44 +0100)] 
Move dependency into sub-package.

13 months agoAdd examples: multi-match, deep nesting.
Gerben [Thu, 26 Oct 2017 17:07:13 +0000 (18:07 +0100)] 
Add examples: multi-match, deep nesting.

13 months agoAdd package.json to any, range & refinedBy.
Gerben [Wed, 25 Oct 2017 14:16:06 +0000 (15:16 +0100)] 
Add package.json to any, range & refinedBy.

13 months agoRemove search query.
Gerben [Tue, 24 Oct 2017 01:04:39 +0000 (18:04 -0700)] 
Remove search query.

13 months agoElaborate demo page.
Gerben [Tue, 24 Oct 2017 00:59:47 +0000 (17:59 -0700)] 
Elaborate demo page.

13 months agoUse prefix&suffix when searching.
Gerben [Mon, 23 Oct 2017 23:38:04 +0000 (16:38 -0700)] 
Use prefix&suffix when searching.