-
-
Notifications
You must be signed in to change notification settings - Fork 5
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
feat(new features): adds features, read pr for details #9
Open
sadan4
wants to merge
32
commits into
Vencord:main
Choose a base branch
from
sadan4:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 4 commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
3d8ebe4
bad code
sadan4 e1f9400
create draft commit
sadan4 50b6dae
add formatter
sadan4 940e9a3
add module diffing
sadan4 add041a
start work on webview
sadan4 d824542
non-ui part of client side reporter done
sadan4 0a850d1
delete unneeded files
sadan4 e74de09
things
sadan4 6b41f9a
webview works
sadan4 cf9be30
oops
sadan4 17c8e54
start working on webview commands
sadan4 d22471f
Add the stuff
cheesesamwich 2f880f0
remove dummy data
sadan4 d46a10f
Merge pull request #1 from cheesesamwich/main
sadan4 e6e4cb9
add types to webview, fix csp, fix some bad logic, change a bit of th…
sadan4 8363424
add broken finds to it
sadan4 39482a6
how in gods name did this get comitted
sadan4 afd1195
guh
sadan4 22eeab1
guh
sadan4 7e6c5d3
guh guh
sadan4 dbcfe59
remove setting
sadan4 cf88029
guh
sadan4 141e94e
use esbuild for webview
sadan4 01491be
i love esbuild
sadan4 9d71423
oops
sadan4 8a3870f
general cleanup
sadan4 f22d11c
update gitingorte
sadan4 3ad7c5a
add postinstall script
sadan4 2965f29
cleanup build for webview fix the hide button
sadan4 36f4d21
add/update eslint
sadan4 9eb99c1
update eslint
sadan4 b0939bd
add LSP for webpack modules
sadan4 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
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,39 @@ | |
"typecheck": "tsc --noEmit" | ||
}, | ||
"contributes": { | ||
"configuration": { | ||
"title": "Vencord Companion configuration", | ||
"properties": { | ||
"vencord-companion.delModulesOnExit": { | ||
"default": false, | ||
"type": "boolean", | ||
"description": "delete extracted modules on exit" | ||
}, | ||
"vencord-companion.moduleSavePath": { | ||
"type": "string", | ||
"description": "The path to save extracted modules, only automatically works if delModulesOnExit is false", | ||
"default": null | ||
} | ||
} | ||
}, | ||
"commands": [ | ||
{ | ||
"command": "vencord-companion.diffModuleSearch", | ||
"title": "Diff Module Search" | ||
}, | ||
{ | ||
"command": "vencord-companion.diffModule", | ||
"title": "Diff Module" | ||
}, | ||
{ | ||
"command": "vencord-companion.extract", | ||
"title": "Extract" | ||
}, | ||
{ | ||
"command": "vencord-companion.extractSearch", | ||
"title": "Extract With Search" | ||
} | ||
], | ||
"snippets": [ | ||
{ | ||
"language": "typescript", | ||
|
@@ -52,6 +85,7 @@ | |
"onLanguage:typescriptreact" | ||
], | ||
"dependencies": { | ||
"prettier": "^3.3.3", | ||
"typescript": "^4.9.5", | ||
"ws": "^8.12.1" | ||
}, | ||
|
@@ -79,5 +113,6 @@ | |
"sponsor": { | ||
"url": "https://github.com/sponsors/Vendicated" | ||
}, | ||
"homepage": "https://github.com/Vencord/Companion" | ||
} | ||
"homepage": "https://github.com/Vencord/Companion", | ||
"packageManager": "[email protected]+sha512.9df9cf27c91715646c7d675d1c9c8e41f6fce88246f1318c1aa6a1ed1aeb3c4f032fcdf4ba63cc69c4fe6d634279176b5358727d8f2cc1e65b65f43ce2f8bfb0" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import { format } from "prettier/standalone" | ||
//@ts-ignore for some fucking reason, the d.ts file shows no exports when the mjs file clearly has them | ||
import estree from "prettier/plugins/estree" | ||
//@ts-ignore d.ts file strikes again, shows no default export. usage follows their own docs | ||
import babel from "prettier/plugins/babel" | ||
|
||
export default async function (text: string) { | ||
return await format(text, { | ||
parser: "babel", | ||
plugins: [babel, estree], | ||
tabWidth: 4 | ||
}) | ||
} |
This file contains 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
Oops, something went wrong.
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.
this seems like a really bad way to create a diff between two strings, but I tried for like a few hours and I couldn't figure out any other way