Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed
- Example inventory guard cycle 086.

### Changed
- Example inventory guard cycle 082.

Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"validate:schemas": "node scripts/validate-schemas.js",
"conformance:core-dp": "node profiles/core-dp/conformance/run-conformance.js",
"check:schemas-readme": "node scripts/check-schemas-readme.js",
"test": "npm run validate:schemas && npm run check:schemas-readme && npm run check:cycle-035 && npm run check:cycle-036 && npm run check:cycle-037 && npm run check:cycle-038 && npm run check:cycle-039 && npm run check:cycle-040 && npm run check:cycle-042 && npm run check:cycle-046 && npm run check:cycle-050 && npm run check:cycle-054 && npm run check:cycle-058 && npm run check:cycle-062 && npm run check:cycle-066 && npm run check:cycle-070 && npm run check:cycle-074 && npm run check:cycle-078 && npm run check:cycle-082",
"test": "npm run validate:schemas && npm run check:schemas-readme && npm run check:cycle-035 && npm run check:cycle-036 && npm run check:cycle-037 && npm run check:cycle-038 && npm run check:cycle-039 && npm run check:cycle-040 && npm run check:cycle-042 && npm run check:cycle-046 && npm run check:cycle-050 && npm run check:cycle-054 && npm run check:cycle-058 && npm run check:cycle-062 && npm run check:cycle-066 && npm run check:cycle-070 && npm run check:cycle-074 && npm run check:cycle-078 && npm run check:cycle-082 && npm run check:cycle-086",
"check:cycle-035": "node scripts/check-cycle-035.js",
"check:cycle-036": "node scripts/check-cycle-036.js",
"check:cycle-037": "node scripts/check-cycle-037.js",
Expand All @@ -30,7 +30,8 @@
"check:cycle-070": "node scripts/check-cycle-070.js",
"check:cycle-074": "node scripts/check-cycle-074.js",
"check:cycle-078": "node scripts/check-cycle-078.js",
"check:cycle-082": "node scripts/check-cycle-082.js"
"check:cycle-082": "node scripts/check-cycle-082.js",
"check:cycle-086": "node scripts/check-cycle-086.js"
},
"devDependencies": {
"ajv": "^8.20.0",
Expand Down
10 changes: 10 additions & 0 deletions scripts/check-cycle-086.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
const fs = require('fs');
const path = require('path');
const examplesDir = path.join(__dirname, '..', 'examples');
const files = fs.readdirSync(examplesDir).filter((f) => f.endsWith('.json'));
if (files.length < 1) {
console.error('expected example json files');
process.exit(1);
}
// cycle 86 marker ensures unique script
console.log('examples ok', files.length, 'cycle 86');
Loading