@polyglot-bundles/mg-lang 0.1.3 → 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,70 +1,396 @@
1
- function c(a) {
2
- return a.charType === "vowel";
1
+ //#region src/characters.ts
2
+ function e(e) {
3
+ return e.charType === "vowel";
3
4
  }
4
- function n(a) {
5
- return a.charType === "consonant";
5
+ function t(e) {
6
+ return e.charType === "consonant";
6
7
  }
7
- const i = [
8
- // Short vowels
9
- { char: "a", id: "a", charType: "vowel", ipa: "a", name: "A", length: "short" },
10
- { char: "e", id: "e", charType: "vowel", ipa: "ɛ", name: "E", length: "short" },
11
- { char: "i", id: "i", charType: "vowel", ipa: "i", name: "I", length: "short" },
12
- { char: "o", id: "o", charType: "vowel", ipa: "ɔ", name: "O", length: "short" },
13
- { char: "u", id: "u", charType: "vowel", ipa: "u", name: "U", length: "short" },
14
- // Long vowels
15
- { char: "â", id: "a_circumflex", charType: "vowel", ipa: "a", name: "Â", length: "short" },
16
- { char: "ê", id: "e_circumflex", charType: "vowel", ipa: "ɛ", name: "Ê", length: "short" },
17
- { char: "î", id: "i_circumflex", charType: "vowel", ipa: "i", name: "Î", length: "short" },
18
- { char: "ô", id: "o_circumflex", charType: "vowel", ipa: "ɔ", name: "Ô", length: "short" },
19
- { char: "û", id: "u_circumflex", charType: "vowel", ipa: "u", name: "Û", length: "short" },
20
- // Diphthongs
21
- { char: "ai", id: "ai", charType: "vowel", ipa: "ai", name: "AI", length: "short" },
22
- { char: "ao", id: "ao", charType: "vowel", ipa: "aʊ", name: "AO", length: "short" },
23
- { char: "au", id: "au", charType: "vowel", ipa: "au", name: "AU", length: "short" },
24
- { char: "ei", id: "ei", charType: "vowel", ipa: "ɛi", name: "EI", length: "short" },
25
- { char: "io", id: "io", charType: "vowel", ipa: "io", name: "IO", length: "short" },
26
- { char: "iu", id: "iu", charType: "vowel", ipa: "iu", name: "IU", length: "short" },
27
- { char: "oe", id: "oe", charType: "vowel", ipa: "uɛ", name: "OE", length: "short" },
28
- { char: "ou", id: "ou", charType: "vowel", ipa: "ʊu", name: "OU", length: "short" }
29
- ], e = [
30
- // Bilabial consonants
31
- { char: "b", id: "b", charType: "consonant", ipa: "b", name: "B", voicing: "voiced", articulation: "stop", place: "labial" },
32
- { char: "p", id: "p", charType: "consonant", ipa: "p", name: "P", voicing: "voiceless", articulation: "stop", place: "labial" },
33
- { char: "m", id: "m", charType: "consonant", ipa: "m", name: "M", voicing: "nasal", articulation: "nasal", place: "labial" },
34
- // Labiodental consonants
35
- { char: "v", id: "v", charType: "consonant", ipa: "v", name: "V", voicing: "voiced", articulation: "fricative", place: "labial" },
36
- { char: "f", id: "f", charType: "consonant", ipa: "f", name: "F", voicing: "voiceless", articulation: "fricative", place: "labial" },
37
- // Dental/Alveolar consonants
38
- { char: "t", id: "t", charType: "consonant", ipa: "t", name: "T", voicing: "voiceless", articulation: "stop", place: "dental" },
39
- { char: "d", id: "d_foreign", charType: "consonant", ipa: "d", name: "D (foreign)", voicing: "voiced", articulation: "stop", place: "dental" },
40
- { char: "s", id: "s", charType: "consonant", ipa: "s", name: "S", voicing: "voiceless", articulation: "fricative", place: "alveolar" },
41
- { char: "z", id: "z_foreign", charType: "consonant", ipa: "z", name: "Z (foreign)", voicing: "voiced", articulation: "fricative", place: "alveolar" },
42
- { char: "n", id: "n", charType: "consonant", ipa: "n", name: "N", voicing: "nasal", articulation: "nasal", place: "alveolar" },
43
- { char: "l", id: "l", charType: "consonant", ipa: "l", name: "L", voicing: "lateral", articulation: "lateral", place: "alveolar" },
44
- { char: "r", id: "r", charType: "consonant", ipa: "r", name: "R", voicing: "trill", articulation: "trill", place: "alveolar" },
45
- // Palatal consonants
46
- { char: "y", id: "y", charType: "consonant", ipa: "j", name: "Y", voicing: "voiced", articulation: "approximant", place: "palatal" },
47
- { char: "j", id: "j_foreign", charType: "consonant", ipa: "dʒ", name: "J (foreign)", voicing: "voiced", articulation: "affricate", place: "palatal" },
48
- // Velar consonants
49
- { char: "k", id: "k", charType: "consonant", ipa: "k", name: "K", voicing: "voiceless", articulation: "stop", place: "velar" },
50
- { char: "g", id: "g_foreign", charType: "consonant", ipa: "ɡ", name: "G (foreign)", voicing: "voiced", articulation: "stop", place: "velar" },
51
- { char: "h", id: "h", charType: "consonant", ipa: "h", name: "H", voicing: "voiceless", articulation: "fricative", place: "glottal" },
52
- { char: "g", id: "g_velar", charType: "consonant", ipa: "ɡ", name: "G (velar)", voicing: "voiced", articulation: "stop", place: "velar" },
53
- // Other consonants
54
- { char: "q", id: "q_foreign", charType: "consonant", ipa: "k", name: "Q (foreign)", voicing: "voiceless", articulation: "stop", place: "velar" },
55
- { char: "c", id: "c_foreign", charType: "consonant", ipa: "k", name: "C (foreign)", voicing: "voiceless", articulation: "stop", place: "velar" },
56
- { char: "x", id: "x_foreign", charType: "consonant", ipa: "ks", name: "X (foreign)", voicing: "voiceless", articulation: "stop", place: "velar" },
57
- { char: "w", id: "w_foreign", charType: "consonant", ipa: "w", name: "W (foreign)", voicing: "voiced", articulation: "approximant", place: "labial" },
58
- { char: "d", id: "d_apical", charType: "consonant", ipa: "ɽ", name: "D (apical)", voicing: "voiced", articulation: "stop", place: "retroflex" },
59
- { char: "z", id: "z_apical", charType: "consonant", ipa: "z", name: "Z (apical)", voicing: "voiced", articulation: "fricative", place: "alveolar" }
60
- ], o = [
61
- ...i,
62
- ...e
63
- ];
64
- export {
65
- n as isConsonant,
66
- c as isVowel,
67
- o as malagasyAllCharacters,
68
- e as malagasyConsonants,
69
- i as malagasyVowels
70
- };
8
+ var n = [
9
+ {
10
+ char: "a",
11
+ id: "a",
12
+ charType: "vowel",
13
+ ipa: "a",
14
+ name: "A",
15
+ length: "short"
16
+ },
17
+ {
18
+ char: "e",
19
+ id: "e",
20
+ charType: "vowel",
21
+ ipa: "ɛ",
22
+ name: "E",
23
+ length: "short"
24
+ },
25
+ {
26
+ char: "i",
27
+ id: "i",
28
+ charType: "vowel",
29
+ ipa: "i",
30
+ name: "I",
31
+ length: "short"
32
+ },
33
+ {
34
+ char: "o",
35
+ id: "o",
36
+ charType: "vowel",
37
+ ipa: "ɔ",
38
+ name: "O",
39
+ length: "short"
40
+ },
41
+ {
42
+ char: "u",
43
+ id: "u",
44
+ charType: "vowel",
45
+ ipa: "u",
46
+ name: "U",
47
+ length: "short"
48
+ },
49
+ {
50
+ char: "â",
51
+ id: "a_circumflex",
52
+ charType: "vowel",
53
+ ipa: "a",
54
+ name: "Â",
55
+ length: "short"
56
+ },
57
+ {
58
+ char: "ê",
59
+ id: "e_circumflex",
60
+ charType: "vowel",
61
+ ipa: "ɛ",
62
+ name: "Ê",
63
+ length: "short"
64
+ },
65
+ {
66
+ char: "î",
67
+ id: "i_circumflex",
68
+ charType: "vowel",
69
+ ipa: "i",
70
+ name: "Î",
71
+ length: "short"
72
+ },
73
+ {
74
+ char: "ô",
75
+ id: "o_circumflex",
76
+ charType: "vowel",
77
+ ipa: "ɔ",
78
+ name: "Ô",
79
+ length: "short"
80
+ },
81
+ {
82
+ char: "û",
83
+ id: "u_circumflex",
84
+ charType: "vowel",
85
+ ipa: "u",
86
+ name: "Û",
87
+ length: "short"
88
+ },
89
+ {
90
+ char: "ai",
91
+ id: "ai",
92
+ charType: "vowel",
93
+ ipa: "ai",
94
+ name: "AI",
95
+ length: "short"
96
+ },
97
+ {
98
+ char: "ao",
99
+ id: "ao",
100
+ charType: "vowel",
101
+ ipa: "aʊ",
102
+ name: "AO",
103
+ length: "short"
104
+ },
105
+ {
106
+ char: "au",
107
+ id: "au",
108
+ charType: "vowel",
109
+ ipa: "au",
110
+ name: "AU",
111
+ length: "short"
112
+ },
113
+ {
114
+ char: "ei",
115
+ id: "ei",
116
+ charType: "vowel",
117
+ ipa: "ɛi",
118
+ name: "EI",
119
+ length: "short"
120
+ },
121
+ {
122
+ char: "io",
123
+ id: "io",
124
+ charType: "vowel",
125
+ ipa: "io",
126
+ name: "IO",
127
+ length: "short"
128
+ },
129
+ {
130
+ char: "iu",
131
+ id: "iu",
132
+ charType: "vowel",
133
+ ipa: "iu",
134
+ name: "IU",
135
+ length: "short"
136
+ },
137
+ {
138
+ char: "oe",
139
+ id: "oe",
140
+ charType: "vowel",
141
+ ipa: "uɛ",
142
+ name: "OE",
143
+ length: "short"
144
+ },
145
+ {
146
+ char: "ou",
147
+ id: "ou",
148
+ charType: "vowel",
149
+ ipa: "ʊu",
150
+ name: "OU",
151
+ length: "short"
152
+ }
153
+ ], r = [
154
+ {
155
+ char: "b",
156
+ id: "b",
157
+ charType: "consonant",
158
+ ipa: "b",
159
+ name: "B",
160
+ voicing: "voiced",
161
+ articulation: "stop",
162
+ place: "labial"
163
+ },
164
+ {
165
+ char: "p",
166
+ id: "p",
167
+ charType: "consonant",
168
+ ipa: "p",
169
+ name: "P",
170
+ voicing: "voiceless",
171
+ articulation: "stop",
172
+ place: "labial"
173
+ },
174
+ {
175
+ char: "m",
176
+ id: "m",
177
+ charType: "consonant",
178
+ ipa: "m",
179
+ name: "M",
180
+ voicing: "nasal",
181
+ articulation: "nasal",
182
+ place: "labial"
183
+ },
184
+ {
185
+ char: "v",
186
+ id: "v",
187
+ charType: "consonant",
188
+ ipa: "v",
189
+ name: "V",
190
+ voicing: "voiced",
191
+ articulation: "fricative",
192
+ place: "labial"
193
+ },
194
+ {
195
+ char: "f",
196
+ id: "f",
197
+ charType: "consonant",
198
+ ipa: "f",
199
+ name: "F",
200
+ voicing: "voiceless",
201
+ articulation: "fricative",
202
+ place: "labial"
203
+ },
204
+ {
205
+ char: "t",
206
+ id: "t",
207
+ charType: "consonant",
208
+ ipa: "t",
209
+ name: "T",
210
+ voicing: "voiceless",
211
+ articulation: "stop",
212
+ place: "dental"
213
+ },
214
+ {
215
+ char: "d",
216
+ id: "d_foreign",
217
+ charType: "consonant",
218
+ ipa: "d",
219
+ name: "D (foreign)",
220
+ voicing: "voiced",
221
+ articulation: "stop",
222
+ place: "dental"
223
+ },
224
+ {
225
+ char: "s",
226
+ id: "s",
227
+ charType: "consonant",
228
+ ipa: "s",
229
+ name: "S",
230
+ voicing: "voiceless",
231
+ articulation: "fricative",
232
+ place: "alveolar"
233
+ },
234
+ {
235
+ char: "z",
236
+ id: "z_foreign",
237
+ charType: "consonant",
238
+ ipa: "z",
239
+ name: "Z (foreign)",
240
+ voicing: "voiced",
241
+ articulation: "fricative",
242
+ place: "alveolar"
243
+ },
244
+ {
245
+ char: "n",
246
+ id: "n",
247
+ charType: "consonant",
248
+ ipa: "n",
249
+ name: "N",
250
+ voicing: "nasal",
251
+ articulation: "nasal",
252
+ place: "alveolar"
253
+ },
254
+ {
255
+ char: "l",
256
+ id: "l",
257
+ charType: "consonant",
258
+ ipa: "l",
259
+ name: "L",
260
+ voicing: "lateral",
261
+ articulation: "lateral",
262
+ place: "alveolar"
263
+ },
264
+ {
265
+ char: "r",
266
+ id: "r",
267
+ charType: "consonant",
268
+ ipa: "r",
269
+ name: "R",
270
+ voicing: "trill",
271
+ articulation: "trill",
272
+ place: "alveolar"
273
+ },
274
+ {
275
+ char: "y",
276
+ id: "y",
277
+ charType: "consonant",
278
+ ipa: "j",
279
+ name: "Y",
280
+ voicing: "voiced",
281
+ articulation: "approximant",
282
+ place: "palatal"
283
+ },
284
+ {
285
+ char: "j",
286
+ id: "j_foreign",
287
+ charType: "consonant",
288
+ ipa: "dʒ",
289
+ name: "J (foreign)",
290
+ voicing: "voiced",
291
+ articulation: "affricate",
292
+ place: "palatal"
293
+ },
294
+ {
295
+ char: "k",
296
+ id: "k",
297
+ charType: "consonant",
298
+ ipa: "k",
299
+ name: "K",
300
+ voicing: "voiceless",
301
+ articulation: "stop",
302
+ place: "velar"
303
+ },
304
+ {
305
+ char: "g",
306
+ id: "g_foreign",
307
+ charType: "consonant",
308
+ ipa: "ɡ",
309
+ name: "G (foreign)",
310
+ voicing: "voiced",
311
+ articulation: "stop",
312
+ place: "velar"
313
+ },
314
+ {
315
+ char: "h",
316
+ id: "h",
317
+ charType: "consonant",
318
+ ipa: "h",
319
+ name: "H",
320
+ voicing: "voiceless",
321
+ articulation: "fricative",
322
+ place: "glottal"
323
+ },
324
+ {
325
+ char: "g",
326
+ id: "g_velar",
327
+ charType: "consonant",
328
+ ipa: "ɡ",
329
+ name: "G (velar)",
330
+ voicing: "voiced",
331
+ articulation: "stop",
332
+ place: "velar"
333
+ },
334
+ {
335
+ char: "q",
336
+ id: "q_foreign",
337
+ charType: "consonant",
338
+ ipa: "k",
339
+ name: "Q (foreign)",
340
+ voicing: "voiceless",
341
+ articulation: "stop",
342
+ place: "velar"
343
+ },
344
+ {
345
+ char: "c",
346
+ id: "c_foreign",
347
+ charType: "consonant",
348
+ ipa: "k",
349
+ name: "C (foreign)",
350
+ voicing: "voiceless",
351
+ articulation: "stop",
352
+ place: "velar"
353
+ },
354
+ {
355
+ char: "x",
356
+ id: "x_foreign",
357
+ charType: "consonant",
358
+ ipa: "ks",
359
+ name: "X (foreign)",
360
+ voicing: "voiceless",
361
+ articulation: "stop",
362
+ place: "velar"
363
+ },
364
+ {
365
+ char: "w",
366
+ id: "w_foreign",
367
+ charType: "consonant",
368
+ ipa: "w",
369
+ name: "W (foreign)",
370
+ voicing: "voiced",
371
+ articulation: "approximant",
372
+ place: "labial"
373
+ },
374
+ {
375
+ char: "d",
376
+ id: "d_apical",
377
+ charType: "consonant",
378
+ ipa: "ɽ",
379
+ name: "D (apical)",
380
+ voicing: "voiced",
381
+ articulation: "stop",
382
+ place: "retroflex"
383
+ },
384
+ {
385
+ char: "z",
386
+ id: "z_apical",
387
+ charType: "consonant",
388
+ ipa: "z",
389
+ name: "Z (apical)",
390
+ voicing: "voiced",
391
+ articulation: "fricative",
392
+ place: "alveolar"
393
+ }
394
+ ], i = [...n, ...r];
395
+ //#endregion
396
+ export { t as isConsonant, e as isVowel, i as malagasyAllCharacters, r as malagasyConsonants, n as malagasyVowels };
package/dist/index.js CHANGED
@@ -1,8 +1,2 @@
1
- import { isConsonant as o, isVowel as l, malagasyAllCharacters as n, malagasyConsonants as e, malagasyVowels as m } from "./characters.js";
2
- export {
3
- o as isConsonant,
4
- l as isVowel,
5
- n as malagasyAllCharacters,
6
- e as malagasyConsonants,
7
- m as malagasyVowels
8
- };
1
+ import { isConsonant as e, isVowel as t, malagasyAllCharacters as n, malagasyConsonants as r, malagasyVowels as i } from "./characters.js";
2
+ export { e as isConsonant, t as isVowel, n as malagasyAllCharacters, r as malagasyConsonants, i as malagasyVowels };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polyglot-bundles/mg-lang",
3
- "version": "0.1.3",
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.4.1"
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/mg/lang"
31
29
  },
32
30
  "scripts": {
33
- "build": "vite build",
34
- "clean": "rm -rf dist"
31
+ "build": "vite build"
35
32
  }
36
33
  }