{"version":"2.1.331","anchor":"plugin-entry-optionaldependencies-ignored-when-plugin-has-it","canonical_anchor":"plugin-entry-optionaldependencies-ignored-when-plugin-has-it","heading":"Plugin validation flags optionalDependencies that a plugin.json makes ignored","tier":"notice","area":"Plugins","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331\/e\/plugin-entry-optionaldependencies-ignored-when-plugin-has-it","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.331","markdown":"### Plugin validation flags optionalDependencies that a plugin.json makes ignored\n\nPlugin validation now reports an error when a marketplace entry lists optionalDependencies that the plugin's own plugin.json overrides\n\n**What**\n\nA plugin marketplace is a catalogue that lists plugins, and each listing is an entry. When an entry lists `optionalDependencies` but the plugin ships its own `plugin.json`, Claude Code ignores the entry's list. Plugin validation now reports this as an error: \"This plugin has its own plugin.json, so the entry's list is ignored.\" It tells you to move the list into `plugin.json`.\n\n**Why**\n\nBefore, the entry's list was dropped without a word, so plugin authors can now see why their optional dependencies were not taking effect.\n\n- Area: Plugins\n- Names: `optionalDependencies`, `plugin.json`\n- Tier: You'll notice\n- Useful: 2\/5\n- Signal: 1\/5\n- Scope: individual\n- Heads-up: no"}