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
2 changes: 1 addition & 1 deletion .claude-plugin/marketplace.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/claude-code-marketplace.json",
"name": "aidd-framework",
"version": "5.0.2",
"version": "5.0.3",
"description": "Official plugin marketplace for the AI-Driven Development framework",
"owner": {
"name": "AI-Driven Dev"
Expand Down
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
".": "5.0.2",
".": "5.0.3",
"plugins/aidd-context": "2.0.1",
"plugins/aidd-dev": "2.0.0",
"plugins/aidd-vcs": "2.0.0",
Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [5.0.3](https://github.com/ai-driven-dev/framework/compare/v5.0.2...v5.0.3) (2026-06-23)


### Miscellaneous

* **deps-dev:** bump js-yaml from 4.2.0 to 5.0.0 ([#322](https://github.com/ai-driven-dev/framework/issues/322)) ([f71bdd2](https://github.com/ai-driven-dev/framework/commit/f71bdd2be31c34aa43e5280659432fb3a9f1cdab))

## [5.0.2](https://github.com/ai-driven-dev/framework/compare/v5.0.1...v5.0.2) (2026-06-22)


Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@commitlint/config-conventional": "^21.0.2",
"ajv": "8.20.0",
"ajv-formats": "3.0.1",
"js-yaml": "4.2.0",
"js-yaml": "5.0.0",
"lefthook": "^2.1.9"
}
}
12 changes: 10 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions scripts/validate-yaml.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
// Validates YAML syntax using the repository's Node dependency, avoiding Python in hooks.

import { readFile } from "node:fs/promises";
import yaml from "js-yaml";
import { load } from "js-yaml";

const files = process.argv.slice(2).filter((file) => file !== "--");
const errors = [];

for (const file of files) {
try {
yaml.load(await readFile(file, "utf8"), { filename: file });
load(await readFile(file, "utf8"), { filename: file });

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Allow empty YAML files through the validator

When a PR includes an intentionally empty .yml/.yaml file, this now fails the pre-commit/Validate workflow even though an empty stream is valid YAML: js-yaml v5 changed load() to throw for empty input, while this hook is described as a syntax validator. Use loadAll() or special-case empty content so placeholder or stub YAML files do not incorrectly block CI.

Useful? React with 👍 / 👎.

} catch (error) {
errors.push(`${file}: ${error.message}`);
}
Expand Down