Files
Sebastian Poxhofer bf5ff94d28 refactor(manager): build artifact results with the shared helpers (#46092)
Migrate apm, bun, cargo, cocoapods, composer, conan, copier, deno,
devbox, gomod, helmv3, jsonnet-bundler, kustomize, mix, nuget and vendir
onto `fileAddition()`, `artifactError()` and `artifactErrorResult()`.
copier's private `artifactError()` is replaced by the shared one.

Behaviour change: artifact error text now comes from
`artifactErrorMessageFromExecError` everywhere, i.e. a non-blank
`err.stderr`, else a non-blank `err.stdout`, else `err.message`.
Previously apm used `${err}` ("Error: " prefix), cocoapods used a
nullish coalesce that kept an empty stderr, nuget preferred stdout over
stderr, and jsonnet-bundler emitted an undefined stderr with no
fallback. The rest used `err.message` only and are unchanged for errors
without output.
2026-09-16 13:13:41 +00:00
..

Extracts dependencies from the Deno's projects deno.json and deno.jsonc files. The deno manager also supports the package.json file for Deno's node-compat as long as a deno.lock file is placed next to the package.json file. It could support another lock filename that specified in deno.json or deno.jsonc.

Supported Dependency Types

The following depTypes of deno.json or deno.jsonc are currently supported by the deno manager:

  • imports
  • scopes.<mapping>.<specifier>
  • tasks.<name>, tasks.command.<name>: Renovate will not update any lock files.
  • compilerOptions.types, compilerOptions.jsxImportSource, compilerOptions.jsxImportSourceTypes
  • lint.plugins

Additionally, an import map JSON file containing imports and scopes.<mapping>.<specifier> like the examples above is supported.

The deno manager also supports some depTypes that supported by npm manager.

!!! note Deno cli supports private npm compatible registries itself, however the deno managaer is not yet ready to support Private npm module.

!!! note In source dependencies are not supported.

import { assert } from 'jsr:@std/assert@1.0.0';