@polyglot-bundles/uk-lang 0.1.2 → 0.1.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,344 +1,330 @@
1
- import { isConsonant as o, isVowel as l } from "./types.js";
2
- const a = [
3
- {
4
- char: "а",
5
- id: "a",
6
- charType: "vowel",
7
- name: "а",
8
- ipa: "a"
9
- },
10
- {
11
- char: "е",
12
- id: "e",
13
- charType: "vowel",
14
- name: "е",
15
- ipa: "ɛ"
16
- },
17
- {
18
- char: "и",
19
- id: "y",
20
- charType: "vowel",
21
- name: "и",
22
- ipa: "ɪ"
23
- },
24
- {
25
- char: "і",
26
- id: "i",
27
- charType: "vowel",
28
- name: "і",
29
- ipa: "i"
30
- },
31
- {
32
- char: "о",
33
- id: "o",
34
- charType: "vowel",
35
- name: "о",
36
- ipa: "o"
37
- },
38
- {
39
- char: "у",
40
- id: "u",
41
- charType: "vowel",
42
- name: "у",
43
- ipa: "u"
44
- },
45
- {
46
- char: "є",
47
- id: "ye",
48
- charType: "vowel",
49
- name: "є",
50
- ipa: "je"
51
- },
52
- {
53
- char: "ю",
54
- id: "yu",
55
- charType: "vowel",
56
- name: "ю",
57
- ipa: "ju"
58
- },
59
- {
60
- char: "я",
61
- id: "ya",
62
- charType: "vowel",
63
- name: "я",
64
- ipa: "ja"
65
- }
66
- ], i = [
67
- // Labial consonants
68
- {
69
- char: "б",
70
- id: "be",
71
- charType: "consonant",
72
- name: "бе",
73
- ipa: "b",
74
- voicing: "voiced",
75
- articulation: "stop",
76
- place: "labial"
77
- },
78
- {
79
- char: "в",
80
- id: "ve",
81
- charType: "consonant",
82
- name: "ве",
83
- ipa: "v",
84
- voicing: "voiced",
85
- articulation: "fricative",
86
- place: "labial"
87
- },
88
- {
89
- char: "м",
90
- id: "me",
91
- charType: "consonant",
92
- name: "еме",
93
- ipa: "m",
94
- voicing: "nasal",
95
- articulation: "nasal",
96
- place: "labial"
97
- },
98
- {
99
- char: "п",
100
- id: "pe",
101
- charType: "consonant",
102
- name: "пе",
103
- ipa: "p",
104
- voicing: "voiceless",
105
- articulation: "stop",
106
- place: "labial"
107
- },
108
- {
109
- char: "ф",
110
- id: "fe",
111
- charType: "consonant",
112
- name: "еф",
113
- ipa: "f",
114
- voicing: "voiceless",
115
- articulation: "fricative",
116
- place: "labial"
117
- },
118
- // Dental consonants
119
- {
120
- char: "д",
121
- id: "de",
122
- charType: "consonant",
123
- name: "де",
124
- ipa: "d",
125
- voicing: "voiced",
126
- articulation: "stop",
127
- place: "dental"
128
- },
129
- {
130
- char: "з",
131
- id: "ze",
132
- charType: "consonant",
133
- name: "зе",
134
- ipa: "z",
135
- voicing: "voiced",
136
- articulation: "fricative",
137
- place: "alveolar"
138
- },
139
- {
140
- char: "т",
141
- id: "te",
142
- charType: "consonant",
143
- name: "те",
144
- ipa: "t",
145
- voicing: "voiceless",
146
- articulation: "stop",
147
- place: "dental"
148
- },
149
- {
150
- char: "с",
151
- id: "se",
152
- charType: "consonant",
153
- name: "ес",
154
- ipa: "s",
155
- voicing: "voiceless",
156
- articulation: "fricative",
157
- place: "alveolar"
158
- },
159
- {
160
- char: "ц",
161
- id: "tse",
162
- charType: "consonant",
163
- name: "це",
164
- ipa: "ts",
165
- voicing: "voiceless",
166
- articulation: "fricative",
167
- place: "alveolar"
168
- },
169
- {
170
- char: "дз",
171
- id: "dze",
172
- charType: "consonant",
173
- name: "дзе",
174
- ipa: "dz",
175
- voicing: "voiced",
176
- articulation: "fricative",
177
- place: "alveolar"
178
- },
179
- // Alveolar consonants
180
- {
181
- char: "л",
182
- id: "le",
183
- charType: "consonant",
184
- name: "ел",
185
- ipa: "l",
186
- voicing: "lateral",
187
- articulation: "lateral",
188
- place: "alveolar"
189
- },
190
- {
191
- char: "н",
192
- id: "ne",
193
- charType: "consonant",
194
- name: "ен",
195
- ipa: "n",
196
- voicing: "nasal",
197
- articulation: "nasal",
198
- place: "alveolar"
199
- },
200
- {
201
- char: "р",
202
- id: "re",
203
- charType: "consonant",
204
- name: "ер",
205
- ipa: "r",
206
- voicing: "trill",
207
- articulation: "trill",
208
- place: "alveolar"
209
- },
210
- // Palatal consonants
211
- {
212
- char: "є",
213
- id: "ye_palatal",
214
- charType: "consonant",
215
- name: "є (palatalizing)",
216
- ipa: "j",
217
- voicing: "voiced",
218
- articulation: "approximant",
219
- place: "palatal"
220
- },
221
- {
222
- char: "ю",
223
- id: "yu_palatal",
224
- charType: "consonant",
225
- name: "ю (palatalizing)",
226
- ipa: "j",
227
- voicing: "voiced",
228
- articulation: "approximant",
229
- place: "palatal"
230
- },
231
- {
232
- char: "я",
233
- id: "ya_palatal",
234
- charType: "consonant",
235
- name: "я (palatalizing)",
236
- ipa: "j",
237
- voicing: "voiced",
238
- articulation: "approximant",
239
- place: "palatal"
240
- },
241
- {
242
- char: "ї",
243
- id: "yi",
244
- charType: "consonant",
245
- name: "ї",
246
- ipa: "j",
247
- voicing: "voiced",
248
- articulation: "approximant",
249
- place: "palatal"
250
- },
251
- // Velar consonants
252
- {
253
- char: "г",
254
- id: "he",
255
- charType: "consonant",
256
- name: "ге",
257
- ipa: "ɦ",
258
- voicing: "voiced",
259
- articulation: "fricative",
260
- place: "velar"
261
- },
262
- {
263
- char: "к",
264
- id: "ka",
265
- charType: "consonant",
266
- name: "ка",
267
- ipa: "k",
268
- voicing: "voiceless",
269
- articulation: "stop",
270
- place: "velar"
271
- },
272
- {
273
- char: "ґ",
274
- id: "ga",
275
- charType: "consonant",
276
- name: "ґа",
277
- ipa: "ɡ",
278
- voicing: "voiced",
279
- articulation: "stop",
280
- place: "velar"
281
- },
282
- {
283
- char: "х",
284
- id: "kha",
285
- charType: "consonant",
286
- name: "ха",
287
- ipa: "x",
288
- voicing: "voiceless",
289
- articulation: "fricative",
290
- place: "velar"
291
- },
292
- // Palatal consonants (soft)
293
- {
294
- char: "ч",
295
- id: "che",
296
- charType: "consonant",
297
- name: "че",
298
- ipa: "tʃ",
299
- voicing: "voiced",
300
- articulation: "affricate",
301
- place: "palatal"
302
- },
303
- {
304
- char: "ш",
305
- id: "sha",
306
- charType: "consonant",
307
- name: "ша",
308
- ipa: "ʃ",
309
- voicing: "voiceless",
310
- articulation: "fricative",
311
- place: "palatal"
312
- },
313
- {
314
- char: "ж",
315
- id: "zhe",
316
- charType: "consonant",
317
- name: "же",
318
- ipa: "ʒ",
319
- voicing: "voiced",
320
- articulation: "fricative",
321
- place: "palatal"
322
- },
323
- // Glottal consonants
324
- {
325
- char: "ґ",
326
- id: "hard_sign",
327
- charType: "consonant",
328
- name: "м'який знак",
329
- ipa: "",
330
- voicing: "voiceless",
331
- articulation: "stop",
332
- place: "glottal"
333
- }
334
- ], c = [
335
- ...a,
336
- ...i
337
- ];
338
- export {
339
- o as isConsonant,
340
- l as isVowel,
341
- c as ukrainianAllCharacters,
342
- i as ukrainianConsonants,
343
- a as ukrainianVowels
344
- };
1
+ import { isConsonant as e, isVowel as t } from "./types.js";
2
+ //#region src/characters.ts
3
+ var n = [
4
+ {
5
+ char: "а",
6
+ id: "a",
7
+ charType: "vowel",
8
+ name: "а",
9
+ ipa: "a"
10
+ },
11
+ {
12
+ char: "е",
13
+ id: "e",
14
+ charType: "vowel",
15
+ name: "е",
16
+ ipa: "ɛ"
17
+ },
18
+ {
19
+ char: "и",
20
+ id: "y",
21
+ charType: "vowel",
22
+ name: "и",
23
+ ipa: "ɪ"
24
+ },
25
+ {
26
+ char: "і",
27
+ id: "i",
28
+ charType: "vowel",
29
+ name: "і",
30
+ ipa: "i"
31
+ },
32
+ {
33
+ char: "о",
34
+ id: "o",
35
+ charType: "vowel",
36
+ name: "о",
37
+ ipa: "o"
38
+ },
39
+ {
40
+ char: "у",
41
+ id: "u",
42
+ charType: "vowel",
43
+ name: "у",
44
+ ipa: "u"
45
+ },
46
+ {
47
+ char: "є",
48
+ id: "ye",
49
+ charType: "vowel",
50
+ name: "є",
51
+ ipa: "je"
52
+ },
53
+ {
54
+ char: "ю",
55
+ id: "yu",
56
+ charType: "vowel",
57
+ name: "ю",
58
+ ipa: "ju"
59
+ },
60
+ {
61
+ char: "я",
62
+ id: "ya",
63
+ charType: "vowel",
64
+ name: "я",
65
+ ipa: "ja"
66
+ }
67
+ ], r = [
68
+ {
69
+ char: "б",
70
+ id: "be",
71
+ charType: "consonant",
72
+ name: "бе",
73
+ ipa: "b",
74
+ voicing: "voiced",
75
+ articulation: "stop",
76
+ place: "labial"
77
+ },
78
+ {
79
+ char: "в",
80
+ id: "ve",
81
+ charType: "consonant",
82
+ name: "ве",
83
+ ipa: "v",
84
+ voicing: "voiced",
85
+ articulation: "fricative",
86
+ place: "labial"
87
+ },
88
+ {
89
+ char: "м",
90
+ id: "me",
91
+ charType: "consonant",
92
+ name: "еме",
93
+ ipa: "m",
94
+ voicing: "nasal",
95
+ articulation: "nasal",
96
+ place: "labial"
97
+ },
98
+ {
99
+ char: "п",
100
+ id: "pe",
101
+ charType: "consonant",
102
+ name: "пе",
103
+ ipa: "p",
104
+ voicing: "voiceless",
105
+ articulation: "stop",
106
+ place: "labial"
107
+ },
108
+ {
109
+ char: "ф",
110
+ id: "fe",
111
+ charType: "consonant",
112
+ name: "еф",
113
+ ipa: "f",
114
+ voicing: "voiceless",
115
+ articulation: "fricative",
116
+ place: "labial"
117
+ },
118
+ {
119
+ char: "д",
120
+ id: "de",
121
+ charType: "consonant",
122
+ name: "де",
123
+ ipa: "d",
124
+ voicing: "voiced",
125
+ articulation: "stop",
126
+ place: "dental"
127
+ },
128
+ {
129
+ char: "з",
130
+ id: "ze",
131
+ charType: "consonant",
132
+ name: "зе",
133
+ ipa: "z",
134
+ voicing: "voiced",
135
+ articulation: "fricative",
136
+ place: "alveolar"
137
+ },
138
+ {
139
+ char: "т",
140
+ id: "te",
141
+ charType: "consonant",
142
+ name: "те",
143
+ ipa: "t",
144
+ voicing: "voiceless",
145
+ articulation: "stop",
146
+ place: "dental"
147
+ },
148
+ {
149
+ char: "с",
150
+ id: "se",
151
+ charType: "consonant",
152
+ name: "ес",
153
+ ipa: "s",
154
+ voicing: "voiceless",
155
+ articulation: "fricative",
156
+ place: "alveolar"
157
+ },
158
+ {
159
+ char: "ц",
160
+ id: "tse",
161
+ charType: "consonant",
162
+ name: "це",
163
+ ipa: "ts",
164
+ voicing: "voiceless",
165
+ articulation: "fricative",
166
+ place: "alveolar"
167
+ },
168
+ {
169
+ char: "дз",
170
+ id: "dze",
171
+ charType: "consonant",
172
+ name: "дзе",
173
+ ipa: "dz",
174
+ voicing: "voiced",
175
+ articulation: "fricative",
176
+ place: "alveolar"
177
+ },
178
+ {
179
+ char: "л",
180
+ id: "le",
181
+ charType: "consonant",
182
+ name: "ел",
183
+ ipa: "l",
184
+ voicing: "lateral",
185
+ articulation: "lateral",
186
+ place: "alveolar"
187
+ },
188
+ {
189
+ char: "н",
190
+ id: "ne",
191
+ charType: "consonant",
192
+ name: "ен",
193
+ ipa: "n",
194
+ voicing: "nasal",
195
+ articulation: "nasal",
196
+ place: "alveolar"
197
+ },
198
+ {
199
+ char: "р",
200
+ id: "re",
201
+ charType: "consonant",
202
+ name: "ер",
203
+ ipa: "r",
204
+ voicing: "trill",
205
+ articulation: "trill",
206
+ place: "alveolar"
207
+ },
208
+ {
209
+ char: "є",
210
+ id: "ye_palatal",
211
+ charType: "consonant",
212
+ name: "є (palatalizing)",
213
+ ipa: "j",
214
+ voicing: "voiced",
215
+ articulation: "approximant",
216
+ place: "palatal"
217
+ },
218
+ {
219
+ char: "ю",
220
+ id: "yu_palatal",
221
+ charType: "consonant",
222
+ name: "ю (palatalizing)",
223
+ ipa: "j",
224
+ voicing: "voiced",
225
+ articulation: "approximant",
226
+ place: "palatal"
227
+ },
228
+ {
229
+ char: "я",
230
+ id: "ya_palatal",
231
+ charType: "consonant",
232
+ name: "я (palatalizing)",
233
+ ipa: "j",
234
+ voicing: "voiced",
235
+ articulation: "approximant",
236
+ place: "palatal"
237
+ },
238
+ {
239
+ char: "ї",
240
+ id: "yi",
241
+ charType: "consonant",
242
+ name: "ї",
243
+ ipa: "j",
244
+ voicing: "voiced",
245
+ articulation: "approximant",
246
+ place: "palatal"
247
+ },
248
+ {
249
+ char: "г",
250
+ id: "he",
251
+ charType: "consonant",
252
+ name: "ге",
253
+ ipa: "ɦ",
254
+ voicing: "voiced",
255
+ articulation: "fricative",
256
+ place: "velar"
257
+ },
258
+ {
259
+ char: "к",
260
+ id: "ka",
261
+ charType: "consonant",
262
+ name: "ка",
263
+ ipa: "k",
264
+ voicing: "voiceless",
265
+ articulation: "stop",
266
+ place: "velar"
267
+ },
268
+ {
269
+ char: "ґ",
270
+ id: "ga",
271
+ charType: "consonant",
272
+ name: "ґа",
273
+ ipa: "ɡ",
274
+ voicing: "voiced",
275
+ articulation: "stop",
276
+ place: "velar"
277
+ },
278
+ {
279
+ char: "х",
280
+ id: "kha",
281
+ charType: "consonant",
282
+ name: "ха",
283
+ ipa: "x",
284
+ voicing: "voiceless",
285
+ articulation: "fricative",
286
+ place: "velar"
287
+ },
288
+ {
289
+ char: "ч",
290
+ id: "che",
291
+ charType: "consonant",
292
+ name: "че",
293
+ ipa: "tʃ",
294
+ voicing: "voiced",
295
+ articulation: "affricate",
296
+ place: "palatal"
297
+ },
298
+ {
299
+ char: "ш",
300
+ id: "sha",
301
+ charType: "consonant",
302
+ name: "ша",
303
+ ipa: "ʃ",
304
+ voicing: "voiceless",
305
+ articulation: "fricative",
306
+ place: "palatal"
307
+ },
308
+ {
309
+ char: "ж",
310
+ id: "zhe",
311
+ charType: "consonant",
312
+ name: "же",
313
+ ipa: "ʒ",
314
+ voicing: "voiced",
315
+ articulation: "fricative",
316
+ place: "palatal"
317
+ },
318
+ {
319
+ char: "ґ",
320
+ id: "hard_sign",
321
+ charType: "consonant",
322
+ name: "м'який знак",
323
+ ipa: "",
324
+ voicing: "voiceless",
325
+ articulation: "stop",
326
+ place: "glottal"
327
+ }
328
+ ], i = [...n, ...r];
329
+ //#endregion
330
+ export { e as isConsonant, t as isVowel, i as ukrainianAllCharacters, r as ukrainianConsonants, n as ukrainianVowels };
package/dist/index.js CHANGED
@@ -1,9 +1,3 @@
1
- import { ukrainianAllCharacters as o, ukrainianConsonants as r, ukrainianVowels as i } from "./characters.js";
2
1
  import { isConsonant as e, isVowel as t } from "./types.js";
3
- export {
4
- e as isConsonant,
5
- t as isVowel,
6
- o as ukrainianAllCharacters,
7
- r as ukrainianConsonants,
8
- i as ukrainianVowels
9
- };
2
+ import { ukrainianAllCharacters as n, ukrainianConsonants as r, ukrainianVowels as i } from "./characters.js";
3
+ export { e as isConsonant, t as isVowel, n as ukrainianAllCharacters, r as ukrainianConsonants, i as ukrainianVowels };
@@ -3,3 +3,4 @@ export declare const ukrainianVowels: UkrainianVowelsInfo[];
3
3
  export declare const ukrainianConsonants: UkrainianConsonantsInfo[];
4
4
  export declare const ukrainianAllCharacters: (UkrainianVowelsInfo | UkrainianConsonantsInfo)[];
5
5
  export { isVowel, isConsonant, type UkrainianCharacter } from './types.js';
6
+ //# sourceMappingURL=characters.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"characters.d.ts","sourceRoot":"","sources":["../../../../../src/characters.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,mBAAmB,EACpB,MAAM,SAAS,CAAC;AAEjB,eAAO,MAAM,eAAe,EAAE,mBAAmB,EAgEhD,CAAC;AAEF,eAAO,MAAM,mBAAmB,EAAE,uBAAuB,EA4QxD,CAAC;AAEF,eAAO,MAAM,sBAAsB,mDAGlC,CAAC;AAGF,OAAO,EAAE,OAAO,EAAE,WAAW,EAAE,KAAK,kBAAkB,EAAE,MAAM,YAAY,CAAC"}
@@ -1,2 +1,3 @@
1
1
  export { ukrainianVowels, ukrainianConsonants, ukrainianAllCharacters, isVowel, isConsonant, } from './characters.js';
2
2
  export type { UkrainianVowelsInfo, UkrainianConsonantsInfo, UkrainianCharacter } from './types.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,sBAAsB,EACtB,OAAO,EACP,WAAW,GACZ,MAAM,iBAAiB,CAAC;AAEzB,YAAY,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC"}
@@ -28,3 +28,4 @@ export type UkrainianCharacter = UkrainianVowelsInfo | UkrainianConsonantsInfo;
28
28
  export declare function isVowel(character: UkrainianCharacter): character is UkrainianVowelsInfo;
29
29
  export declare function isConsonant(character: UkrainianCharacter): character is UkrainianConsonantsInfo;
30
30
  export {};
31
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,KAAK,0BAA0B,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,EAAE,OAAO,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACb,GAAG,0BAA0B,CAAC;AAE/B,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,WAAW,CAAC;IACtB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,YAAY,EAAE,MAAM,GAAG,WAAW,GAAG,OAAO,GAAG,aAAa,GAAG,SAAS,GAAG,OAAO,GAAG,WAAW,CAAC;IACjG,OAAO,EAAE,QAAQ,GAAG,WAAW,GAAG,OAAO,GAAG,SAAS,GAAG,aAAa,GAAG,OAAO,GAAG,WAAW,CAAC;IAC9F,KAAK,EAAE,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,SAAS,CAAC;CAC3E,GAAG,0BAA0B,CAAC;AAG/B,MAAM,MAAM,kBAAkB,GAC1B,mBAAmB,GACnB,uBAAuB,CAAC;AAG5B,wBAAgB,OAAO,CAAC,SAAS,EAAE,kBAAkB,GAAG,SAAS,IAAI,mBAAmB,CAEvF;AAED,wBAAgB,WAAW,CAAC,SAAS,EAAE,kBAAkB,GAAG,SAAS,IAAI,uBAAuB,CAE/F"}
package/dist/types.js CHANGED
@@ -1,10 +1,9 @@
1
- function o(n) {
2
- return n.charType === "vowel";
1
+ //#region src/types.ts
2
+ function e(e) {
3
+ return e.charType === "vowel";
3
4
  }
4
- function e(n) {
5
- return n.charType === "consonant";
5
+ function t(e) {
6
+ return e.charType === "consonant";
6
7
  }
7
- export {
8
- e as isConsonant,
9
- o as isVowel
10
- };
8
+ //#endregion
9
+ export { t as isConsonant, e as isVowel };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polyglot-bundles/uk-lang",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -17,12 +17,10 @@
17
17
  "access": "public"
18
18
  },
19
19
  "dependencies": {
20
- "@polyglot-bundles/content-shared": "0.3.2"
20
+ "@polyglot-bundles/content-shared": "0.5.1"
21
21
  },
22
22
  "devDependencies": {
23
- "vite": "^5.4.0",
24
- "vite-plugin-dts": "^4.0.0",
25
- "@polyglot-bundles/lang-tooling": "1.0.0"
23
+ "@polyglot-bundles/lang-tooling": "0.0.0"
26
24
  },
27
25
  "repository": {
28
26
  "type": "git",
@@ -30,7 +28,6 @@
30
28
  "directory": "packages/uk/lang"
31
29
  },
32
30
  "scripts": {
33
- "build": "vite build",
34
- "clean": "rm -rf dist"
31
+ "build": "vite build"
35
32
  }
36
33
  }