anki/ts
Henrik Giesel 610ef8f043
Save and restore location on ContentEditable (#1481)
* Add utility functions for saving and restoring the caret location

* Implement cross-browser.getSelection

* Save and restore location on ContentEditable

* Fix refocus by clicking on a field that had a non-collapsed selection
2021-11-09 12:53:39 +10:00
..
card-info ensure revlog headers match alignment of columns 2021-11-02 16:32:09 +10:00
change-notetype Set "no-non-null-assertion: off" by default (#1475) 2021-11-04 11:42:51 +10:00
components Editor Field Descriptions (#1476) 2021-11-06 09:42:48 +10:00
congrats revert congrats h3 style change from #1470 2021-11-01 12:55:31 +10:00
deck-options Set "no-non-null-assertion: off" by default (#1475) 2021-11-04 11:42:51 +10:00
domlib Save and restore location on ContentEditable (#1481) 2021-11-09 12:53:39 +10:00
editable Save and restore location on ContentEditable (#1481) 2021-11-09 12:53:39 +10:00
editor Save and restore location on ContentEditable (#1481) 2021-11-09 12:53:39 +10:00
graphs add a missing references line in ts/graphs 2021-11-04 14:56:50 +10:00
html-filter Use trailingComma: all setting in .prettierrc (#1435) 2021-10-19 09:06:00 +10:00
lib Save and restore location on ContentEditable (#1481) 2021-11-09 12:53:39 +10:00
patches update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
reviewer Set "no-non-null-assertion: off" by default (#1475) 2021-11-04 11:42:51 +10:00
sql_format use absolute path for sql_format 2021-10-31 11:13:38 +10:00
svelte speed up Svelte compile 2021-11-04 15:18:28 +10:00
sveltelib Set "no-non-null-assertion: off" by default (#1475) 2021-11-04 11:42:51 +10:00
.eslintrc.js Set "no-non-null-assertion: off" by default (#1475) 2021-11-04 11:42:51 +10:00
.gitignore Update eslint to 4.22.0 2021-04-22 19:19:39 +02:00
BUILD.bazel add aliases to run vendored python and node from command line 2021-10-18 19:50:41 +10:00
compile_sass.bzl Put sass into repo directory (#1409) 2021-10-09 10:25:03 +10:00
copy.bzl include sourcemaps for pages/* in dev builds 2021-04-20 17:33:46 +10:00
esbuild.bzl update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
eslint.bzl use absolute package paths in eslint.bzl 2021-11-02 13:49:19 +10:00
format.sh //ts:format now runs on current working directory, instead of entire repo 2021-10-23 15:48:33 +10:00
jest.bzl update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
jest.config.js update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
licenses.json update js deps 2021-10-26 08:30:13 +10:00
prettier.bzl include subfolders in eslint/prettier checks 2021-11-02 12:50:27 +10:00
proto.bzl update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
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 add add.sh helper for adding dependency and updating licenses 2020-12-31 12:20:51 +10:00
tsconfig.json Save and restore location on ContentEditable (#1481) 2021-11-09 12:53:39 +10:00
typescript.bzl Refactor i18n (#1405) 2021-10-07 23:31:49 +10:00
update-licenses.sh move node_modules into root folder [action required] 2021-10-07 11:42:27 +10:00
update.sh add add.sh helper for adding dependency and updating licenses 2020-12-31 12:20:51 +10:00
vendor.bzl add workaround for protobufjs requiring uppercase package names 2021-07-10 15:24:01 +10: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