@polyglot-bundles/ja-syllabi 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +28 -0
- package/dist/index.js +132 -0
- package/package.json +55 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const HIRAGANA_SYLLABUS: SyllabusConfig;
|
|
2
|
+
|
|
3
|
+
export declare type JapaneseSyllabi = typeof japaneseSyllabi;
|
|
4
|
+
|
|
5
|
+
export declare const japaneseSyllabi: SyllabusConfig[];
|
|
6
|
+
|
|
7
|
+
export declare const KATAKANA_SYLLABUS: SyllabusConfig;
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Japanese Syllabi - Hiragana and Katakana syllabi
|
|
11
|
+
*/
|
|
12
|
+
declare type SyllabusConfig = {
|
|
13
|
+
id: string;
|
|
14
|
+
title: string;
|
|
15
|
+
description: string;
|
|
16
|
+
href: string;
|
|
17
|
+
practiceHref: string;
|
|
18
|
+
totalKubits: number;
|
|
19
|
+
kubitPrefix: string;
|
|
20
|
+
levels: Array<{
|
|
21
|
+
level: number;
|
|
22
|
+
title: string;
|
|
23
|
+
description: string;
|
|
24
|
+
characters: string[];
|
|
25
|
+
}>;
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export { }
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
const a = {
|
|
2
|
+
id: "ja-hiragana",
|
|
3
|
+
title: "Hiragana",
|
|
4
|
+
description: "Learn all 46 hiragana characters with transcriptions and meanings.",
|
|
5
|
+
href: "/learn",
|
|
6
|
+
practiceHref: "/t/srs/japanese-alphabet",
|
|
7
|
+
totalKubits: 46,
|
|
8
|
+
kubitPrefix: "ja:char:hiragana:",
|
|
9
|
+
levels: [
|
|
10
|
+
{
|
|
11
|
+
level: 1,
|
|
12
|
+
title: "Basic Hiragana",
|
|
13
|
+
description: "Learn all 46 hiragana characters",
|
|
14
|
+
characters: [
|
|
15
|
+
"あ",
|
|
16
|
+
"い",
|
|
17
|
+
"う",
|
|
18
|
+
"え",
|
|
19
|
+
"お",
|
|
20
|
+
"か",
|
|
21
|
+
"き",
|
|
22
|
+
"く",
|
|
23
|
+
"け",
|
|
24
|
+
"こ",
|
|
25
|
+
"さ",
|
|
26
|
+
"し",
|
|
27
|
+
"す",
|
|
28
|
+
"せ",
|
|
29
|
+
"そ",
|
|
30
|
+
"た",
|
|
31
|
+
"ち",
|
|
32
|
+
"つ",
|
|
33
|
+
"て",
|
|
34
|
+
"と",
|
|
35
|
+
"な",
|
|
36
|
+
"に",
|
|
37
|
+
"ぬ",
|
|
38
|
+
"ね",
|
|
39
|
+
"の",
|
|
40
|
+
"は",
|
|
41
|
+
"ひ",
|
|
42
|
+
"ふ",
|
|
43
|
+
"へ",
|
|
44
|
+
"ほ",
|
|
45
|
+
"ま",
|
|
46
|
+
"み",
|
|
47
|
+
"む",
|
|
48
|
+
"め",
|
|
49
|
+
"も",
|
|
50
|
+
"や",
|
|
51
|
+
"ゆ",
|
|
52
|
+
"よ",
|
|
53
|
+
"ら",
|
|
54
|
+
"り",
|
|
55
|
+
"る",
|
|
56
|
+
"れ",
|
|
57
|
+
"ろ",
|
|
58
|
+
"わ",
|
|
59
|
+
"を",
|
|
60
|
+
"ん"
|
|
61
|
+
]
|
|
62
|
+
}
|
|
63
|
+
]
|
|
64
|
+
}, e = {
|
|
65
|
+
id: "ja-katakana",
|
|
66
|
+
title: "Katakana",
|
|
67
|
+
description: "Learn all 46 katakana characters for foreign words and names.",
|
|
68
|
+
href: "/learn",
|
|
69
|
+
practiceHref: "/t/srs/japanese-alphabet",
|
|
70
|
+
totalKubits: 46,
|
|
71
|
+
kubitPrefix: "ja:char:katakana:",
|
|
72
|
+
levels: [
|
|
73
|
+
{
|
|
74
|
+
level: 1,
|
|
75
|
+
title: "Basic Katakana",
|
|
76
|
+
description: "Learn all 46 katakana characters",
|
|
77
|
+
characters: [
|
|
78
|
+
"ア",
|
|
79
|
+
"イ",
|
|
80
|
+
"ウ",
|
|
81
|
+
"エ",
|
|
82
|
+
"オ",
|
|
83
|
+
"カ",
|
|
84
|
+
"キ",
|
|
85
|
+
"ク",
|
|
86
|
+
"ケ",
|
|
87
|
+
"コ",
|
|
88
|
+
"サ",
|
|
89
|
+
"シ",
|
|
90
|
+
"ス",
|
|
91
|
+
"セ",
|
|
92
|
+
"ソ",
|
|
93
|
+
"タ",
|
|
94
|
+
"チ",
|
|
95
|
+
"ツ",
|
|
96
|
+
"テ",
|
|
97
|
+
"ト",
|
|
98
|
+
"ナ",
|
|
99
|
+
"ニ",
|
|
100
|
+
"ヌ",
|
|
101
|
+
"ネ",
|
|
102
|
+
"ノ",
|
|
103
|
+
"ハ",
|
|
104
|
+
"ヒ",
|
|
105
|
+
"フ",
|
|
106
|
+
"ヘ",
|
|
107
|
+
"ホ",
|
|
108
|
+
"マ",
|
|
109
|
+
"ミ",
|
|
110
|
+
"ム",
|
|
111
|
+
"メ",
|
|
112
|
+
"モ",
|
|
113
|
+
"ヤ",
|
|
114
|
+
"ユ",
|
|
115
|
+
"ヨ",
|
|
116
|
+
"ラ",
|
|
117
|
+
"リ",
|
|
118
|
+
"ル",
|
|
119
|
+
"レ",
|
|
120
|
+
"ロ",
|
|
121
|
+
"ワ",
|
|
122
|
+
"ヲ",
|
|
123
|
+
"ン"
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
]
|
|
127
|
+
}, r = [a, e];
|
|
128
|
+
export {
|
|
129
|
+
a as HIRAGANA_SYLLABUS,
|
|
130
|
+
e as KATAKANA_SYLLABUS,
|
|
131
|
+
r as japaneseSyllabi
|
|
132
|
+
};
|
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@polyglot-bundles/ja-syllabi",
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Japanese syllabi - Hiragana and Katakana syllabi",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"dependencies": {
|
|
18
|
+
"@polyglot-bundles/content-shared": "0.1.4"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@types/node": "^20.0.0",
|
|
22
|
+
"tsx": "^4.7.0",
|
|
23
|
+
"vite": "^5.4.0",
|
|
24
|
+
"vite-plugin-dts": "^4.0.0",
|
|
25
|
+
"@polyglot-bundles/content-shared": "0.1.4"
|
|
26
|
+
},
|
|
27
|
+
"peerDependencies": {
|
|
28
|
+
"@syllst/core": "^0.6.0",
|
|
29
|
+
"@syllst/processor": "^0.5.6"
|
|
30
|
+
},
|
|
31
|
+
"publishConfig": {
|
|
32
|
+
"access": "public"
|
|
33
|
+
},
|
|
34
|
+
"keywords": [
|
|
35
|
+
"japanese",
|
|
36
|
+
"language-learning",
|
|
37
|
+
"syllabi",
|
|
38
|
+
"mdx",
|
|
39
|
+
"hiragana",
|
|
40
|
+
"katakana"
|
|
41
|
+
],
|
|
42
|
+
"license": "MIT",
|
|
43
|
+
"repository": {
|
|
44
|
+
"type": "git",
|
|
45
|
+
"url": "https://github.com/fustilio/polyglot-bundles",
|
|
46
|
+
"directory": "packages/ja/syllabi"
|
|
47
|
+
},
|
|
48
|
+
"scripts": {
|
|
49
|
+
"build": "vite build",
|
|
50
|
+
"clean": "rm -rf dist",
|
|
51
|
+
"lint": "eslint src",
|
|
52
|
+
"test": "vitest run",
|
|
53
|
+
"validate": "tsx scripts/validate-ids.ts"
|
|
54
|
+
}
|
|
55
|
+
}
|