Move entry points into their folders #2862
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
devTools
topageEditor
across the extension #2853As previously suggested by Todd, this PR moves the entry points into their folders. I had initially thought about naming them
background/main.ts
but Todd suggested it's annoying to have many files with the same name laying around, so:For:
contentScript
background
options
sidebar
I moved small contexts that don't have their own sub-folders into a joint
tinyPages
folder. This only serves to clean up thesrc
root and indeed it's looking quite clearer now.tinyPages/ephemeralForm.tsx
tinyPages/permissionsPopup
tinyPages/frame.ts
tinyPages/devTools.ts
(not to be confused withpageEditor
)I also merged the 2 global .d.ts files and moved the
headers.ts
to thedevelopment
folder.