Skip to content

Conversation

@joshkel
Copy link
Contributor

@joshkel joshkel commented Nov 24, 2025

What's the problem this PR addresses?

While reading up on the enableScripts option, I was confused by references to dependenciesMeta and didn't realize that that referred to package.json, not .yarnrc.yml.

How did you fix it?

Add cross-links between dependenciesMeta[].built docs and enableScripts docs.

Add autolink support for keys such as dependenciesMeta[].built so that the error codes page's autolinks work.

Improve error handling: Previously, a reference to an invalid key such as dependenciesMeta.built caused building the docs site to fail with the following error:

Cause: Cannot convert undefined or null to object
Details:
TypeError: Cannot convert undefined or null to object
    at Function.hasOwn (<anonymous>)
    at Array.find (<anonymous>)

Checklist

  • I have set the packages that need to be released for my changes to be effective.
  • I will check that all automated PR checks pass before the PR gets reviewed.

Add autolink support for keys such as `dependenciesMeta[].built`.

Improve error handling: Previously, a reference to an invalid key such as `dependenciesMeta.built` caused building the docs site to fail with the following error:

```
Cause: Cannot convert undefined or null to object
Details:
TypeError: Cannot convert undefined or null to object
    at Function.hasOwn (<anonymous>)
    at Array.find (<anonymous>)
```

Add cross-links between dependenciesMeta[].built docs and enableScripts docs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant