anki/ts
Damien Elmes f3b6deefe9 Combine all backend methods into a single js/d.ts file, like in Python
Easier to import from, and allows us to declare the output of the build
action without having to iterate over all the proto filenames. Have
confirmed it doesn't break esbuild's tree shaking.
2023-07-03 13:46:38 +10:00
..
card-info Combine all backend methods into a single js/d.ts file, like in Python 2023-07-03 13:46:38 +10:00
change-notetype Combine all backend methods into a single js/d.ts file, like in Python 2023-07-03 13:46:38 +10:00
components Update to Svelte 4, and update most other JS deps (#2565) 2023-07-01 16:21:53 +10:00
congrats Combine all backend methods into a single js/d.ts file, like in Python 2023-07-03 13:46:38 +10:00
deck-options Combine all backend methods into a single js/d.ts file, like in Python 2023-07-03 13:46:38 +10:00
domlib Fix overwrite surround (#2247) 2022-12-09 10:10:58 +10:00
editable Update to Svelte 4, and update most other JS deps (#2565) 2023-07-01 16:21:53 +10:00
editor Update to Svelte 4, and update most other JS deps (#2565) 2023-07-01 16:21:53 +10:00
fields Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
graphs Combine all backend methods into a single js/d.ts file, like in Python 2023-07-03 13:46:38 +10:00
html-filter Detect incorrect usage of triple slash in TypeScript (#2524) 2023-05-26 12:49:44 +10:00
icons Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
image-occlusion Combine all backend methods into a single js/d.ts file, like in Python 2023-07-03 13:46:38 +10:00
import-csv Combine all backend methods into a single js/d.ts file, like in Python 2023-07-03 13:46:38 +10:00
lib Combine all backend methods into a single js/d.ts file, like in Python 2023-07-03 13:46:38 +10:00
mathjax Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
reviewer Combine all backend methods into a single js/d.ts file, like in Python 2023-07-03 13:46:38 +10:00
sql_format Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
sveltelib Update to Svelte 4, and update most other JS deps (#2565) 2023-07-01 16:21:53 +10:00
tag-editor Combine all backend methods into a single js/d.ts file, like in Python 2023-07-03 13:46:38 +10:00
.gitignore Update eslint to 4.22.0 2021-04-22 19:19:39 +02:00
bundle_svelte.mjs Update to Svelte 4, and update most other JS deps (#2565) 2023-07-01 16:21:53 +10:00
bundle_ts.mjs Add env var to enable sourcemaps 2022-12-04 11:37:16 +10:00
esbuild_jest.mjs Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
jest.config.js Update to Svelte 4, and update most other JS deps (#2565) 2023-07-01 16:21:53 +10:00
licenses.json Update to Svelte 4, and update most other JS deps (#2565) 2023-07-01 16:21:53 +10:00
page.html Load page script after body created (#1802) 2022-04-19 17:16:56 +10:00
README.md add add.sh helper for adding dependency and updating licenses 2020-12-31 12:20:51 +10:00
transform_ts.mjs Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
tsconfig.json Migrate to protobuf-es (#2547) 2023-06-14 22:47:37 +10:00
yarn.sh Fix yarn.sh failing with linked out folder 2023-03-31 13:08:59 +10: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