Skip to content

Commit 65afd68

Browse files
Merge pull request #15 from ConsultingMD/nikola/cleanup-docs
Nikola/cleanup docs
2 parents 23a5f3a + 99e2814 commit 65afd68

File tree

4 files changed

+12
-103
lines changed

4 files changed

+12
-103
lines changed

.github/workflows/security.yml

Lines changed: 0 additions & 59 deletions
This file was deleted.

CI_SETUP.md

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,6 @@ This document explains the Continuous Integration and Continuous Deployment setu
4444
- GitHub release creation with artifacts
4545
- Prerelease detection (alpha, beta, rc tags)
4646

47-
### 4. Security Workflows (`.github/workflows/security.yml`) - CURRENTLY DISABLED
48-
49-
**Status**: Commented out - requires Code Security/Code Scanning to be enabled
50-
**Triggers**: PRs, main branch pushes, and weekly schedule (when enabled)
51-
**Purpose**: Security scanning and vulnerability detection
52-
53-
**Features (when enabled)**:
54-
- CodeQL static analysis for Swift code security
55-
- Weekly automated security scans
56-
- Integration with GitHub Security tab
57-
- SARIF output format for security findings
58-
59-
**To enable**: Uncomment the workflow after enabling Code Scanning in repository settings
60-
6147
## Configuration Files
6248

6349
### Dependabot (`.github/dependabot.yml`)
@@ -78,28 +64,10 @@ This document explains the Continuous Integration and Continuous Deployment setu
7864
- Test files excluded from coverage
7965
- Branch detection for conditionals and loops
8066

81-
## Key Features Inspired by member-ios-app
82-
83-
1. **Comprehensive Testing**: Native macOS Swift testing with code coverage
84-
2. **Package Validation**: Swift package structure and dependency analysis
85-
3. **Caching**: Aggressive SPM caching for performance
86-
4. **Security**: CodeQL security scanning (currently disabled - enable Code Scanning in repo settings)
87-
5. **Release Automation**: Comprehensive release process with artifacts
88-
8967
## Environment Variables Used
9068

9169
- `SWIFTUI_DEBUG_SCAN_VERBOSE`: Enables verbose test logging
9270
- `GITHUB_TOKEN`: For GitHub API access (automatic)
93-
- Various Codecov and security scanning tokens (configured via secrets)
94-
95-
## Differences from Private Repository Patterns
96-
97-
Since this is an open-source project, several adaptations were made:
98-
99-
1. **No Private Dependencies**: No access to private certificate repos or internal tools
100-
2. **Simplified Release Process**: Using GitHub Releases instead of internal distribution
101-
3. **Public Security Scanning**: Using GitHub's built-in security features
102-
4. **Community Standards**: Following open-source contribution patterns
10371

10472
## Usage
10573

@@ -127,5 +95,4 @@ swift build --configuration release
12795

12896
- **CI Status**: Monitor via GitHub Actions tab
12997
- **Coverage**: Check Codecov reports on PRs
130-
- **Security**: Currently disabled (enable Code Scanning to activate)
13198
- **Dependencies**: Dependabot will create PRs for updates

CONTRIBUTING.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -204,8 +204,4 @@ Please be respectful and professional in all interactions. We strive to maintain
204204

205205
## Recognition
206206

207-
Contributors are recognized in release notes and commit history. Significant contributions may be highlighted in the README or other project documentation.
208-
209-
---
210-
211-
Thank you for contributing to swift-ui-debug-scan! Your efforts help make SwiftUI debugging better for the entire Swift community.
207+
Contributors are recognized in release notes and commit history. Significant contributions may be highlighted in the README or other project documentation.

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,14 @@
1414
import SwiftUI
1515
import SwiftUIDebugScan
1616

17-
struct ContentView: View {
17+
struct FeatureRootView: View {
1818
var body: some View {
19-
Text("Hello World").debugScan("MainView")
19+
List {
20+
FeatureLeafView()
21+
FeatureLeafView()
22+
FeatureLeafView()
23+
}
24+
.debugScan("FeatureRootView")
2025
}
2126
}
2227
```
@@ -32,10 +37,10 @@ struct ContentView: View {
3237

3338
## Why Use This?
3439

35-
- 🔍 **View Metadata**: Track file, module, and render counts
36-
- 🐛 **Debug Complex UIs**: Essential for large, server-driven applications
37-
- **Performance Insights**: Identify over-rendering and optimization opportunities
38-
- 🎯 **Targeted Debugging**: Focus on root views without log noise
40+
- **View Metadata**: Track file, module, and render counts
41+
- **Debug Complex UIs**: Essential for large, server-driven applications
42+
- **Performance Insights**: Identify over-rendering and optimization opportunities
43+
- **Targeted Debugging**: Focus on root views without log noise
3944

4045

4146
## Usage Best Practices

0 commit comments

Comments
 (0)