From 24af5bada38139431293919c851d79d97a1bbbe5 Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Wed, 30 Jun 2021 19:55:56 +0200 Subject: [PATCH] More uniform file naming kebap-case for .ts, .scss, .html, and directories --- qt/aqt/changenotetype.py | 2 +- qt/aqt/data/web/css/deckbrowser.scss | 2 +- qt/aqt/data/web/css/overview.scss | 2 +- qt/aqt/data/web/css/reviewer-bottom.scss | 2 +- qt/aqt/data/web/pages/BUILD.bazel | 4 +-- qt/aqt/deckoptions.py | 2 +- .../BUILD.bazel | 16 +++++------ .../ChangeNotetypePage.svelte | 0 .../Mapper.svelte | 0 .../MapperRow.svelte | 0 .../NotetypeSelector.svelte | 0 .../SaveButton.svelte | 0 .../change-notetype-base.scss} | 0 .../change-notetype.html} | 6 ++--- .../index.ts | 2 +- .../lib.test.ts | 0 ts/{ChangeNotetype => change-notetype}/lib.ts | 0 ts/components/ButtonDropdown.svelte | 2 +- ts/components/ButtonGroup.svelte | 2 +- ts/components/ButtonGroupItem.svelte | 2 +- ts/components/ButtonToolbar.svelte | 2 +- ts/components/DropdownItem.svelte | 4 +-- ts/components/DropdownMenu.svelte | 2 +- ts/components/IconButton.svelte | 4 +-- ts/components/Item.svelte | 2 +- ts/components/LabelButton.svelte | 4 +-- ts/components/Section.svelte | 2 +- ts/components/SelectButton.svelte | 4 +-- ts/components/WithDropdown.svelte | 2 +- ts/components/WithLabel.svelte | 27 ------------------- .../{contextKeys.ts => context-keys.ts} | 0 ts/components/types.ts | 17 ------------ .../Addons.svelte | 0 .../AdvancedOptions.svelte | 0 .../AudioOptions.svelte | 0 ts/{deckoptions => deck-options}/BUILD.bazel | 16 +++++------ ts/{deckoptions => deck-options}/Badge.svelte | 2 +- .../BuryOptions.svelte | 0 .../CardStateCustomizer.svelte | 0 .../CheckBox.svelte | 0 .../CheckBoxRow.svelte | 0 ts/{deckoptions => deck-options}/Col.svelte | 0 .../ConfigSelector.svelte | 2 +- .../DailyLimits.svelte | 0 .../DeckOptionsPage.svelte | 0 .../DisplayOrder.svelte | 0 .../EnumSelector.svelte | 6 ++--- .../EnumSelectorRow.svelte | 0 .../HtmlAddon.svelte | 0 ts/{deckoptions => deck-options}/Label.svelte | 0 .../LapseOptions.svelte | 0 .../NewOptions.svelte | 0 .../RevertButton.svelte | 2 +- ts/{deckoptions => deck-options}/Row.svelte | 0 .../SaveButton.svelte | 0 .../SpinBox.svelte | 4 +-- .../SpinBoxFloat.svelte | 4 +-- .../SpinBoxFloatRow.svelte | 0 .../SpinBoxRow.svelte | 0 .../StepsInput.svelte | 4 +-- .../StepsInputRow.svelte | 0 .../Switch.svelte | 2 +- .../SwitchRow.svelte | 0 .../TextInputModal.svelte | 4 +-- .../TimerOptions.svelte | 0 .../TitledContainer.svelte | 0 .../TooltipLabel.svelte | 0 .../Warning.svelte | 0 .../WithTooltip.svelte | 0 ts/{deckoptions => deck-options}/col.ts | 0 .../deck-options-base.scss} | 0 .../deck-options.html} | 6 ++--- ts/{deckoptions => deck-options}/icons.ts | 0 ts/{deckoptions => deck-options}/index.ts | 2 +- ts/{deckoptions => deck-options}/lib.test.ts | 0 ts/{deckoptions => deck-options}/lib.ts | 0 .../steps.test.ts | 0 ts/{deckoptions => deck-options}/steps.ts | 0 ts/{deckoptions => deck-options}/strings.ts | 0 ts/editor/ClozeButton.svelte | 4 +-- ts/editor/FormatBlockButtons.svelte | 2 +- ts/editor/OnlyEditable.svelte | 4 +-- ts/editor/TemplateButtons.svelte | 4 +-- ts/editor/{changeTimer.ts => change-timer.ts} | 4 +-- ts/editor/{contextKeys.ts => context-keys.ts} | 0 ts/editor/{editingArea.ts => editing-area.ts} | 4 +-- ts/editor/{editorField.ts => editor-field.ts} | 4 +-- .../{focusHandlers.ts => focus-handlers.ts} | 4 +-- ts/editor/index.ts | 12 ++++----- .../{inputHandlers.ts => input-handlers.ts} | 4 +-- .../{labelContainer.ts => label-container.ts} | 0 ts/editor/{noteId.ts => note-id.ts} | 0 ts/editor/toolbar.ts | 4 +-- ts/sass/BUILD.bazel | 8 +++--- .../{_fusion_vars.scss => _fusion-vars.scss} | 0 ts/sass/bootstrap-dark.scss | 2 +- ...{button_mixins.scss => button-mixins.scss} | 0 ts/sass/buttons.scss | 12 ++++----- .../{card_counts.scss => card-counts.scss} | 0 ts/sass/{night_mode.scss => night-mode.scss} | 0 ts/sass/scrollbar.scss | 4 +-- 101 files changed, 100 insertions(+), 144 deletions(-) rename ts/{ChangeNotetype => change-notetype}/BUILD.bazel (93%) rename ts/{ChangeNotetype => change-notetype}/ChangeNotetypePage.svelte (100%) rename ts/{ChangeNotetype => change-notetype}/Mapper.svelte (100%) rename ts/{ChangeNotetype => change-notetype}/MapperRow.svelte (100%) rename ts/{ChangeNotetype => change-notetype}/NotetypeSelector.svelte (100%) rename ts/{ChangeNotetype => change-notetype}/SaveButton.svelte (100%) rename ts/{ChangeNotetype/ChangeNotetype-base.scss => change-notetype/change-notetype-base.scss} (100%) rename ts/{ChangeNotetype/ChangeNotetype.html => change-notetype/change-notetype.html} (79%) rename ts/{ChangeNotetype => change-notetype}/index.ts (95%) rename ts/{ChangeNotetype => change-notetype}/lib.test.ts (100%) rename ts/{ChangeNotetype => change-notetype}/lib.ts (100%) delete mode 100644 ts/components/WithLabel.svelte rename ts/components/{contextKeys.ts => context-keys.ts} (100%) delete mode 100644 ts/components/types.ts rename ts/{deckoptions => deck-options}/Addons.svelte (100%) rename ts/{deckoptions => deck-options}/AdvancedOptions.svelte (100%) rename ts/{deckoptions => deck-options}/AudioOptions.svelte (100%) rename ts/{deckoptions => deck-options}/BUILD.bazel (95%) rename ts/{deckoptions => deck-options}/Badge.svelte (94%) rename ts/{deckoptions => deck-options}/BuryOptions.svelte (100%) rename ts/{deckoptions => deck-options}/CardStateCustomizer.svelte (100%) rename ts/{deckoptions => deck-options}/CheckBox.svelte (100%) rename ts/{deckoptions => deck-options}/CheckBoxRow.svelte (100%) rename ts/{deckoptions => deck-options}/Col.svelte (100%) rename ts/{deckoptions => deck-options}/ConfigSelector.svelte (98%) rename ts/{deckoptions => deck-options}/DailyLimits.svelte (100%) rename ts/{deckoptions => deck-options}/DeckOptionsPage.svelte (100%) rename ts/{deckoptions => deck-options}/DisplayOrder.svelte (100%) rename ts/{deckoptions => deck-options}/EnumSelector.svelte (83%) rename ts/{deckoptions => deck-options}/EnumSelectorRow.svelte (100%) rename ts/{deckoptions => deck-options}/HtmlAddon.svelte (100%) rename ts/{deckoptions => deck-options}/Label.svelte (100%) rename ts/{deckoptions => deck-options}/LapseOptions.svelte (100%) rename ts/{deckoptions => deck-options}/NewOptions.svelte (100%) rename ts/{deckoptions => deck-options}/RevertButton.svelte (97%) rename ts/{deckoptions => deck-options}/Row.svelte (100%) rename ts/{deckoptions => deck-options}/SaveButton.svelte (100%) rename ts/{deckoptions => deck-options}/SpinBox.svelte (88%) rename ts/{deckoptions => deck-options}/SpinBoxFloat.svelte (88%) rename ts/{deckoptions => deck-options}/SpinBoxFloatRow.svelte (100%) rename ts/{deckoptions => deck-options}/SpinBoxRow.svelte (100%) rename ts/{deckoptions => deck-options}/StepsInput.svelte (87%) rename ts/{deckoptions => deck-options}/StepsInputRow.svelte (100%) rename ts/{deckoptions => deck-options}/Switch.svelte (95%) rename ts/{deckoptions => deck-options}/SwitchRow.svelte (100%) rename ts/{deckoptions => deck-options}/TextInputModal.svelte (96%) rename ts/{deckoptions => deck-options}/TimerOptions.svelte (100%) rename ts/{deckoptions => deck-options}/TitledContainer.svelte (100%) rename ts/{deckoptions => deck-options}/TooltipLabel.svelte (100%) rename ts/{deckoptions => deck-options}/Warning.svelte (100%) rename ts/{deckoptions => deck-options}/WithTooltip.svelte (100%) rename ts/{deckoptions => deck-options}/col.ts (100%) rename ts/{deckoptions/deckoptions-base.scss => deck-options/deck-options-base.scss} (100%) rename ts/{deckoptions/deckoptions.html => deck-options/deck-options.html} (75%) rename ts/{deckoptions => deck-options}/icons.ts (100%) rename ts/{deckoptions => deck-options}/index.ts (98%) rename ts/{deckoptions => deck-options}/lib.test.ts (100%) rename ts/{deckoptions => deck-options}/lib.ts (100%) rename ts/{deckoptions => deck-options}/steps.test.ts (100%) rename ts/{deckoptions => deck-options}/steps.ts (100%) rename ts/{deckoptions => deck-options}/strings.ts (100%) rename ts/editor/{changeTimer.ts => change-timer.ts} (92%) rename ts/editor/{contextKeys.ts => context-keys.ts} (100%) rename ts/editor/{editingArea.ts => editing-area.ts} (97%) rename ts/editor/{editorField.ts => editor-field.ts} (92%) rename ts/editor/{focusHandlers.ts => focus-handlers.ts} (88%) rename ts/editor/{inputHandlers.ts => input-handlers.ts} (96%) rename ts/editor/{labelContainer.ts => label-container.ts} (100%) rename ts/editor/{noteId.ts => note-id.ts} (100%) rename ts/sass/{_fusion_vars.scss => _fusion-vars.scss} (100%) rename ts/sass/{button_mixins.scss => button-mixins.scss} (100%) rename ts/sass/{card_counts.scss => card-counts.scss} (100%) rename ts/sass/{night_mode.scss => night-mode.scss} (100%) diff --git a/qt/aqt/changenotetype.py b/qt/aqt/changenotetype.py index 3928bed04..89be796fb 100644 --- a/qt/aqt/changenotetype.py +++ b/qt/aqt/changenotetype.py @@ -52,7 +52,7 @@ class ChangeNotetypeDialog(QDialog): self.web = AnkiWebView(title=self.TITLE) self.web.setVisible(False) - self.web.load_ts_page("ChangeNotetype") + self.web.load_ts_page("change-notetype") layout = QVBoxLayout() layout.setContentsMargins(0, 0, 0, 0) layout.addWidget(self.web) diff --git a/qt/aqt/data/web/css/deckbrowser.scss b/qt/aqt/data/web/css/deckbrowser.scss index 21d7d54b7..6a123a23c 100644 --- a/qt/aqt/data/web/css/deckbrowser.scss +++ b/qt/aqt/data/web/css/deckbrowser.scss @@ -1,7 +1,7 @@ /* Copyright: Ankitects Pty Ltd and contributors * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ -@use 'ts/sass/card_counts'; +@use 'ts/sass/card-counts'; a.deck { color: var(--text-fg); diff --git a/qt/aqt/data/web/css/overview.scss b/qt/aqt/data/web/css/overview.scss index 7b9c4587e..7973aff99 100644 --- a/qt/aqt/data/web/css/overview.scss +++ b/qt/aqt/data/web/css/overview.scss @@ -1,7 +1,7 @@ /* Copyright: Ankitects Pty Ltd and contributors * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ -@use 'ts/sass/card_counts'; +@use 'ts/sass/card-counts'; .smallLink { font-size: 10px; diff --git a/qt/aqt/data/web/css/reviewer-bottom.scss b/qt/aqt/data/web/css/reviewer-bottom.scss index 3d2267b16..67ca6d3b2 100644 --- a/qt/aqt/data/web/css/reviewer-bottom.scss +++ b/qt/aqt/data/web/css/reviewer-bottom.scss @@ -1,7 +1,7 @@ /* Copyright: Ankitects Pty Ltd and contributors * License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html */ -@use 'ts/sass/card_counts'; +@use 'ts/sass/card-counts'; body { margin: 0; diff --git a/qt/aqt/data/web/pages/BUILD.bazel b/qt/aqt/data/web/pages/BUILD.bazel index 8b24cbe54..b3aecd12f 100644 --- a/qt/aqt/data/web/pages/BUILD.bazel +++ b/qt/aqt/data/web/pages/BUILD.bazel @@ -3,8 +3,8 @@ load("//ts:copy.bzl", "copy_files_into_group") _pages = [ "graphs", "congrats", - "deckoptions", - "ChangeNotetype", + "deck-options", + "change-notetype", ] [copy_files_into_group( diff --git a/qt/aqt/deckoptions.py b/qt/aqt/deckoptions.py index 3e87cfcda..9027bc8fb 100644 --- a/qt/aqt/deckoptions.py +++ b/qt/aqt/deckoptions.py @@ -46,7 +46,7 @@ class DeckOptionsDialog(QDialog): self.web = AnkiWebView(title=self.TITLE) self.web.setVisible(False) - self.web.load_ts_page("deckoptions") + self.web.load_ts_page("deck-options") layout = QVBoxLayout() layout.setContentsMargins(0, 0, 0, 0) layout.addWidget(self.web) diff --git a/ts/ChangeNotetype/BUILD.bazel b/ts/change-notetype/BUILD.bazel similarity index 93% rename from ts/ChangeNotetype/BUILD.bazel rename to ts/change-notetype/BUILD.bazel index be24c1eac..697ae9685 100644 --- a/ts/ChangeNotetype/BUILD.bazel +++ b/ts/change-notetype/BUILD.bazel @@ -7,7 +7,7 @@ load("//ts:compile_sass.bzl", "compile_sass") load("//ts:jest.bzl", "jest_test") compile_sass( - srcs = ["ChangeNotetype-base.scss"], + srcs = ["change-notetype-base.scss"], group = "base_css", visibility = ["//visibility:public"], deps = [ @@ -48,7 +48,7 @@ ts_library( srcs = [ "lib.ts", ], - module_name = "ChangeNotetype", + module_name = "change-notetype", deps = [ "//ts/components", "//ts/lib", @@ -60,7 +60,7 @@ ts_library( ) esbuild( - name = "ChangeNotetype", + name = "change-notetype", srcs = [ "//ts:protobuf-shim.js", ], @@ -75,22 +75,22 @@ esbuild( external = [ "protobufjs/light", ], - output_css = "ChangeNotetype.css", + output_css = "change-notetype.css", visibility = ["//visibility:public"], deps = [ "index", + ":base_css", + "@npm//bootstrap", + "@npm//marked", "//ts/lib", "//ts/lib:backend_proto", - "@npm//bootstrap", - ":base_css", "//ts/sveltelib", - "@npm//marked", "//ts/components", "//ts/components:svelte_components", ] + svelte_names, ) -exports_files(["ChangeNotetype.html"]) +exports_files(["change-notetype.html"]) # Tests ################ diff --git a/ts/ChangeNotetype/ChangeNotetypePage.svelte b/ts/change-notetype/ChangeNotetypePage.svelte similarity index 100% rename from ts/ChangeNotetype/ChangeNotetypePage.svelte rename to ts/change-notetype/ChangeNotetypePage.svelte diff --git a/ts/ChangeNotetype/Mapper.svelte b/ts/change-notetype/Mapper.svelte similarity index 100% rename from ts/ChangeNotetype/Mapper.svelte rename to ts/change-notetype/Mapper.svelte diff --git a/ts/ChangeNotetype/MapperRow.svelte b/ts/change-notetype/MapperRow.svelte similarity index 100% rename from ts/ChangeNotetype/MapperRow.svelte rename to ts/change-notetype/MapperRow.svelte diff --git a/ts/ChangeNotetype/NotetypeSelector.svelte b/ts/change-notetype/NotetypeSelector.svelte similarity index 100% rename from ts/ChangeNotetype/NotetypeSelector.svelte rename to ts/change-notetype/NotetypeSelector.svelte diff --git a/ts/ChangeNotetype/SaveButton.svelte b/ts/change-notetype/SaveButton.svelte similarity index 100% rename from ts/ChangeNotetype/SaveButton.svelte rename to ts/change-notetype/SaveButton.svelte diff --git a/ts/ChangeNotetype/ChangeNotetype-base.scss b/ts/change-notetype/change-notetype-base.scss similarity index 100% rename from ts/ChangeNotetype/ChangeNotetype-base.scss rename to ts/change-notetype/change-notetype-base.scss diff --git a/ts/ChangeNotetype/ChangeNotetype.html b/ts/change-notetype/change-notetype.html similarity index 79% rename from ts/ChangeNotetype/ChangeNotetype.html rename to ts/change-notetype/change-notetype.html index ffb644492..244e1cf81 100644 --- a/ts/ChangeNotetype/ChangeNotetype.html +++ b/ts/change-notetype/change-notetype.html @@ -3,11 +3,11 @@ - - + + - +
diff --git a/ts/ChangeNotetype/index.ts b/ts/change-notetype/index.ts similarity index 95% rename from ts/ChangeNotetype/index.ts rename to ts/change-notetype/index.ts index 89482144d..67bb83707 100644 --- a/ts/ChangeNotetype/index.ts +++ b/ts/change-notetype/index.ts @@ -9,7 +9,7 @@ import { ChangeNotetypeState, getChangeNotetypeInfo, getNotetypeNames } from "./ import { setupI18n, ModuleName } from "lib/i18n"; import { checkNightMode } from "lib/nightmode"; import ChangeNotetypePage from "./ChangeNotetypePage.svelte"; -import { nightModeKey } from "components/contextKeys"; +import { nightModeKey } from "components/context-keys"; export async function changeNotetypePage( target: HTMLDivElement, diff --git a/ts/ChangeNotetype/lib.test.ts b/ts/change-notetype/lib.test.ts similarity index 100% rename from ts/ChangeNotetype/lib.test.ts rename to ts/change-notetype/lib.test.ts diff --git a/ts/ChangeNotetype/lib.ts b/ts/change-notetype/lib.ts similarity index 100% rename from ts/ChangeNotetype/lib.ts rename to ts/change-notetype/lib.ts diff --git a/ts/components/ButtonDropdown.svelte b/ts/components/ButtonDropdown.svelte index 8c18d92a3..4beaaccc0 100644 --- a/ts/components/ButtonDropdown.svelte +++ b/ts/components/ButtonDropdown.svelte @@ -4,7 +4,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html --> - - - - - - diff --git a/ts/components/contextKeys.ts b/ts/components/context-keys.ts similarity index 100% rename from ts/components/contextKeys.ts rename to ts/components/context-keys.ts diff --git a/ts/components/types.ts b/ts/components/types.ts deleted file mode 100644 index ef4b39a31..000000000 --- a/ts/components/types.ts +++ /dev/null @@ -1,17 +0,0 @@ -// Copyright: Ankitects Pty Ltd and contributors -// License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html -import type { DynamicSvelteComponent } from "sveltelib/dynamicComponent"; -import type { SvelteComponentDev } from "svelte/internal"; - -export interface ToolbarItem< - T extends typeof SvelteComponentDev = typeof SvelteComponentDev -> extends DynamicSvelteComponent { - id?: string; - hidden?: boolean; -} - -export interface IterableToolbarItem< - T extends typeof SvelteComponentDev = typeof SvelteComponentDev -> extends ToolbarItem { - items: ToolbarItem[]; -} diff --git a/ts/deckoptions/Addons.svelte b/ts/deck-options/Addons.svelte similarity index 100% rename from ts/deckoptions/Addons.svelte rename to ts/deck-options/Addons.svelte diff --git a/ts/deckoptions/AdvancedOptions.svelte b/ts/deck-options/AdvancedOptions.svelte similarity index 100% rename from ts/deckoptions/AdvancedOptions.svelte rename to ts/deck-options/AdvancedOptions.svelte diff --git a/ts/deckoptions/AudioOptions.svelte b/ts/deck-options/AudioOptions.svelte similarity index 100% rename from ts/deckoptions/AudioOptions.svelte rename to ts/deck-options/AudioOptions.svelte diff --git a/ts/deckoptions/BUILD.bazel b/ts/deck-options/BUILD.bazel similarity index 95% rename from ts/deckoptions/BUILD.bazel rename to ts/deck-options/BUILD.bazel index 688733c84..6703cb8b5 100644 --- a/ts/deckoptions/BUILD.bazel +++ b/ts/deck-options/BUILD.bazel @@ -8,7 +8,7 @@ load("//ts:compile_sass.bzl", "compile_sass") load("//ts:jest.bzl", "jest_test") compile_sass( - srcs = ["deckoptions-base.scss"], + srcs = ["deck-options-base.scss"], group = "base_css", visibility = ["//visibility:public"], deps = [ @@ -76,7 +76,7 @@ ts_library( ) esbuild( - name = "deckoptions", + name = "deck-options", srcs = [ "//ts:protobuf-shim.js", ], @@ -91,23 +91,23 @@ esbuild( external = [ "protobufjs/light", ], - output_css = "deckoptions.css", + output_css = "deck-options.css", visibility = ["//visibility:public"], deps = [ "index", + ":bootstrap-icons", + ":base_css", + "@npm//bootstrap", + "@npm//marked", "//ts/lib", "//ts/lib:backend_proto", - ":bootstrap-icons", - "@npm//bootstrap", - ":base_css", "//ts/sveltelib", - "@npm//marked", "//ts/components", "//ts/components:svelte_components", ] + svelte_names, ) -exports_files(["deckoptions.html"]) +exports_files(["deck-options.html"]) # Tests ################ diff --git a/ts/deckoptions/Badge.svelte b/ts/deck-options/Badge.svelte similarity index 94% rename from ts/deckoptions/Badge.svelte rename to ts/deck-options/Badge.svelte index 5fbfa4d4b..be767bb24 100644 --- a/ts/deckoptions/Badge.svelte +++ b/ts/deck-options/Badge.svelte @@ -4,7 +4,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html --> - +
diff --git a/ts/deckoptions/icons.ts b/ts/deck-options/icons.ts similarity index 100% rename from ts/deckoptions/icons.ts rename to ts/deck-options/icons.ts diff --git a/ts/deckoptions/index.ts b/ts/deck-options/index.ts similarity index 98% rename from ts/deckoptions/index.ts rename to ts/deck-options/index.ts index 436146eb1..5fa0c33a2 100644 --- a/ts/deckoptions/index.ts +++ b/ts/deck-options/index.ts @@ -14,7 +14,7 @@ import SpinBoxFloat from "./SpinBoxFloat.svelte"; import EnumSelector from "./EnumSelector.svelte"; import CheckBox from "./CheckBox.svelte"; -import { nightModeKey, touchDeviceKey, modalsKey } from "components/contextKeys"; +import { nightModeKey, touchDeviceKey, modalsKey } from "components/context-keys"; export async function deckOptions( target: HTMLDivElement, diff --git a/ts/deckoptions/lib.test.ts b/ts/deck-options/lib.test.ts similarity index 100% rename from ts/deckoptions/lib.test.ts rename to ts/deck-options/lib.test.ts diff --git a/ts/deckoptions/lib.ts b/ts/deck-options/lib.ts similarity index 100% rename from ts/deckoptions/lib.ts rename to ts/deck-options/lib.ts diff --git a/ts/deckoptions/steps.test.ts b/ts/deck-options/steps.test.ts similarity index 100% rename from ts/deckoptions/steps.test.ts rename to ts/deck-options/steps.test.ts diff --git a/ts/deckoptions/steps.ts b/ts/deck-options/steps.ts similarity index 100% rename from ts/deckoptions/steps.ts rename to ts/deck-options/steps.ts diff --git a/ts/deckoptions/strings.ts b/ts/deck-options/strings.ts similarity index 100% rename from ts/deckoptions/strings.ts rename to ts/deck-options/strings.ts diff --git a/ts/editor/ClozeButton.svelte b/ts/editor/ClozeButton.svelte index e5fa9f934..a83428583 100644 --- a/ts/editor/ClozeButton.svelte +++ b/ts/editor/ClozeButton.svelte @@ -4,8 +4,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html --> diff --git a/ts/editor/TemplateButtons.svelte b/ts/editor/TemplateButtons.svelte index 42dd4164b..693a7b4b7 100644 --- a/ts/editor/TemplateButtons.svelte +++ b/ts/editor/TemplateButtons.svelte @@ -5,8 +5,8 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html