원클릭으로
update-hebrew-transliteration
Update the `hebrew-transliteration` npm package and sync the application's UI with any new/changed schema options
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Update the `hebrew-transliteration` npm package and sync the application's UI with any new/changed schema options
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | update-hebrew-transliteration |
| description | Update the `hebrew-transliteration` npm package and sync the application's UI with any new/changed schema options |
hebrew-transliteration PackageSteps to update the hebrew-transliteration npm package and sync the application's UI with any new/changed schema options.
npx npm-check-updates hebrew-transliteration -u
npm install
This updates package.json and installs the new version.
node scripts/extract-schemas.ts
This re-serializes all 9 preset schemas from the package into public/schemas/ and updates public/schemas/manifest.json with the new version number.
# Download old version for comparison
mkdir -p /tmp/ht-old
npm pack hebrew-transliteration@<OLD_VERSION> --pack-destination /tmp/ht-old
mkdir -p /tmp/ht-old/pkg && tar -xzf /tmp/ht-old/hebrew-transliteration-<OLD_VERSION>.tgz -C /tmp/ht-old/pkg
# Compare Schema types
diff /tmp/ht-old/pkg/package/dist/types/schema.d.ts node_modules/hebrew-transliteration/dist/schema.d.ts
# Compare Remove types
diff /tmp/ht-old/pkg/package/dist/types/remove.d.ts node_modules/hebrew-transliteration/dist/remove.d.ts
# Clean up
rm -rf /tmp/ht-old
Compare node_modules/hebrew-transliteration/dist/schemas/ against public/schemas/manifest.json:
ls node_modules/hebrew-transliteration/dist/schemas/*.d.ts
The SylOpts interface in node_modules/havarotjs/dist/types/text.d.ts may have new properties that flow into the Schema type.
# Download old havarotjs
npm pack havarotjs@<OLD_HAVAROT_VERSION> --pack-destination /tmp/ht-old
# Extract and compare text.d.ts
Check the SettingsDialog.svelte component for what's already present:
Consonants tab (src/components/transliterate/SettingsDialog.svelte):
consonants (line ~125) — list of all consonant keysVowels tab (same file):
vowels (line ~162) — list of all vowel keysOthers tab (same file):
orthographies (line ~188) — MS_SUFX, DIVINE_NAME, DIVINE_NAME_ELOHIM, SYLLABLE_SEPARATOR, DAGESH, MAQAF, PASEQ, SOF_PASUQDAGESH_CHAZAQ — radio group (none/double/custom)STRESS_MARKER — switch + location/mark/exclude selectsketivQeres — add/remove pair listON_COMPLETE — toggle + textareaSyllabification tab (same file):
syllabification (line ~199) — boolean/string dropdownssrc/components/remove/Settings.svelte):ON_COMPLETE — toggle + textarea at bottom of dialogWhen adding properties that involve functions or RegExps:
src/lib/schemaSerialization.ts — serialize_schema and deserialize_schema pass the full schema through serialize_object/deserialize_object, which handles:
{ __function: "..." }{ __regexp: "...", flags: "..." }serialize_value/deserialize_valuesrc/components/remove/index.svelte wraps the options with serialize_object/deserialize_object for localStoragenpm run lint
npm run build
npm run test
| Category | Where it lives | Example properties |
|---|---|---|
| Consonants | Schema (required) | ALEF, BET, BET_DAGESH, ..., TAV_DAGESH |
| Vowels | Schema (required) | VOCAL_SHEVA, PATAH, QAMATS, HIRIQ_YOD, PATAH_HE, ... |
| Orthographic features | Schema (optional) | MS_SUFX, DIVINE_NAME, DIVINE_NAME_ELOHIM, SYLLABLE_SEPARATOR |
| Marks | Schema (optional) | DAGESH, MAQAF, PASEQ, SOF_PASUQ |
| Dagesh Chazaq | Schema (optional) | DAGESH_CHAZAQ: boolean | string |
| Stress Marker | Schema (optional) | STRESS_MARKER: { location, mark, exclude? } |
| Additional Features | Schema (optional) | ADDITIONAL_FEATURES: WordFeature[] | SyllableFeature[] | ClusterFeature[] |
| Ketiv/Qere | Schema (optional, SylOpts) | ketivQeres: KetivQere[] |
| ON_COMPLETE | Schema + RemoveOptions (optional) | ON_COMPLETE: (result, context) => string |
| Syllabification | Schema (optional, SylOpts) | allowNoNiqqud, article, holemHaser, ketivQeres, longVowels, ... |
| Remove options | RemoveOptions (optional) | ETNAHTA, SHEVA, MAQAF, PUNC_GERESH, ... |