@getcodesentinel/codesentinel 1.5.0 → 1.6.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/README.md CHANGED
@@ -1,4 +1,21 @@
1
- # CodeSentinel
1
+ <p align="center">
2
+ <img src="assets/codesentinel-logo.png" alt="CodeSentinel logo" width="180" />
3
+ </p>
4
+ <h1 align="center">CodeSentinel</h1>
5
+ <p align="center">
6
+ <a href="https://github.com/getcodesentinel/codesentinel/actions/workflows/test-code.yml">
7
+ <img src="https://github.com/getcodesentinel/codesentinel/actions/workflows/test-code.yml/badge.svg?branch=main" alt="Test code" />
8
+ </a>
9
+ <a href="https://www.npmjs.com/package/@getcodesentinel/codesentinel">
10
+ <img src="https://img.shields.io/npm/v/@getcodesentinel/codesentinel" alt="npm version" />
11
+ </a>
12
+ <a href="https://nodejs.org/">
13
+ <img src="https://img.shields.io/badge/node-%3E%3D22-339933?logo=node.js&logoColor=white" alt="Node.js >=22" />
14
+ </a>
15
+ <a href="https://opensource.org/licenses/MIT">
16
+ <img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License: MIT" />
17
+ </a>
18
+ </p>
2
19
 
3
20
  CodeSentinel is a structural and evolutionary risk analysis engine for modern TypeScript/JavaScript codebases. It turns architecture, change history, and dependency health into a unified risk model that helps engineering teams spot fragility before it becomes failure.
4
21
 
@@ -37,7 +54,7 @@ Each package is standalone, ESM-only, TypeScript-first, and built with `tsup`. T
37
54
 
38
55
  ## Requirements
39
56
 
40
- - Node.js 24
57
+ - Node.js 22+
41
58
  - pnpm
42
59
 
43
60
  ## Commands
@@ -60,6 +77,7 @@ Then run:
60
77
 
61
78
  ```bash
62
79
  codesentinel analyze [path]
80
+ codesentinel dependency-risk <dependency[@version]>
63
81
  ```
64
82
 
65
83
  Examples:
@@ -68,6 +86,8 @@ Examples:
68
86
  codesentinel analyze
69
87
  codesentinel analyze .
70
88
  codesentinel analyze ../project
89
+ codesentinel dependency-risk react
90
+ codesentinel dependency-risk react@19.0.0
71
91
  ```
72
92
 
73
93
  Author identity mode: