@usearazzo/validator 1.0.1-alpha.10 → 1.0.1-alpha.12
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/CHANGELOG.md +8 -0
- package/README.md +12 -0
- package/dist/arazzo-validator.browser.js +174 -204
- package/dist/arazzo-validator.browser.min.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.0.1-alpha.12](https://github.com/usearazzo/arazzo-toolkit/compare/v1.0.1-alpha.11...v1.0.1-alpha.12) (2026-10-27)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @usearazzo/validator
|
|
9
|
+
|
|
10
|
+
## [1.0.1-alpha.11](https://github.com/usearazzo/arazzo-toolkit/compare/v1.0.1-alpha.10...v1.0.1-alpha.11) (2026-10-25)
|
|
11
|
+
|
|
12
|
+
**Note:** Version bump only for package @usearazzo/validator
|
|
13
|
+
|
|
6
14
|
## [1.0.1-alpha.10](https://github.com/usearazzo/arazzo-toolkit/compare/v1.0.1-alpha.9...v1.0.1-alpha.10) (2026-10-23)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @usearazzo/validator
|
package/README.md
CHANGED
|
@@ -47,6 +47,18 @@ npm install @usearazzo/validator
|
|
|
47
47
|
|
|
48
48
|
Ships ESM and CommonJS builds with TypeScript declarations. Requires Node.js 20.10 or newer.
|
|
49
49
|
|
|
50
|
+
## From the command line
|
|
51
|
+
|
|
52
|
+
To check a document without writing any code, use [@usearazzo/cli](https://github.com/usearazzo/arazzo-toolkit/tree/main/packages/cli#readme), which wraps this package:
|
|
53
|
+
|
|
54
|
+
```sh
|
|
55
|
+
npx @usearazzo/cli validate adopt-a-pet.arazzo.yaml
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
<a href="https://usearazzo.com/cli/"><img alt="usearazzo validate reporting two duplicate stepId errors in one Arazzo document and a missing step description warning in another, each with its line range and rule code" src="https://raw.githubusercontent.com/usearazzo/arazzo-toolkit/main/packages/cli/assets/validate-demo.svg"></a>
|
|
59
|
+
|
|
60
|
+
It prints every problem with its location and exits with `1` when it finds an error, so it works as a CI step too. Add `--format json` for output a script can read. The [CLI Reference](https://usearazzo.com/docs/cli/) covers every option, the exit codes, and the configuration file.
|
|
61
|
+
|
|
50
62
|
## Usage
|
|
51
63
|
|
|
52
64
|
```js
|