mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
![]() Uses the logic from the sqltools VSCode add-on, with a workaround for the use of 'type' in some table columns. By detecting the presence of 'BUILD_WORKSPACE_DIRECTORY' we can tell if the rule is running in test mode or was run directly, avoiding the need for separate check and fix rules. It might be nice to extend this to other formatting rules in the future as well. |
||
---|---|---|
.. | ||
congrats | ||
graphs | ||
lib | ||
patches | ||
sass | ||
.eslintrc.js | ||
.gitignore | ||
.prettierignore | ||
.prettierrc | ||
add.sh | ||
BUILD.bazel | ||
copy.bzl | ||
eslint.bzl | ||
format.sh | ||
licenses.json | ||
package.json | ||
prettier.bzl | ||
README.md | ||
rollup.config.js | ||
sql_format.bzl | ||
sql_format.ts | ||
svelte.bzl | ||
tsconfig.json | ||
update-licenses.sh | ||
update.sh | ||
vendor.bzl | ||
yarn.lock |
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