Anki/ts
Damien Elmes f842ab7c9d switch convenience symlinks to .bazel/
Unfortunately 5efaf5a4be broke the Svelte
language tools - presumably having paths outside of the repo is confusing
them.

As a plan B, the symlinks have been shifted to a single subdir. Along
with some exclusions in the VS Code config, this should allow VS Code
to continue to work out of the box, but the docs will need updating
to reflect the extra work required for PyCharm/IntelliJ.

+ fix svelte-check execution on a system without node installed. It
still throws up some errors that are presumably caused by our multiple
rootDirs - not sure if there's an easy way to work around that.
2022-01-24 11:06:02 +10:00
..
card-info Add _raw methods for all methods in the backend (#1594) 2022-01-21 21:32:39 +10:00
change-notetype Add _raw methods for all methods in the backend (#1594) 2022-01-21 21:32:39 +10:00
components Remove individual .html files + other refactorings (#1588) 2022-01-16 15:05:35 +10:00
congrats Add _raw methods for all methods in the backend (#1594) 2022-01-21 21:32:39 +10:00
deck-options Add _raw methods for all methods in the backend (#1594) 2022-01-21 21:32:39 +10:00
domlib Fix IME input after tab (#1584) 2022-01-12 08:39:41 +10:00
editable Fix the caret flushing behavior when moving out of a Mathjax element (#1605) 2022-01-19 10:17:53 +10:00
editor Add _raw methods for all methods in the backend (#1594) 2022-01-21 21:32:39 +10:00
graphs Add _raw methods for all methods in the backend (#1594) 2022-01-21 21:32:39 +10:00
html-filter Block {,max-}{width,height} from being copied (#1529) 2021-12-06 18:41:08 +10:00
lib Add _raw methods for all methods in the backend (#1594) 2022-01-21 21:32:39 +10:00
patches update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
reviewer another attempt at enforcing script load order 2022-01-07 14:23:55 +10:00
sql_format run buildifier/buildozer to tidy up BUILD files 2021-12-14 09:18:24 +10:00
svelte another external workspace fix for sass 2021-11-12 15:02:17 +10:00
sveltelib Remove individual .html files + other refactorings (#1588) 2022-01-16 15:05:35 +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 Remove individual .html files + other refactorings (#1588) 2022-01-16 15:05:35 +10:00
compile_sass.bzl Remove individual .html files + other refactorings (#1588) 2022-01-16 15:05:35 +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 prettier: don't depend on system node being available 2021-11-25 07:14:15 +10:00
generate_page.bzl Remove individual .html files + other refactorings (#1588) 2022-01-16 15:05:35 +10:00
jest.bzl Reverse-engineer surrounding with execCommand (#1377) 2021-11-18 19:18:39 +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 2022-01-16 13:29:48 +10:00
page.html Remove individual .html files + other refactorings (#1588) 2022-01-16 15:05:35 +10:00
prettier.bzl prettier: don't depend on system node being available 2021-11-25 07:14:15 +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 switch convenience symlinks to .bazel/ 2022-01-24 11:06:02 +10:00
typescript.bzl Refactor i18n (#1405) 2021-10-07 23:31:49 +10:00
update-licenses.sh fix update-licenses.sh 2021-12-03 20:35:53 +10:00
update.sh add add.sh helper for adding dependency and updating licenses 2020-12-31 12:20:51 +10:00
vendor.bzl copy_bootstrap_css/icons were unused 2022-01-15 20:35:11 +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