anki/ts
hikaru-y 207e4253f1 Use <template> element instead of Range.createContextualFragment()
https://forums.ankiweb.net/t/audio-in-back-template-is-played-on-front-template-on-desktop-2-1-46/12399

Unlike when using <template> element, if a DocumentFragment is created
using Range.createContextualFragment(), <audio>/<video> elements
with `aotoplay` will play immediately even before they are inserted into
the actual document, which will cause audio or video on the answer side
to be played on the question side.
2021-08-18 00:04:02 +09:00
..
change-notetype fix inability to map fields from larger to smaller notetype 2021-07-31 18:30:50 +10:00
components Use event object in createShortcut, fix F8 for highlight 2021-07-26 06:15:30 +02:00
congrats update congrats screen periodically; automatically move back to study 2021-08-02 16:05:18 +10:00
deck-options fix inverted 'skip question when replaying answer' option 2021-08-15 16:15:14 +10:00
editor Satisfy eslint 2021-08-03 06:12:04 +02:00
graphs split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10:00
html-filter support jsdom tests 2021-06-19 09:43:09 +10:00
lib split out remaining tags, stats, media and rendering 2021-07-10 23:16:18 +10:00
patches add workaround for protobufjs requiring uppercase package names 2021-07-10 15:24:01 +10:00
reviewer Use <template> element instead of Range.createContextualFragment() 2021-08-18 00:04:02 +09:00
sass More uniform file naming 2021-07-01 12:24:16 +02:00
svelte rename workspace 2021-07-10 23:58:53 +10:00
sveltelib update ts deps 2021-05-26 09:37:40 +10:00
.eslintrc.js remove nested terneries and enable lint 2021-04-23 13:00:18 +10:00
.gitignore Update eslint to 4.22.0 2021-04-22 19:19:39 +02:00
.prettierignore run prettier on some sass files 2021-04-14 18:22:33 +10:00
.prettierrc
BUILD.bazel add workaround for protobufjs requiring uppercase package names 2021-07-10 15:24:01 +10:00
compile_sass.bzl rename workspace 2021-07-10 23:58:53 +10:00
copy.bzl include sourcemaps for pages/* in dev builds 2021-04-20 17:33:46 +10:00
esbuild.bzl move esbuild into separate repo 2021-04-15 10:53:49 +10:00
eslint.bzl
format.sh
images.d.ts define file extension in .d.ts so typescript doesn't complain 2021-03-28 16:15:28 +02:00
jest.bzl support jsdom tests 2021-06-19 09:43:09 +10:00
jest.config.js fix jest 2021-04-12 09:43:31 +10:00
licenses.json Revert to MathJax through script tag 2021-07-16 16:56:57 +02:00
package.json Revert to MathJax through script tag 2021-07-16 16:56:57 +02:00
prettier.bzl
protobuf-no-long.js add a hack to avoid Long.js in Jest tests 2021-04-17 17:05:48 +10:00
protobuf.bzl force number in protobuf generation 2021-04-12 14:33:20 +10:00
README.md
sql_format.bzl move exports_files call into ts/BUILD.bazel 2021-01-09 18:03:26 +10:00
sql_format.ts Import createPatch in ts/sql_format directly 2021-04-22 18:43:35 +02:00
tsconfig.json Catch hook errors in two ways: 2021-07-19 01:23:41 +02:00
update-licenses.sh
update.sh
vendor.bzl add workaround for protobufjs requiring uppercase package names 2021-07-10 15:24:01 +10:00
yarn.lock Revert to MathJax through script tag 2021-07-16 16:56:57 +02:00
yarn.sh Replace individual d3 libraries with encompassing d3 2021-01-30 00:00:22 +01:00

Anki's TypeScript and Sass dependencies. Some TS/JS code is also stored separately in ../qt/aqt/data/web/.

To update all dependencies:

./update.sh

To add a new dev dependency, use something like:

./add.sh -D @rollup/plugin-alias