@polyglot-bundles/ru-lang 0.2.3 → 0.2.4

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.
@@ -1,76 +1,211 @@
1
- const n = {
2
- б: { char: "б", name: "be", pronunciation: "/b/" },
3
- в: { char: "в", name: "ve", pronunciation: "/v/" },
4
- г: { char: "г", name: "ge", pronunciation: "/ɡ/" },
5
- д: { char: "д", name: "de", pronunciation: "/d/" },
6
- ж: { char: "ж", name: "zhe", pronunciation: "/ʒ/" },
7
- з: { char: "з", name: "ze", pronunciation: "/z/" },
8
- й: { char: "й", name: "i short", pronunciation: "/j/" },
9
- к: { char: "к", name: "ka", pronunciation: "/k/" },
10
- л: { char: "л", name: "el", pronunciation: "/l/" },
11
- м: { char: "м", name: "em", pronunciation: "/m/" },
12
- н: { char: "н", name: "en", pronunciation: "/n/" },
13
- п: { char: "п", name: "pe", pronunciation: "/p/" },
14
- р: { char: "р", name: "er", pronunciation: "/r/" },
15
- с: { char: "с", name: "es", pronunciation: "/s/" },
16
- т: { char: "т", name: "te", pronunciation: "/t/" },
17
- ф: { char: "ф", name: "ef", pronunciation: "/f/" },
18
- х: { char: "х", name: "ha", pronunciation: "/x/" },
19
- ц: { char: "ц", name: "tse", pronunciation: "/ts/" },
20
- ч: { char: "ч", name: "che", pronunciation: "/tʃ/" },
21
- ш: { char: "ш", name: "sha", pronunciation: "/ʃ/" },
22
- щ: { char: "щ", name: "shta", pronunciation: "/ʃt/" },
23
- ъ: { char: "ъ", name: "hard sign", pronunciation: "/j/" },
24
- ь: { char: "ь", name: "soft sign", pronunciation: "/j/" },
25
- ю: { char: "ю", name: "yu", pronunciation: "/ju/" },
26
- я: { char: "я", name: "ya", pronunciation: "/ja/" }
27
- }, a = {
28
- а: { char: "а", name: "a", pronunciation: "/a/" },
29
- э: { char: "э", name: "e", pronunciation: "/ɛ/" },
30
- ы: { char: "ы", name: "y", pronunciation: "/ɨ/" },
31
- у: { char: "у", name: "u", pronunciation: "/u/" },
32
- о: { char: "о", name: "o", pronunciation: "/o/" },
33
- е: { char: "е", name: "ye", pronunciation: "/je/" },
34
- ё: { char: "ё", name: "yo", pronunciation: "/jo/" },
35
- и: { char: "и", name: "i", pronunciation: "/i/" }
36
- }, o = {
37
- ...n,
38
- ...a
39
- }, c = {
40
- vowels: ["a", "ɛ", "ɨ", "u", "o", "je", "jo", "i"],
41
- totalVowels: 8,
42
- consonants: [
43
- "b",
44
- "v",
45
- "ɡ",
46
- "d",
47
- "ʒ",
48
- "z",
49
- "j",
50
- "k",
51
- "l",
52
- "m",
53
- "n",
54
- "p",
55
- "r",
56
- "s",
57
- "t",
58
- "f",
59
- "x",
60
- "ts",
61
- "",
62
- "ʃ",
63
- "ʃt",
64
- "j"
65
- ],
66
- totalPhonemes: 34
67
- }, r = Object.keys(n), i = Object.keys(a), e = Object.keys(o);
68
- export {
69
- e as RUSSIAN_CHARACTER_IDS,
70
- r as RUSSIAN_CONSONANT_IDS,
71
- c as RUSSIAN_PHONEME_INVENTORY,
72
- i as RUSSIAN_VOWEL_IDS,
73
- o as russianAllCharacters,
74
- n as russianConsonants,
75
- a as russianVowels
76
- };
1
+ //#region src/characters.ts
2
+ var e = {
3
+ б: {
4
+ char: "б",
5
+ name: "be",
6
+ pronunciation: "/b/"
7
+ },
8
+ в: {
9
+ char: "в",
10
+ name: "ve",
11
+ pronunciation: "/v/"
12
+ },
13
+ г: {
14
+ char: "г",
15
+ name: "ge",
16
+ pronunciation: "/ɡ/"
17
+ },
18
+ д: {
19
+ char: "д",
20
+ name: "de",
21
+ pronunciation: "/d/"
22
+ },
23
+ ж: {
24
+ char: "ж",
25
+ name: "zhe",
26
+ pronunciation: "/ʒ/"
27
+ },
28
+ з: {
29
+ char: "з",
30
+ name: "ze",
31
+ pronunciation: "/z/"
32
+ },
33
+ й: {
34
+ char: "й",
35
+ name: "i short",
36
+ pronunciation: "/j/"
37
+ },
38
+ к: {
39
+ char: "к",
40
+ name: "ka",
41
+ pronunciation: "/k/"
42
+ },
43
+ л: {
44
+ char: "л",
45
+ name: "el",
46
+ pronunciation: "/l/"
47
+ },
48
+ м: {
49
+ char: "м",
50
+ name: "em",
51
+ pronunciation: "/m/"
52
+ },
53
+ н: {
54
+ char: "н",
55
+ name: "en",
56
+ pronunciation: "/n/"
57
+ },
58
+ п: {
59
+ char: "п",
60
+ name: "pe",
61
+ pronunciation: "/p/"
62
+ },
63
+ р: {
64
+ char: "р",
65
+ name: "er",
66
+ pronunciation: "/r/"
67
+ },
68
+ с: {
69
+ char: "с",
70
+ name: "es",
71
+ pronunciation: "/s/"
72
+ },
73
+ т: {
74
+ char: "т",
75
+ name: "te",
76
+ pronunciation: "/t/"
77
+ },
78
+ ф: {
79
+ char: "ф",
80
+ name: "ef",
81
+ pronunciation: "/f/"
82
+ },
83
+ х: {
84
+ char: "х",
85
+ name: "ha",
86
+ pronunciation: "/x/"
87
+ },
88
+ ц: {
89
+ char: "ц",
90
+ name: "tse",
91
+ pronunciation: "/ts/"
92
+ },
93
+ ч: {
94
+ char: "ч",
95
+ name: "che",
96
+ pronunciation: "/tʃ/"
97
+ },
98
+ ш: {
99
+ char: "ш",
100
+ name: "sha",
101
+ pronunciation: "/ʃ/"
102
+ },
103
+ щ: {
104
+ char: "щ",
105
+ name: "shta",
106
+ pronunciation: "/ʃt/"
107
+ },
108
+ ъ: {
109
+ char: "ъ",
110
+ name: "hard sign",
111
+ pronunciation: "/j/"
112
+ },
113
+ ь: {
114
+ char: "ь",
115
+ name: "soft sign",
116
+ pronunciation: "/j/"
117
+ },
118
+ ю: {
119
+ char: "ю",
120
+ name: "yu",
121
+ pronunciation: "/ju/"
122
+ },
123
+ я: {
124
+ char: "я",
125
+ name: "ya",
126
+ pronunciation: "/ja/"
127
+ }
128
+ }, t = {
129
+ а: {
130
+ char: "а",
131
+ name: "a",
132
+ pronunciation: "/a/"
133
+ },
134
+ э: {
135
+ char: "э",
136
+ name: "e",
137
+ pronunciation: "/ɛ/"
138
+ },
139
+ ы: {
140
+ char: "ы",
141
+ name: "y",
142
+ pronunciation: "/ɨ/"
143
+ },
144
+ у: {
145
+ char: "у",
146
+ name: "u",
147
+ pronunciation: "/u/"
148
+ },
149
+ о: {
150
+ char: "о",
151
+ name: "o",
152
+ pronunciation: "/o/"
153
+ },
154
+ е: {
155
+ char: "е",
156
+ name: "ye",
157
+ pronunciation: "/je/"
158
+ },
159
+ ё: {
160
+ char: "ё",
161
+ name: "yo",
162
+ pronunciation: "/jo/"
163
+ },
164
+ и: {
165
+ char: "и",
166
+ name: "i",
167
+ pronunciation: "/i/"
168
+ }
169
+ }, n = {
170
+ ...e,
171
+ ...t
172
+ }, r = {
173
+ vowels: [
174
+ "a",
175
+ "ɛ",
176
+ "ɨ",
177
+ "u",
178
+ "o",
179
+ "je",
180
+ "jo",
181
+ "i"
182
+ ],
183
+ totalVowels: 8,
184
+ consonants: [
185
+ "b",
186
+ "v",
187
+ "ɡ",
188
+ "d",
189
+ "ʒ",
190
+ "z",
191
+ "j",
192
+ "k",
193
+ "l",
194
+ "m",
195
+ "n",
196
+ "p",
197
+ "r",
198
+ "s",
199
+ "t",
200
+ "f",
201
+ "x",
202
+ "ts",
203
+ "tʃ",
204
+ "ʃ",
205
+ "ʃt",
206
+ "j"
207
+ ],
208
+ totalPhonemes: 34
209
+ }, i = Object.keys(e), a = Object.keys(t), o = Object.keys(n);
210
+ //#endregion
211
+ export { o as RUSSIAN_CHARACTER_IDS, i as RUSSIAN_CONSONANT_IDS, r as RUSSIAN_PHONEME_INVENTORY, a as RUSSIAN_VOWEL_IDS, n as russianAllCharacters, e as russianConsonants, t as russianVowels };
package/dist/index.js CHANGED
@@ -1,10 +1,2 @@
1
- import { RUSSIAN_CHARACTER_IDS as N, RUSSIAN_CONSONANT_IDS as A, RUSSIAN_PHONEME_INVENTORY as I, RUSSIAN_VOWEL_IDS as _, russianAllCharacters as r, russianConsonants as R, russianVowels as a } from "./characters.js";
2
- export {
3
- N as RUSSIAN_CHARACTER_IDS,
4
- A as RUSSIAN_CONSONANT_IDS,
5
- I as RUSSIAN_PHONEME_INVENTORY,
6
- _ as RUSSIAN_VOWEL_IDS,
7
- r as russianAllCharacters,
8
- R as russianConsonants,
9
- a as russianVowels
10
- };
1
+ import { RUSSIAN_CHARACTER_IDS as e, RUSSIAN_CONSONANT_IDS as t, RUSSIAN_PHONEME_INVENTORY as n, RUSSIAN_VOWEL_IDS as r, russianAllCharacters as i, russianConsonants as a, russianVowels as o } from "./characters.js";
2
+ export { e as RUSSIAN_CHARACTER_IDS, t as RUSSIAN_CONSONANT_IDS, n as RUSSIAN_PHONEME_INVENTORY, r as RUSSIAN_VOWEL_IDS, i as russianAllCharacters, a as russianConsonants, o as russianVowels };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polyglot-bundles/ru-lang",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Russian language foundation data - characters, vowels, consonants, and pronunciation",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -15,12 +15,10 @@
15
15
  "dist"
16
16
  ],
17
17
  "dependencies": {
18
- "@polyglot-bundles/content-shared": "0.4.1"
18
+ "@polyglot-bundles/content-shared": "0.5.1"
19
19
  },
20
20
  "devDependencies": {
21
- "vite": "^5.4.0",
22
- "vite-plugin-dts": "^4.0.0",
23
- "@polyglot-bundles/lang-tooling": "1.0.0"
21
+ "@polyglot-bundles/lang-tooling": "0.0.0"
24
22
  },
25
23
  "publishConfig": {
26
24
  "access": "public"
@@ -31,7 +29,6 @@
31
29
  "directory": "packages/ru/lang"
32
30
  },
33
31
  "scripts": {
34
- "build": "vite build",
35
- "clean": "rm -rf dist"
32
+ "build": "vite build"
36
33
  }
37
34
  }