anki/ts
Damien Elmes 046c6c55d3 use extra rootDir in tsconfig instead of symlinks
The nice thing about the symlink approach is that it allowed tsc -b
to function without any changes to the tsconfig.json file, but it meant
there were extra links we had to maintain. So instead, we just add an
extra rootDirs entry, and add two commented-out lines that can be
uncommented when wanting to build with tsc directly.
2021-10-01 18:36:52 +10:00
..
change-notetype use extra rootDir in tsconfig instead of symlinks 2021-10-01 18:36:52 +10:00
components use extra rootDir in tsconfig instead of symlinks 2021-10-01 18:36:52 +10:00
congrats use extra rootDir in tsconfig instead of symlinks 2021-10-01 18:36:52 +10:00
deck-options use extra rootDir in tsconfig instead of symlinks 2021-10-01 18:36:52 +10:00
editable use extra rootDir in tsconfig instead of symlinks 2021-10-01 18:36:52 +10:00
editor use extra rootDir in tsconfig instead of symlinks 2021-10-01 18:36:52 +10:00
graphs use extra rootDir in tsconfig instead of symlinks 2021-10-01 18:36:52 +10:00
html-filter use extra rootDir in tsconfig instead of symlinks 2021-10-01 18:36:52 +10:00
lib use extra rootDir in tsconfig instead of symlinks 2021-10-01 18:36:52 +10:00
patches update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
reviewer use extra rootDir in tsconfig instead of symlinks 2021-10-01 18:36:52 +10:00
sass yarn upgrade --latest 2021-10-01 12:52:53 +10:00
svelte update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
sveltelib use extra rootDir in tsconfig instead of symlinks 2021-10-01 18:36:52 +10:00
.eslintrc.js update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
.gitignore Update eslint to 4.22.0 2021-04-22 19:19:39 +02:00
.prettierignore update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
.prettierrc initial Bazel conversion 2020-11-01 14:26:58 +10:00
BUILD.bazel update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +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 update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
eslint.bzl use extra rootDir in tsconfig instead of symlinks 2021-10-01 18:36:52 +10:00
format.sh make 'bazel run ts:format' work 2020-11-12 20:49:00 +10:00
jest.bzl update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
jest.config.js update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
licenses.json yarn upgrade --latest 2021-10-01 12:52:53 +10:00
package.json yarn upgrade --latest 2021-10-01 12:52:53 +10:00
prettier.bzl use extra rootDir in tsconfig instead of symlinks 2021-10-01 18:36:52 +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
sql_format.bzl update to latest rules_nodejs & switch to ts_project 2021-10-01 12:52:53 +10:00
sql_format.ts fix case of fields table 2021-09-07 10:22:22 +10:00
tsconfig.json use extra rootDir in tsconfig instead of symlinks 2021-10-01 18:36:52 +10:00
typescript.bzl use extra rootDir in tsconfig instead of symlinks 2021-10-01 18:36:52 +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 add workaround for protobufjs requiring uppercase package names 2021-07-10 15:24:01 +10:00
yarn.lock yarn upgrade --latest 2021-10-01 12:52:53 +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