0efa3f944f
* Canonify import of i18n module Should always be imported as `tr`, or `tr2` if there is a name collision (Svelte). * Add helper for garbage collecting ftl strings Also add a serializer for ftl asts. * Add helper for filter-mapping `DirEntry`s * Fix `i18n_helpers/BUILD.bazel` * run cargo-raze * Refactor `garbage_collection.rs` - Improve helper for file iterating - Remove unused terms as well - Fix issue with checking for nested messages by switching to a regex- based approach (which runs before deleting) - Some more refactorings and lint fixes * Fix lints in `serialize.rs` * Write json pretty and sorted * Update `serialize.rs` and fix header * Fix doc and remove `dbg!` * Add binaries for ftl garbage collection Also relax type constraints and strip debug tests. * add rust_binary targets for i18n helpers (dae) * add scripts to update desktop usage/garbage collect (dae) Since we've already diverged from 2.1.49, we won't gain anything from generating a stable json just yet. But once 2.1.50 is released, we should run 'ftl/update-desktop-usage.sh stable'. * add keys from AnkiMobile (dae) * Mention caveats in `remove-unused.sh` |
||
---|---|---|
.. | ||
card-info | ||
change-notetype | ||
components | ||
congrats | ||
deck-options | ||
domlib | ||
editable | ||
editor | ||
graphs | ||
html-filter | ||
lib | ||
patches | ||
reviewer | ||
sql_format | ||
svelte | ||
sveltelib | ||
.eslintrc.js | ||
.gitignore | ||
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 | ||
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