@diia-inhouse/oxc-config 4.0.0 → 4.0.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.
@@ -450,6 +450,7 @@ export const manifestRules = {
450
450
  isPrivate(data)
451
451
  ? []
452
452
  : Object.keys(data.peerDependencies ?? {})
453
+ .filter((name) => data.peerDependenciesMeta?.[name]?.optional !== true)
453
454
  .filter((name) => !(name in (data.devDependencies ?? {})) && !(name in (data.dependencies ?? {})))
454
455
  .map((name) => ({ messageId: 'missing', data: { name } })),
455
456
  },
@@ -450,6 +450,7 @@ export const manifestRules = {
450
450
  isPrivate(data)
451
451
  ? []
452
452
  : Object.keys(data.peerDependencies ?? {})
453
+ .filter((name) => data.peerDependenciesMeta?.[name]?.optional !== true)
453
454
  .filter((name) => !(name in (data.devDependencies ?? {})) && !(name in (data.dependencies ?? {})))
454
455
  .map((name) => ({ messageId: 'missing', data: { name } })),
455
456
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@diia-inhouse/oxc-config",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "OXC toolchain configs for Diia services: oxlint, oxfmt, oxc transformer",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "diia-team",