-
-
Notifications
You must be signed in to change notification settings - Fork 47
chore: rework content
updates
#75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
8ac56a4
remove processing logic from `core`
AdrianGonz97 80daea4
tweak parser names
AdrianGonz97 b1aef0d
move core logic into `sv`
AdrianGonz97 5d5522d
implement new `content` manipulation spec
AdrianGonz97 3c962b3
fix extensions
AdrianGonz97 d7739ad
fix indents
AdrianGonz97 48bd2ef
simplify tailwind
AdrianGonz97 7684951
add code gen for module block
AdrianGonz97 d0114d6
update community template
AdrianGonz97 4dbe8cf
enable `noUncheckedIndexAccess`
AdrianGonz97 dd26996
reorder
AdrianGonz97 e69e3a1
update test
AdrianGonz97 8796703
add typescript as a parser option
AdrianGonz97 a8fa669
pull out regex
AdrianGonz97 56d57f4
update script adders
benmccann 281cdbb
merge main
benmccann 6bed51e
not sure what this is
AdrianGonz97 bc0ec67
migrate the rest
AdrianGonz97 ad97fb2
last bits
AdrianGonz97 cf31f32
ensure json is parseable
AdrianGonz97 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
update script adders
- Loading branch information
commit 56d57f44f12d0a9c05621bc8c501ebebbd5f9aff
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<
10000
summary class="height-full">
View file
Open in desktop
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there were some places like this where I had to do
return content
, but I wonder if it wouldn't be better to allowundefined
in the return type so that we could do a simplereturn;
to skip editing the fileUh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure, i think we can do that. i believe we (currently) could accomplish the same effect by returning an empty string as well
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on second thought, is this really all that bad? i feel like allowing
undefined
to be returned could lead to a lot of fuckups (i.e. people forgetting to return the content after manipulation)There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
true. it did save me from that a few times. I suppose we can always make that change in the future. Once we have tests it should provide some more protection