anki/ts
Damien Elmes 377ba1471e support es6 imports in Jest tests
Switching to lodash-es caused Jest to fail. The standard Jest workflow
would be to transpile things with Bazel, but we can do it faster by
bundling with esbuild.

the log in lib.test.ts has revealed numbers are being set as Long instead
of JS numbers, and the published workaround for it is not working :-(
2021-04-17 16:38:45 +10:00
..
congrats move esbuild into separate repo 2021-04-15 10:53:49 +10:00
deckconfig support es6 imports in Jest tests 2021-04-17 16:38:45 +10:00
editor Make fields square again 2021-04-15 16:44:07 +02:00
editor-toolbar Merge pull request #1134 from hgiesel/formatblock 2021-04-17 09:40:52 +10:00
graphs switch to full lodash library 2021-04-16 20:14:17 +10:00
html-filter add macro for invoking Jest 2021-04-16 23:46:31 +10:00
lib support es6 imports in Jest tests 2021-04-17 16:38:45 +10:00
sass Satisfy svelte_check 2021-04-16 19:00:36 +02:00
svelte support passing @types/... into svelte-check 2021-04-16 23:18:33 +10:00
sveltelib Merge pull request #1131 from glutanimate/fix-asyncreactivedata-typo 2021-04-16 11:58:58 +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 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 define file extension in .d.ts so typescript doesn't complain 2021-03-28 16:15:28 +02:00
compile_sass.bzl support external building of sass; node_modules->ts/bootstrap 2021-04-15 15:59:17 +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 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 es6 imports in Jest tests 2021-04-17 16:38:45 +10:00
jest.config.js fix jest 2021-04-12 09:43:31 +10:00
licenses.json switch to full lodash library 2021-04-16 20:14:17 +10:00
package.json switch to full lodash library 2021-04-16 20:14:17 +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 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 add missing copyright headers to *.ts 2021-04-13 18:57:08 +10:00
tsconfig.json add Jest for TS unit tests 2021-03-28 19:41:20 +10: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 Make mdi also use renamed pkg_from_name 2021-04-15 13:09:50 +02:00
yarn.lock switch to full lodash library 2021-04-16 20:14:17 +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