From 1d72599a374881d077deac328ef4ce51e98d4c4e Mon Sep 17 00:00:00 2001 From: Henrik Giesel Date: Thu, 22 Apr 2021 19:55:26 +0200 Subject: [PATCH] Rename anki/ to lib/ for export import _ from "anki/x"; will become import _ from "lib/x"; to fit the directory name. --- ts/congrats/CongratsPage.svelte | 6 +++--- ts/congrats/index.ts | 4 ++-- ts/congrats/lib.ts | 8 ++++---- ts/deckconfig/ConfigSelector.svelte | 2 +- ts/deckconfig/DailyLimits.svelte | 2 +- ts/deckconfig/GeneralOptions.svelte | 2 +- ts/deckconfig/LapseOptions.svelte | 2 +- ts/deckconfig/NewOptions.svelte | 2 +- ts/deckconfig/OptionsDropdown.svelte | 2 +- ts/deckconfig/ReviewOptions.svelte | 2 +- ts/deckconfig/index.ts | 4 ++-- ts/deckconfig/lib.test.ts | 2 +- ts/deckconfig/lib.ts | 6 +++--- ts/deckconfig/steps.ts | 2 +- ts/editor/cloze.ts | 2 +- ts/editor/color.ts | 2 +- ts/editor/formatBlock.ts | 2 +- ts/editor/formatInline.ts | 2 +- ts/editor/index.ts | 2 +- ts/editor/notetype.ts | 2 +- ts/editor/template.ts | 4 ++-- ts/graphs/AddedGraph.svelte | 4 ++-- ts/graphs/ButtonsGraph.svelte | 4 ++-- ts/graphs/CalendarGraph.svelte | 4 ++-- ts/graphs/CardCounts.svelte | 4 ++-- ts/graphs/EaseGraph.svelte | 4 ++-- ts/graphs/FutureDue.svelte | 4 ++-- ts/graphs/GraphRangeRadios.svelte | 4 ++-- ts/graphs/GraphsPage.svelte | 2 +- ts/graphs/HourGraph.svelte | 4 ++-- ts/graphs/IntervalsGraph.svelte | 6 +++--- ts/graphs/NoDataOverlay.svelte | 2 +- ts/graphs/RangeBox.svelte | 2 +- ts/graphs/ReviewsGraph.svelte | 4 ++-- ts/graphs/TableData.svelte | 2 +- ts/graphs/TodayStats.svelte | 2 +- ts/graphs/WithGraphData.svelte | 4 ++-- ts/graphs/added.ts | 6 +++--- ts/graphs/buttons.ts | 4 ++-- ts/graphs/calendar.ts | 6 +++--- ts/graphs/card-counts.ts | 6 +++--- ts/graphs/ease.ts | 6 +++--- ts/graphs/future-due.ts | 8 ++++---- ts/graphs/graph-helpers.ts | 2 +- ts/graphs/hours.ts | 4 ++-- ts/graphs/index.ts | 4 ++-- ts/graphs/intervals.ts | 8 ++++---- ts/graphs/reviews.ts | 6 +++--- ts/graphs/today.ts | 6 +++--- ts/lib/BUILD.bazel | 2 +- ts/tsconfig.json | 2 +- 51 files changed, 94 insertions(+), 94 deletions(-) diff --git a/ts/congrats/CongratsPage.svelte b/ts/congrats/CongratsPage.svelte index 5367bb64b..2aabc5d84 100644 --- a/ts/congrats/CongratsPage.svelte +++ b/ts/congrats/CongratsPage.svelte @@ -3,12 +3,12 @@ Copyright: Ankitects Pty Ltd and contributors License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html --> diff --git a/ts/graphs/RangeBox.svelte b/ts/graphs/RangeBox.svelte index 8b9be344d..d9b33c7f5 100644 --- a/ts/graphs/RangeBox.svelte +++ b/ts/graphs/RangeBox.svelte @@ -7,7 +7,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html import InputBox from "./InputBox.svelte"; - import * as tr from "anki/i18n"; + import * as tr from "lib/i18n"; import { RevlogRange, daysToRevlogRange } from "./graph-helpers"; enum SearchRange { diff --git a/ts/graphs/ReviewsGraph.svelte b/ts/graphs/ReviewsGraph.svelte index 8256a8f22..b3d7eb264 100644 --- a/ts/graphs/ReviewsGraph.svelte +++ b/ts/graphs/ReviewsGraph.svelte @@ -3,7 +3,7 @@ Copyright: Ankitects Pty Ltd and contributors License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html --> diff --git a/ts/graphs/TodayStats.svelte b/ts/graphs/TodayStats.svelte index 5a05455fb..3e42e1f6e 100644 --- a/ts/graphs/TodayStats.svelte +++ b/ts/graphs/TodayStats.svelte @@ -3,7 +3,7 @@ Copyright: Ankitects Pty Ltd and contributors License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html -->