This repository has been archived by the owner on Jul 17, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
76f9cb9
commit 69d6c42
Showing
78 changed files
with
2,579 additions
and
865 deletions.
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
*.vsix | ||
|
||
# Logs | ||
logs | ||
*.log | ||
|
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,14 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "Run Extension", | ||
"type": "extensionHost", | ||
"request": "launch", | ||
"runtimeExecutable": "${execPath}", | ||
"args": ["--extensionDevelopmentPath=${workspaceFolder}/apps/extension"], | ||
"outFiles": ["${workspaceFolder}/apps/extension/dist/**/*.js"], | ||
"preLaunchTask": "npm: extension:debug" | ||
} | ||
] | ||
} |
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,43 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"type": "npm", | ||
"script": "extension:debug", | ||
"problemMatcher": { | ||
"owner": "tsup", | ||
"source": "tsup", | ||
"severity": "error", | ||
"pattern": [ | ||
{ | ||
"regexp": "^✘\\s+\\[ERROR\\]\\s+(.+)$", | ||
"message": 1 | ||
}, | ||
{ | ||
"regexp": "^\\s*$" | ||
}, | ||
{ | ||
"regexp": "^\\s+(.+):(\\d+):(\\d+):$", | ||
"file": 1, | ||
"line": 2, | ||
"column": 3 | ||
} | ||
], | ||
"background": { | ||
"activeOnStart": true, | ||
"beginsPattern": "^CJS Build start$", | ||
"endsPattern": "^CJS .* Build success|^CJS Build failed" | ||
} | ||
}, | ||
"isBackground": true, | ||
"presentation": { | ||
"reveal": "never" | ||
}, | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
} | ||
] | ||
} | ||
|
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,10 @@ | ||
.vscode/ | ||
src/ | ||
types/ | ||
|
||
*.ts | ||
|
||
dist/*.ts | ||
dist/*.js.map | ||
|
||
tsconfig.json |
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 @@ | ||
../../LICENSE |
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,14 @@ | ||
## About | ||
Tool for creating and modifying Presences. | ||
|
||
## Using the commands | ||
To use the commands, open up the Command Palette using `Ctrl+Shift+P` | ||
|
||
 | ||
|
||
## Debugging the Extension | ||
|
||
- Run `pnpm install` to install dependencies | ||
- Press `F5`, this will: | ||
- Start a task `npm: debug:extension` to compile the code | ||
- Run the extension in a new VS Code window |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,61 @@ | ||
{ | ||
"name": "premid-pmd", | ||
"displayName": "pmd", | ||
"description": "Tool for creating and modifying Presences.", | ||
"version": "1.0.0", | ||
"publisher": "PreMiD", | ||
"private": true, | ||
"license": "MPL-2.0", | ||
"icon": "assets/icon.png", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/PreMiD/pmd" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/PreMiD/pmd/issues" | ||
}, | ||
"homepage": "https://github.com/PreMiD/pmd/tree/main/apps/extension#readme", | ||
"engines": { | ||
"vscode": "^1.63.0" | ||
}, | ||
"categories": [ | ||
"Other" | ||
], | ||
"main": "./dist/extension.js", | ||
"activationEvents": [], | ||
"contributes": { | ||
"commands": [ | ||
{ | ||
"command": "pmd.createPresence", | ||
"title": "Create a Presence", | ||
"category": "PMD" | ||
}, | ||
{ | ||
"command": "pmd.modifyPresence", | ||
"title": "Modify a Presence", | ||
"category": "PMD" | ||
} | ||
] | ||
}, | ||
"scripts": { | ||
"vscode:prepublish": "pnpm run compile", | ||
"compile": "tsup", | ||
"debug": "tsup --watch --sourcemap" | ||
}, | ||
"devDependencies": { | ||
"@pmd/cli": "workspace:*", | ||
"@types/discord-rpc": "^4.0.3", | ||
"@types/node": "^18.11.2", | ||
"@types/vscode": "^1.32.0", | ||
"axios": "^1.1.2", | ||
"chalk": "4.0.0", | ||
"chokidar": "^3.5.3", | ||
"copy-webpack-plugin": "^11.0.0", | ||
"discord-rpc": "^4.0.1", | ||
"jsonschema": "^1.4.1", | ||
"ts-loader": "^9.4.1", | ||
"tsup": "^6.2.3", | ||
"typescript": "^4.8.4", | ||
"webpack": "^5.74.0" | ||
} | ||
} |
Oops, something went wrong.