Skip to content

Commit

Permalink
Squashed 'extensions/src/legacy-comment-manager/' changes from 8bc620…
Browse files Browse the repository at this point in the history
…3ad..3e538b0

3e538b06b update dependencies
ed11fba28 update editor (#1182)
9f2756a06 Add comment about removal of tailwind class from input component (#1173)
1d3a10c4a Merge branch 'main' into update-input
7cd52b80e Replace fieldset with Card component (#1159)
82fa6ad63 Merge branch 'main' into update-input
e016a113b Merge branch 'main' into replace-fieldset-with-card
334d7df07 Remove unused mui components (#1156)
a29df2f42 Merge branch 'main' into remove-unused-mui-components
d346e2753 Merge branch 'main' into replace-fieldset-with-card
bdee7030c Restore pr-h-10
1bcb012b0 Fix small localization issues (#1174)
f95776638 Put key on correct item
59a757814 Merge branch 'main' into replace-fieldset-with-card
dc2e8d12a Restored usage of localized string
79b9245f1 Update pbr dist
e6bc3a14f Restore localized string and remove concatenations
4d93d5f74 Update pbr build files
f8adfcfae Add comment about removal of tailwind class from input component
225f6ea1c Remove more stuff
af8dbd485 Merge branch 'main' into remove-unused-mui-components
61f2b4cee Fix broken occurrences of Switch
2080d0a74 Repair broken checkboxes
23bb51837 Update and rename feature_request.md to improvement_request.md (#1162)
6d4085742 Merge branch 'main' into remove-unused-mui-components
48e36b63e Process review comments
7c7217083 Restore css
cfa8f751d Merge branch 'main' into replace-fieldset-with-card
991321989 Remove classname prop
8c493c976 update editor (#1158)
cb1a04436 Replace fieldset with Card component
069ef12ac Update configure checks components (#1151)
5dd3b9eb4 Merge branch 'main' into update-configure-checks-components
42c08027f Aliased paths and move pr-twp
bc2bd0bca Truncate combobox text when it is too long (#1157)
34f94fec2 Merge branch 'main' of github.com:paranext/paranext-core into fix-combobox-text
6420f111e truncate button text in combobox
3a702d3db remove unused mui components from pbr
1c684eba0 Update pbr
f2df49613 Merge branch 'main' into update-configure-checks-components
e90539896 Fix bug with ChapterRangeSelector and revert prop changes (#1109)
5f3187622 Merge branch 'main' of github.com:paranext/paranext-core into fix-chapter-range-selector
ac9c8aabb Update inventory status column (#1150)
209454586 Remove pr-font-sans
41313d325 Add full width to book selector
22fbfe3a4 Update pbr build files
9f52981a6 Update book selector tailwind css
4423f1b5e Remove scss file
0b908cf9e Move book selector to platform-bible-react
028dbe007 Replace mui components and add localization
7dbdeee77 Update localized string name on inventory
eca6e23c8 Update pbr build files
bfb8530aa Update chapter range styling
3280766a2 Add RadioGroup
278bba00b Merge branch 'fix-chapter-range-selector' into update-configure-checks-components
8b1a9989f Add missing props
6b3a21427 Merge branch 'main' into fix-chapter-range-selector
681f4a878 Show spinner when list of available checks is still loading (#1152)
abf2afcb0 Fix edge case where a single empty check is returned by checking service
20c4d4b11 Add pr-twp to checkbox
2302dfa48 fix editor edit menu style (#1143)
b5b16d739 Update checklist to use shadcn components, and add examples
49775ab7a Fix alignment of inventory columns
dd6ff2cb7 Update status column for the inventory component
37cd643f8 Add ToggleGroup component and add examples to preview app
f5d03ecdf Merge branch 'main' into update-shadcn-styling
b6e8fb1e6 Add spinning loader icon when list of available checks is empty (#1148)
49c4a7e1b Update spinner component to the one from pbr
b7a03639c Add spinning loader icon when list of available checks is empty
76d653ecb More updates to slider and switch
b06c951a8 Update styling for input and label component
d5745970a Remove pre-existing theming from shadcn component (#1145)
c05ea2421 Remove pre-existing theming from shadcn component
c3e859152 Add Toaster, useToast, Sonner and sonner (#1127)
0ced23985 Checks stability update (#1139)
cc9883008 Merge branch 'add-shadcn-toast' into checks-stability-update
b5cdf31bb Merge branch 'main' into add-shadcn-toast
fbc46add0 Released v0.3.0 (#1142)
8e4adc115 Updated changelog for 0.3.0
14654fa57 Bumped version to 0.3.0 to prepare for release
7dbecd248 Support RTL for OHEBGRK (#1140)
be9689dfa Support RTL for OHEBGRK
899e0aec7 Update warning/error feedback
b0a7f1e6c Update throw error message to something more reasonable
edeead7d5 Fix range update after start/end chapter changes
5c5d65e8c Remove checkfeedback from USJ
bf0ab18a1 Stability fixes pt 1
bc60ab8e4 Merge branch 'main' into add-shadcn-toast
521452846 Remove toast
7f78f35bb Various fixes and tweaks to prepare for demo (#1138)
5a72c8c11 Various fixes and tweaks to prepare for demo
bffc70bd6 #1003: replaced old black box logo with new Platform logo (#1113)
46202cf8f #1003: Changed comments about Platform.Bible logo to be more generic
b5b1096c7 #1003: Changed "hello" style to "test-panel"
5885ede24 Fix type collision
93425041b enable theming for Platform (#1102)
4d6a97e79 Removed double scroll buttons on flex divs
6bed8b724 Added Verse Plain Text project interface (#1132)
d5a04fb72 Added Verse Plain Text project interface
849f9eacc add sonner
557b82472 add mui overrides + switch back to light
4c7d59ff8 rebuild with changes from main
7ec5a3474 address review comments
1ac8245c0 update comments
41e864694 add comment
092724fb7 allow webkit prefix for "mask"
24892ab34 enable theming (except for the menus)
f7054cb33 fix scroll group select dark mode
5327ba5a4 review comments
2c7cafd8c enable style overwrites for the toolbar
9d9c23e3c #1003: Fixed localization issues in About screen.
637b6a20f Merge branch 'main' into add-shadcn-toast
424155283 add toaster component and useToast hook
ffea0202d bc control: essential color fix for dark mode (#1124)
2e179384c Made labels in about box localizable. Added some Spanish localized strings.
18fbfe989 fix more imports (#1123)
1dc45c98f fix imports (#1122)
c53dda317 add explanations to preview app (#1121)
b7ef1fc37 Reverted Platform.Bible rename changes
3f4b63d1d Show Live Check Results (#1114)
481945788 Add web view menu to configure checks
709627ec4 Update how to get projectId
fe9882eec Merge branch 'main' into 1002-show-check-results
df652fe6a Fixed scroll group selector sometimes having undefined key (#1106)
1376295c1 Fix bug in printing check feedback: Handle case where there is no feedback (#1117)
d6e5a4861 Add projectId to webview
aa4820a00 Added link to node docs in child process tsdocs
7e45dfd00 Fixed scroll group selector sometimes having undefined key
ae654bc1d Process review comments
654c8e91d Handle case where there is no feedback
635a0b07b Merge branch 'main' into 1002-show-check-results
d5a893db9 update editor (#1116)
14c15b1c4 Update return of EnableCheck (#1115)
a78170cc2 Replaced icon.svg (had Paratext logo instead of Platform.
6d2793ac0 Remove updateEvents from return
5d4d98e06 Show check description instead of id in results list
752ac8e8f Update title to show results count
bd3efeda5 Replace dummy results with actual results
aea4b095c #1003: replaced old black box logo with new Platform logo
9920ac935 Integrate Configure Checks web view (#1099)
fd3ddec9c Remove unneccessary type assertion
db5f7a9de Processed review comments
dbae05553 Merge branch 'main' into 533-hook-up-run-checks-dialog
5871e7315 Processed review comments
21f251a46 Create new extension to help manage comments (#1112)
7f68286e4 Initial commit for new extension
425a587b9 Merge commit 'ab5601906eb8189f68275a5e536509234c686ddf' as 'extensions/src/legacy-comment-manager'
ab5601906 Squashed 'extensions/src/legacy-comment-manager/' content from commit fce064477
3cd8c6986 Merge branch 'main' into 533-hook-up-run-checks-dialog
0be51af4c Hook up check service to webview
850a33e0b update editor (#1110)
f6f2c1ff4 Remove unused file (#1105)
45136a6d0 Merge branch 'main' of github.com:paranext/paranext-core into fix-chapter-range-selector
13c308f25 revert prop changes remove mui component and add to preview
0944f8d8c Fix rtl for NavigationContentSearch (#1108)
7f57af510 Merge branch 'main' of github.com:paranext/paranext-core into rtl-navigation-content-search
069ea4ce1 fix tabs ltr
9ed0ea5cb Merge branch 'main' into 533-hook-up-run-checks-dialog
c3f115ee6 Bump micromatch and lint-staged (#1104)
d3463f4ef Bump webpack from 5.91.0 to 5.94.0 (#1100)
2f1b051e6 Fix some ugly code
2bbe5065c Merge branch 'main' into 533-hook-up-run-checks-dialog
25e7be2e1 Get available checks from check service
51f028037 Added scroll group service, hook to use scroll groups, added to web views, added tab nav bar with simple UI (#1096)
7b6bc3fc7 Add projectName to configure-checks
dce2658c6 Fix styling of configure-checks components
8c2655e18 Merge branch 'main' into 533-hook-up-run-checks-dialog
7435c9039 Move configure checks component and hook up to menu
bf53f5c13 #454: Changed checking-results-list to be a webview (#1076)
6e11806b8 Update papi.d.ts
4c00e8e6b Merge branch 'main' into 454-use-real-project
39f246c5b Remove a few things
f989c1fcb Update inventory preview (#1097)
6af55a42c Change preview app logic, small styling change in status bar
4fe5fbc2b Merge branch 'main' into 533-hook-up-run-checks-dialog
b10502e2d Update logic to find repeated words (#1095)
fdfcb535a Merge branch '454-use-real-project' into 533-hook-up-run-checks-dialog
8c5760e9e Only capture first words in repeated pair
d558e7679 Simplified logic for extracting repeated words
596f9e26e Update logic to find repeated words
f414e0a54 Add documentation for inventory components, and add unit tests for inventory utils in platform-bible-react (#1091)
dbdec16d3 Provide a way for extensions to start other processes (#1093)
36db66e2d Processed more review comments
06cb5e26d Processed review comments
df1fabc16 Merge branch '1037-add-unit-tests' of https://github.com/paranext/paranext-core into 1037-add-unit-tests
2c6f9901f Rename util->utils
1a8b4b3ad Add unit tests for inventory utils
f41af50db Add some documentation
c431dc9e2 Rename util->utils
9b004d35f Merge branch '1038-add-inventory-documentation' into 1037-add-unit-tests
d655a639b Merge branch 'main' into 1038-add-inventory-documentation
9a86a9a80 Add unit tests for inventory utils
66b766230 Fix #1074 and part of #1075 (#1089)
de6374f2d Add some documentation
ee8c88498 #454: changed Project to projectName
2cf01cbb5 Settings tabs- add scrolling and work without DEV_NOISY (#1087)
22be40de8 #454: Removed junk that found its way into tsconfig.json
06280cfaf Merge branch 'main' of github.com:paranext/paranext-core into settings-tab-follow-up
fb349da03 add to tab loader and add scrolling
5fc4b5349 Merge branch 'main' into 454-use-real-project
52a5948b4 update editor (#1086)
c2e00ee6c Hook up project and user settings tabs (#1070)
6d64dc3b4 rework project and user settings component, other small code review fixes
61bd5dcd4 update editor (#1078)
19a6175ff update editor
73f71e864 code review fixes
2c4c54e2a #454: Changed checking-results-list to be a webview and added a menu item in the Scripture editor menu to be able to show it.
a8e19f8cf Provide the ability to run ParatextChecks and cleanup JSON serializing (#1069)
fa6816e1d Display user settings, add command, rename and combine settings tab
3afb0e1fb Merge main
dd39a3e63 update comments and localized strings
c9a163c7f Made extension contributions load in order, added spinner, updated ParatextData to 9.5.0.6, misc bug fixes and improvements (#1066)
9b43aa12e move function to filter contributions, add tsdoc, remove unused code
e53b48006 remove unused function
4874e94d9 Merge branch 'main' of github.com:paranext/paranext-core into 867-project-settings-dialog
ad6fe9f2e push dts changes
40e367572 update menus and commands, add functions to pbu, fix types in UI
3c1d8b9e8 Revised added dotnet code, added fallbackKey regex tests
fcaa77001 update editor (#1068)
657cf3e9c Increased memory available to linting scripts because Mac was running out on GitHub Actions
3bb6c3603 Made extension contributions load in order, added spinner, updated ParatextData to 9.5.0.6, misc bug fixes and improvements
31692e637 merge dts
99846e70b merge main
be7849a41 Settings components
5c7e9277e move components into better suitable folders (#1061)
1efaf9d39 Update settings service and models with validate and other functions
0494aec84 fix character inventory button style (#1059)
599326e69 fix border rounding on example layout (#1058)
3445d9784 fix text on preview app guide (#1056)
2c139fd62 fix direction for many components (#1049)
81d4c09db improve table and inventory styles (#1048)
85255ae4c preview: add more info about theming (#1054)
21efbe024 Repeated Words Inventory (+ some basic inventory code refactoring) (#1020)
0c8d1a066 Merge remote-tracking branch 'origin/main' into 463-repeated-words
ca095d7b3 update editor (#1044)
d739f099b Fixed Project settings defaults not working properly, reformatted validators
c1e96a8fc feat: numbers shortened for reader legibility (#1043)
b2199948e fix: build files
fc15a3ad3 fix: tsdoc
ba41b7cb5 fix: exported func
e2f33b7e7 feat: implemented papi event to indicate when file watcher finished reloading extensions (#1041)
13af228fb feat: numbers shortened for reader legibility
73491db3c fix: changed name of reload finished event emitter
8306c1aca fix: `manageExtensions` provider correctly parses extension name on Windows (#1040)
1efac974d feat: implemented network event emitter for when extension reload is finished
869b206e4 fix: used `path.sep` instead of string regex
c7bc03181 fix: `manageExtensions` provider correctly parses extension name on Windows
b65876886 Refactor functions and class in main.ts
2e2a75319 Merge branch 'main' into 463-repeated-words
de6d7aa64 Update imports
6322e9a0c Refactored columns and utils out of code
cf193b247 feat: make buttons inherit stuff (#1035)
f2128648d fix: remove id
bb7c0c0dd fix: remove id
bd681c0f4 Merge branch 'main' into 463-repeated-words
e9c5eac92 Memoize localized strings to fix infinite loop
4624295c1 feat: final changes
e386f8647 feat: props extended
4f138befe feat: props extended
d0db64c5d Merge branch 'main' of https://github.com/paranext/paranext-core into buttons
3210013f3 Fix bug when all extensions are deactivated and reactived (#1036)
b979c9230 fix: lint
208fc4a0e feat: make buttons inherit stuff
b6d1191e5 feat: added more components (#1034)
f755d7525 feat: added id tags
584154a5a fix: minor name changes
771b7cade fix: added build files
05f713b65 fix: linter issues
3f095ac12 feat: added more components
c5844bcda Add localization for inventory titles
43265a470 Fix faulty regex
a030b6061 Updated Inventory in PBR preview
2f7d400f7 Update Status type related code
5f0bfa8bf Review comments
81a297437 Fixed some re-render / loop issues
4fbca7210 move components in pbr and fix preview
769d92165 Fix filter (#1031)
945097e2a Replace Tailwind CSS remnants
b5264723a fix: minor changes to dropdown
e8493fe65 fix: minor changes to dropdown
64cf92182 Merge branch 'main' into 463-repeated-words
32e27cd83 Fix PBR export bug
20f4639e3 feat:added customizable filter button (#1030)
2b0ec7579 fix: exporting correctly
8472b017e Merge branch 'main' into 463-repeated-words
87514e6c4 fix: menuItems
f22b70c76 Refactored specific inventory elements out of PBR
de83affab fix: minor changes to customizable filter button
3600ce8e5 feat:added customizable filter button
7b3395068 remove unneeded change in pbr
704391a7b Add navigation and list components to pbr
44a1d047a Merge branch 'main' of github.com:paranext/paranext-core into 867-project-settings-dialog
767690f4f #881: Moved component into advanced folder (#1025)
a94540010 Merge branch 'main' into 463-repeated-words
897a897e1 Rename advanced-components to advanced
99c79cd10 add shadcn dashboard example (#1029)
032e837a8 Merge branch 'main' into 463-repeated-words
43f7fed79 Refactor inventoryWebViewProvider class
e454f726c #881: Fixed spacing problem in CSS that was making Prettier choke
f2f341567 Merge branch 'main' into 881-scrollbar-for-checks-result-list
d015df17c Merge remote-tracking branch 'origin/main' into 881-scrollbar-for-checks-result-list
361007313 refactor: move components, rename folders (#1026)
0abd14e41 #881: Fixed Prettier problem causing build failure. Made some modest improvements to scrolling, but #1024 is still needed. Attempted (but failed) to get sticky columns to work.
2b24e40cf Sticky header
85d6f9038 Fix Flex CSS behaviour
38d4e2048 Merge branch 'main' into 463-repeated-words
552386c57 Merge branch 'main' into 463-repeated-words
a6e73aa6c feat: updated buttons to conform to install, update, enable and disable (#1027)
bd047da01 Update imports to aliases
c9b02a6dc Move inventory to advanced-components
a6f9c6d2f feat: updated buttons to conform to install, update, enable and disable with build files
dae117d98 Reworked table logic
deebb4a46 feat: updated buttons to conform to install, update, enable and disable
f4e5f5de7 Merge branch 'main' into 881-scrollbar-for-checks-result-list
fd445fc67 #881: Moved component into advanced folder, removed some diagnostic text from header columns, and added some classes to get the scrollbar to appear when contents don't fit in the webview (this is a baby step toward actually getting the table body to scroll, which is what we really want).
77d38efba Create ComboBox from shadcn example (#970)
2d9dc667d fix styles, preview: add and enhance examples (#1019)
47519a844 Bump electron-updater from 6.1.8 to 6.3.0 (#1011)
f283063cc Refactor multiple webviews into one
9b1e12c2c Fix small bug in menu
d6167401f #881: Implemented general Scripture list component and  (#912)
c596d4d69 Merge branch 'main' into 881--checks-result-list
0762ba097 Merge branch 'main' into 463-repeated-words
aa5d47210 update editor (#1023)
f99f88654 #881: Fixed import of ScriptureItemDetail
273a7afbd Allow the extension host to restart as many times as desired (#1022)
bdd96a115 Merge branch 'main' into 881--checks-result-list
88fe246af #881: Added unit test for scrRefToBBBCCCVVV and used it in the component
84fa4dd88 Add a few elevated privilege types to @papi/core (#1021)
bbbf34a7b Rename vars in webiews
86a56f902 Update inventory components to use usePromise and useProjectSetting hooks
56ce43e32 #881: Moved results-list-related types into react lib.
ac912b4bd Merge branch 'main' into 463-repeated-words
922bd6a84 Resolve tanstack dependency for DataTable (#1018)
224fa5f98 update `@sillsdev/scripture` (#1017)
b76c274b9 Merge branch 'resolve-tanstack-dependency' into 463-repeated-words
f45b2a241 Update exports
3d8a4659d Re-export tanstack imports
2de2ac70a Re-export tanstack dependencies
1ac0e3cce update `@sillsdev/scripture`
00fa49b8a Merge commit 'e1c006e49d85b4311d90406512ce9489c20ac80e' into update-scripture
e1c006e49 Squashed 'extensions/src/quick-verse/' changes from 1c7c788d3..01213e7e2
75dfed172 Merge commit '08018dbe59c748e5f15e582af4d5dcd8cd5a5662' into update-scripture
08018dbe5 Squashed 'extensions/src/platform-scripture/' changes from 1c7c788d3..01213e7e2
11441ead8 Merge commit '2e365472edca9c09fd8ca8b5681acd9f229e7e63' into update-scripture
2e365472e Squashed 'extensions/src/hello-world/' changes from 1c7c788d3..01213e7e2
4bc160652 Merge commit '05ab918627940eb562907b39bd1e74b2c8c8146d' into update-scripture
05ab91862 Squashed 'extensions/src/hello-someone/' changes from 1c7c788d3..01213e7e2
bb2352c5b Merge commit '4fc5982c22705983d5b7aa1472439443276132ed' into update-scripture
4fc5982c2 Squashed 'extensions/' changes from 6618a9acc..ad39b036e
fcae883f3 Add "elevated privileges" to extensions and make managing extensions one (#1012)
9e44d109a Add pr-font-sans with preflight (#1016)
f446b8084 Add more specific comment to index.css
a6553446a add font-sans to index.css and remove from components
5ea575fdd fix: exported (#1015)
d991b4c92 fix: exported
d7cc488e5 preview app: fix, move marketplace buttons (#1013)
6f7c958c9 Merge branch 'main' into 463-repeated-words
6deace3a0 Fixed parsing verse in dotnet so it does not always use verse value which may be null (#1010)
f8f9ba143 feat: added marketplace buttons and markdown renderer (#1009)
4cec84b2e Merge branch 'main' into marketplace-buttons
ae93db761 fix: fixed marketplace buttons and markdown renderer
060c9ec07 fix: fixed marketplace buttons and markdown renderer
31a0a6661 Fixed parsing verse in dotnet so it does not always use verse value which may be null
9c4ad8427 Inventory dialog (#914)
a6fae3c4d feat: added marketplace buttons and markdown renderer
0962b3278 More refactoring
c15145434 Merge branch 'main' into 881--checks-result-list
35f1b7a52 Fixed editor selection issues on typing or changing verse, other minor fixes and tweaks (#1008)
dafad7884 Fixed editor selection issues on typing or changing verse, other minor fixes and tweaks
97e52bfea Created repeated words inventory. Started refactor
0dbea9423 break up preview app into more components (#997)
1ec321a10 preview: intersected color preview for the theme colors page (#996)
0382ee688 Attempt to fix build errors
5fcf73973 Merge branch 'main' into inventory-dialog
62ed4d27b Move character inventory to platform-bible-react
f6a52193f fix twMerge to use our prefix (#999)
dfc71319e remove no longer needed font definition (#995)
bc0754a1a Add check running service and make extension activation order consistent (#981)
d5840285b add Card, Alert, Slider, Switch (#990)
6e4fcb5a0 #881: To avoid trying to restore test data sources from saved state (resulting in undefined onRerun function) and to make this more like the ultimate real solution, the Checking Results List now gets (creates) the list of (test) checks and displays those results.
de550a1d0 fix dropdown styles (#987)
9c589bb72 preview app: add pages: paratext, colors (#988)
2c4cc9b11 #881: Renamed format and compare functions
ac41c0baf #881: Changed ResultsSource into a simple type and removed code for adding and removing event listeners. Now the ScriptureResultsViewer component just takes the array of sources and updates when the array changes.
238074e07 Add DataTable example to playground
750b9f9fd Merge branch 'main' into 881--checks-result-list
d7bca177d Merge branch 'main' into inventory-dialog
cc1b0468c Minor updates
ad6e5b83e add a draft Paratext10 theme to preview app (#985)
ca8507d0b add CI format check (#984)
1f8e1a653 Update @tanstack/react-table
1a064930c Removed old Table and RefSelector code
726972d54 Add localizable strings
0d12b80b5 Optimize when new scripture is fetched
d1f7af1d5 Merge branch 'main' into inventory-dialog
aa6a0b783 overwrite editor styles to fit better into frames (#983)
22089f8b9 add comments
220d91067 overwrite editor styles to fit better into frames
3e282f07d Update global verseRef on clicking occurrence
111e427f2 Update input placeholder
cbed71ea7 Improve references in occurrences table
a15866c35 Fix book/chapter/verse scope. Make status sortable
1fe9f3387 Merge branch 'main' into inventory-dialog
3a42e45b6 Added inventory filters
9b01f756b Update `@sillsdev/scripture` (#972)
947874509 Update `@sillsdev/scripture`
b7f2a80fa Merge commit 'b72f62028be3a35c30573484537ecafcd071faf3' into update-sillsdev-scripture
b72f62028 Squashed 'extensions/src/quick-verse/' changes from 4ff3c1ffc..1c7c788d3
1ae31ad34 Merge commit 'd829c27c5c4139cd709f67df1594f6eefa38666f' into update-sillsdev-scripture
d829c27c5 Squashed 'extensions/src/platform-scripture/' changes from 4ff3c1ffc..1c7c788d3
26d8808fa Merge commit '7e4b7d58504086b6a4ab617688bbc0b1a4dfff43' into update-sillsdev-scripture
7e4b7d585 Squashed 'extensions/src/hello-world/' changes from 4ff3c1ffc..1c7c788d3
d5798249a Merge commit '65b318d89590823e2859c556c3eea2010f1c2af2' into update-sillsdev-scripture
65b318d89 Squashed 'extensions/src/hello-someone/' changes from 4ff3c1ffc..1c7c788d3
2713aacd9 Merge commit '29bff7ed899404dcd9dbe4227fa361365a7b1a39' into update-sillsdev-scripture
29bff7ed8 Squashed 'extensions/' changes from 23e0d6595..6618a9acc
edce560cc Used some more variables to help with white labeling (#976)
c8f81d2e3 Remove button wrapper (#975)
90ea969bf Minor tailwind css changes
93f1f3b1c Used some more variables to help with white labeling
42addee24 Minor clean up
1c25db21a remove dev noisy
611c18031 Merge branch 'main' into inventory-dialog
61068f9b9 Fix styling issues
6201c0895 export ButtonProps and buttonVariants
4186c9b45 Merge branch 'main' of github.com:paranext/paranext-core into remove-button-wrapper
11333b900 remove button wrapper and fix uses in PBR and core
e2935515c update editor (#974)
62f620214 #881: Dist file updates from local build after merge
f7aa24dd3 Merge branch 'main' into 881--checks-result-list
ffcbd10a0 Removed epic issue template (#969)
97f8096b5 Fix  papi call. And broke the styling >.<
19c8fdb60 Merge branch 'main' into inventory-dialog
21cd1c353 Fix styling issues of webview
5577ca134 Removed epic issue template as it has moved to paranext/roadmap
6c3dded35 Fully complete book, chapter, and verse for USFM/USJ/USX (#952)
994e49a36 Export shadcn table and use it for occurrences
ced1a0e74 Merge branch 'main' into inventory-dialog
e90df681b Fix PDP calls
586844a76 Added Epic issue template (#966)
ed2eb19b9 Added Epic issue template
da9d954b3 Added settings to direct exports from papi, stopped trying to edit readonly projects (#950)
7ee699098 Added settings direct export from papi
b08461d19 #881: Renamed basic-list folder to checking-results-list
698a32376 Merge remote-tracking branch 'origin/main' into 881--checks-result-list
4b6c86608 #881: Moved all files related to scripture-results-viewer into a subfolder.
37c0b3dcb Fixed views not reopening on restart by fixing PlatformEventEmitter bug (#947)
352d84964 #881: Renamed ScriptureRefKeyedList and associated types to ScriptureResultsViewer.
d4d3bdfa5 Fixed views not reopening on restart by fixing PlatformEventEmitter bug
965209922 #881: Addressed various code-review issues:
b8110e9d4 Bump ws from 8.16.0 to 8.17.1 (#946)
da79f82cd Resolved infinite loop between two layering PDPs, added new class to make resolving this easier (#944)
9f3bfa5a1 Added link explaining the layering PDP requirements in TSDocs
1294cbf68 Merge branch 'main' into 881--checks-result-list
4123b2416 Merge branch 'main' into 881--checks-result-list
483e3b060 fix components layout + enhance preview app (#931)
143a76c74 #881: Got re-run button hooked up and improved display of label to include date of last re-run.
c1780fbcd #881: Preserve expansion state as data changes
b35004da2 #881: Fixed code that sets up event listeners.
1580a13bd Bump icu.net version (#943)
c573731c6 Merge branch 'main' of github.com:paranext/paranext-core into 867-project-settings-dialog
67343dec5 Enable the .NET data provide on macOS (#942)
35c7df5d2 Resolved infinite loop between two layering PDPs, added new class to make resolving this easier
098704479 Merge branch 'main' of github.com:paranext/paranext-core into 867-project-settings-dialog
53809b2ae Merge branch 'main' into 881--checks-result-list
192711868 Merge branch 'main' into inventory-dialog
ace499981 Add table with occurences below table with characters
4bbe0fe1a add shadcn table (#932)
0740bcae8 Reworked PDPs to enable layering PDPs, added platform.base, added Scripture extender layering PDP, replaced name from ProjectMetadata with project setting platform.name (#930)
22d710d94 Lock project when changing name
9641ae8be Replaced hardcoded Name with appropriate const
da26d6527 Bump braces from 3.0.2 to 3.0.3 in /extensions/src/platform-scripture (#936)
b74f143ba Fixed the last of the C# tests
5fbf5be5c Continued fixing unit tests, used scrText.Name for platform.name setting to match Paratext
ea31f0dc9 Merge remote-tracking branch 'origin/main' into project-interfaces-follow-up
f67150b1f update editor (#935)
ec03a34c8 Small tune-ups
d8b437041 Fixed dotnet data provider not waiting for settings service so crashes in production
084c31a11 Replaced copy/pasted scripture utils with @biblionexus-foundation/scripture-utilities
2d65548f1 #881: Added ability to show project and check names
5825c24fd #881: Switched most of the styling and row selection from CSS to Tailwind and data-state. Fixed up a few indentation infelicities.
63dac238b Renamed USFM_BCV to USFM_BookChapterVerse, other small improvements
faf6cc69f Removed USFM data provider and set ScrTextCollection location to the P.B projects folder to attempt to clear up strange duplication and rewriting issues people are seeing
8aabdf04c Attempted to fix server build errors by redoing package changes
56459ba8d Add (temp) playground code
d3df183bc Reworked PDPs to enable layering PDPs, added platform.base, added Scripture extender layering PDP, replaced name from ProjectMetadata with project setting platform.name
fb1ee0ce6 Fix vulnerable dependencies (#927)
0bc8c8244 Merge branch 'main' into 881--checks-result-list
466dd5ba3 Merge branch 'main' into inventory-dialog
0be4bbd81 Update p-b-r build files
27318c8e9 Search bar fixes (#924)
b3bc04cdb preview app: add non-text tab trigger (#926)
570623e5c Hooked up to book level project data
175a6fb9d fix vertical tab ribbon + add more to preview app (#925)
f803c4537 Refactored table out of webview. Get projectId from webview
9d2d835a5 Merge branch 'main' into inventory-dialog
47bb1ee4d Reworked projectType to projectInterfaces, reworked ParatextStandard file system format to match Paratext 9 (#918)
d736eb985 #881: Changed ScriptureRefKeyedList to use shadcn components
045ec5920 preview app: better aligned input examples (#921)
61ea65a38 Small optimizations from code review
3e236c0af Merge branch 'main' into inventory-dialog
506a70b07 Moved extension data folder to shared, moved and renamed service-related files, removed projectInterfaces from project settings calls, reworked formatReplacementString, other code review changes
98bca9654 Reworked projectType to projectInterfaces, reworked ParatextStandard file system format to match Paratext 9
95771bed8 Removed file-level disables of lint checks for react/prop-types (#917)
f3ceaa688 Merge branch 'main' into 881--checks-result-list
d928433b6 Fixed error introduced by accident
b65d8a74d Removed file-level disables of lint checks for react/prop-types and defined props for each component
8b5aa3d60 Fix PBR build after #896 (#916)
bd33e5fb6 #881: Made rows selectable, improved styling. Got initial value of select to reflect current grouping state. Broke unit tests into separate fixtures for each state to be rendered.
a1b97c22a update `platform-editor` (#915)
46b485365 add component hierarchy to the preview app (#896)
5397a9f4c Hook in web view context into web view menu command call (#901)
f63cd1ab6 #881: Replaced basic-list.component with checking-results-list.component and hooked up some test data.
c90711bee Merge branch 'main' into inventory-dialog
7788aedcb Hook up to settings. Move to platform-scripture extension
cda8e6674 Merge branch 'main' into 881--checks-result-list
6508b2785 741 use localized strings hook (#908)
befce307f Run basic checks dialog follow up (#897)
9609c673b Updated hello-world.web-view to fix using projectId
0d26e62e9 Removed projectIds to clarify WebViewDefinition relationship to project
969a8d207 Added localized string fallbacks
b0e5626a4 Added web view id to web view menu commands, moved projectId(s) to saved web view definition, spread saved web view definition into web view props instead of just updatable props and run function to access, allowed getting saved web view definitions from backend, exercised with hello world extension
46e9c0c65 #881: Got results list to lay out as expected with desired grouping options and indenting in a way that makes it both compact and easy to read.
57d6cdd99 rename radioValue
134a59aab switch dialog type, improve variable names
438d960ff Missed a file
0fe961370 Merge branch 'main' into 741-useLocalizedStrings-hook
fb186bc30 Fixed some comments and exports
9dacfa799 Merge branch 'main' into inventory-dialog
59f04c31b Added platform.isEditable, filtered Open Scripture Editor and Open Resource Viewer dialogs by isEditable (#903)
97bfd513e Merge branch 'main' into 741-useLocalizedStrings-hook
ab036a0e6 Merge branch 'main' into 741-useLocalizedStrings-hook
aaf6b0e03 create empty project settings dialog
83557e0d6 Fixed paratext setting converting too much to boolean, localized strings on dialog call, added includeProjectIds on filtering projects
4f4b644fc Added platform.isEditable, filtered open editor and resource viewer by isEditable, added exercising buttons on hello world web view
40b80667d Fix paratext project settings getting default not working, update not working (#907)
45c45e00f Merge branch 'main' into inventory-dialog
13f856834 Move inventory table details to core
7bb71a07e rename BookSelection to BookSelector
63ce3a091 fix ChapterRangeSelector autocomplete error
59ab4efb3 Cleaned up SetProjectSetting
db0483802 missed a file
83af00c7c useLocalizedStrings hook
bb59c8365 build dts
89342a213 few fixes, switch data type of selected books
705b62476 fix chapter range selector, dialog updates with scr ref
0de50a1c6 checklist component, select book dialog, removing unneeded mui components
decb332b5 Fixed paratext project settings not getting default when setting not present, fixed project setting update notification, added hello world web view section to exercise paratext project settings
5003dc5d8 Quick fix existing platform-bible-react build errors (#899)
b90bf2e87 Made PDPFE.createProjectDataProviderEngine asynchronous, finished hello world test project type including extension data and project settings (#895)
994a218e7 Removed use of isFullWidth
426d2e0ea Quick fix existing platform-bible-react build errors
9b2f4b2ca Moved listing available projects to the PDPFE, added helloWorld.deleteProject, misc fixes
b96ee0fe3 Switch `Button` and `TextField` to shadcn (#891)
7b75c6017 FormatReplacementString utility function and tests
abdff3f16 Made PDPFE.createProjectDataProviderEngine asynchronous, finished hello world test project type including extension data and project settings
47d67ca78 Resurrected ProjectDataProviderEngine class, moved some comments around (#894)
3a9e79380 Resurrected ProjectDataProviderEngine class, moved some comments around
8cb161001 Fix docs related to `npm install` when running the first time (#892)
65aec4083 update `platform-editor` (#888)
139e70333 First basic inventory table design
e3eecb744 Merge branch 'shadcn-data-table' into inventory-dialog
5315aac06 Update build files
9fbc0876c Merge branch 'main' into shadcn-data-table
88ac30612 Finish shadcn data-table for now
227c12b76 #794: Implement C# project setting validators (#882)
44eaa87e3 794 Improvements in response to code review
4cb243938 Fixed styling. scopedPreflightStyles is not behaving as expected
9e7519ec6 Merge branch 'main' into 794-add-csharp-project-setting-validators
19d66002a Moved SetProjectSetting tests (to check validator registration) to ParatextDataProviderTests
d60fff3ee 794 Added registration of a validator for the Visibility setting of Paratext projects (along with unit tests)
b002a45bc Creatd dist files that include table v2
2bdd8e676 Add data table following shadcn tutorial
350d10d62 Intl utility classes and functions (#883)
26e6f1b85 Move all of the test webviews and commands behind an env var (#886)
6fd01dfe3 Merge branch 'main' into 794-add-csharp-project-setting-validators
ef55b8a70 spelling errors, export default, rename variables
79ad47275 794 Added ProjectSettingsService.RegisterValidator method and unit tests
721195a31 Add inventory base dialog
ec0ea6d34 fix pbu index.ts
e97fa2a57 Move ordinalCompare to string utils, finish test for getCurrentLocale
a5f068371 update getDefaultLanguages to use getCurrentLocale
b12530be6 wrapped classes and tests
7d3bf4215 Bump ejs from 3.1.9 to 3.1.10 (#884)
8446ac9d2 Revert "disable macOS GHA builds (#871)" and fix macOS builds (#872)
bddb74e04 Merge PSI functionality into PDPs (#878)
381b37336 #794: (Preliminary work) Added C# unit tests for IsValid and GetDefault
99a61ca53 Changed extension names from kabob-case to camelCase (#879)
e75c2e8dc Completed name changes (kabob-case to camelCase) for extensions that do not currently have menu contributions
53b2534e3 Allow extensions to contribute localized strings (#876)
e10caaa02 Merge remote-tracking branch 'origin/main' into 739-localization-contributions
a36612a9c Fixed bcv selector problems - mainly that the dropdown was instantly closing when embedded in tab (#875)
fcde1bd97 Split Resource Viewer into a Read-only Resource Viewer and an editable Scripture Editor (#877)
225ae1a04 Removed extraneous comment
93375cae1 Remove isReadOnly parameter from commands
70de0f9f6 Fix tests
23f4c274f Merge branch 'main' into split-resource-viewer
27db6326c Add the two commands
1e2dd174f Moved localized strings to bundled extensions
eb9e7f881 Merge commit '3652fcbc9857c800d1bf05aa83f39dc09e6ec391' into 739-localization-contributions
3652fcbc9 Squashed 'extensions/src/resource-viewer/' changes from 973c0c513..4ff3c1ffc
f55469b0b Merge commit 'd3ac16696fe729df0b4264bf22499501ca3a22f3' into 739-localization-contributions
d3ac16696 Squashed 'extensions/src/quick-verse/' changes from 973c0c513..4ff3c1ffc
e8693110c Squashed 'extensions/src/platform-scripture/' changes from 973c0c513..4ff3c1ffc
6ccf7a1db Merge commit 'e8693110cdf9e036edb71b9b54e1468b9f92fb90' into 739-localization-contributions
eed831622 Merge commit '88b84a83861d1b7de4be76a284fbfe6ce462e3ce' into 739-localization-contributions
88b84a838 Squashed 'extensions/src/hello-world/' changes from 973c0c513..4ff3c1ffc
a8ff3dd2a Merge commit '2da22bbed10da88da8a8f9dadae2df4a7d6ce1ac' into 739-localization-contributions
2da22bbed Squashed 'extensions/src/hello-someone/' changes from 973c0c513..4ff3c1ffc
c5b708e42 Merge commit '630a3852e3f8303fc80589bbe607719f43bf6d22' into 739-localization-contributions
630a3852e Squashed 'extensions/' changes from 19c296602..23e0d6595
664ac9d71 Reduced missing localized string severity to just warning instead of throwing
bc0fa9e94 Incorporated localized string doc combiner to support extension contributions!
181b6d954 Merge branch 'main' into 741-useLocalizedStrings-hook
152ca413a Add localized strings combiner, reformat string keys to have percents
cace4a966 Modified localized string types to be more accurate
db6d38e4e Added localized strings schema straight from jss-to-ts converter before fix-ups
fb1eb67a0 738 improve localization service (pull request on new fixed branch) (#822)
f4410a1ed Added localization-related types to papi-core
e90ff85f1 Fix tests
b8b2625d9 Move some typedoc upgrades into dev dependencies
98bcd1a9d missed a file
58c52eaf2 Upgrade typescript and typedoc
5e250d4f7 Rename resource-viewer to platform-scripture-editor
514eab58b Fixed bcv selector problems - mainly that the dropdown was instantly closing when embedded in tab
8ea4dc38b Fix a tiny bug in the BCV (#874)
9b486030c Prevent bug on selecting chapter with keyboard
271686d22 Merge branch 'main' into 738-FIXED-Improve-Localization-Service
86c220b5f Merge branch 'main' into 738-FIXED-Improve-Localization-Service
5758b4fb1 revert typescript upgrade to fix main merge conflicts
32d74970f Fix follow-up items for shadcn/ui BCV control (#873)
b2b1c62bc Fix typescript package inconsistency
619775e5f Can click book with no chapters and submit
dd0dcdd28 Dropdown closes when selecting a chapter with the enter key
62d36fc1d separator based on index and length of bookTypeArray, pass function to BookMenuItem ref prop
b370db141 Fix a number of follow-up items identified in an earlier review
223d0e756 Add Shadcn/ui and a new BCV-control (#858)
1fba92163 Added platform-bible-react preview page, revised readmes (#870)
dad9f183e rebuilding
dbccf4ad1 Fixed platform-bible-react test path aliases
eae24017a search filter ignores special characters, can type and submit verse number
fc1439b34 Process review comments
660fdfac2 Fix order tests are run to fix intermittent failure
b1219ae20 fixing scrollTo
5fb93f7df scroll to selected menu item
b856dcee7 Done for now
edf024e4d nearly finished
de9b6fb19 left/right chapter nav
ad2d7f47c Build platform-bible-react
a81b641e1 Highlight/expand current book on opening BCV (redo)
9a433e4ce right align chapter numbers (redo)
0220d6a13 remove todos, book color line height (redo)
0bfe0088b Add more styling updates (redo)
99ae5669e go to menu item, history icon in input, css fixes (redo)
6157ee4a8 Implemented style upgrades (redo)
e5b77429c editing tailwind, add todos, font not working (redo)
cc638f98b Using tailwind utility classes (redo)
ff16708ff Using utility classes (redo)
60719c823 More improvements to functionality (redo)
6b3b9e679 Improve behavior of input/menu (redo)
011a08c4f Fix toolbar (redo)
758e489df Fixing css to match figma, add aliased paths, refactor book menu item, style history icon (redo)
28ca0f5e8 Added todo list and made some improvements (redo)
2534e4d4a Copy over rest of functionality, remove unnecessary pieces, fixing css, icons in progress (redo)
04e754323 Use shadcn dropdown menu with shadcn input, forwardRef, and add real functionality back to the copied over components (redo)
f2a774bde import shadcn dropdown menu, add icons, work on styles (redo)
08912c640 create story file, add to toolbar, copy over chapter select (redo)
419cdd0ac Added and configured shadcn-ui (redo)
2f1e82ac3 Added path alias to prep for shadcn (redo)
33a85c45a Scoped tailwind preflight, added pr- prefix to tailwind classes (redo)
522dc72f2 Added tailwindcss to platform-bible-react (redo)
362a7fbf2 Added platform-bible-react preview page, revised readmes
d719195fb disable macOS GHA builds (#871)
32afdc18a Changes per code review mostly package stuff
29941f9b5 update `platform-editor` (#869)
d582b082a Changes per code review
f69539a37 Fix lorem ipsum white space (#868)
4c2b706e7 Fix lorem ipsum white space
cbef4a639 Hooked up the resource viewer to change the verse ref and scroll to it (#864)
717c77d91 Fixed not scrolling properly on chapter change and adjusted for ux feedback
67541c2fd Added scrolling to verse reference in resource viewer and highlight indicator
d66336ff8 fix `tar` vulnerability (#863)
d01945631 Allow read/write of project settings in C# (#857)
bbff9757b Quick fix for web view menus getting multiple copies of defaults (#861)
9f572f8bb Added ignoreDuplicateProperties comment to mergeObjects
011fae084 Fixed some contribution parts not being cloned in document combiner
2efce0c96 Fixed resource viewer not setting scr ref
9d5b8b9f0 Added extension project settings contributions (#856)
2986aaf25 Fixed missing validators throwing, added non-zero requirement to full name validator, fixed test hello-world.personName setting
f4908e4cb Clarified setting data type requirements
edc7d2d00 Fixed string slice not working with 0 in some cases
f106a3467 Added platformScripture settings
f01189af5 Formatted platform-scripture from template
4ba541ca8 Squashed 'extensions/src/platform-scripture/' content from commit 973c0c513
fa308a24f Merge commit '4ba541ca846de1400c55f8de592a9aba4a4fcef2' as 'extensions/src/platform-scripture'
91f11724f Added project settings from extensions
8d49a5af1 Added IProjectDataProviderFactory for public documentation (#855)
c2c66e2d8 Read settings from extensions (#852)
df20876aa Fixed always running npm run editor:unlink on pre-commit
7d512b38a Added IProjectDataProviderFactory for public documentation, stopped throwing when there isn't a web view menu definition
d30ec0490 Removed primitive data types from JsonDocumentLike, other small fixes
2c5a7ab29 Renamed some functions on DocumentCombiner, other small improvements
f1754aa1b Fixed resource viewer image paths to use new lowerCamelCase (#853)
2f8040ee5 Fixed resource viewer image paths to use new lowerCamelCase
46ec4be51 Read settings from extensions, combine with SettingsDocumentCombiner, modified settings schema, added test setting to hello world, added forbidden extension names
44d506474 fix .NET8 builds (#851)
1ede5781e Added settings contributions straight from the schema and ready for modifications
8acac5764 Moved settings service to extension host, added validators to @papi/core
40052c81a Fixed top bar spacing, catch and explain data provider errors as a quick solution (#848)
7d96e9f1b Fixed top bar spacing, catch and explained data provider errors as a quick solution
eeea90878 #772: Incorporate hamburger menu in web view component (#793)
ac21794e2 Merge branch 'main' into 722-hamburger-menus-on-webviews
287605363 Project settings validators (#816)
76f2274a8 Update extensions from templates (#843)
8f905f161 Squashed 'extensions/src/resource-viewer/' changes from 7134434a5..973c0c513
ac29a8f08 Merge commit '8f905f161eac1d8a86fcc77bb65e6ad198ce262c'
87a57c1e1 Squashed 'extensions/src/quick-verse/' changes from 7134434a5..973c0c513
1c044f3e4 Merge commit '87a57c1e137bcfa92835810fcf22f39a0bf33a69'
1addbfcb6 Squashed 'extensions/src/hello-world/' changes from 7134434a5..973c0c513
16cfe3518 Merge commit '1addbfcb602f5320cc3257b2eee0acbac6769380'
96188d4ce Squashed 'extensions/src/hello-someone/' changes from 7134434a5..973c0c513
8b16aab8b Merge commit '96188d4ce822954b5674941029853941d74e2c9a'
e865670f7 Merge commit '3b5eb8a8dd64d318f5f0dbed24968e077b41aee2'
3b5eb8a8d Squashed 'extensions/' changes from 8078ba299..19c296602
94c26cdbb Update npm packages (#815)
1e418b09b Merge branch 'main' into 722-hamburger-menus-on-webviews
a19eeb98e update `rc-dock` (#833)
4783f8621 #722: Changed to use "temporary" MUI Drawer for hamburger menus and added positioning logic based on containerRef (eliminating the need for an offset-based approach. Also fixed layout of icon in webview title bar.
02ac2bba3 Merge remote-tracking branch 'origin/main' into 722-hamburger-menus-on-webviews
f924f7bf8 Merge commit 'b2beb61904495c54c8b54b99b2c5f92d9cee7fee' into update-npm
b2beb6190 Squashed 'extensions/src/resource-viewer/' changes from d49eac807..7134434a5
9eca31564 Merge commit '18bad82da3409b2067a5eddbb0707c7d8635075d' into update-npm
18bad82da Squashed 'extensions/src/quick-verse/' changes from d49eac807..7134434a5
bc5421cf2 Merge commit 'b4b6a90d60540e4ea3f6ff205bfbc4dbbad6f221' into update-npm
b4b6a90d6 Squashed 'extensions/src/hello-world/' changes from d49eac807..7134434a5
479ad655f Merge commit 'f67973189faef4478567a0b019ae7e3fbe0507bb' into update-npm
f67973189 Squashed 'extensions/src/hello-someone/' changes from d49eac807..7134434a5
34bb0e919 Merge commit '159017081a678a8d6df3f14caef70c1987ac2041' into update-npm
98fd2060d Fix comments, object to proxy
159017081 Squashed 'extensions/' changes from c125b7c5d..8078ba299
35d3150df Update npm packages
7902f1c76 editor: handle changed Scripture data (#823)
a6d102074 - temporary workaround for issue #826
376ea46f1 editor: handle changed Scripture data
46d6c3219 Added paratext.bible extension menu strings, made editor fill width (#818)
1f972cdf2 Missed a file
9f83856c8 Localization use data provider instead of network objects
e131ab0a5 Added paratext.bible extension menu strings, made editor fill width
d8d962c57 fix test nesting
fdfa7065a update tests
9ba9f351d revert some unnecessary changes
eb21b7664 Merge branch 'main' of github.com:paranext/paranext-core into 511-proj-settings-validators
424c6a890 add mock for validators in test
5d3e269ec implement isValid, add project setting validator, fix test, not working
2c0c2f216 Fixed menu being unavailable on first startup (#804)
35da74708 Fixed menu being unavailable on first startup if your machine is too slow to get the renderer up before the extension host needs it
7d22964cd Bump webpack-dev-middleware from 5.3.1 to 5.3.4 (#803)
aa2dd3db6 Bump webpack-dev-middleware from 5.3.1 to 5.3.4
5c403e272 Fixed throwing error trying to remove extension menus that don't exist while reloading extensions (#799)
c7bd6444d Add settings validation functions (#798)
e0c3e9607 Added verse image generator localized string (#800)
6dfeef8b2 Added verse image generator localized string
a68716b28 Fixed throwing error trying to remove extension menus that don't exist while reloading extensions
2df0e6763 Fix order tests are run to fix intermittent failure
7b456e5cd Add backups and defaults for languages and fallback keys
433bb2a4e Small tweaks for code review
551a97d1e Implement falling back to English if a localized string doesn't exist for a language
f550b2741 Bump follow-redirects from 1.15.5 to 1.15.6 (#796)
c5c973336 Use menu contributions to build menus (#790)
ecb2dbee8 Merge branch 'main' into 722-hamburger-menus-on-webviews
aa4c3dd9c #772: Made hamburger menu button able to take an offset instead of a containerRef to determine position of menu.
b7668133c Fix build problems (#792)
e6ce4f240 Removed no-self-import on .d.ts files so they can work with papi-shared-types well
4697157b6 Set up npm workspaces to simplify package management
2283b38e4 #772: Fixed "children??" in toolbar
5ad7d5a23 Reinstalled new deps, added warnings about npm i in root
661ab311f #772: Factored out the HamburgerMenuButton into its own component and hooked it up to be used in the toolbar and platform-tab-title.component.
1592a43b6 Removed patch on react-data-grid, bumped version
8426104ee Bump app-builder-lib and electron-builder (#791)
cadab7e93 424: Changed id to command for menu items in Help menu (#787)
2eb0bd593 #424: Updated built libraries after merging in changes on main
debe50921 Merge branch 'main' into 424-fix-help-menu-commands
11a3f344d 424: Changed id to command for menu items in Help menu
472c35526 707, 424: Fixed alignment problem when some menu items have a leading icon and others don't (#786)
3d8b9777a 707, 424: Fixed alignment problem when some items in a menu have a leading icon and others don't
4d3968bab Implementation of context menus (#707) and making grid menu use composed JSON menus (#424) (#746)
3e1c30794 424: Put convoluted foreach back to items.map (and now the linter is okay with it)
43e6b98d6 707: Got arrow to appear on parent menu that displays a submenu.
f2d5d83c2 Merge branch 'main' into 707-context-menus
4ec4c99fc 707: In grouped-menu-item-list.component, wrapped calculation of items and allowForLeadingIcons in useMemo
24365a28a 707: Changed GroupedMenuItemList to take a single props parameter that has includedGroups. Renamed and moved a few types around. Improved/added some comments.
0121b7a62 update more GHA to node v20 (#785)
c802ebb1b 707: Got submenus and tooltips to work correctly
233af6714 707: More improvements based on code review
e190adf04 Update actions workflows to node v20 (#783)
af9d68c2d Merge v0.2.0 (#784)
2410ec835 707: Improvements based on code review
a8a739add Merge branch 'main' into 707-context-menus
d0103c094 707: Removed ability to launch debugger for current Jest test file since we now use Jest Runner to do that
3064f73af security update `@sillsdev/scripture` (#780)
ab13997c1 707: Got storybook working for menu stuff
44d2b9e79 v0.2.0
302477eeb 707: Added contextMenu.component.onClick.test
a5c698373 707: Fixed some lint issues
5ec68c665 707: Added unit tests for ContextMenu Component and fixed code to get them to pass
1a5cd6fee Fixed platform-bible-utils not being available on backend (#782)
0ffa3fa28 Fixed platform-bible-utils not being available on backend
dd7b4dd7a 707: Updated dist files after build
7b6d988e0 707: Minor improvements in response to code review
ee75b960c Merge branch 'main' into 707-context-menus
9ea642ade 707: Improved unit tests (and accessibility for the components themselves) by making use of accessible roles and labels
b5c358099 707: Broke unit tests into two files. All tests pass now.
f3254e8ba Add missing function to stop script import (#779)
7bb5219a0 Updated to node 20.11.1 LTS, replaced ts-node with tsx in the necessary places as a temporary fix for https://github.com/TypeStrong/ts-node/issues/1997 (#778)
3842cbbc3 Remove packages causing duplication issues
75bfb95bc 707: Fixed some failing unit tests. [WIP] One more failing unit test remains.
4640cc12f Merge remote-tracking branch 'origin/main' into 707-context-menus
b1bdbf6e3 Merge commit '51e280af6edff63e2ceadf1cf5ed0a3273d3b82a' into upgrade-node-20
51e280af6 Squashed 'extensions/src/resource-viewer/' changes from d42ac4494..d49eac807
fc0267db5 Merge commit '7bca731f4e6915a6c9dd69d1d5d08969200fe547' into upgrade-node-20
7bca731f4 Squashed 'extensions/src/quick-verse/' changes from d42ac4494..d49eac807
93a5b266d Merge commit '9071e3ab4134213468d587bb31426c9b74c5630d' into upgrade-node-20
9071e3ab4 Squashed 'extensions/src/hello-world/' changes from d42ac4494..d49eac807
02b5aab47 Merge commit '9576008292e27a56ee1950de9a382b207c17f6b5' into upgrade-node-20
957600829 Squashed 'extensions/src/hello-someone/' changes from d42ac4494..d49eac807
84919617b Merge commit '9d8fa961076f01a6aafd9b70ad45f224ac7dbeb6' into upgrade-node-20
9d8fa9610 Squashed 'extensions/' changes from 514575f38..c125b7c5d
63822dde2 Updated to node 20.11.1 LTS, replaced ts-node with tsx in the necessary places as a temporary fix for https://github.com/TypeStrong/ts-node/issues/1997
e6987fd7c Support surrogate pairs (#773)
5f1a41b1b Merge branch 'main' into 686-support-surrogate-pairs
36479d8e7 rename length -> stringLength
be5e7f65c 707: Got menus working in platform.bible. [WIP] Some unit tests still fail
4fe0c4117 Bump ip from 2.0.0 to 2.0.1 (#775)
c0d36b846 Fix comment
7162e8e92 Bump ip from 2.0.0 to 2.0.1
a6d19784b Update comments to mention that the functions mirrir the standard string object function
b7f9495e5 Process review comments
4bdb0c59c Merge branch '686-support-surrogate-pairs' of https://github.com/paranext/paranext-core into 686-support-surrogate-pairs
64e4a0eca Fix bug in split function
ef9c325a0 change uses of string.prototype to new string utils
6c5b5f888 Changes usages of String.Prototype to string util
53db9c4a4 Merge branch 'main' into 686-support-surrogate-pairs
e3d05fed8 Undo usage of strings util in edit.papi-d-ts.ts
115f3e87e Finish string utils and their tests
bd694ad4b Added `helloWorld` TypeScript test PDP (#769)
37fd53654 Made random number max actually max, adjusted some docs and tests
72c7baefd work on todos, slice implementation and tests
f9bc468bd Merge remote-tracking branch 'origin/main' into 509-hello-world-pdp
fd3c485b4 Moved mutex map to util library, auto-pull dependencies for externals in vite libraries
cd12e8b7f Merge branch 'main' into 686-support-surrogate-pairs
2bbb9b4ba Fix test and add a new test
ea1d64d2e good stuff!
6fcf729cf Update .NET version in GitHub actions (#768)
eb2314386 fix normalize overrides
a1c12b5c5 adjust at implementation and test
ada45148e unit test rework, fix function implementations, note questions
1b2f672d6 Realigned package.jsons with template for easier merging in the future
7da1aa75f Formatted hello-someone
206fe63d5 Add test
c93913307 Squashed 'extensions/src/resource-viewer/' changes from bcd253160..d42ac4494
977716d6c Merge commit 'c9391330704893b3453eabd73e89e6a099a91aca' into 509-hello-world-pdp
022d92281 Squashed 'extensions/src/quick-verse/' changes from bcd253160..d42ac4494
54ed0c7ec Merge commit '022d92281d5ede9f0207fe1d0341a2132c749e25' into 509-hello-world-pdp
b1eb295b4 Squashed 'extensions/src/hello-world/' changes from bcd253160..d42ac4494
0f29e3c1f Merge commit 'b1eb295b4644fd7e86c6015f53a311ff81a280f5' into 509-hello-world-pdp
2915036b5 Merge commit '9d11557f70e257c50a1439975ccbbc66ff7fa442' into 509-hello-world-pdp
9d11557f7 Squashed 'extensions/src/hello-someone/' changes from bcd253160..d42ac4494
746add0b3 Merge commit '954569225eac7544b9dc3d7ea0401201423a02c9' into 509-hello-world-pdp
954569225 Squashed 'extensions/' changes from 9e171bead..514575f38
94ee058cd Fixed command line arguments not working, added placeholder hello world test project
888450a18 Added hello world test pdp
fa9c937fa Reworking tests
1eb9c1651 Merge branch 'main' into 686-support-surrogate-pairs
f9a370447 Update to .NET v8 and update our assembly dependencies (#765)
2b6d1f3d8 Improved project filtering for select project dialogs
02f15226b Added project settings service and `useProjectSetting` hook (#758)
ffe368c4d Added a link about booksPresent setting
5b579b4fd Added a warning about versification setting
f3795365e finish JSDOCs, implement remaining functions, work on unit tests, alphabetize
434123fce Fixed DataProviderEngine reference
ac4c71187 Merge branch 'main' of github.com:paranext/paranext-core into 686-support-surrogate-pairs
82536b6b5 Moved commented data types to JSDocs
4907c0517 Small improvements
88245435c Added project settings service, default implementation IProjectDataProviderEngine, and documentation about new requirements for project settings
488c1d00c Fix the build (#766)
4339da67c implement unit tests and startsWith
07e5b1617 implementing functions, starting unit tests
a79d4c395 function declarations, create test file
e1aa66d4e Merge branch 'main' into 686-support-surrogate-pairs
5cd26e78a Async settings service (#752)
fc982ca13 Merge branch 'main' into 502-async-settings-service
1489050b4 Small update to settings service host
add82ea52 Improve extension host & dotnet service shutdown (#764)
8d6af2bd8 initial commit
7c0d51d73 Add beforeEach function for tests, and deep clone data passed into data provider engine constructor
dcda49620 Processed some more review comments
4baf9a144 finish unit tests
91290abab Update service host
389cd2d0f Merge branch 'main' into 502-async-settings-service
ebfe3fce1 editor: improve note node (#762)
b50eea5f0 fix reset, work on unit tests
f4dc24768 Working on getter, setter and reset
1429705f7 Updated papi.d.ts with new Uri scheme documentation that I missed before (#761)
dfae5a0cd Updated papi.d.ts with new Uri scheme documentation that I missed before
5274dea8b Updated Uri scheme documentation (#760)
3d48b4746 fix unit test bug, start settings service unit tests, and small fix in model
2c4bc8120 Updated Uri scheme documentation
20e72a5d3 Add settings and project settings contribution files (#759)
f4ff35a8b Merge commit 'f2163ed3f3749181034fa5235c98751921f18608' into 718-settings-contributions
f2163ed3f Squashed 'extensions/src/resource-viewer/' changes from 471569fe..bcd25316
daa08346a Merge commit '7e46921c3903f5ab51b483976af133db8b907b75' into 718-settings-contributions
7e46921c3 Squashed 'extensions/src/quick-verse/' changes from 471569fe..bcd25316
c151e5041 Merge commit '5a3ccf007ce835dfb5110e4ca2c1984bb1c45110' into 718-settings-contributions
5a3ccf007 Squashed 'extensions/src/hello-world/' changes from 471569fe..bcd25316
ea65979d5 Merge commit '4fc3ac0433f80dd1413ae1fe3dde193ccff340d3' into 718-settings-contributions
4fc3ac043 Squashed 'extensions/src/hello-someone/' changes from 471569fe..bcd25316
19dee00e4 Merge commit 'a94c941949fa13d5d4084f86bee4717947b65d25' into 718-settings-contributions
a94c94194 Squashed 'extensions/' changes from 46f31d36..9e171bea
3ee524549 Added settings and project settings to extension manifest
44d449c81 Add menu JSON to the manifest file (#756)
01d6f8c66 Finish template merge
991071475 Merge commit '401019ff96d1f1634936a84dd44cbc1bf02bab6f' into 421-menu-json-files
401019ff9 Squashed 'extensions/src/resource-viewer/' changes from 5680aa4c..471569fe
263faf699 Merge commit '39fd79e68ea9e6a4248d1b367fbb3fad3abbab27' into 421-menu-json-files
39fd79e68 Squashed 'extensions/src/quick-verse/' changes from 5680aa4c..471569fe
bc1c28b80 Merge commit '26294cc5cd19515086e9f233712b35763dc5291e' into 421-menu-json-files
26294cc5c Squashed 'extensions/src/hello-world/' changes from 5680aa4c..471569fe
4bac0165a Merge commit '458329331c8b23d952e9c962e1c60852b5126592' into 421-menu-json-files
458329331 Squashed 'extensions/src/hello-someone/' changes from 5680aa4c..471569fe
2dd72ff8d Update our git lib
629581b35 Post-merge update
ed160ea22 Merge commit 'ebe8b67a39d0dbdb18ce5838953bd1cddc664be2' into 421-menu-json-files
ebe8b67a3 Squashed 'extensions/' changes from 4cf4681b..46f31d36
b13f00f35 Add menu JSON to the manifest file
388a369a9 Remove TODOs
6633969ce Process more review comments
f56e5d059 Merge branch 'main' into 502-async-settings-service
b196e76af fix editor scripts (#757)
5340485ee Merge branch 'main' into 502-async-settings-service
fb9ba84fb Process review comments
92e4fc615 Allow sending general requests from C# (#755)
9ef5ab8af Add loading settings from file
14d7087cf use the BiblioNexus Foundation shared Scripture editor (#753)
d4294e950 - code review: remove debug elements
2439c5ac4 Processed review comments. Add start service
f4fd09774 improve editor styles
e8a838eb7 developer linking to monorepo editor
1da3c0500 Update use setting hook
4bc18de27 Update papi
4f8d764b0 Updates to settings service and useSetting hook
b8af80ae8 Merge branch 'main' into 502-async-settings-service
abebb9a60 data provider types, adding settings info data
211c2dd54 Create menu store service (#747)
3573602b0 Fix jsdocs
068321990 Fix selectors in function declarations
3a9e6c22c Merge remote-tracking branch 'origin/main' into 707-context-menus
c823490e0 Merge branch 'main' of github.com:paranext/paranext-core into 502-async-settings-service
84bbe3d5d merge main, and replace imports of menus.model
295ffaf9a Process review comments
2b4ea7e0f work through code reviews
0e01c5d9e Fix typedoc build problems (#751)
c8660c5f8 Move menus schema to `platform-bible-utils` for react components (#750)
f5e84653d make mainMenuMap an object
8ed04f33b format service, build model
00d132b70 initial commit
d91a30458 Remove sample code from toolbar
cb786ad99 Merge remote-tracking branch 'origin/main' into 707-context-menus
78988b945 Fix broken test
7baaa53df Merge branch 'main' into 420-create-menu-store-service
e08d669cb Add JSON document combining logic (#744)
99c065a8a Fixed some inaccuracies in the ParatextStandard expanded data provider (#749)
c2a494175 Fixed some inaccuracies in the ParatextStandard expanded data provider
f43840678 #707 [WIP]: Got context menu target content to lay out correctly (line wrapping)
3d60026e3 class updates code review fixed
374c39228 Update papi.d.ts
4f4b8f2c0 Update model, fix build types
cefa00dd6 Update names and imports
3abfe7a1e move utility function, finish unit tests, add to papi frontend and backend, start working through code review
efcebedf0 Copied types file from Matt's PR. Update menu service name
272f2b1bc #707 [WIP]: Renamed sim simple-menu to menu-item-list and added context-menu
36168ef64 fix utility function, test with useData
4620a5557 fix json import, private method and variables, start utility function
dd0539c6c 326 add aliases (#734)
b125046ca #707 [WIP]: Got simple (context) menu to work in Storybook
1cbcb398c Merge branch 'main' of github.com:paranext/paranext-core into 420-create-menu-store-service
2337de9b0 Add comments, getMenuData unit tests
2f773301b Fix small bug in localization regex (#745)
2b2cae81f Fix small bug in localization regex
ad9987554 Fix incorrect conditional statement
153220e3d Fix forgotten import
112fe3541 Merge branch 'main' of github.com:paranext/paranext-core into 420-create-menu-store-service
28cfaed6a Merge branch 'main' into 326-add-aliases
ec2240a65 Change getCommandLineSwitch to also take Command_Line_Args and fix naming
3a4f1e15c Changes per review
54310127f Merge remote-tracking branch 'origin/main' into 707-context-menus
74b8670f2 #707 [WIP]: Refactored the GridMenu component to create a SimpleMenu with no column header. Began hooking up in Storybook, but not working correctly yet.
258021f99 Update npm packages (#733)
5c44e3da1 fix tests failing on Linux GH CI
74eb2a8d3 chore: bump deps (#3530)
84edf8258 fix: Start cannot be executed immediately after executing package (#3528)
598cb93aa fix notarization: use APPLE_APP_SPECIFIC_PASSWORD instead of APPLE_ID_PASS for authentication (#3491)
87074fa6f chore: bump deps (#3486)
2891ef4b1 Updating Production configuration with Correct config (#3463)
af6110727 update packages
7c4aa8a74 Add a placeholder overview page to Storybook (#732)
3c9739dd6 Merge branch 'main' into 326-add-aliases
5c8488658 Remove mention of organization in Intro.mdx
39b05f0d5 326 Add command line argument aliases
384173cb8 implement data provider and how to initialize it, move schema and fix errors in types
0bf5cfedb Fix typo in Intro.mdx `jsx`→`tsx`
a2325ba39 Fix syntax error in JSON string
71c3e7c4e generate types from schema, add implementation to getMenuData
7087ded41 Add a placeholder overview page to Storybook
1906b149a Initial commit
967633d7e Create localization service (#725)
65bf15cef Deduped `@emotion/react` (#730)
c0570d541 Changed people webview 2 to be named emotion test to be more descriptive
4597266cc Move localization tests file and update name
0632613d5 Refactored async/await in tests
6ce916f39 Fix typo
65b94fe59 completed unit tests and small tweaks in service host
43e60de25 Formatted extension paths to core, added test webview in hello-someone for duplicate @emotion/react
e10fa0ddb Merge commit '2d495061759254ca1e7bda876bf7be94937c770a' into 594-emotional-therapy
2d4950617 Squashed 'extensions/src/resource-viewer/' changes from 2bfae618..5680aa4c
b498281e2 Merge commit '647ce333ea264888c4176eaebfe6f89bd3991b16' into 594-emotional-therapy
647ce333e Squashed 'extensions/src/quick-verse/' changes from 2bfae618..5680aa4c
1e48af8c6 Merge commit '69c754fe8664d23ed78aceb889452df05a5fd847' into 594-emotional-therapy
69c754fe8 Squashed 'extensions/src/hello-world/' changes from 2bfae618..5680aa4c
3f770e64f Merge commit '7288534cdf64e342f9b053ad4db…
  • Loading branch information
irahopkinson committed Oct 3, 2024
1 parent 2d8fd05 commit 2bfd5f9
Show file tree
Hide file tree
Showing 1,047 changed files with 234,354 additions and 17,599 deletions.
16 changes: 16 additions & 0 deletions .babelrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"sourceType": "unambiguous",
"presets": [
[
"@babel/preset-env",
{
"targets": {
"chrome": 100
}
}
],
"@babel/preset-typescript",
"@babel/preset-react"
],
"plugins": []
}
10 changes: 10 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"version": 1,
"isRoot": true,
"tools": {
"csharpier": {
"version": "0.27.3",
"commands": ["dotnet-csharpier"]
}
}
}
8 changes: 8 additions & 0 deletions .erb/configs/.eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"rules": {
"no-console": "off",
"global-require": "off",
"import/no-dynamic-require": "off"
},
"ignorePatterns": ["node_modules"]
}
114 changes: 114 additions & 0 deletions .erb/configs/webpack.config.base.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
/** Base webpack config used across other specific configs */

import webpack from 'webpack';
import TsconfigPathsPlugins from 'tsconfig-paths-webpack-plugin';
import webpackPaths from './webpack.paths';
import { dependencies as externals } from '../../release/app/package.json';

let processType: string;
if (
process.env.npm_lifecycle_script?.includes('webpack.config.renderer') ||
process.env.npm_lifecycle_script?.includes('storybook')
)
processType = 'renderer';
else if (process.env.npm_lifecycle_script?.includes('webpack.config.extension-host'))
processType = 'extension-host';
else processType = 'main';

const configuration: webpack.Configuration = {
externals: [...Object.keys(externals || {})],

stats: 'errors-only',

module: {
rules: [
{
test: /\.[jt]sx?$/,
exclude: /node_modules/,
use: {
loader: 'ts-loader',
options: {
// Remove this line to enable type checking in webpack builds
transpileOnly: true,
compilerOptions: {
module: 'esnext',
},
},
},
},
{
test: /.node$/,
loader: 'node-loader',
},
],
},

output: {
path: webpackPaths.srcPath,
// https://github.com/webpack/webpack/issues/1114
library: {
type: 'commonjs2',
},
},

/** Determine the array of extensions that should be used to resolve modules. */
resolve: {
extensions: ['.js', '.jsx', '.json', '.ts', '.tsx'],
modules: [webpackPaths.srcPath, 'node_modules'],
// There is no need to add aliases here, the paths in tsconfig get mirrored
plugins: [new TsconfigPathsPlugins()],
fallback: {
crypto: false,
// We don't really need crypto in the browser/renderer at least for now, otherwise do:
// crypto: require.resolve('crypto-browserify'),
},
},

plugins: [
new webpack.EnvironmentPlugin({
NODE_ENV: 'production',
}),

new webpack.IgnorePlugin({
checkResource(resource, context) {
// Don't include stuff from process folders in each others' packages.
// Ex: Don't include stuff from the main folder or @main... in renderer and renderer folder in main folder

const isInMain = (res: string) => res.startsWith('@main') || res.includes('main/');
const isInExtensionHost = (res: string) =>
res.startsWith('@extension-host') || res.includes('extension-host/');
const isInRenderer = (res: string) =>
res.startsWith('@renderer') ||
(res.includes('renderer/') && !res.includes('electron-log-preload'));
// Group of processes running in node: main, extension-host
const isInNode = (res: string) => res.startsWith('@node') || res.includes('node/');
// Group of processes running as network clients: renderer, extension-host
const isInClient = (res: string) => res.startsWith('@client') || res.includes('client/');

let exclude = false;
switch (processType) {
case 'renderer':
exclude = isInMain(resource) || isInExtensionHost(resource) || isInNode(resource);
break;
case 'extension-host':
exclude = isInMain(resource) || isInRenderer(resource);
break;
default: // main
exclude = isInRenderer(resource) || isInExtensionHost(resource) || isInClient(resource);
break;
}

// Log if a file is excluded just fyi
if (!context.includes('node_modules') && exclude)
console.log(
`${processType}: Resource ${resource}\n\tat context ${context}: ${
exclude ? 'excluded' : 'included'
}`,
);
return exclude;
},
}),
],
};

export default configuration;
16 changes: 16 additions & 0 deletions .erb/configs/webpack.config.eslint.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/* eslint import/no-unresolved: off, import/no-self-import: off */
import webpack from 'webpack';
import { merge } from 'webpack-merge';
import webpackPaths from './webpack.paths';
import rendererConfig from './webpack.config.renderer.dev';

const configuration: webpack.Configuration = {
resolve: {
// Must add extensions lib path here so eslint knows about the types provided by extensions
// Must add our special module config path so eslint knows about it as well
modules: [webpackPaths.extensionsLibPath, webpackPaths.srcDeclarationsPath],
},
};

const eslintConfig = merge(rendererConfig, configuration);
export default eslintConfig;
30 changes: 30 additions & 0 deletions .erb/configs/webpack.config.extension-host.prod.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/** Webpack config for production extension-host process */

import path from 'path';
import webpack from 'webpack';
import merge, { mergeWithCustomize } from 'webpack-merge';
import mainConfig from './webpack.config.main.prod';
import webpackPaths from './webpack.paths';
import checkNodeEnv from '../scripts/check-node-env';
import deleteSourceMaps from '../scripts/delete-source-maps';

checkNodeEnv('production');
deleteSourceMaps();

const configuration: webpack.Configuration = {
entry: {
'extension-host': path.join(webpackPaths.srcExtensionHostPath, 'extension-host.ts'),
},

output: {
path: webpackPaths.distExtensionHostPath,
},
};

const extensionHostConfig = mergeWithCustomize({
customizeObject(a, b, key) {
if (key === 'entry') return b;
return merge(a, b);
},
})(mainConfig, configuration);
export default extensionHostConfig;
79 changes: 79 additions & 0 deletions .erb/configs/webpack.config.main.prod.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
/** Webpack config for production electron main process */

import path from 'path';
import webpack from 'webpack';
import { merge } from 'webpack-merge';
import TerserPlugin from 'terser-webpack-plugin';
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
import baseConfig from './webpack.config.base';
import webpackPaths from './webpack.paths';
import checkNodeEnv from '../scripts/check-node-env';
import deleteSourceMaps from '../scripts/delete-source-maps';

checkNodeEnv('production');
deleteSourceMaps();

const configuration: webpack.Configuration = {
devtool: 'source-map',

mode: 'production',

target: 'electron-main',

entry: {
main: path.join(webpackPaths.srcMainPath, 'main.ts'),
preload: path.join(webpackPaths.srcMainPath, 'preload.ts'),
},

output: {
path: webpackPaths.distMainPath,
filename: '[name].js',
library: {
type: 'umd',
},
},

optimization: {
minimizer: [
new TerserPlugin({
parallel: true,
}),
],
},

plugins: [
new BundleAnalyzerPlugin({
analyzerMode: process.env.ANALYZE === 'true' ? 'server' : 'disabled',
analyzerPort: 8888,
}),

/**
* Create global constants which can be configured at compile time.
*
* Useful for allowing different behaviour between development builds and release builds
*
* NODE_ENV should be production so that modules do not perform certain development checks
*/
new webpack.EnvironmentPlugin({
NODE_ENV: 'production',
DEBUG_PROD: false,
START_MINIMIZED: false,
}),

new webpack.DefinePlugin({
'process.type': '"browser"',
}),
],

/**
* Disables webpack processing of __dirname and __filename. If you run the bundle in node.js it
* falls back to these values of node.js. https://github.com/webpack/webpack/issues/2010
*/
node: {
__dirname: false,
__filename: false,
},
};

const mainConfig = merge(baseConfig, configuration);
export default mainConfig;
69 changes: 69 additions & 0 deletions .erb/configs/webpack.config.preload.dev.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
import path from 'path';
import webpack from 'webpack';
import { merge } from 'webpack-merge';
import { BundleAnalyzerPlugin } from 'webpack-bundle-analyzer';
import baseConfig from './webpack.config.base';
import webpackPaths from './webpack.paths';
import checkNodeEnv from '../scripts/check-node-env';

// When an ESLint server is running, we can't set the NODE_ENV so we'll check if it's
// at the dev webpack config is not accidentally run in a production environment
if (process.env.NODE_ENV === 'production') {
checkNodeEnv('development');
}

const configuration: webpack.Configuration = {
devtool: 'inline-source-map',

mode: 'development',

target: 'electron-preload',

entry: path.join(webpackPaths.srcMainPath, 'preload.ts'),

output: {
path: webpackPaths.dllPath,
filename: 'preload.js',
library: {
type: 'umd',
},
},

plugins: [
new BundleAnalyzerPlugin({
analyzerMode: process.env.ANALYZE === 'true' ? 'server' : 'disabled',
}),

/**
* Create global constants which can be configured at compile time.
*
* Useful for allowing different behaviour between development builds and release builds
*
* NODE_ENV should be production so that modules do not perform certain development checks
*
* By default, use 'development' as NODE_ENV. This can be overriden with 'staging', for example,
* by changing the ENV variables in the npm scripts
*/
new webpack.EnvironmentPlugin({
NODE_ENV: 'development',
}),

new webpack.LoaderOptionsPlugin({
debug: true,
}),
],

/**
* Disables webpack processing of __dirname and __filename. If you run the bundle in node.js it
* falls back to these values of node.js. https://github.com/webpack/webpack/issues/2010
*/
node: {
__dirname: false,
__filename: false,
},

watch: true,
};

const preloadConfig = merge(baseConfig, configuration);
export default preloadConfig;
Loading

0 comments on commit 2bfd5f9

Please sign in to comment.