You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: platform.bible-extension/README.md
+53Lines changed: 53 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,5 @@
1
+
<!-- Attention template README maintainers: The content in the portion of this README following the Template Info section roughly parallels that of the paranext-multi-extension-template. When editing one, please consider whether similar changes should also be made in the other.-->
2
+
1
3
# lexicon
2
4
3
5
The Platform.Bible extension for managing the lexicon for your project's target/vernacular language.
@@ -186,6 +188,57 @@ useEffect(() => {
186
188
- To use `lexiconService.addEntry`, also import types `IEntry` and `PartialEntry` from `'lexicon'`.
187
189
- To use `lexiconService.getEntries`, also import types `IEntryQuery` and `PartialEntry` from `'lexicon'`.
188
190
191
+
## Sync template updates into this extension
192
+
193
+
This extension is based on [`paranext-extension-template`](https://github.com/paranext/paranext-extension-template). Tooling updates (linting, formatting, build config, etc.) can be pulled in interactively using the sync script.
194
+
195
+
### Prerequisites
196
+
197
+
Clone `paranext-extension-template` as a sibling of the `languageforge-lexbox` monorepo root:
|`e`| green | Keep the **extension** version — no change |
222
+
|`t`| red | Apply the **template** version directly |
223
+
|`d`| yellow |**Defer** — skip for now and revisit after the main pass |
224
+
|`b`| orange | Do **both** — copy the template version, then defer to review/edit |
225
+
226
+
Files that have extension-specific modifications (`package.json`, `manifest.json`, `README.md`, config files, etc.) have `[t]` blocked, ensuring that if you apply the template version, you have to review them.
227
+
228
+
Files in `contributions/` and `assets/` are surfaced for reference but block both `[t]` and `[b]` — adapt those manually.
229
+
230
+
### Deferred files
231
+
232
+
After the main pass, deferred files are listed and the script pauses so you can edit them. Press Enter to do another pass over only the deferred files. Repeat until all deferred files are resolved.
233
+
234
+
### Final steps
235
+
236
+
- Commit changes to your working branch.
237
+
- Review a diff of that branch from `develop` to verify you haven't removed extension-specific updates.
238
+
- Delete `package-lock.json` and `node_modules/`, then run `npm i --no-scripts` to regenerate `package-lock.json`.
239
+
- Run `npm run build` and `npm run lint` and fix any failures. If failures arise from (e.g.) changed lint rules in the template, don't just revert the rule change; either update the code or add a targeted exemption.
0 commit comments