From a847c0944035175e930e25e628d7058ca6c1ef2a Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Tue, 22 Oct 2024 22:34:28 -0300 Subject: [PATCH] Update packages/typescript/Quran --- package-lock.json | 6 +++--- package.json | 2 +- packages/typescript/Quran | 2 +- src/js/components/AudioControl.tsx | 2 +- src/js/components/Head.tsx | 2 +- src/js/components/Select/LanguageSelect.tsx | 2 +- src/js/components/SurahIndex/index.tsx | 2 +- src/js/components/SurahStream/Stream.tsx | 2 +- src/js/components/SurahStream/index.tsx | 2 +- src/js/components/Timer/index.tsx | 2 +- src/js/index.tsx | 2 +- src/js/lib/t.ts | 2 +- 12 files changed, 14 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index 1f5c3f9..d73a1d8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "./packages/typescript/*" ], "dependencies": { - "@0x1eef/Quran": "file:./packages/typescript/Quran", + "@0x1eef/quran": "file:./packages/typescript/Quran", "@preact/compat": "^17.1.2", "classnames": "^2.3", "preact": "^10.23.2", @@ -40,7 +40,7 @@ "webpack-merge": "^6.0" } }, - "node_modules/@0x1eef/Quran": { + "node_modules/@0x1eef/quran": { "resolved": "packages/typescript/Quran", "link": true }, @@ -6137,7 +6137,7 @@ } }, "packages/typescript/Quran": { - "name": "@0x1eef/Quran", + "name": "@0x1eef/quran", "version": "0.1.0", "license": "GPL-3.0", "devDependencies": { diff --git a/package.json b/package.json index d5815eb..32d49da 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "eslint:apply": "npx eslint --config etc/eslint.config.mjs --fix src/js/" }, "dependencies": { - "@0x1eef/Quran": "file:./packages/typescript/Quran", + "@0x1eef/quran": "file:./packages/typescript/Quran", "@preact/compat": "^17.1.2", "classnames": "^2.3", "preact": "^10.23.2", diff --git a/packages/typescript/Quran b/packages/typescript/Quran index 5bd37df..84a1dc2 160000 --- a/packages/typescript/Quran +++ b/packages/typescript/Quran @@ -1 +1 @@ -Subproject commit 5bd37df63b5ec9007f6c8202f334137a0b4cb40c +Subproject commit 84a1dc251cf6ceeaaac6ce6e5e96565f4adbb941 diff --git a/src/js/components/AudioControl.tsx b/src/js/components/AudioControl.tsx index 5d8200b..1f733f4 100644 --- a/src/js/components/AudioControl.tsx +++ b/src/js/components/AudioControl.tsx @@ -1,4 +1,4 @@ -import type { Surah, Ayah } from "@0x1eef/Quran"; +import type { Surah, Ayah } from "@0x1eef/quran"; import { SoundOnIcon, SoundOffIcon } from "~/components/Icon"; export type TAudioStatus = "play" | "pause" | "wait" | "end"; diff --git a/src/js/components/Head.tsx b/src/js/components/Head.tsx index 4bf6a6b..0618086 100644 --- a/src/js/components/Head.tsx +++ b/src/js/components/Head.tsx @@ -1,5 +1,5 @@ import type { ReactNode } from "react"; -import type { TLocale } from "@0x1eef/Quran"; +import type { TLocale } from "@0x1eef/quran"; import { Theme } from "~/hooks/useTheme"; import { LanguageSelect, ThemeSelect } from "~/components/Select"; diff --git a/src/js/components/Select/LanguageSelect.tsx b/src/js/components/Select/LanguageSelect.tsx index 7033dcf..07cdb3c 100644 --- a/src/js/components/Select/LanguageSelect.tsx +++ b/src/js/components/Select/LanguageSelect.tsx @@ -1,4 +1,4 @@ -import { Quran, TLocale } from "@0x1eef/Quran"; +import { Quran, TLocale } from "@0x1eef/quran"; import { Select } from "~/components/Select"; type Props = { diff --git a/src/js/components/SurahIndex/index.tsx b/src/js/components/SurahIndex/index.tsx index 2c0cc39..9aa0de3 100644 --- a/src/js/components/SurahIndex/index.tsx +++ b/src/js/components/SurahIndex/index.tsx @@ -1,4 +1,4 @@ -import type { TLocale } from "@0x1eef/Quran"; +import type { TLocale } from "@0x1eef/quran"; import { useTheme } from "~/hooks/useTheme"; import { formatNumber, TFunction } from "~/lib/t"; import { Arrow } from "~/components/Icon"; diff --git a/src/js/components/SurahStream/Stream.tsx b/src/js/components/SurahStream/Stream.tsx index 59913c2..d312294 100644 --- a/src/js/components/SurahStream/Stream.tsx +++ b/src/js/components/SurahStream/Stream.tsx @@ -1,4 +1,4 @@ -import type { Surah, Ayah, TAyat, TLocale } from "@0x1eef/Quran"; +import type { Surah, Ayah, TAyat, TLocale } from "@0x1eef/quran"; import { formatNumber, TFunction } from "~/lib/t"; type Props = { diff --git a/src/js/components/SurahStream/index.tsx b/src/js/components/SurahStream/index.tsx index 68295db..62ed21f 100644 --- a/src/js/components/SurahStream/index.tsx +++ b/src/js/components/SurahStream/index.tsx @@ -1,4 +1,4 @@ -import type { Surah, Ayah, TAyat, TLocale } from "@0x1eef/Quran"; +import type { Surah, Ayah, TAyat, TLocale } from "@0x1eef/quran"; import { useTheme } from "~/hooks/useTheme"; import { AudioControl, TAudioStatus } from "~/components/AudioControl"; import { Head } from "~/components/Head"; diff --git a/src/js/components/Timer/index.tsx b/src/js/components/Timer/index.tsx index 1a0f108..c9057df 100644 --- a/src/js/components/Timer/index.tsx +++ b/src/js/components/Timer/index.tsx @@ -1,4 +1,4 @@ -import type { Surah, Ayah, TLocale } from "@0x1eef/Quran"; +import type { Surah, Ayah, TLocale } from "@0x1eef/quran"; import { formatNumber } from "~/lib/t"; type Maybe = T | null | undefined; diff --git a/src/js/index.tsx b/src/js/index.tsx index 725e5cb..f479457 100644 --- a/src/js/index.tsx +++ b/src/js/index.tsx @@ -17,7 +17,7 @@ import { RandomSurah } from "~/components/RandomSurah"; /** * import: libs */ -import { Quran } from "@0x1eef/Quran"; +import { Quran } from "@0x1eef/quran"; import { T } from "~/lib/t"; import classNames from "classnames"; import "core-js"; diff --git a/src/js/lib/t.ts b/src/js/lib/t.ts index 54a9ebb..28cb0ca 100644 --- a/src/js/lib/t.ts +++ b/src/js/lib/t.ts @@ -1,4 +1,4 @@ -import type { TLocale } from "@0x1eef/Quran"; +import type { TLocale } from "@0x1eef/quran"; type PhraseMap = { [key: string]: undefined | string | PhraseMap;