@oalacea/daemon 0.7.5 → 0.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +30 -13
- package/package.json +4 -1
package/README.md
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
> AI-powered automated test generation and code review for web applications.
|
|
9
9
|
|
|
10
|
-
**v0.
|
|
10
|
+
**v0.8.0** — daemon-rust crate, SEO scoring, 6-dimension quality analysis!
|
|
11
11
|
|
|
12
12
|
## Quick Start
|
|
13
13
|
|
|
@@ -23,15 +23,17 @@ First run installs the testing toolkit (~500 MB Docker image, takes 2-3 minutes)
|
|
|
23
23
|
- **Docker** - [Install](https://docs.docker.com/get-docker/)
|
|
24
24
|
- **AI coding agent** - Claude Code, Cursor, Windsurf, Aider, Codex...
|
|
25
25
|
|
|
26
|
-
## New in v0.
|
|
26
|
+
## New in v0.8.0
|
|
27
27
|
|
|
28
28
|
| Feature | Description |
|
|
29
29
|
|---------|-------------|
|
|
30
|
-
| 🦀 **
|
|
30
|
+
| 🦀 **daemon-rust Crate** | Dedicated Rust crate for native Rust project support |
|
|
31
|
+
| 🌐 **SEO Scoring** | 6th dimension: meta tags, Open Graph, structured data analysis |
|
|
32
|
+
| 📊 **Enhanced Scoring** | 6-dimension code quality scoring (coverage, quality, performance, security, SEO, docs) |
|
|
31
33
|
| 🎯 **NestJS Analysis** | Pattern validation, DI checks, decorator verification |
|
|
32
|
-
| 📊 **Scoring System** | 5-dimension code quality scoring (coverage, quality, performance, security, docs) |
|
|
33
34
|
| 🔍 **Code Review** | Static analysis, security scanning, dependency analysis |
|
|
34
35
|
| 🛠️ **Extended Toolkit** | Rust toolchain, Lighthouse, security tools, accessibility tools |
|
|
36
|
+
| 📚 **Rust Feasibility Docs** | Playwright and ESLint/TS API Rust equivalents roadmap |
|
|
35
37
|
|
|
36
38
|
## Features
|
|
37
39
|
|
|
@@ -45,7 +47,8 @@ First run installs the testing toolkit (~500 MB Docker image, takes 2-3 minutes)
|
|
|
45
47
|
| **Code Quality** | ESLint, TypeScript, complexity analysis |
|
|
46
48
|
| **Security** | Snyk, npm audit, dependency vulnerabilities |
|
|
47
49
|
| **Accessibility** | Pa11y, axe-core CI integration |
|
|
48
|
-
| **
|
|
50
|
+
| **SEO Analysis** | Meta tags, Open Graph, structured data, Core Web Vitals |
|
|
51
|
+
| **Rust Support** | daemon-rust crate, Axum, Actix, Rocket templates and tests |
|
|
49
52
|
| **NestJS Support** | Controllers, services, guards, pipes, interceptors |
|
|
50
53
|
|
|
51
54
|
## How It Works
|
|
@@ -59,7 +62,7 @@ First run installs the testing toolkit (~500 MB Docker image, takes 2-3 minutes)
|
|
|
59
62
|
│ ↓ │
|
|
60
63
|
│ 2. ANALYZE Static analysis, security scan, dependencies │
|
|
61
64
|
│ ↓ │
|
|
62
|
-
│ 3. SCORE
|
|
65
|
+
│ 3. SCORE 6-dimension quality scoring │
|
|
63
66
|
│ ↓ │
|
|
64
67
|
│ 4. GENERATE Framework-specific test templates │
|
|
65
68
|
│ ↓ │
|
|
@@ -155,7 +158,7 @@ The Docker container includes 50+ tools:
|
|
|
155
158
|
|
|
156
159
|
```
|
|
157
160
|
╔═══════════════════════════════════════════════════════════╗
|
|
158
|
-
║ DAEMON REPORT v0.
|
|
161
|
+
║ DAEMON REPORT v0.8.0 ║
|
|
159
162
|
╠═══════════════════════════════════════════════════════════╣
|
|
160
163
|
║ ║
|
|
161
164
|
║ Framework: Next.js 14 ║
|
|
@@ -170,6 +173,7 @@ The Docker container includes 50+ tools:
|
|
|
170
173
|
║ │ Quality ██████████████░░░░ 78/100 │ ║
|
|
171
174
|
║ │ Performance ████████████████░░ 88/100 │ ║
|
|
172
175
|
║ │ Security ████████████░░░░░░ 75/100 │ ║
|
|
176
|
+
║ │ SEO ████████████████░░ 82/100 │ ║
|
|
173
177
|
║ │ Docs ██████████░░░░░░░░ 70/100 │ ║
|
|
174
178
|
║ └─────────────────────────────────────────────────────┘ ║
|
|
175
179
|
║ ║
|
|
@@ -212,21 +216,23 @@ Create `daemon.config.js` in your project root:
|
|
|
212
216
|
export default {
|
|
213
217
|
scoring: {
|
|
214
218
|
weights: {
|
|
215
|
-
coverage: 0.
|
|
216
|
-
quality: 0.
|
|
219
|
+
coverage: 0.25,
|
|
220
|
+
quality: 0.20,
|
|
217
221
|
performance: 0.20,
|
|
218
222
|
security: 0.15,
|
|
223
|
+
seo: 0.10,
|
|
219
224
|
documentation: 0.10,
|
|
220
225
|
},
|
|
221
226
|
thresholds: {
|
|
222
227
|
coverage: { excellent: 80, good: 60 },
|
|
223
228
|
performance: { lighthouse: 85 },
|
|
229
|
+
seo: { excellent: 80, good: 60 },
|
|
224
230
|
},
|
|
225
231
|
},
|
|
226
232
|
|
|
227
233
|
review: {
|
|
228
|
-
analyzers: ['static', 'security', 'dependencies', 'nestjs', 'rust'],
|
|
229
|
-
exclude: ['node_modules/**', 'dist/**'],
|
|
234
|
+
analyzers: ['static', 'security', 'dependencies', 'nestjs', 'rust', 'seo'],
|
|
235
|
+
exclude: ['node_modules/**', 'dist/**', 'target/**'],
|
|
230
236
|
autoFix: { enabled: false },
|
|
231
237
|
},
|
|
232
238
|
|
|
@@ -238,12 +244,20 @@ export default {
|
|
|
238
244
|
},
|
|
239
245
|
|
|
240
246
|
rust: {
|
|
241
|
-
framework: 'axum', // or 'actix', 'rocket'
|
|
247
|
+
framework: 'axum', // or 'actix', 'rocket', 'poem'
|
|
242
248
|
testRunner: 'cargo-nextest',
|
|
249
|
+
useDaemonRust: true, // Use daemon-rust crate
|
|
250
|
+
},
|
|
251
|
+
|
|
252
|
+
seo: {
|
|
253
|
+
checkMetaTags: true,
|
|
254
|
+
checkOpenGraph: true,
|
|
255
|
+
checkStructuredData: true,
|
|
256
|
+
checkLighthouse: true,
|
|
243
257
|
},
|
|
244
258
|
|
|
245
259
|
docker: {
|
|
246
|
-
image: 'daemon-tools:0.
|
|
260
|
+
image: 'daemon-tools:0.8.0',
|
|
247
261
|
keepRunning: false,
|
|
248
262
|
},
|
|
249
263
|
};
|
|
@@ -254,7 +268,10 @@ export default {
|
|
|
254
268
|
- [**Scoring System**](docs/scoring.md) - How code quality is measured
|
|
255
269
|
- [**Code Review**](docs/review.md) - Review workflow and options
|
|
256
270
|
- [**Rust Support**](docs/rust-support.md) - Rust frameworks and templates
|
|
271
|
+
- [**daemon-rust Crate**](crates/daemon-rust/README.md) - Native Rust testing crate
|
|
257
272
|
- [**NestJS Support**](docs/nestjs-support.md) - NestJS patterns and best practices
|
|
273
|
+
- [**Playwright Rust Feasibility**](docs/PLAYWRIGHT_RUST_FEASIBILITY.md) - Playwright Rust equivalent roadmap
|
|
274
|
+
- [**ESLint/TS Rust Feasibility**](docs/ESLINT_TYPESCRIPT_RUST_FEASIBILITY.md) - ESLint/TS API Rust translation layer
|
|
258
275
|
- [**Templates**](templates/README.md) - Available test templates
|
|
259
276
|
- [**Docker**](bin/README.md) - Container tools and usage
|
|
260
277
|
|
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oalacea/daemon",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "AI-powered code quality analysis, scoring, and optimization for web applications",
|
|
5
5
|
"author": "Yanis",
|
|
6
6
|
"license": "MIT",
|
|
7
|
+
"workspaces": [
|
|
8
|
+
"crates/*"
|
|
9
|
+
],
|
|
7
10
|
"repository": {
|
|
8
11
|
"type": "git",
|
|
9
12
|
"url": "https://github.com/Pamacea/daemon"
|