Commit c494004
Update from template (#23)
* Initial commit
* Added Vite/TypeScript/React and pulling papi types
* Added package.json for extension because Paranext needs it
* Changed extensions back to commonjs because paranext does not support es modules in production
* Removed data provider info
* Added scss style example
* Added support for running paranext with this extension, added source map for main.ts
* Fixed typo in type declaration reference
* Updated to new command-line argument name
* Moved vite config into vite folder
* Began splitting Vite into two build steps
* WebViews transpile and output into adjacent temp-vite folder
* Build step 2 grabs web view files built in step 1, excluded imports from web views are now exact matches
* Got two-step vite build working, changed React webviews to use global variable instead of component name to prevent tree shaking
* Cleanup
* Fixed build:vite, cleanup
* Small fix to the readme
* Some cleanup, adding comments where config is shared with paranext-core
* Upgraded to latest rollup-plugin-import-manager which includes the patch we made
* Used imports in web view
* Added notice about import manager false positive
* Updated calls to addWebView
* Update rollup-plugin-import-manager to latest
* Replace NODE_ENV on WebViews in Vite (#12)
* Updated data provider to data type api, other updates to match existing extension code to show other features and such
* Updated useData to new type api
* Updated to newer data provider api
* Fix vite security vulnerability (#16)
* Converted papi components to use package
* Bumped rollup-plugin-import-manager to fix irregular require statements
* Updated template to use web view provider api
* Update for split `papi.d.ts` (#20)
* Upgrade TypeScript (#21)
* Shared paranext extension types, improved getting papi-dts
* Converted extension types to modules, removed unnecessary path aliases
* Fixed extension import in main
* Use extension lib types instead of dist
* Replace fetch to bible-api.com with the USFM data provider (#22)
* Set `.editorconfig` (#23)
- also VS Code rulers and EOF
* Update command syntax for papi-commands
* Added more explanation for why we have public/assets/index.d.ts
* Lower camel case in most ids
* Fix problems seen when using the latest core branch (#25)
* Update security vulnerabilities (#30)
- also fix VerseRef selector
- also fix Greet button
- also add prettier config
* Changed build tool to webpack, many other small improvements
* Changed folder structure: lib to src, dist to release, and build to dist
* Various fixes and tweaks found while converting paranext-core to webpack
* Added DEBUG_PROD for sourcemaps in production builds
* Minor update to package-lock.json
* Added import that got removed in the rebase
* Switched to commonjs-static modules for more predictable use
* Prettier formatted all files
* Changed extension dependencies to peerDependencies since the only ingestor Paranext must have them installed to be able to provide them
* Removed data url support since paranext does not support them
* Apply updates based on changes to core
* Debug production (#34)
* Extend readme with update section (#36)
* Extend readme with update section
* Rename papi-commands to papi-shared-types
* Update deps and prettier config (#38)
* Setup linting rules
* Configure eslint setup. Way too many packages installed though
* Remove unnecessary packages
* Remove .eslintcache
* Add .eslintcache to gitignore
* Remove contents of template
* Sort contents of package.json
* Review comments
* Delete eslintcache
* Add eslintcache to gitignore
* Processed review comments
* Add empty browserlist to package.json
* Update readme
* Rename types file
* Revert changes to paranext-extension-template naming
* Change types file extension
* Fix broken links to types file
* Bump postcss from 8.4.29 to 8.4.31 (#46)
* Update webpack.config.base.ts
* Bump @babel/traverse from 7.22.11 to 7.23.2 (#47)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.11 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)
---
updated-dependencies:
- dependency-name: "@babel/traverse"
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
* Revert "Update webpack.config.base.ts"
This reverts commit 5eeb763.
* Allow data urls
* update import from papi-backend, and add papi-frontend/react to webpack externals
* Added cache/extension-types to typeRoots for easy sharing extension types
* Add ESLint rule for flagging use of "null"
* Refactored imports
* Prep for use in multi-extension-template - moved files, synced formatting settings with core, added more template instructions to readme
* Changed Paranext to Platform.Bible in various places, misc improvements
* Added warning about editing update merge commit history
* Moved Special features description to this repo for lower frequency of merge conflicts
* Genericized license
* Added 'shared with' statements to various style files and brought them in sync
* Removed no-non-null-assertion as it is covered by no-type-assertion
* Fixed emotion package duplication
* Reworked explanation for package aliases. Also removed note about splitting into its own repo as this problem will not be solved as long as the package used is local
* npm updates (#59)
- also add Volta node version
* Add contributions folder for menus.json
* Added settings and project settings contribution files
* Fixed swc bindings not found error
* security update `@sillsdev/scripture` (#63)
- also update other npm packages
* Updated to node 20.11.1 LTS
* update all npm packages (#65)
- except `typescript` and `@typescript-eslint/*`
* Fixed dts self-import
* Added localized string contribution doc
* Fixed typo in contributions path
* Bump braces from 3.0.2 to 3.0.3 (#69)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](micromatch/braces@3.0.2...3.0.3)
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat: added displayData.json file for localization
* fix: adjusted displayData.json to have localizedDisplayInfo field
* update `@sillsdev/scripture` (#71)
- enable full serialization that can now include verse ranges, sequences, and segments.
* refactor: adjusted file structure for extension descriptions
* feat: added 'moreInfoUrl' and 'supportUrl' to manifest
* refactor: adjusted structure for fields in manifest.json
* fix: changed elevatedPrivileges to an array
* update `@sillsdev/scripture` (#74)
- fix .NET deserialization
* #481: Changed a couple places in files where we descriptions that refer to Paranext (#75)
* Removed outdated change description line, add comment template info section and instructions to avoid merge conflicts
* Bump webpack from 5.91.0 to 5.94.0 (#78)
Bumps [webpack](https://github.com/webpack/webpack) from 5.91.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](webpack/webpack@v5.91.0...v5.94.0)
---
updated-dependencies:
- dependency-name: webpack
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Clarify readme uncommenting directions
* update dependencies (#80)
- also ran `npx update-browserslist-db@latest`
* Added tailwind to extension template
* Fixed template info comment not closing properly
* Updated sass
* Moved LIBRARY_TYPE to match multi template
* update dependencies (#83)
- also fix stylelint that was failing on `@tailwind`
* Changed tailwind file to .css
* provide for type checking (#76)
- use `noImplicitReturns` instead of `consistent-return`
* improve linting (#85)
- use the TS version of `class-methods-use-this` so we can ignore override methods.
* add missing format checks (#86)
- let prettier format CSS & SCSS
- also `npm audit fix`
* Update tailwind.css (#87)
follow up of - intensify secondary color in platform theme
#1360
* update dependencies (#88)
- `npm audit fix`
- update minor and patch dependencies
* #1587: Changed (c) to © in LICENSE file (for consistency) (#89)
* Added publisher to manifest
* update dependencies (#91)
* fix linting (#92)
- remove jest (no longer used)
- remove duplicated eslint rule
* Changed main file target so it understands built-in modules except crypto are not available
* Adjusted extension name guidance - lowerCamelCase and kebab-case
* Remove MUI
* Update .eslintrc.js from paranext-core
* PT-2390: Minor wording improvements to README (#96)
* PT-2390: Minor wording improvements to README
* PT-2390: Consolidated repetitive instructions.
Wording improvements
* PT-2390: Made it clear that updating a newly cloned extension template repo *should* be updated from the template before starting development.
* Set up auto-release workflow (#99)
* Set up auto-release workflow
* Added explanation of .github files
* Removed line numbers from file link urls
* Fixed out-of-order readme section (#100)
* Added consistent return in bump-versions (#101)
* Small fixes to auto-release process (#102)
* PT-1886: Set up theme contributions, fixed raw file imports not working properly (#103)
Set up theme contributions, fixed raw file imports not working properly
* Add "remote-allow-origins" to launch.json to allow external debugging
* Add codeql.yml to run CodeQL manually (#105)
* Add github action for CI with lint and format check (#106)
* Add github action for CI with lint and format check
* Fix lint.yml GitHub workflow and run npm install to update package-lock.json (#107)
* Update Tailwind prose colors
* In package.json sripts, update lint:scripts, lint:styles (#109)
Matching the multi extension template
* Swapped built-in logs to debug since we already have logs that cover this in core; they are just sample actions (#110)
* Use standard 'WebView' in comments
* PT-2390: Clarify template use in README.md (#112)
* Added CODEOWNERS matching our code stewardship list (#113)
* PT-2390: README improvements (#114)
* PT-2390: Clarify template use in README.md
* Minor formatting/capitalization/wording tweaks and addition of some content and HTML comments to bring README.md into sync with the one in paranext-multi-extension-template
This will also make it easier to keep the two versions appropriately in sync in the future
* Improved wording about editing the README itself when basing an extension on the template
* Extended the comment in paranext-extension-template.d.ts to point to the useful section of the wiki page
* Fixed typo and added link to wiki in Summary section.
Reverted: Extended the comment in paranext-extension-template.d.ts to point to the useful section of the wiki page
* Removed SYNC points in README.
* Fix lint issue and updated package-lock.json
* PT-3107: Improve release workflow (#116)
* PT-3107: Improve release workflow (#44)
* Fix typo
* Fixed typo: proceeding (#117)
* Pinned @swc/core to 1.10.18 to fix native binding issue (#118)
* Bump versions of node and swc to align with core (#119)
* PT-3107: Fixed path to bump versions action in Publish workflow (#121)
Fixed path to bump versions action in Publish workflow
* Reworked readme to link to correct explanation of swc/core problems, updated readme with bump-versions.yml (#122)
Reworked readme to link to correct explanation of swc/core problems
* PT-3049 Align tailwind.css with index.css (#95)
* Update popover color in ext template
* Update shared regions of tailwind.css
* Updated themes from core and shadcn
* Re-add tw- prefix
---------
Co-authored-by: tjcouch-sil <tj_couch@sil.org>
* Ran "npm audit fix", "npm prune", and "npx update-browserslist-db@latest" (#123)
* fix dependencies (#127)
- run `npm audit fix`
- bump `glob` version
* Added TJ and Ira to every CODEOWNER line Matt is currently on (#128)
* Sync a few config files with their counterparts in core (#129)
* update vulnerable deps (#133)
- upgrade lock file to v3
- ran `npm audit fix`
- Bump lodash from 4.17.21 to 4.17.23
- Bump webpack from 5.97.1 to 5.105.2
* Fix all npm audit vulnerabilities by upgrading dependencies (#136)
- Upgrade @typescript-eslint/* v6 → v8 to fix minimatch ReDoS vulnerabilities
- Upgrade copy-webpack-plugin v12 → v14 to fix serialize-javascript RCE vulnerability
- Replace eslint-config-erb with direct airbnb, promise, compat, and
prettier configs to remove peer dependency conflicts with @typescript-eslint v8
- Add @stylistic/eslint-plugin-ts for lines-between-class-members rule with
exceptAfterOverload support (removed from @typescript-eslint v8)
- Add allowJs to tsconfig.lint.json to replace removed createDefaultProgram
parser option
- Remove jest integration; extensions that use jest will need to add
eslint-plugin-jest themselves
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
* Eslint naming convention (#137)
- PR #550 suggested a lint check for type naming conventions
* update vulnerable deps (#139)
- `npm audit fix`
* Bump picomatch (#140)
Bumps and [picomatch](https://github.com/micromatch/picomatch). These dependencies needed to be updated together.
Updates `picomatch` from 4.0.3 to 4.0.4
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/picomatch@4.0.3...4.0.4)
Updates `picomatch` from 2.3.1 to 2.3.2
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](micromatch/picomatch@4.0.3...4.0.4)
---
updated-dependencies:
- dependency-name: picomatch
dependency-version: 4.0.4
dependency-type: indirect
- dependency-name: picomatch
dependency-version: 2.3.2
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump serialize-javascript from 7.0.4 to 7.0.5 (#141)
Bumps [serialize-javascript](https://github.com/yahoo/serialize-javascript) from 7.0.4 to 7.0.5.
- [Release notes](https://github.com/yahoo/serialize-javascript/releases)
- [Commits](yahoo/serialize-javascript@v7.0.4...v7.0.5)
---
updated-dependencies:
- dependency-name: serialize-javascript
dependency-version: 7.0.5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix vulnerable dependencies (#142)
- `npm aduit fix`
* Added repoRoot (propagated changes from multi-template) (#143)
Propagated changes from mutli-template
* Add dark mode selector to match paranext-core
* fix vulnerable dependencies (#152)
- `npm audit fix`
- update `@sillsdev/scripture`
* Finish merge resolution; Fix linting
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: TJ Couch <104016682+tjcouch-sil@users.noreply.github.com>
Co-authored-by: tjcouch-sil <tj_couch@sil.org>
Co-authored-by: FoolRunning <foolrunning@gmail.com>
Co-authored-by: Ira Hopkinson <irahopkinson@users.noreply.github.com>
Co-authored-by: Matt Lyons <matt_lyons@sil.org>
Co-authored-by: rolfheij-sil <108285668+rolfheij-sil@users.noreply.github.com>
Co-authored-by: rolfheij-sil <rolf_heij@sil.org>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jolie Rabideau <jolierabideau@Jolies-MacBook-Pro.local>
Co-authored-by: jolierabideau <135999578+jolierabideau@users.noreply.github.com>
Co-authored-by: Danny Hammer <denialhammer@gmail.com>
Co-authored-by: Danny Hammer <HammerAPI@gmail.com>
Co-authored-by: Tom Bogle <tom_bogle@sil.org>
Co-authored-by: Katherine Jensen <katherine_jensen@sil.org>
Co-authored-by: Sebastian-ubs <141921979+Sebastian-ubs@users.noreply.github.com>
Co-authored-by: Jason Naylor <jasonleenaylor@users.noreply.github.com>
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>1 parent bc02e99 commit c494004
7 files changed
Lines changed: 1849 additions & 1536 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
| |||
30 | 36 | | |
31 | 37 | | |
32 | 38 | | |
| 39 | + | |
33 | 40 | | |
34 | 41 | | |
35 | 42 | | |
| |||
47 | 54 | | |
48 | 55 | | |
49 | 56 | | |
50 | | - | |
| 57 | + | |
51 | 58 | | |
52 | 59 | | |
53 | 60 | | |
54 | 61 | | |
55 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
56 | 83 | | |
57 | 84 | | |
58 | 85 | | |
| |||
166 | 193 | | |
167 | 194 | | |
168 | 195 | | |
| 196 | + | |
169 | 197 | | |
170 | 198 | | |
171 | 199 | | |
172 | 200 | | |
173 | 201 | | |
174 | | - | |
175 | 202 | | |
176 | | - | |
| 203 | + | |
177 | 204 | | |
178 | 205 | | |
179 | 206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
164 | | - | |
165 | | - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
170 | | - | |
| 171 | + | |
171 | 172 | | |
172 | | - | |
| 173 | + | |
173 | 174 | | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
181 | 182 | | |
182 | | - | |
| 183 | + | |
183 | 184 | | |
184 | | - | |
185 | | - | |
186 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
187 | 188 | | |
188 | | - | |
| 189 | + | |
189 | 190 | | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
5 | 7 | | |
6 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
7 | 14 | | |
8 | 15 | | |
9 | 16 | | |
| |||
23 | 30 | | |
24 | 31 | | |
25 | 32 | | |
26 | | - | |
| 33 | + | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
30 | 37 | | |
31 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
32 | 42 | | |
33 | 43 | | |
34 | 44 | | |
| |||
0 commit comments