Skip to content

Commit 2c17af8

Browse files
committed
Initial commit
0 parents  commit 2c17af8

38 files changed

+8062
-0
lines changed

.editorconfig

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
root = true
2+
3+
[*]
4+
end_of_line = lf
5+
insert_final_newline = true
6+
charset = utf-8
7+
trim_trailing_whitespace = true

.eslintrc.cjs

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true,
5+
es2021: true,
6+
mocha: true,
7+
},
8+
extends: ['eslint:recommended', 'prettier'],
9+
parserOptions: {
10+
ecmaVersion: 'latest',
11+
},
12+
ignorePatterns: ['node_modules/', 'SwiftExplorerApp/.build/', 'coverage/', '*.vsix'],
13+
};
Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
name: Bug report
2+
description: Report a reproducible problem
3+
title: '[Bug]: '
4+
labels: [bug]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for taking the time to report a bug.
10+
Please search existing issues before filing a new one.
11+
- type: textarea
12+
id: summary
13+
attributes:
14+
label: Summary
15+
description: A clear and concise description of the bug.
16+
placeholder: What happened?
17+
validations:
18+
required: true
19+
- type: textarea
20+
id: steps
21+
attributes:
22+
label: Steps to reproduce
23+
description: Provide minimal, repeatable steps.
24+
placeholder: |
25+
1. ...
26+
2. ...
27+
3. ...
28+
validations:
29+
required: true
30+
- type: textarea
31+
id: expected
32+
attributes:
33+
label: Expected behavior
34+
placeholder: What did you expect to happen?
35+
validations:
36+
required: true
37+
- type: textarea
38+
id: actual
39+
attributes:
40+
label: Actual behavior
41+
placeholder: What actually happened?
42+
validations:
43+
required: true
44+
- type: textarea
45+
id: logs
46+
attributes:
47+
label: Logs or screenshots
48+
description: Paste relevant logs or attach screenshots.
49+
render: shell
50+
validations:
51+
required: false
52+
- type: input
53+
id: version
54+
attributes:
55+
label: Version
56+
description: App or extension version.
57+
placeholder: 0.0.1
58+
validations:
59+
required: false
60+
- type: dropdown
61+
id: component
62+
attributes:
63+
label: Component
64+
options:
65+
- VS Code extension
66+
- macOS SwiftUI app
67+
- Docs/Other
68+
validations:
69+
required: true
70+
- type: input
71+
id: environment
72+
attributes:
73+
label: Environment
74+
description: OS + toolchain versions.
75+
placeholder: macOS 14.x, Node 18.x, Swift 6.x
76+
validations:
77+
required: false

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
blank_issues_enabled: false
2+
contact_links:
3+
- name: Security reports
4+
url: https://github.com/s1korrrr/codebase-combiner/security/advisories/new
5+
about: Please report security vulnerabilities via private advisories.
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: Feature request
2+
description: Propose a new feature or improvement
3+
title: '[Feature]: '
4+
labels: [enhancement]
5+
body:
6+
- type: markdown
7+
attributes:
8+
value: |
9+
Thanks for the idea! Please include as much detail as possible.
10+
- type: textarea
11+
id: problem
12+
attributes:
13+
label: Problem statement
14+
description: What problem are you trying to solve?
15+
validations:
16+
required: true
17+
- type: textarea
18+
id: proposal
19+
attributes:
20+
label: Proposed solution
21+
description: Describe the solution you'd like to see.
22+
validations:
23+
required: true
24+
- type: textarea
25+
id: alternatives
26+
attributes:
27+
label: Alternatives considered
28+
description: What alternatives have you tried or considered?
29+
validations:
30+
required: false
31+
- type: textarea
32+
id: scope
33+
attributes:
34+
label: Scope and impact
35+
description: Who benefits and how? Any risks or compatibility notes?
36+
validations:
37+
required: false
38+
- type: dropdown
39+
id: component
40+
attributes:
41+
label: Component
42+
options:
43+
- VS Code extension
44+
- macOS SwiftUI app
45+
- Docs/Other
46+
validations:
47+
required: true

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Summary
2+
3+
- What does this change do?
4+
5+
# Testing
6+
7+
- [ ] `npm test`
8+
- [ ] `npm run lint`
9+
- [ ] `npm run format:check`
10+
- [ ] `cd SwiftExplorerApp && swift test`
11+
- [ ] `swiftformat --lint .`
12+
13+
# Checklist
14+
15+
- [ ] Added/updated tests for new or changed behavior
16+
- [ ] Updated documentation if user-facing behavior changed
17+
- [ ] No new warnings or lint issues
18+
- [ ] No secrets or private data committed

.github/workflows/ci.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build-test:
9+
runs-on: macos-latest
10+
steps:
11+
- name: Checkout
12+
uses: actions/checkout@v4
13+
14+
- name: Setup Node
15+
uses: actions/setup-node@v4
16+
with:
17+
node-version: 18
18+
cache: npm
19+
20+
- name: Install JS dependencies
21+
run: npm ci
22+
23+
- name: Lint JS
24+
run: npm run lint
25+
26+
- name: Check JS formatting
27+
run: npm run format:check
28+
29+
- name: JS tests
30+
run: npm test
31+
32+
- name: Install SwiftFormat
33+
run: brew install swiftformat
34+
35+
- name: SwiftFormat lint
36+
run: swiftformat --lint .
37+
38+
- name: Swift tests
39+
run: cd SwiftExplorerApp && swift test

.gitignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.DS_Store
2+
.vscode/
3+
node_modules/
4+
SwiftExplorerApp/.build/
5+
*.vsix
6+
*.log
7+
*.swp
8+
*.swo
9+
coverage/
10+
AGENTS.md
11+
PLAN.md
12+
TODO.md
13+
MEMORY.md

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules/
2+
SwiftExplorerApp/.build/
3+
coverage/
4+
*.vsix

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"printWidth": 100,
3+
"singleQuote": true,
4+
"trailingComma": "es5"
5+
}

0 commit comments

Comments
 (0)