@polyglot-bundles/pt-br 0.4.0 → 0.5.1

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.
@@ -0,0 +1,234 @@
1
+ //#region ../lang/dist/sounds.js
2
+ var e = [
3
+ {
4
+ char: "m",
5
+ id: "m",
6
+ charType: "consonant",
7
+ ipa: "m"
8
+ },
9
+ {
10
+ char: "n",
11
+ id: "n",
12
+ charType: "consonant",
13
+ ipa: "n"
14
+ },
15
+ {
16
+ char: "nh",
17
+ id: "ny",
18
+ charType: "consonant",
19
+ ipa: "ɲ"
20
+ },
21
+ {
22
+ char: "p",
23
+ id: "p",
24
+ charType: "consonant",
25
+ ipa: "p"
26
+ },
27
+ {
28
+ char: "b",
29
+ id: "b",
30
+ charType: "consonant",
31
+ ipa: "b"
32
+ },
33
+ {
34
+ char: "t",
35
+ id: "t",
36
+ charType: "consonant",
37
+ ipa: "t"
38
+ },
39
+ {
40
+ char: "d",
41
+ id: "d",
42
+ charType: "consonant",
43
+ ipa: "d"
44
+ },
45
+ {
46
+ char: "c / k",
47
+ id: "k",
48
+ charType: "consonant",
49
+ ipa: "k"
50
+ },
51
+ {
52
+ char: "g",
53
+ id: "g",
54
+ charType: "consonant",
55
+ ipa: "ɡ"
56
+ },
57
+ {
58
+ char: "f",
59
+ id: "f",
60
+ charType: "consonant",
61
+ ipa: "f"
62
+ },
63
+ {
64
+ char: "v",
65
+ id: "v",
66
+ charType: "consonant",
67
+ ipa: "v"
68
+ },
69
+ {
70
+ char: "s",
71
+ id: "s",
72
+ charType: "consonant",
73
+ ipa: "s"
74
+ },
75
+ {
76
+ char: "z",
77
+ id: "z",
78
+ charType: "consonant",
79
+ ipa: "z"
80
+ },
81
+ {
82
+ char: "ch / x",
83
+ id: "sh",
84
+ charType: "consonant",
85
+ ipa: "ʃ"
86
+ },
87
+ {
88
+ char: "j / g(e/i)",
89
+ id: "zh",
90
+ charType: "consonant",
91
+ ipa: "ʒ"
92
+ },
93
+ {
94
+ char: "r (single)",
95
+ id: "r_tap",
96
+ charType: "consonant",
97
+ ipa: "ɾ"
98
+ },
99
+ {
100
+ char: "rr / r(initial)",
101
+ id: "h",
102
+ charType: "consonant",
103
+ ipa: "h",
104
+ display: "rr → /h/"
105
+ },
106
+ {
107
+ char: "l",
108
+ id: "l",
109
+ charType: "consonant",
110
+ ipa: "l"
111
+ },
112
+ {
113
+ char: "lh",
114
+ id: "l_palatal",
115
+ charType: "consonant",
116
+ ipa: "ʎ"
117
+ },
118
+ {
119
+ char: "ti",
120
+ id: "ch_palatal",
121
+ charType: "consonant",
122
+ ipa: "tʃ",
123
+ display: "t before /i/"
124
+ },
125
+ {
126
+ char: "di",
127
+ id: "j_palatal",
128
+ charType: "consonant",
129
+ ipa: "dʒ",
130
+ display: "d before /i/"
131
+ }
132
+ ], t = [
133
+ {
134
+ char: "i",
135
+ id: "i",
136
+ charType: "vowel",
137
+ ipa: "i"
138
+ },
139
+ {
140
+ char: "ê",
141
+ id: "e_close",
142
+ charType: "vowel",
143
+ ipa: "e"
144
+ },
145
+ {
146
+ char: "é",
147
+ id: "e_open",
148
+ charType: "vowel",
149
+ ipa: "ɛ"
150
+ },
151
+ {
152
+ char: "a",
153
+ id: "a",
154
+ charType: "vowel",
155
+ ipa: "a"
156
+ },
157
+ {
158
+ char: "ó",
159
+ id: "o_open",
160
+ charType: "vowel",
161
+ ipa: "ɔ"
162
+ },
163
+ {
164
+ char: "ô",
165
+ id: "o_close",
166
+ charType: "vowel",
167
+ ipa: "o"
168
+ },
169
+ {
170
+ char: "u",
171
+ id: "u",
172
+ charType: "vowel",
173
+ ipa: "u"
174
+ }
175
+ ], n = [
176
+ {
177
+ char: "ĩ / im",
178
+ id: "i_nasal",
179
+ charType: "vowel",
180
+ ipa: "ĩ"
181
+ },
182
+ {
183
+ char: "ẽ / em",
184
+ id: "e_nasal",
185
+ charType: "vowel",
186
+ ipa: "ẽ"
187
+ },
188
+ {
189
+ char: "ã / am",
190
+ id: "a_nasal",
191
+ charType: "vowel",
192
+ ipa: "ɐ̃"
193
+ },
194
+ {
195
+ char: "õ / om",
196
+ id: "o_nasal",
197
+ charType: "vowel",
198
+ ipa: "õ"
199
+ },
200
+ {
201
+ char: "ũ / um",
202
+ id: "u_nasal",
203
+ charType: "vowel",
204
+ ipa: "ũ"
205
+ }
206
+ ], r = {
207
+ categories: [
208
+ {
209
+ id: "consonants",
210
+ label: "Consonants",
211
+ sounds: e,
212
+ charType: "consonant",
213
+ color: "blue"
214
+ },
215
+ {
216
+ id: "oral-vowels",
217
+ label: "Oral Vowels (7)",
218
+ sounds: t,
219
+ charType: "vowel",
220
+ color: "green"
221
+ },
222
+ {
223
+ id: "nasal-vowels",
224
+ label: "Nasal Vowels",
225
+ sounds: n,
226
+ charType: "vowel",
227
+ color: "red"
228
+ }
229
+ ],
230
+ audioBasePath: "/audio/portuguese-br",
231
+ audioFilePattern: "{id}.mp3"
232
+ };
233
+ //#endregion
234
+ export { r as brazilianPortugueseSoundsConfig, e as ptBrConsonants, n as ptBrNasalVowels, t as ptBrOralVowels };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polyglot-bundles/pt-br",
3
- "version": "0.4.0",
3
+ "version": "0.5.1",
4
4
  "description": "Portuguese (Brazil) language bundle — composes the @polyglot-bundles/pt-br-* sub-packages into a single LanguageBundle",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -26,21 +26,22 @@
26
26
  "license": "MIT",
27
27
  "repository": {
28
28
  "type": "git",
29
- "url": "https://github.com/fustilio/polyglot-bundles",
29
+ "url": "git+https://github.com/fustilio/polyglot-bundles.git",
30
30
  "directory": "packages/pt-br/main"
31
31
  },
32
32
  "devDependencies": {
33
33
  "vite": "^8.0.8",
34
34
  "vite-plugin-dts": "^4.5.4",
35
35
  "vitest": "^4.1.4",
36
- "@polyglot-bundles/content-shared": "0.6.0",
37
36
  "@polyglot-bundles/lang-tooling": "0.0.0",
38
- "@polyglot-bundles/pt-br-lang": "0.4.0",
39
- "@polyglot-bundles/pt-br-minimal-pairs": "0.4.0"
37
+ "@polyglot-bundles/pt-br-lang": "0.5.1",
38
+ "@polyglot-bundles/content-shared": "0.7.1",
39
+ "@polyglot-bundles/pt-br-minimal-pairs": "0.5.1"
40
40
  },
41
41
  "scripts": {
42
42
  "typecheck": "tsc --noEmit",
43
43
  "build": "vite build",
44
- "test": "vitest run"
44
+ "test": "vitest run",
45
+ "clean": "rm -rf dist"
45
46
  }
46
47
  }