You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ge...@apache.org on 2020/06/18 15:43:26 UTC

[incubator-annotator] branch master updated (43f8198 -> 353d041)

This is an automated email from the ASF dual-hosted git repository.

gerben pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git.


    from 43f8198  Link in demo to its source code.
     add aaab3fd  Configure for typescript
     add 790266b  Convert code to typscript
     add d5dac85  Split text-quote into two files
     add f1877bd  Add missing licence notices
     add 791b9f6  Convert tests to typescript
     add 5ed37ef  tweak type: Generator→Iterable
     add 3bc01cb  Improve tsconfig, add separate one for tests
     add 1693ffe  Use strict typecheck mode & fix issues
     add 4eb4e90  Fix handling ownerDocument, fix Range type test
     add 68e3519  remove forgotten register-assert
     new 353d041  Merge branch 'typescript'

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .mocharc.js                                        |   2 +-
 @types/cartesian/index.d.ts                        |   3 +
 @types/dom-node-iterator/index.d.ts                |   4 +
 @types/dom-seek/index.d.ts                         |   3 +
 babel-register.js                                  |   3 +
 babel.config.js                                    |   7 +-
 nyc.config.js                                      |   4 +-
 package.json                                       |  13 +-
 packages/dom/src/{cartesian.js => cartesian.ts}    |  35 +--
 packages/dom/src/{css.js => css.ts}                |   6 +-
 .../src/{highlight-range.js => highlight-range.ts} |  53 +++--
 packages/dom/src/{index.js => index.ts}            |   2 +-
 packages/dom/src/{range.js => range.ts}            |  26 ++-
 packages/dom/src/{scope.js => scope.ts}            |  25 +--
 packages/dom/src/text-quote.js                     | 235 ---------------------
 packages/dom/src/text-quote/describe.ts            | 169 +++++++++++++++
 .../dom/{test/index.js => src/text-quote/index.ts} |   3 +-
 packages/dom/src/text-quote/match.ts               | 113 ++++++++++
 .mocharc.js => packages/dom/src/types.ts           |   8 +-
 packages/dom/test/{cartesian.js => cartesian.ts}   |   5 +-
 packages/selector/src/{index.js => index.ts}       |  30 ++-
 packages/selector/src/{index.js => types.ts}       |  34 +--
 test/{data-model.js => data-model.ts}              |  15 +-
 tsconfig.json                                      |  19 ++
 tsconfig.tests.json                                |  15 ++
 web/demo/index.js                                  |  18 +-
 web/webpack.config.js                              |  10 +-
 yarn.lock                                          |  65 +++++-
 28 files changed, 575 insertions(+), 350 deletions(-)
 create mode 100644 @types/cartesian/index.d.ts
 create mode 100644 @types/dom-node-iterator/index.d.ts
 create mode 100644 @types/dom-seek/index.d.ts
 create mode 100644 babel-register.js
 rename packages/dom/src/{cartesian.js => cartesian.ts} (70%)
 rename packages/dom/src/{css.js => css.ts} (80%)
 rename packages/dom/src/{highlight-range.js => highlight-range.ts} (77%)
 rename packages/dom/src/{index.js => index.ts} (96%)
 rename packages/dom/src/{range.js => range.ts} (63%)
 rename packages/dom/src/{scope.js => scope.ts} (67%)
 delete mode 100644 packages/dom/src/text-quote.js
 create mode 100644 packages/dom/src/text-quote/describe.ts
 copy packages/dom/{test/index.js => src/text-quote/index.ts} (93%)
 create mode 100644 packages/dom/src/text-quote/match.ts
 copy .mocharc.js => packages/dom/src/types.ts (85%)
 rename packages/dom/test/{cartesian.js => cartesian.ts} (93%)
 copy packages/selector/src/{index.js => index.ts} (50%)
 rename packages/selector/src/{index.js => types.ts} (61%)
 rename test/{data-model.js => data-model.ts} (86%)
 create mode 100644 tsconfig.json
 create mode 100644 tsconfig.tests.json


[incubator-annotator] 01/01: Merge branch 'typescript'

Posted by ge...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

gerben pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git

commit 353d041e9fe3598123c4dfbacef6a789419367c9
Merge: 43f8198 68e3519
Author: Gerben <ge...@treora.com>
AuthorDate: Thu Jun 18 16:13:24 2020 +0200

    Merge branch 'typescript'

 .mocharc.js                                        |   2 +-
 @types/cartesian/index.d.ts                        |   3 +
 @types/dom-node-iterator/index.d.ts                |   4 +
 @types/dom-seek/index.d.ts                         |   3 +
 babel-register.js                                  |   3 +
 babel.config.js                                    |   7 +-
 nyc.config.js                                      |   4 +-
 package.json                                       |  13 +-
 packages/dom/src/{cartesian.js => cartesian.ts}    |  35 +--
 packages/dom/src/{css.js => css.ts}                |   6 +-
 .../src/{highlight-range.js => highlight-range.ts} |  53 +++--
 packages/dom/src/{index.js => index.ts}            |   2 +-
 packages/dom/src/{range.js => range.ts}            |  26 ++-
 packages/dom/src/{scope.js => scope.ts}            |  25 +--
 packages/dom/src/text-quote.js                     | 235 ---------------------
 packages/dom/src/text-quote/describe.ts            | 169 +++++++++++++++
 packages/dom/src/{css.js => text-quote/index.ts}   |   7 +-
 packages/dom/src/text-quote/match.ts               | 113 ++++++++++
 .mocharc.js => packages/dom/src/types.ts           |   8 +-
 packages/dom/test/{cartesian.js => cartesian.ts}   |   5 +-
 packages/selector/src/{index.js => index.ts}       |  30 ++-
 packages/selector/src/{index.js => types.ts}       |  34 +--
 test/{data-model.js => data-model.ts}              |  15 +-
 tsconfig.json                                      |  19 ++
 tsconfig.tests.json                                |  15 ++
 web/demo/index.js                                  |  18 +-
 web/webpack.config.js                              |  10 +-
 yarn.lock                                          |  65 +++++-
 28 files changed, 575 insertions(+), 354 deletions(-)