@internetarchive/bookreader 5.0.0-36 → 5.0.0-37
Sign up to get free protection for your applications and to get access to all the features.
- package/.github/workflows/node.js.yml +3 -3
- package/.github/workflows/npm-publish.yml +2 -16
- package/BookReader/BookReader.js +1 -1
- package/BookReader/BookReader.js.LICENSE.txt +8 -29
- package/BookReader/BookReader.js.map +1 -1
- package/BookReader/ia-bookreader-bundle.js +101 -100
- package/BookReader/ia-bookreader-bundle.js.LICENSE.txt +15 -12
- package/BookReader/ia-bookreader-bundle.js.map +1 -1
- package/BookReader/plugins/plugin.chapters.js +1 -1
- package/BookReader/plugins/plugin.chapters.js.map +1 -1
- package/BookReader/plugins/plugin.search.js +1 -1
- package/BookReader/plugins/plugin.search.js.map +1 -1
- package/BookReader/plugins/plugin.text_selection.js +1 -1
- package/BookReader/plugins/plugin.text_selection.js.map +1 -1
- package/BookReader/plugins/plugin.tts.js +1 -1
- package/BookReader/plugins/plugin.tts.js.map +1 -1
- package/CHANGELOG.md +9 -0
- package/README.md +1 -1
- package/package.json +7 -10
- package/src/BookNavigator/assets/bookmark-colors.js +1 -1
- package/src/BookNavigator/assets/button-base.js +1 -1
- package/src/BookNavigator/assets/ia-logo.js +1 -1
- package/src/BookNavigator/assets/icon_checkmark.js +1 -1
- package/src/BookNavigator/assets/icon_close.js +1 -1
- package/src/BookNavigator/assets/icon_sort_asc.js +1 -1
- package/src/BookNavigator/assets/icon_sort_desc.js +1 -1
- package/src/BookNavigator/assets/icon_sort_neutral.js +1 -1
- package/src/BookNavigator/assets/icon_volumes.js +1 -1
- package/src/BookNavigator/book-navigator.js +1 -2
- package/src/BookNavigator/bookmarks/bookmark-button.js +1 -1
- package/src/BookNavigator/bookmarks/bookmark-edit.js +2 -3
- package/src/BookNavigator/bookmarks/bookmarks-list.js +2 -3
- package/src/BookNavigator/bookmarks/bookmarks-loginCTA.js +1 -1
- package/src/BookNavigator/bookmarks/bookmarks-provider.js +1 -1
- package/src/BookNavigator/bookmarks/ia-bookmarks.js +4 -7
- package/src/BookNavigator/delete-modal-actions.js +1 -1
- package/src/BookNavigator/downloads/downloads-provider.js +1 -1
- package/src/BookNavigator/downloads/downloads.js +1 -2
- package/src/BookNavigator/search/a-search-result.js +2 -3
- package/src/BookNavigator/search/search-provider.js +1 -2
- package/src/BookNavigator/search/search-results.js +1 -2
- package/src/BookNavigator/sharing.js +1 -1
- package/src/BookNavigator/visual-adjustments/visual-adjustments-provider.js +1 -1
- package/src/BookNavigator/visual-adjustments/visual-adjustments.js +3 -3
- package/src/BookNavigator/volumes/volumes-provider.js +1 -1
- package/src/BookNavigator/volumes/volumes.js +2 -3
- package/src/BookReader/Mode1Up.js +2 -1
- package/src/BookReader/Mode1UpLit.js +3 -2
- package/src/BookReader.js +4 -2
- package/src/ia-bookreader/ia-bookreader.js +1 -1
- package/src/plugins/plugin.chapters.js +11 -15
- package/src/plugins/plugin.text_selection.js +9 -10
- package/src/plugins/search/plugin.search.js +3 -3
- package/src/plugins/tts/FestivalTTSEngine.js +10 -11
- package/src/plugins/tts/PageChunk.js +11 -20
- package/src/plugins/tts/WebTTSEngine.js +22 -26
- package/tests/jest/BookReader/Mode1UpLit.test.js +2 -1
- package/tests/jest/plugins/plugin.text_selection.test.js +25 -23
- package/tests/jest/plugins/search/plugin.search.test.js +12 -20
- package/tests/jest/plugins/tts/AbstractTTSEngine.test.js +3 -3
- package/tests/karma/BookNavigator/bookmarks/bookmarks-list.test.js +2 -2
- package/tests/karma/BookNavigator/downloads/downloads.test.js +1 -1
- package/tests/karma/BookNavigator/volumes/volumes-provider.test.js +3 -3
- package/webpack.config.js +1 -1
- package/BookReaderDemo/bookreader-template-bundle.js +0 -7178
@@ -17,16 +17,16 @@ jobs:
|
|
17
17
|
- uses: actions/checkout@v2
|
18
18
|
- uses: actions/setup-node@v1
|
19
19
|
with:
|
20
|
-
node-version:
|
20
|
+
node-version: 16.x
|
21
21
|
- uses: actions/cache@v2
|
22
22
|
with:
|
23
23
|
# Caching node_modules isn't recommended because it can break across
|
24
24
|
# Node versions and won't work with npm ci (See https://github.com/actions/cache/blob/main/examples.md#node---npm )
|
25
|
-
# But we pin the node version, and we don't update it that often anyways. And
|
25
|
+
# But we pin the node version, and we don't update it that often anyways. And
|
26
26
|
# we don't use `npm ci` specifically to try to get faster CI flows. So caching
|
27
27
|
# `node_modules` directly.
|
28
28
|
path: 'node_modules'
|
29
|
-
key: ${{ runner.os }}-node-${{ hashFiles('package*.json') }}
|
29
|
+
key: ${{ runner.os }}-node-16-${{ hashFiles('package*.json') }}
|
30
30
|
- run: npm install
|
31
31
|
- run: npm run build
|
32
32
|
- run: npm run lint
|
@@ -14,7 +14,7 @@ jobs:
|
|
14
14
|
- uses: actions/checkout@v2
|
15
15
|
- uses: actions/setup-node@v2
|
16
16
|
with:
|
17
|
-
node-version:
|
17
|
+
node-version: 16
|
18
18
|
- run: npm ci
|
19
19
|
- run: npm test
|
20
20
|
|
@@ -25,23 +25,9 @@ jobs:
|
|
25
25
|
- uses: actions/checkout@v2
|
26
26
|
- uses: actions/setup-node@v2
|
27
27
|
with:
|
28
|
-
node-version:
|
28
|
+
node-version: 16
|
29
29
|
registry-url: https://registry.npmjs.org/
|
30
30
|
- run: npm ci
|
31
31
|
- run: npm publish --tag next
|
32
32
|
env:
|
33
33
|
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
34
|
-
|
35
|
-
publish-gpr:
|
36
|
-
needs: build
|
37
|
-
runs-on: ubuntu-latest
|
38
|
-
steps:
|
39
|
-
- uses: actions/checkout@v2
|
40
|
-
- uses: actions/setup-node@v2
|
41
|
-
with:
|
42
|
-
node-version: 14
|
43
|
-
registry-url: https://npm.pkg.github.com/
|
44
|
-
- run: npm ci
|
45
|
-
- run: npm publish --tag next
|
46
|
-
env:
|
47
|
-
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
|