Anki/ts
Damien Elmes 7d8f19e6e4 merge in Henrik's TS/Svelte refactor with some changes
- The previous commits moved the majority of the remaining global css
into components; move the remaining @emotion/css references into
ticks.scss and the styling of the Graph.svelte. This is not as elegant
as the emotion solution, but builds a whole lot faster, and most of
our styling can be scoped to a component anyway.
- Leave the .html files in ts/ for now. AnkiMobile uses them, and
AnkiDroid likely will in the future too. In the long run we'll likely
move to loading the JS into an existing page instead of loading a
separate page, but at that point we can just exclude the .html file from
copy_files_into_group() without affecting other clients.

Closes #1074
2021-03-21 23:01:18 +10:00
..
congrats merge in Henrik's TS/Svelte refactor with some changes 2021-03-21 23:01:18 +10:00
editor switch from rollup to esbuild 2021-03-21 16:06:36 +10:00
esbuild add support for declaring css output in esbuild call 2021-03-21 16:06:36 +10:00
graphs merge in Henrik's TS/Svelte refactor with some changes 2021-03-21 23:01:18 +10:00
lib move to new rules_nodejs protobuf example to unblock upgrade 2021-03-20 10:24:32 +10:00
sass merge in Henrik's TS/Svelte refactor with some changes 2021-03-21 23:01:18 +10:00
svelte bundle all Svelte css into separate file 2021-03-21 16:06:36 +10:00
.eslintrc.js initial Bazel conversion 2020-11-01 14:26:58 +10:00
.gitignore Add Mathjax filegroup 2020-11-14 14:14:25 +01:00
.prettierignore make 'bazel run ts:format' work 2020-11-12 20:49:00 +10:00
.prettierrc initial Bazel conversion 2020-11-01 14:26:58 +10:00
BUILD.bazel switch from rollup to esbuild 2021-03-21 16:06:36 +10:00
copy.bzl Move copy_page to ts/copy.bzl and rename to copy_files_into_group 2021-02-02 18:20:11 +01:00
esbuild.bzl bundle all Svelte css into separate file 2021-03-21 16:06:36 +10:00
eslint.bzl initial Bazel conversion 2020-11-01 14:26:58 +10:00
format.sh make 'bazel run ts:format' work 2020-11-12 20:49:00 +10:00
licenses.json Remove explicit popperjs again, because it's included in bootstrap.bundle 2021-03-09 13:37:56 +01:00
package.json switch from rollup to esbuild 2021-03-21 16:06:36 +10:00
prettier.bzl make 'bazel run ts:format' work 2020-11-12 20:49:00 +10:00
protobuf-shim.js switch from rollup to esbuild 2021-03-21 16:06:36 +10:00
protobuf.bzl clarify comment 2021-03-20 16:25:50 +10:00
README.md add add.sh helper for adding dependency and updating licenses 2020-12-31 12:20:51 +10:00
sql_format.bzl move exports_files call into ts/BUILD.bazel 2021-01-09 18:03:26 +10:00
sql_format.ts add .sql file formatter 2021-01-09 14:22:49 +10:00
tsconfig.json Add PreferenceStore with gettable/settable preferences 2021-01-22 13:14:33 +01:00
update-licenses.sh add add.sh helper for adding dependency and updating licenses 2020-12-31 12:20:51 +10:00
update.sh add add.sh helper for adding dependency and updating licenses 2020-12-31 12:20:51 +10:00
vendor.bzl Remove explicit popperjs again, because it's included in bootstrap.bundle 2021-03-09 13:37:56 +01:00
yarn.lock switch from rollup to esbuild 2021-03-21 16:06:36 +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