@flowmark/core-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 +4 -4
- package/package.json +1 -1
- package/src/validator/validate.js +1 -1
package/README.md
CHANGED
|
@@ -27,11 +27,11 @@ flowmark lint path/to/file.md
|
|
|
27
27
|
|
|
28
28
|
## Docker
|
|
29
29
|
|
|
30
|
-
Image: `ghcr.io/
|
|
30
|
+
Image: `ghcr.io/centimanidevteam/flowmark-core-cli`
|
|
31
31
|
|
|
32
32
|
```bash
|
|
33
|
-
docker run --rm -v "$(pwd)":/work -w /work ghcr.io/
|
|
34
|
-
cat path/to/file.md | docker run --rm -i -v "$(pwd)":/work -w /work ghcr.io/
|
|
33
|
+
docker run --rm -v "$(pwd)":/work -w /work ghcr.io/centimanidevteam/flowmark-core-cli validate path/to/file.md
|
|
34
|
+
cat path/to/file.md | docker run --rm -i -v "$(pwd)":/work -w /work ghcr.io/centimanidevteam/flowmark-core-cli validate --stdin
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
## Test Samples (MVP)
|
|
@@ -66,7 +66,7 @@ Unknown keys are allowed but produce `W_UNKNOWN_KEYS` warnings.
|
|
|
66
66
|
|
|
67
67
|
```bash
|
|
68
68
|
npm pack
|
|
69
|
-
tar -tf flowmark-core-cli-0.1.
|
|
69
|
+
tar -tf flowmark-core-cli-0.1.1.tgz
|
|
70
70
|
```
|
|
71
71
|
|
|
72
72
|
Check that `bin/`, `src/`, `README.md`, and `LICENSE` are included.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const ALLOWED_STATUS = new Set(['todo', 'done', 'skipped', 'blocked']);
|
|
2
2
|
|
|
3
3
|
const ALLOWED_KEYS = {
|
|
4
|
-
header: new Set(['id', 'title', 'version', 'status', 'created_at', 'inputs']),
|
|
4
|
+
header: new Set(['id', 'title', 'version', 'status', 'created_at', 'inputs', 'contract']),
|
|
5
5
|
section: new Set(['id', 'scope', 'notes']),
|
|
6
6
|
item: new Set(['id', 'status', 'refs', 'batch']),
|
|
7
7
|
registry: new Set(['expected_items'])
|