@unrdf/project-engine 5.0.1 → 26.4.2
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/package.json +16 -15
- package/src/golden-structure.mjs +2 -2
- package/src/materialize-apply.mjs +2 -2
- package/README.md +0 -53
- package/src/api-contract-validator.mjs +0 -711
- package/src/auto-test-generator.mjs +0 -444
- package/src/autonomic-mapek.mjs +0 -511
- package/src/capabilities-manifest.mjs +0 -125
- package/src/code-complexity-js.mjs +0 -368
- package/src/dependency-graph.mjs +0 -276
- package/src/doc-drift-checker.mjs +0 -172
- package/src/doc-generator.mjs +0 -229
- package/src/domain-infer.mjs +0 -966
- package/src/drift-snapshot.mjs +0 -775
- package/src/file-roles.mjs +0 -94
- package/src/fs-scan.mjs +0 -305
- package/src/gap-finder.mjs +0 -376
- package/src/hotspot-analyzer.mjs +0 -412
- package/src/index.mjs +0 -151
- package/src/initialize.mjs +0 -957
- package/src/lens/project-structure.mjs +0 -74
- package/src/mapek-orchestration.mjs +0 -665
- package/src/materialize-plan.mjs +0 -422
- package/src/materialize.mjs +0 -137
- package/src/policy-derivation.mjs +0 -869
- package/src/project-config.mjs +0 -142
- package/src/project-diff.mjs +0 -28
- package/src/project-engine/build-utils.mjs +0 -237
- package/src/project-engine/code-analyzer.mjs +0 -248
- package/src/project-engine/doc-generator.mjs +0 -407
- package/src/project-engine/infrastructure.mjs +0 -213
- package/src/project-engine/metrics.mjs +0 -146
- package/src/project-model.mjs +0 -111
- package/src/project-report.mjs +0 -348
- package/src/refactoring-guide.mjs +0 -242
- package/src/stack-detect.mjs +0 -102
- package/src/stack-linter.mjs +0 -213
- package/src/template-infer.mjs +0 -674
- package/src/type-auditor.mjs +0 -609
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unrdf/project-engine",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "26.4.2",
|
|
4
4
|
"description": "UNRDF Project Engine - Self-hosting Tools and Infrastructure (Development Only)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.mjs",
|
|
@@ -14,6 +14,18 @@
|
|
|
14
14
|
"README.md",
|
|
15
15
|
"LICENSE"
|
|
16
16
|
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"test": "vitest run --coverage",
|
|
19
|
+
"test:fast": "vitest run --coverage",
|
|
20
|
+
"test:watch": "vitest --coverage",
|
|
21
|
+
"build": "unbuild || true",
|
|
22
|
+
"lint": "eslint src/ test/ --max-warnings=0",
|
|
23
|
+
"lint:fix": "eslint src/ test/ --fix",
|
|
24
|
+
"format": "prettier --write src/",
|
|
25
|
+
"format:check": "prettier --check src/",
|
|
26
|
+
"clean": "rm -rf dist/ .nyc_output/ coverage/",
|
|
27
|
+
"dev": "echo 'Development mode for @unrdf/project-engine'"
|
|
28
|
+
},
|
|
17
29
|
"keywords": [
|
|
18
30
|
"unrdf",
|
|
19
31
|
"project-engine",
|
|
@@ -21,7 +33,8 @@
|
|
|
21
33
|
"infrastructure"
|
|
22
34
|
],
|
|
23
35
|
"dependencies": {
|
|
24
|
-
"@unrdf/core": "
|
|
36
|
+
"@unrdf/core": "workspace:*",
|
|
37
|
+
"@unrdf/knowledge-engine": "workspace:*"
|
|
25
38
|
},
|
|
26
39
|
"devDependencies": {
|
|
27
40
|
"@types/node": "^24.10.1",
|
|
@@ -42,17 +55,5 @@
|
|
|
42
55
|
"license": "MIT",
|
|
43
56
|
"publishConfig": {
|
|
44
57
|
"access": "public"
|
|
45
|
-
},
|
|
46
|
-
"scripts": {
|
|
47
|
-
"test": "vitest run --coverage",
|
|
48
|
-
"test:fast": "vitest run --coverage",
|
|
49
|
-
"test:watch": "vitest --coverage",
|
|
50
|
-
"build": "node build.config.mjs",
|
|
51
|
-
"lint": "eslint src/ test/ --max-warnings=0",
|
|
52
|
-
"lint:fix": "eslint src/ test/ --fix",
|
|
53
|
-
"format": "prettier --write src/ test/",
|
|
54
|
-
"format:check": "prettier --check src/ test/",
|
|
55
|
-
"clean": "rm -rf dist/ .nyc_output/ coverage/",
|
|
56
|
-
"dev": "echo 'Development mode for @unrdf/project-engine'"
|
|
57
58
|
}
|
|
58
|
-
}
|
|
59
|
+
}
|
package/src/golden-structure.mjs
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
import { promises as _fs } from 'fs';
|
|
7
|
-
import { createStore as _createStore } from '@unrdf/oxigraph';
|
|
8
|
-
import { parseTurtle } from '
|
|
7
|
+
import { createStore as _createStore } from '@unrdf/oxigraph';
|
|
8
|
+
import { parseTurtle } from '@unrdf/knowledge-engine';
|
|
9
9
|
import { trace, SpanStatusCode } from '@opentelemetry/api';
|
|
10
10
|
import { z } from 'zod';
|
|
11
11
|
|
|
@@ -7,6 +7,7 @@ import { z } from 'zod';
|
|
|
7
7
|
import { promises as fs } from 'fs';
|
|
8
8
|
import path from 'path';
|
|
9
9
|
import { createHash } from 'crypto';
|
|
10
|
+
import { createStore } from '@unrdf/oxigraph';
|
|
10
11
|
import { scanFileSystemToStore } from './fs-scan.mjs';
|
|
11
12
|
import { diffProjectStructure } from './project-diff.mjs';
|
|
12
13
|
|
|
@@ -253,9 +254,8 @@ async function snapshotFileSystem(root) {
|
|
|
253
254
|
return { store, hash };
|
|
254
255
|
} catch (err) {
|
|
255
256
|
// If directory doesn't exist, return empty store
|
|
256
|
-
const { Store } = await import('n3');
|
|
257
257
|
return {
|
|
258
|
-
store:
|
|
258
|
+
store: createStore(),
|
|
259
259
|
hash: 'empty',
|
|
260
260
|
};
|
|
261
261
|
}
|
package/README.md
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
# @unrdf/project-engine
|
|
2
|
-
|
|
3
|
-
 
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
**Self-hosting Tools and Infrastructure** *(Development Only)*
|
|
7
|
-
|
|
8
|
-
Tools for developing and operating UNRDF itself. Not for end users.
|
|
9
|
-
|
|
10
|
-
## Installation
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
pnpm add @unrdf/project-engine
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## Features
|
|
17
|
-
|
|
18
|
-
- ✅ Documentation generation
|
|
19
|
-
- ✅ Code analysis and metrics
|
|
20
|
-
- ✅ Build infrastructure
|
|
21
|
-
- ✅ Test utilities
|
|
22
|
-
- ✅ Infrastructure patterns
|
|
23
|
-
- ✅ Deployment tools
|
|
24
|
-
|
|
25
|
-
## Use Cases
|
|
26
|
-
|
|
27
|
-
- **Contributing to UNRDF**: Tools for development
|
|
28
|
-
- **Custom deployments**: Infrastructure code templates
|
|
29
|
-
- **Monitoring**: Self-hosting patterns
|
|
30
|
-
- **Documentation**: Auto-generate API docs
|
|
31
|
-
|
|
32
|
-
## Documentation
|
|
33
|
-
|
|
34
|
-
- **[API Reference](./docs/API.md)** - Complete API documentation
|
|
35
|
-
- **[Developer Guide](./docs/GUIDE.md)** - Development guide
|
|
36
|
-
- **[Examples](./examples/)** - Code examples
|
|
37
|
-
- **[Contributing](./docs/CONTRIBUTING.md)** - How to contribute
|
|
38
|
-
|
|
39
|
-
## Status
|
|
40
|
-
|
|
41
|
-
**Development Only** - Not recommended for production use by application developers.
|
|
42
|
-
|
|
43
|
-
## Depends On
|
|
44
|
-
|
|
45
|
-
- `@unrdf/core` - RDF substrate
|
|
46
|
-
|
|
47
|
-
## Maintainers
|
|
48
|
-
|
|
49
|
-
For UNRDF project maintainers only.
|
|
50
|
-
|
|
51
|
-
## License
|
|
52
|
-
|
|
53
|
-
MIT
|