Update packages/typescript/Quran

This commit is contained in:
0x1eef 2024-10-22 22:34:28 -03:00
parent 4723f49218
commit a847c09440
12 changed files with 14 additions and 14 deletions

6
package-lock.json generated
View file

@ -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": {

View file

@ -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",

@ -1 +1 @@
Subproject commit 5bd37df63b5ec9007f6c8202f334137a0b4cb40c
Subproject commit 84a1dc251cf6ceeaaac6ce6e5e96565f4adbb941

View file

@ -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";

View file

@ -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";

View file

@ -1,4 +1,4 @@
import { Quran, TLocale } from "@0x1eef/Quran";
import { Quran, TLocale } from "@0x1eef/quran";
import { Select } from "~/components/Select";
type Props = {

View file

@ -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";

View file

@ -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 = {

View file

@ -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";

View file

@ -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> = T | null | undefined;

View file

@ -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";

View file

@ -1,4 +1,4 @@
import type { TLocale } from "@0x1eef/Quran";
import type { TLocale } from "@0x1eef/quran";
type PhraseMap<T> = {
[key: string]: undefined | string | PhraseMap<T>;