anki/ts
Mani 477f932f35
fix select all and change ordinal in edit mode in io (#3109)
* fix select all and change ordinal in edit mode in io

* make ordinal undefined for all shapes in group/ungroup

* fix group shapes and some ui fixes

* Don't add node_modules/* to dprint deps

* use minimum ordinal when shape merged, use max ordinal++ when ungrouped, in add mode no ordinal preset so NaN

* use state for ungroup shape

* maintain existing ordinal in editing mode

* fix order of ordinal in ungroup shape

* refactor: remove for loop, use forEach
2024-04-11 08:08:07 +01:00
..
editable Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
editor Revert "Revert "Preserve HTML formatting inside clozes (#3038)"" 2024-03-31 15:55:30 +07:00
html-filter Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
icons Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
image-occlusion Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
lib Fix some cloze handling regressions (#3086) 2024-03-31 10:01:17 +01:00
mathjax Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
reviewer Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
routes fix select all and change ordinal in edit mode in io (#3109) 2024-04-11 08:08:07 +01:00
src Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
tools Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
.gitignore Update eslint to 4.22.0 2021-04-22 19:19:39 +02:00
README.md add add.sh helper for adding dependency and updating licenses 2020-12-31 12:20:51 +10:00
bundle_svelte.mjs Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
bundle_ts.mjs Add env var to enable sourcemaps 2022-12-04 11:37:16 +10:00
licenses.json Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
page.html Load page script after body created (#1802) 2022-04-19 17:16:56 +10:00
svelte.config.js Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
transform_ts.mjs Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
tsconfig.json Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
tsconfig_legacy.json Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
vite.config.ts Switch to SvelteKit (#3077) 2024-03-31 09:16:31 +01:00
yarn.sh Fix yarn.sh failing with linked out folder 2023-03-31 13:08:59 +10:00

README.md

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