-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
168 lines (168 loc) · 5.58 KB
/
Copy pathpackage.json
File metadata and controls
168 lines (168 loc) · 5.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
{
"name": "beadsx",
"displayName": "BeadsX Extension",
"description": "VSCode panel for viewing beads issue tracking state",
"version": "0.2.12",
"publisher": "raychaser",
"repository": {
"type": "git",
"url": "https://github.com/raychaser/beadsx.git"
},
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./out/extension.js",
"icon": "beadsx.png",
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "beadsx",
"title": "Beads",
"icon": "beadsx.png"
}
]
},
"views": {
"beadsx": [
{
"id": "beadsxIssues",
"name": "Beads",
"icon": "$(symbol-interface)"
}
]
},
"commands": [
{
"command": "beadsx.refresh",
"title": "Refresh Issues",
"icon": "$(refresh)"
},
{
"command": "beadsx.filter",
"title": "Filter Issues",
"icon": "$(filter)"
},
{
"command": "beadsx.showDetail",
"title": "Show Issue Detail"
}
],
"menus": {
"view/title": [
{
"command": "beadsx.filter",
"when": "view == beadsxIssues",
"group": "navigation"
},
{
"command": "beadsx.refresh",
"when": "view == beadsxIssues",
"group": "navigation"
}
]
},
"configuration": {
"title": "BeadsX Extension",
"properties": {
"beadsx.autoReloadInterval": {
"type": "number",
"default": 10,
"minimum": 0,
"maximum": 3600,
"description": "Interval in seconds to automatically reload issues (0 to disable, max 3600 = 1 hour)"
},
"beadsx.commandPath": {
"type": "string",
"default": "",
"description": "Path to the bd command (leave empty to use PATH)"
},
"beadsx.autoExpandOpen": {
"type": "boolean",
"default": true,
"description": "Automatically expand open/in-progress issues to show children"
},
"beadsx.shortIds": {
"type": "boolean",
"default": false,
"description": "Show shortened issue IDs without prefix (e.g., '123' instead of 'beadsx-123')"
},
"beadsx.recentWindowMinutes": {
"type": "number",
"default": 60,
"minimum": 1,
"maximum": 10080,
"description": "Time window in minutes for 'Recent Issues' filter to include closed issues (default: 60 = 1 hour)"
},
"beadsx.useJsonlMode": {
"type": "boolean",
"default": false,
"description": "Use JSONL-only mode (--no-db flag). Prevents bd from auto-discovering databases in parent directories."
}
}
}
},
"scripts": {
"vscode:prepublish": "pnpm run bundle",
"compile": "tsc -p ./",
"bundle": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node --minify",
"watch": "tsc -watch -p ./",
"lint": "biome check src",
"lint:fix": "biome check --write src",
"format": "biome format --write src",
"package": "vsce package --no-dependencies --allow-missing-repository",
"publish:vsce": "echo 'Requires VSCE_PAT env var' && vsce publish",
"publish:ovsx": "echo 'Requires OVSX_TOKEN env var' && ovsx publish",
"install-ext": "rm -f beadsx-*.vsix && vsce package --no-dependencies --allow-missing-repository && code --install-extension beadsx-*.vsix --force",
"test": "pnpm run bundle && playwright test",
"test:headed": "pnpm run bundle && playwright test --headed",
"test:integration": "tsc -p test/suite && vscode-test",
"pretest:integration": "pnpm run bundle",
"test:unit": "vitest run",
"prepare": "husky",
"cli:dev": "bun run src/cli/index.tsx",
"cli:build": "bun build --compile src/cli/index.tsx --outfile dist/bdx",
"cli:install": "pnpm run cli:build && cp dist/bdx /usr/local/bin/bdx && codesign --force --sign - /usr/local/bin/bdx && echo 'Installed bdx to /usr/local/bin/bdx'",
"cli:build:all": "mkdir -p dist && bun build --compile src/cli/index.tsx --outfile dist/bdx-darwin-arm64 --target bun-darwin-arm64 && bun build --compile src/cli/index.tsx --outfile dist/bdx-darwin-x64 --target bun-darwin-x64 && bun build --compile src/cli/index.tsx --outfile dist/bdx-linux-x64 --target bun-linux-x64 && bun build --compile src/cli/index.tsx --outfile dist/bdx-linux-arm64 --target bun-linux-arm64 && bun build --compile src/cli/index.tsx --outfile dist/bdx-windows-x64.exe --target bun-windows-x64",
"sign:macos": "node scripts/sign-macos.mjs",
"sign:macos:local": "node scripts/sign-macos.mjs --skip-notarize"
},
"bin": {
"bdx": "./bin/bdx.js"
},
"devDependencies": {
"@biomejs/biome": "^2.3.11",
"@opentui/core": "^0.1.63",
"@opentui/core-darwin-arm64": "^0.1.66",
"@opentui/core-darwin-x64": "^0.1.66",
"@opentui/react": "^0.1.63",
"@playwright/test": "^1.57.0",
"@types/mocha": "^10.0.10",
"@types/node": "^20.10.0",
"@types/react": "^19.0.0",
"@types/vscode": "^1.85.0",
"@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^3.7.1",
"esbuild": "^0.27.0",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"ovsx": "^0.10.7",
"react": "^19.0.0",
"typescript": "^5.3.2",
"vitest": "^4.0.15"
},
"lint-staged": {
"*.ts": [
"biome check --write"
]
},
"dependencies": {
"commander": "^14.0.2",
"yaml": "^2.8.2"
}
}