fix: remove gray-matter dependency, use inline frontmatter parser

gray-matter was excluded from VSIX via .vscodeignore, causing runtime
   module not found error. Replaced with a zero-dependency inline parser.

   Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
DwainTR
2026-03-12 19:51:15 +03:00
parent 8448807ae5
commit 5ebbccf601
3 changed files with 4049 additions and 30 deletions

View File

@@ -15,7 +15,7 @@
"categories": ["AI", "Other"],
"keywords": ["copilot", "superpowers", "skills", "tdd", "brainstorming", "debugging"],
"icon": "images/icon.png",
"activationEvents": [],
"activationEvents": ["onStartupFinished"],
"main": "./out/extension.js",
"contributes": {
"chatParticipants": [
@@ -65,9 +65,6 @@
"package": "vsce package",
"publish": "vsce publish"
},
"dependencies": {
"gray-matter": "^4.0.3"
},
"devDependencies": {
"@types/node": "^20.0.0",
"@types/vscode": "^1.90.0",