bastion-scan 0.1.0 → 0.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 CHANGED
@@ -7,7 +7,7 @@
7
7
  <img alt="Build" src="https://img.shields.io/github/actions/workflow/status/absastreon/bastion/ci.yml?branch=main&style=flat-square" />
8
8
  <img alt="Tests" src="https://img.shields.io/badge/tests-783%20passing-brightgreen?style=flat-square" />
9
9
  <img alt="License" src="https://img.shields.io/badge/license-MIT-blue?style=flat-square" />
10
- <img alt="npm" src="https://img.shields.io/npm/v/@bastion/cli?style=flat-square" />
10
+ <img alt="npm" src="https://img.shields.io/npm/v/bastion-scan?style=flat-square" />
11
11
  </p>
12
12
 
13
13
  ---
@@ -26,19 +26,19 @@ Every finding comes with a prompt you can paste into Claude, ChatGPT, or Copilot
26
26
 
27
27
  ```bash
28
28
  # Install globally
29
- npm install -g @bastion/cli
29
+ npm install -g bastion-scan
30
30
 
31
31
  # Scan your project
32
- npx bastion scan
32
+ npx bastion-scan scan
33
33
 
34
34
  # Scan a live URL (headers, SSL, security.txt)
35
- npx bastion scan --url https://yourapp.com
35
+ npx bastion-scan scan --url https://yourapp.com
36
36
 
37
37
  # JSON output for CI/CD
38
- npx bastion scan --format json
38
+ npx bastion-scan scan --format json
39
39
 
40
40
  # Generate security configs for your stack
41
- npx bastion scan --generate-configs
41
+ npx bastion-scan scan --generate-configs
42
42
  ```
43
43
 
44
44
  ---
@@ -83,7 +83,7 @@ Bastion can output ready-to-paste configs for your stack:
83
83
  Interactive CLI that walks you through creating a valid RFC 9116 `security.txt`:
84
84
 
85
85
  ```bash
86
- npx bastion generate security-txt
86
+ npx bastion-scan generate security-txt
87
87
  ```
88
88
 
89
89
  ---
@@ -193,7 +193,7 @@ Floor is 0. Only `fail` results deduct. `warn`, `skip`, and `pass` don't affect
193
193
  ```
194
194
  bastion/
195
195
  ├── packages/
196
- │ ├── cli/ # npx bastion scan, 12 checks, 3 reporters
196
+ │ ├── cli/ # npx bastion-scan scan, 12 checks, 3 reporters
197
197
  │ ├── shared/ # Types, checklist data, OWASP data, tools
198
198
  │ └── web/ # Next.js 14 dashboard
199
199
  └── docs/playbooks/ # Stack-specific security guides
package/dist/index.js CHANGED
@@ -7,7 +7,7 @@ import { createRequire } from "module";
7
7
  import { Command, Option } from "commander";
8
8
  import chalk2 from "chalk";
9
9
  import ora from "ora";
10
- import { OUTPUT_FORMATS } from "@bastion/shared";
10
+ import { OUTPUT_FORMATS } from "bastion-shared";
11
11
 
12
12
  // src/scanner.ts
13
13
  import { readdir, readFile as readFile9, stat } from "fs/promises";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bastion-scan",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Privacy-first security checker for web projects. 15 checks, zero data uploaded, actionable fixes.",
5
5
  "type": "module",
6
6
  "bin": {
@@ -37,7 +37,7 @@
37
37
  "dev": "tsup --watch"
38
38
  },
39
39
  "dependencies": {
40
- "@bastion/shared": "*",
40
+ "bastion-shared": "^0.1.2",
41
41
  "chalk": "^5.6.2",
42
42
  "commander": "^14.0.3",
43
43
  "ora": "^9.3.0"