# github align-dependencies

\[github commands prerequisites] must be met in order to execute this command.

## Description

* Update the `package.json` of all MiniApps and/or JS API Implementations GitHub repositories to make their dependencies align with the versions defined in a Manifest entry.
* The `package.json` will be updated through a git commit on the current branch of each MiniApp/JS API Implementation defined in the Container of the target descriptor.
* This command will not update `package.json` of MiniApps/JS API Implementations that are already fully aligned.

## Syntax

`ern github align-dependencies`

**Options**

`--descriptor <descriptor>`

* A full native application descriptor (native application version) from which to look for the MiniApps/JS API Implementations repositories (and branches) to align.
* **Default** Interactive prompt to select a descriptor.

`--manifestId`

* Id of the manifest entry that contains the dependencies and versions to align to.

`--jsApiImplsOnly`

* Only align dependencies in JS API Implementations repositories.
* **Default** Align dependencies of MiniApps and JS API Implementations repositories.

`--miniAppsOnly`

* Only align dependencies in MiniApps repositories.
* **Default** Align dependencies of MiniApps and JS API Implementations repositories.

\[github commands prerequisites]: ../github.md


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://native.electrode.io/v0.34/cli-commands/github/align-dependencies.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
