@kernlang/evolve 3.1.0 → 3.1.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/README.md +30 -0
- package/package.json +3 -3
package/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# @kernlang/evolve
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@kernlang/evolve)
|
|
4
|
+
[](https://github.com/KERNlang/kern/blob/main/LICENSE)
|
|
5
|
+
|
|
6
|
+
Kern Evolve — self-extending template system: detect gaps, propose templates, validate, stage
|
|
7
|
+
|
|
8
|
+
Part of the [KERN monorepo](https://github.com/KERNlang/kern).
|
|
9
|
+
|
|
10
|
+
## Install
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
npm install @kernlang/evolve
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Usage
|
|
17
|
+
|
|
18
|
+
```ts
|
|
19
|
+
import { evolve, evolveSource } from '@kernlang/evolve';
|
|
20
|
+
|
|
21
|
+
// Scan a project: detect gaps, propose templates, stage for approval
|
|
22
|
+
const result = await evolve('./src');
|
|
23
|
+
|
|
24
|
+
// Or analyze a single source string
|
|
25
|
+
const single = await evolveSource(tsCode, { threshold: 0.8 });
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## License
|
|
29
|
+
|
|
30
|
+
AGPL-3.0
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kernlang/evolve",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.2",
|
|
4
4
|
"description": "Kern Evolve — self-extending template system: detect gaps, propose templates, validate, stage",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"license": "AGPL-3.0",
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"ts-morph": "^27.0.0",
|
|
20
|
-
"@kernlang/core": "3.1.
|
|
21
|
-
"@kernlang/review": "3.1.
|
|
20
|
+
"@kernlang/core": "3.1.2",
|
|
21
|
+
"@kernlang/review": "3.1.2"
|
|
22
22
|
},
|
|
23
23
|
"scripts": {
|
|
24
24
|
"build": "tsc -b",
|