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.
BigBlueHat [Wed, 3 Oct 2018 14:24:16 +0000 (10:24 -0400)]
Add Travis badge to readme
Benjamin Young [Wed, 3 Oct 2018 14:09:04 +0000 (10:09 -0400)]
Add Apache License preamble to demo/index
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
Benjamin Young [Tue, 12 Jun 2018 14:42:36 +0000 (10:42 -0400)]
Improve readme; Add JSON test info
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.
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
Randall Leeds [Mon, 11 Jun 2018 15:46:15 +0000 (08:46 -0700)]
Remove commented-out code
Randall Leeds [Sat, 9 Jun 2018 18:26:32 +0000 (11:26 -0700)]
Re-enable strict CJS interop
Randall Leeds [Sat, 9 Jun 2018 20:11:38 +0000 (13:11 -0700)]
Fold refinedBy and any into core selector package
Randall Leeds [Sat, 9 Jun 2018 19:43:58 +0000 (12:43 -0700)]
Remove empty package.json section
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.
Benjamin Young [Sat, 9 Jun 2018 19:15:18 +0000 (12:15 -0700)]
Update readme for simplicity & demo mention
Randall Leeds [Sat, 9 Jun 2018 18:57:35 +0000 (11:57 -0700)]
Merge pull request #30 from Treora/remove-reselect
Remove reselect/memoisation.
Gerben [Fri, 8 Jun 2018 22:54:01 +0000 (15:54 -0700)]
Remove reselect/memoisation.
Benjamin Young [Sat, 9 Jun 2018 18:44:34 +0000 (11:44 -0700)]
Update readme for simplicity & demo mention
Randall Leeds [Fri, 8 Jun 2018 23:38:01 +0000 (16:38 -0700)]
Fix eslint nit
Randall Leeds [Fri, 8 Jun 2018 22:09:08 +0000 (15:09 -0700)]
Fix whitespace in demo
Randall Leeds [Fri, 8 Jun 2018 21:55:50 +0000 (14:55 -0700)]
Combine eslint overrides for scripts
Randall Leeds [Fri, 8 Jun 2018 21:54:38 +0000 (14:54 -0700)]
Make everything run without building again
Randall Leeds [Fri, 8 Jun 2018 19:24:05 +0000 (12:24 -0700)]
Update dependencies
Randall Leeds [Sun, 25 Mar 2018 18:33:21 +0000 (11:33 -0700)]
Update ESLint config
Randall Leeds [Sun, 25 Mar 2018 18:29:20 +0000 (11:29 -0700)]
Upgrade dependencies
Benjamin Young [Wed, 28 Mar 2018 18:23:19 +0000 (14:23 -0400)]
Bump NOTICE copyright end year to 2018
Benjamin Young [Wed, 28 Mar 2018 18:21:06 +0000 (14:21 -0400)]
Add NOTICE files to all packages
Fixes #24
Benjamin Young [Wed, 28 Mar 2018 16:54:04 +0000 (12:54 -0400)]
Add NOTICE to fragment-identifier package
Relates to #24
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
Benjamin Young [Wed, 28 Mar 2018 13:47:24 +0000 (09:47 -0400)]
Fix #26 by explaining it is local only content
Randall Leeds [Tue, 13 Mar 2018 04:10:49 +0000 (21:10 -0700)]
Fix fragment grammar license text
Close #13
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.
Randall Leeds [Mon, 12 Mar 2018 04:47:33 +0000 (21:47 -0700)]
Include all tests in webpack test bundle
Randall Leeds [Mon, 12 Mar 2018 04:46:39 +0000 (21:46 -0700)]
Extract cartesian test into test file
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.
Randall Leeds [Mon, 12 Mar 2018 04:31:06 +0000 (21:31 -0700)]
Upgrade @babel/runtime dependencies
Randall Leeds [Sat, 10 Mar 2018 23:33:49 +0000 (15:33 -0800)]
Chase the ecosystem
Randall Leeds [Sat, 10 Mar 2018 23:25:06 +0000 (15:25 -0800)]
Upgrade dependencies
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.
Randall Leeds [Fri, 19 Jan 2018 03:51:02 +0000 (19:51 -0800)]
Upgrade dependencies
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.
Randall Leeds [Wed, 10 Jan 2018 09:34:12 +0000 (01:34 -0800)]
Clean up .babelrc.js with constants
Randall Leeds [Wed, 10 Jan 2018 06:11:40 +0000 (22:11 -0800)]
Upgrade dependencies
Randall Leeds [Wed, 10 Jan 2018 06:04:24 +0000 (22:04 -0800)]
Upgrade to webpack@next
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.
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
Randall Leeds [Wed, 10 Jan 2018 07:49:13 +0000 (23:49 -0800)]
Accept all module reloads in demo
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.
Randall Leeds [Sat, 6 Jan 2018 21:17:37 +0000 (13:17 -0800)]
Upgrade dependencies
Randall Leeds [Sat, 2 Dec 2017 22:14:22 +0000 (14:14 -0800)]
Add @babel/polyfill to the test runner
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.
Randall Leeds [Sat, 2 Dec 2017 22:11:05 +0000 (14:11 -0800)]
Upgrade dependencies
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.
Randall Leeds [Sat, 25 Nov 2017 07:32:42 +0000 (02:32 -0500)]
Change up how BABEL_ENV and NODE_ENV are used
Randall Leeds [Fri, 24 Nov 2017 21:06:19 +0000 (16:06 -0500)]
Fix some demo styles
Randall Leeds [Fri, 24 Nov 2017 21:02:38 +0000 (16:02 -0500)]
Merge pull request #17 from apache/demo-tweaks
Demo tweaks
Randall Leeds [Fri, 24 Nov 2017 21:00:15 +0000 (16:00 -0500)]
Add missing license headers
Randall Leeds [Thu, 23 Nov 2017 22:10:32 +0000 (17:10 -0500)]
Move some package config out of package.json
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.
Randall Leeds [Thu, 23 Nov 2017 22:04:38 +0000 (17:04 -0500)]
Upgrade @std/esm to 0.17
Randall Leeds [Sun, 19 Nov 2017 23:37:20 +0000 (15:37 -0800)]
Update README
Randall Leeds [Sun, 19 Nov 2017 23:43:31 +0000 (15:43 -0800)]
Add stub test suite for selector
Randall Leeds [Sun, 19 Nov 2017 23:33:51 +0000 (15:33 -0800)]
Add browser test suite
Randall Leeds [Sun, 19 Nov 2017 01:05:29 +0000 (17:05 -0800)]
Set up coverage
Randall Leeds [Sat, 18 Nov 2017 09:46:38 +0000 (01:46 -0800)]
Set up testing
Randall Leeds [Sat, 18 Nov 2017 09:40:44 +0000 (01:40 -0800)]
Set module outputs based on BABEL_ENV
Randall Leeds [Sat, 18 Nov 2017 09:05:39 +0000 (01:05 -0800)]
Bump eslint ecmaVersion
Randall Leeds [Sat, 18 Nov 2017 08:39:34 +0000 (00:39 -0800)]
Updates for new @std/esm version
Randall Leeds [Sat, 18 Nov 2017 08:39:14 +0000 (00:39 -0800)]
Bump dependencies
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.
Randall Leeds [Sat, 18 Nov 2017 08:39:59 +0000 (00:39 -0800)]
Fix selector package.json indentation
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!
Benjamin Young [Wed, 1 Nov 2017 18:46:11 +0000 (14:46 -0400)]
Link to Selectors section specifically
Benjamin Young [Wed, 1 Nov 2017 18:44:26 +0000 (14:44 -0400)]
Style #selector() links wiith 📌 prefix
Benjamin Young [Wed, 1 Nov 2017 18:24:33 +0000 (14:24 -0400)]
Make all external links open in new tab
Benjamin Young [Wed, 1 Nov 2017 17:29:49 +0000 (13:29 -0400)]
Fix encoding of complex highlighting example
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.
Randall Leeds [Sun, 12 Nov 2017 23:54:06 +0000 (15:54 -0800)]
Clean up package.json files
Randall Leeds [Sun, 12 Nov 2017 23:48:29 +0000 (15:48 -0800)]
Move DOM concerns from text into dom/text
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.
Randall Leeds [Sun, 12 Nov 2017 22:47:57 +0000 (14:47 -0800)]
Add comments to @babel/preset-env configuration
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.
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.
Randall Leeds [Sun, 12 Nov 2017 19:50:35 +0000 (11:50 -0800)]
Upgrade dependencies
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.
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
Gerben [Sat, 28 Oct 2017 00:18:16 +0000 (01:18 +0100)]
fix trailing comma..
Gerben [Fri, 27 Oct 2017 23:44:56 +0000 (00:44 +0100)]
Move dependency into sub-package.
Gerben [Thu, 26 Oct 2017 17:07:13 +0000 (18:07 +0100)]
Add examples: multi-match, deep nesting.
Gerben [Wed, 25 Oct 2017 14:16:06 +0000 (15:16 +0100)]
Add package.json to any, range & refinedBy.
Gerben [Tue, 24 Oct 2017 01:04:39 +0000 (18:04 -0700)]
Remove search query.
Gerben [Tue, 24 Oct 2017 00:59:47 +0000 (17:59 -0700)]
Elaborate demo page.
Gerben [Mon, 23 Oct 2017 23:38:04 +0000 (16:38 -0700)]
Use prefix&suffix when searching.
Gerben [Mon, 23 Oct 2017 23:32:43 +0000 (16:32 -0700)]
Optimise for minimal prefix+suffix.
Gerben [Mon, 23 Oct 2017 21:03:42 +0000 (14:03 -0700)]
Add prefix or suffix if needed.
Gerben [Mon, 23 Oct 2017 17:50:46 +0000 (10:50 -0700)]
First steps to creating descriptors.
Gerben [Mon, 23 Oct 2017 17:01:36 +0000 (10:01 -0700)]
Small refactor of cartesian.
Gerben [Mon, 23 Oct 2017 08:09:21 +0000 (01:09 -0700)]
Make cartesian faster.
Listen to all iterables in parallel, so that any combinations are
yielded as soon as they could be available.
Gerben [Mon, 23 Oct 2017 05:49:34 +0000 (22:49 -0700)]
Rename selectSelector function.
Gerben [Mon, 23 Oct 2017 05:37:17 +0000 (22:37 -0700)]
Support refinedBy.
Gerben [Mon, 23 Oct 2017 05:35:09 +0000 (22:35 -0700)]
Fix match.descriptor in packages/text
Gerben [Mon, 23 Oct 2017 03:49:04 +0000 (20:49 -0700)]
Tiny refactor.