@stealthmark/cli 0.1.0 → 0.1.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 +1 -16
- package/dist/bin.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,22 +6,7 @@ Command-line tool that scaffolds StealthMark middleware and checks a site for a
|
|
|
6
6
|
|
|
7
7
|
Part of the [StealthMark](https://stealthmark.io) SDK.
|
|
8
8
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
## Usage from source
|
|
12
|
-
|
|
13
|
-
Until the first npm release, run the CLI from a built clone of the repository:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
# in a clone of the repository
|
|
17
|
-
npm install && npm run build
|
|
18
|
-
|
|
19
|
-
# then, in your project
|
|
20
|
-
node /path/to/stealthmark-sdk/packages/cli/dist/bin.js init
|
|
21
|
-
node /path/to/stealthmark-sdk/packages/cli/dist/bin.js verify https://your-site.example
|
|
22
|
-
```
|
|
23
|
-
|
|
24
|
-
## Installation (after the first npm release)
|
|
9
|
+
## Installation
|
|
25
10
|
|
|
26
11
|
Run directly without installing via `npx`:
|
|
27
12
|
|
package/dist/bin.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// ═══════════════════════════════════════════════════════════════════
|
|
6
6
|
import { runInit } from './commands/init.js';
|
|
7
7
|
import { runVerify } from './commands/verify.js';
|
|
8
|
-
const VERSION = '0.1.
|
|
8
|
+
const VERSION = '0.1.1';
|
|
9
9
|
function printHelp() {
|
|
10
10
|
console.log(`
|
|
11
11
|
StealthMark CLI (v${VERSION})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stealthmark/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "CLI that scaffolds StealthMark middleware for Next.js, Express and Fastify and checks whether a site serves a StealthMark agent manifest",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|