Commit 8198791
chore: BL-15916 separate raw source data files from processed data files
https://issues.bloomlibrary.org/youtrack/issue/BL-15916
The card notes that the raw source files and the files our pipeline generates
from them lived together in one folder and should be separated. Move the raw
source files into a new language-data/source/ subfolder, leaving the generated
files (languageData.json, equivalentTags.json), which the runtime imports, in
language-data/:
- language-data/source/langtags.json
- language-data/source/iso-639-3.tab
- language-data/source/iso-639-3-macrolanguages.tab
Updated the source-file import/read paths in langtagProcessing.ts and
langtagProcessingHelpers.ts, and the Data sources section of the README.
Verified: re-running the langtag-processing pipeline from the new paths
produces byte-identical languageData.json and equivalentTags.json; tsc
typecheck passes; the full find-language test suite passes (174/174).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 9a57b24 commit 8198791
6 files changed
Lines changed: 6 additions & 6 deletions
File tree
- components/language-chooser/common/find-language
- language-data/source
- scripts
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
206 | 206 | | |
207 | 207 | | |
208 | 208 | | |
209 | | - | |
| 209 | + | |
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| |||
218 | 218 | | |
219 | 219 | | |
220 | 220 | | |
221 | | - | |
| 221 | + | |
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
| |||
0 commit comments