deployready 0.1.2 → 0.1.3
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 +13 -12
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
> Local-first, AI-optional production-readiness scanner. It runs 30+ structured tests against your code **and** your running localhost app, gives you a 0–100 readiness score, and **optionally** sends only the structured findings report — never your source code — to an AI model for deeper analysis.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
npx deployready analyze ./my-app
|
|
6
|
+
npx deployready@latest analyze ./my-app
|
|
7
7
|
```
|
|
8
8
|
|
|
9
9
|
## Install
|
|
@@ -11,24 +11,25 @@ npx deployready analyze ./my-app
|
|
|
11
11
|
**Run without installing** (recommended — always works, nothing to set up):
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
npx deployready ./my-app
|
|
14
|
+
npx deployready@latest ./my-app
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
**Or install globally** if you
|
|
17
|
+
**Or install globally** if you run it often (faster, but you must update it yourself):
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
20
|
npm install -g deployready
|
|
21
21
|
deployready ./my-app
|
|
22
|
+
# update later with: npm i -g deployready@latest
|
|
22
23
|
```
|
|
23
24
|
|
|
24
|
-
Requires Node.js >= 18. Every command below is shown with `npx`; if you installed globally,
|
|
25
|
+
Requires Node.js >= 18. The `@latest` tag ensures you always get the newest version — plain `npx deployready` can reuse a cached older copy. Every command below is shown with `npx deployready@latest`; if you installed globally, use `deployready` instead.
|
|
25
26
|
|
|
26
27
|
## Quick start
|
|
27
28
|
|
|
28
29
|
Run it inside your project to open an interactive, guided session — no commands to memorize, just pick a number:
|
|
29
30
|
|
|
30
31
|
```bash
|
|
31
|
-
npx deployready ./my-app # or just: npx deployready
|
|
32
|
+
npx deployready@latest ./my-app # or just: npx deployready@latest
|
|
32
33
|
```
|
|
33
34
|
|
|
34
35
|
```
|
|
@@ -72,11 +73,11 @@ deployready › exit
|
|
|
72
73
|
## One-shot (CI / scripting)
|
|
73
74
|
|
|
74
75
|
```bash
|
|
75
|
-
npx deployready init # first-time setup (pick model, store key)
|
|
76
|
-
npx deployready analyze ./my-app # single non-interactive scan, prints results
|
|
77
|
-
npx deployready analyze . --no-ai --no-dynamic # static only, fully offline
|
|
78
|
-
npx deployready report ./my-app # scan and export the markdown report
|
|
79
|
-
npx deployready config # show the active config (secrets never printed)
|
|
76
|
+
npx deployready@latest init # first-time setup (pick model, store key)
|
|
77
|
+
npx deployready@latest analyze ./my-app # single non-interactive scan, prints results
|
|
78
|
+
npx deployready@latest analyze . --no-ai --no-dynamic # static only, fully offline
|
|
79
|
+
npx deployready@latest report ./my-app # scan and export the markdown report
|
|
80
|
+
npx deployready@latest config # show the active config (secrets never printed)
|
|
80
81
|
```
|
|
81
82
|
|
|
82
83
|
**Flags for `analyze`:**
|
|
@@ -96,7 +97,7 @@ npx deployready config # show the active config (secr
|
|
|
96
97
|
**CI gate:** exit codes are `0` (clean), `2` (gate failed), `1` (tool error).
|
|
97
98
|
|
|
98
99
|
```bash
|
|
99
|
-
npx deployready analyze . --no-ai --no-dynamic --fail-on critical
|
|
100
|
+
npx deployready@latest analyze . --no-ai --no-dynamic --fail-on critical
|
|
100
101
|
```
|
|
101
102
|
|
|
102
103
|
A ready-to-copy GitHub Action is in [`docs/github-action-example.yml`](docs/github-action-example.yml).
|
|
@@ -120,7 +121,7 @@ Only the **structured findings JSON** is ever sent to an AI — and only after y
|
|
|
120
121
|
|
|
121
122
|
## AI models (optional)
|
|
122
123
|
|
|
123
|
-
DeployReady works fully offline with no AI. To enable deeper analysis, configure one via `npx deployready init`:
|
|
124
|
+
DeployReady works fully offline with no AI. To enable deeper analysis, configure one via `npx deployready@latest init`:
|
|
124
125
|
|
|
125
126
|
| Model | Notes |
|
|
126
127
|
|---|---|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "deployready",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Local-first, AI-optional production-readiness scanner for your app. Finds security, performance, and architecture issues before you deploy.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Belal · Belsoft Solutions",
|