Skip to content

Commit ff3e33c

Browse files
authored
Merge pull request #3 from elvince/initial-extension-contribution
Initial extension contribution
2 parents 67a1264 + 258b620 commit ff3e33c

154 files changed

Lines changed: 32843 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitattributes

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Auto detect text files and perform LF normalization
2+
* text=auto
3+
4+
# Force LF line endings for shell scripts (cross-platform compatibility)
5+
*.sh text eol=lf

.gitignore

Lines changed: 129 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,129 @@
1+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2+
3+
# Dependencies
4+
node_modules
5+
package-lock.json
6+
.pnp
7+
.pnp.js
8+
9+
# Local env files
10+
.env
11+
.env.local
12+
.env.development.local
13+
.env.test.local
14+
.env.production.local
15+
16+
# Testing
17+
coverage
18+
/.nyc_output
19+
20+
# Playwright
21+
test-results/
22+
playwright-report/
23+
blob-report/
24+
playwright/.cache/
25+
26+
# Turbo
27+
.turbo
28+
29+
# Vercel
30+
.vercel
31+
32+
#claude
33+
.claude/settings.local.json
34+
.claude/commands/bmad*
35+
36+
# BMAD method working files
37+
_bmad/
38+
_bmad-output/
39+
40+
# Build Outputs
41+
.next/
42+
out/
43+
build
44+
dist
45+
dist-ssr
46+
tsconfig.tsbuildinfo
47+
48+
# Prisma
49+
generated/
50+
51+
# TanStack
52+
routeTree.gen.ts
53+
.tanstack
54+
55+
# Misc
56+
*.pem
57+
*.local
58+
.nitro
59+
.output
60+
.vinxi
61+
todos.json
62+
63+
# Logs
64+
logs
65+
*.log
66+
npm-debug.log*
67+
pnpm-debug.log*
68+
yarn-debug.log*
69+
yarn-error.log*
70+
lerna-debug.log*
71+
72+
# OS
73+
.DS_Store
74+
75+
# IDEs and editors
76+
/.idea
77+
.idea
78+
.project
79+
.classpath
80+
.c9/
81+
*.launch
82+
.settings/
83+
*.sublime-workspace
84+
*.suo
85+
*.ntvs*
86+
*.njsproj
87+
*.sln
88+
*.sw?
89+
90+
# IDE - VSCode
91+
.vscode/*
92+
!.vscode/settings.json
93+
!.vscode/tasks.json
94+
!.vscode/launch.json
95+
!.vscode/extensions.json
96+
!.vscode/clean-monorepo.cjs
97+
98+
# Temp directory
99+
.temp
100+
.tmp
101+
102+
# Runtime data
103+
pids
104+
*.pid
105+
*.seed
106+
*.pid.lock
107+
108+
# Diagnostic reports (https://nodejs.org/api/report.html)
109+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
110+
111+
#Tasks
112+
.tasks
113+
114+
#old code
115+
.old
116+
117+
#cscodecounter
118+
.VSCodeCounter
119+
120+
.ignored/
121+
122+
.playwright-mcp/
123+
124+
# VSCode Extension
125+
.vscode-test/
126+
*.vsix
127+
128+
# OS
129+
Thumbs.db

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
manage-package-manager-versions=true

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
_bmad/
2+
_bmad-output/
3+
.claude/
4+
CHANGELOG.md

.prettierrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"semi": true,
3+
"singleQuote": true,
4+
"trailingComma": "es5",
5+
"printWidth": 100,
6+
"tabWidth": 2,
7+
"endOfLine": "auto",
8+
"arrowParens": "always",
9+
"tailwindFunctions": ["cn"],
10+
"plugins": ["prettier-plugin-tailwindcss"]
11+
}

.releaserc.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"branches": ["main"],
3+
"plugins": [
4+
"@semantic-release/commit-analyzer",
5+
"@semantic-release/release-notes-generator",
6+
[
7+
"@semantic-release/npm",
8+
{
9+
"npmPublish": false
10+
}
11+
],
12+
[
13+
"@semantic-release/changelog",
14+
{
15+
"changelogFile": "CHANGELOG.md"
16+
}
17+
],
18+
[
19+
"@semantic-release/exec",
20+
{
21+
"prepareCmd": "pnpm vscode:package"
22+
}
23+
],
24+
[
25+
"@semantic-release/git",
26+
{
27+
"assets": ["package.json", "CHANGELOG.md"],
28+
"message": "chore(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
29+
}
30+
],
31+
[
32+
"@semantic-release/github",
33+
{
34+
"assets": [
35+
{
36+
"path": "out/bmad-dashboard-*.vsix",
37+
"label": "VS Code Extension (.vsix)"
38+
}
39+
]
40+
}
41+
]
42+
]
43+
}

.vscode-test.mjs

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import { defineConfig } from '@vscode/test-cli';
2+
3+
export default defineConfig({
4+
// Only run tests that require VS Code runtime (mocha-based)
5+
// Parser tests use vitest and are run via `pnpm test`
6+
files: [
7+
'out/extension/extension.test.js',
8+
'out/extension/services/**/*.test.js',
9+
'out/extension/providers/**/*.test.js',
10+
],
11+
workspaceFolder: '.',
12+
launchArgs: ['--disable-extensions'],
13+
mocha: {
14+
ui: 'tdd',
15+
},
16+
});

.vscode/css_custom_data.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
{
2+
"atDirectives": [
3+
{
4+
"name": "@theme",
5+
"description": "Use the @theme directive to define custom design tokens in Tailwind CSS v4.",
6+
"references": [
7+
{
8+
"name": "Tailwind CSS v4 Theme Configuration",
9+
"url": "https://tailwindcss.com/docs/theme"
10+
}
11+
]
12+
},
13+
{
14+
"name": "@layer",
15+
"description": "Use the @layer directive to tell Tailwind which \"bucket\" a set of custom styles belong to.",
16+
"references": [
17+
{
18+
"name": "Tailwind CSS Functions & Directives",
19+
"url": "https://tailwindcss.com/docs/functions-and-directives#layer"
20+
}
21+
]
22+
},
23+
{
24+
"name": "@utility",
25+
"description": "Use the @utility directive to define custom utilities in Tailwind CSS v4.",
26+
"references": [
27+
{
28+
"name": "Tailwind CSS v4 Adding Custom Utilities",
29+
"url": "https://tailwindcss.com/docs/adding-custom-styles#adding-custom-utilities"
30+
}
31+
]
32+
},
33+
{
34+
"name": "@variant",
35+
"description": "Use the @variant directive to define custom variants in Tailwind CSS v4.",
36+
"references": [
37+
{
38+
"name": "Tailwind CSS v4 Adding Custom Variants",
39+
"url": "https://tailwindcss.com/docs/adding-custom-styles#adding-custom-variants"
40+
}
41+
]
42+
}
43+
]
44+
}

.vscode/extensions.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
3+
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
4+
5+
// List of extensions which should be recommended for users of this workspace.
6+
"recommendations": [
7+
"dbaeumer.vscode-eslint",
8+
"csstools.postcss",
9+
"esbenp.prettier-vscode",
10+
"bradlc.vscode-tailwindcss"
11+
]
12+
}

.vscode/launch.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Run Extension",
6+
"type": "extensionHost",
7+
"request": "launch",
8+
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
9+
"outFiles": ["${workspaceFolder}/out/**/*.js"],
10+
"preLaunchTask": "build"
11+
},
12+
{
13+
"name": "Run Extension (Watch)",
14+
"type": "extensionHost",
15+
"request": "launch",
16+
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
17+
"outFiles": ["${workspaceFolder}/out/**/*.js"],
18+
"preLaunchTask": "watch"
19+
}
20+
]
21+
}

0 commit comments

Comments
 (0)