Anki/ts
Damien Elmes 41c4be2f54 Introduce editable-container
Contains the shadow root, and references to the styles.
Is ignorant of Editable.
Is necessary, so our we editable.scss does not need to contain
information about Codable, ImageHandle or all those other things which
have nothing to do with Editable
2021-09-06 21:15:36 +10:00
..
change-notetype Uniformly shorten SCSS imports/uses 2021-09-02 23:37:17 +02:00
components Uniformly shorten SCSS imports/uses 2021-09-02 23:37:17 +02:00
congrats Uniformly shorten SCSS imports/uses 2021-09-02 23:37:17 +02:00
deck-options Uniformly shorten SCSS imports/uses 2021-09-02 23:37:17 +02:00
editor Introduce editable-container 2021-09-06 21:15:36 +10:00
graphs Directly include CSS from bootstrap and codemirror packages 2021-09-02 23:37:16 +02:00
html-filter support jsdom tests 2021-06-19 09:43:09 +10:00
lib Disallow setting, deleting or defining properties on packages 2021-09-03 00:52:39 +02:00
patches add workaround for protobufjs requiring uppercase package names 2021-07-10 15:24:01 +10:00
reviewer fix mutateNextCardStates being exported into global namespace 2021-08-19 10:21:04 +10:00
sass Add ts/sass/anki, a symlink to ts/sass for add-ons 2021-09-03 00:18:17 +02:00
svelte Fix for svelte_check 2021-09-02 23:37:17 +02:00
sveltelib expose require() instead of the svelte global 2021-08-24 10:22:07 +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 initial Bazel conversion 2020-11-01 14:26:58 +10:00
BUILD.bazel add workaround for protobufjs requiring uppercase package names 2021-07-10 15:24:01 +10:00
compile_sass.bzl Directly include CSS from bootstrap and codemirror packages 2021-09-02 23:37:16 +02: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 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
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 make 'bazel run ts:format' work 2020-11-12 20:49:00 +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
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 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 add workaround for protobufjs requiring uppercase package names 2021-07-10 15:24:01 +10:00
yarn.lock Update Svelte to 3.42.2 2021-08-23 23:38:16 +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