fix: include .opencode/ in npm package files and add opencode keyword

The .opencode/ directory was missing from the files array, so the npm
package only shipped Claude Code and Cursor configs. Selectively include
.opencode/ subdirectories to avoid bundling node_modules and dist.
This commit is contained in:
Affaan Mustafa
2026-02-11 02:35:43 -08:00
parent 261332dc50
commit 72de58a0cd

View File

@@ -18,7 +18,8 @@
"automation",
"best-practices",
"cursor",
"cursor-ide"
"cursor-ide",
"opencode"
],
"author": {
"name": "Affaan Mustafa",
@@ -35,6 +36,17 @@
},
"files": [
".cursor/",
".opencode/commands/",
".opencode/instructions/",
".opencode/plugins/",
".opencode/prompts/",
".opencode/tools/",
".opencode/index.ts",
".opencode/opencode.json",
".opencode/package.json",
".opencode/tsconfig.json",
".opencode/MIGRATION.md",
".opencode/README.md",
"agents/",
"commands/",
"contexts/",