@unrdf/project-engine 5.0.1
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/LICENSE +21 -0
- package/README.md +53 -0
- package/package.json +58 -0
- package/src/api-contract-validator.mjs +711 -0
- package/src/auto-test-generator.mjs +444 -0
- package/src/autonomic-mapek.mjs +511 -0
- package/src/capabilities-manifest.mjs +125 -0
- package/src/code-complexity-js.mjs +368 -0
- package/src/dependency-graph.mjs +276 -0
- package/src/doc-drift-checker.mjs +172 -0
- package/src/doc-generator.mjs +229 -0
- package/src/domain-infer.mjs +966 -0
- package/src/drift-snapshot.mjs +775 -0
- package/src/file-roles.mjs +94 -0
- package/src/fs-scan.mjs +305 -0
- package/src/gap-finder.mjs +376 -0
- package/src/golden-structure.mjs +149 -0
- package/src/hotspot-analyzer.mjs +412 -0
- package/src/index.mjs +151 -0
- package/src/initialize.mjs +957 -0
- package/src/lens/project-structure.mjs +74 -0
- package/src/mapek-orchestration.mjs +665 -0
- package/src/materialize-apply.mjs +505 -0
- package/src/materialize-plan.mjs +422 -0
- package/src/materialize.mjs +137 -0
- package/src/policy-derivation.mjs +869 -0
- package/src/project-config.mjs +142 -0
- package/src/project-diff.mjs +28 -0
- package/src/project-engine/build-utils.mjs +237 -0
- package/src/project-engine/code-analyzer.mjs +248 -0
- package/src/project-engine/doc-generator.mjs +407 -0
- package/src/project-engine/infrastructure.mjs +213 -0
- package/src/project-engine/metrics.mjs +146 -0
- package/src/project-model.mjs +111 -0
- package/src/project-report.mjs +348 -0
- package/src/refactoring-guide.mjs +242 -0
- package/src/stack-detect.mjs +102 -0
- package/src/stack-linter.mjs +213 -0
- package/src/template-infer.mjs +674 -0
- package/src/type-auditor.mjs +609 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
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
|
package/package.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@unrdf/project-engine",
|
|
3
|
+
"version": "5.0.1",
|
|
4
|
+
"description": "UNRDF Project Engine - Self-hosting Tools and Infrastructure (Development Only)",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "src/index.mjs",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": "./src/index.mjs"
|
|
9
|
+
},
|
|
10
|
+
"sideEffects": false,
|
|
11
|
+
"files": [
|
|
12
|
+
"src/",
|
|
13
|
+
"dist/",
|
|
14
|
+
"README.md",
|
|
15
|
+
"LICENSE"
|
|
16
|
+
],
|
|
17
|
+
"keywords": [
|
|
18
|
+
"unrdf",
|
|
19
|
+
"project-engine",
|
|
20
|
+
"development",
|
|
21
|
+
"infrastructure"
|
|
22
|
+
],
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"@unrdf/core": "5.0.1"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@types/node": "^24.10.1",
|
|
28
|
+
"vitest": "^4.0.15"
|
|
29
|
+
},
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=18.0.0"
|
|
32
|
+
},
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "https://github.com/unrdf/unrdf.git",
|
|
36
|
+
"directory": "packages/project-engine"
|
|
37
|
+
},
|
|
38
|
+
"bugs": {
|
|
39
|
+
"url": "https://github.com/unrdf/unrdf/issues"
|
|
40
|
+
},
|
|
41
|
+
"homepage": "https://github.com/unrdf/unrdf#readme",
|
|
42
|
+
"license": "MIT",
|
|
43
|
+
"publishConfig": {
|
|
44
|
+
"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
|
+
}
|