mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 12:47:11 -05:00
Merging note: the typing changes were fixed in a separate PR.
* Put rootDirs into subprojects
- typings do not work for any ts or svelte files
- if we set the 'rootDirs' in ts/tsconfig.json to '../bazel-bin/ts' and then inherit
them from e.g. editor, the root will be changed to '../../bazel-bin/ts',
however editor needs look in '../../bazel-bin/ts/editor' instead.
* Rename i18n and i18n_helpers to i18n-generated and i18n
- This way, we can restrict the awkwardness of importing files outside
the ts directory within lib
* Fix missing typing of i18n and backend_proto by adding back symlinks
* Split up i18n-generated into i18n-{translate,modules}
* Change i18n from singleton to functions
* Revert "Put rootDirs into subprojects"
This partially reverts commit
|
||
|---|---|---|
| .. | ||
| change-notetype | ||
| components | ||
| congrats | ||
| deck-options | ||
| editable | ||
| editor | ||
| graphs | ||
| html-filter | ||
| lib | ||
| patches | ||
| reviewer | ||
| sass | ||
| svelte | ||
| sveltelib | ||
| .eslintrc.js | ||
| .gitignore | ||
| .prettierignore | ||
| .prettierrc | ||
| BUILD.bazel | ||
| compile_sass.bzl | ||
| copy.bzl | ||
| esbuild.bzl | ||
| eslint.bzl | ||
| format.sh | ||
| jest.bzl | ||
| jest.config.js | ||
| licenses.json | ||
| prettier.bzl | ||
| proto.bzl | ||
| protobuf-no-long.js | ||
| protobuf.bzl | ||
| README.md | ||
| sql_format.bzl | ||
| sql_format.ts | ||
| tsconfig.json | ||
| typescript.bzl | ||
| update-licenses.sh | ||
| update.sh | ||
| vendor.bzl | ||
| yarn.sh | ||
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