Electrode Native
v0.21
v0.21
  • Introduction
  • INTRODUCTION
    • Overview
      • What is Electrode Native
      • Why use Electrode Native
      • What is a MiniApp
      • Electrode Native workflow
      • Native dependencies management
      • JS/Native communication
      • Requirements
      • Upgrading Electrode Native
      • Contributing
  • QUICK START
    • Building a Movie application
  • REFERENCE
    • Container
      • What's inside
      • Publication
      • Integration
      • Initialization
      • Launching MiniApps
    • Cauldron
      • Structure
      • Setup
      • Compatibility checks
      • Guidelines
    • Manifest
      • Override
      • Native Modules
      • Configurable Modules
    • Runner
    • APIs
      • Project Generation
      • Implementation
      • Versioning
      • Guidelines
    • Bridge
      • Message Types
      • Communication
      • Leveraging APIs
    • CLI
      • Global CLI
      • Local CLI
    • GLOSSARY
  • CLI COMMANDS
    • add
    • binarystore
      • add
      • get
      • remove
    • code-push
      • patch
      • release
      • promote
    • compat-check
    • create-api-impl
    • create-api
    • create-container
    • publish-container
    • transform-container
    • create-miniapp
    • link
    • regen-api
    • regen-api-impl
    • run-android
    • run-ios
    • start
    • unlink
    • upgrade-miniapp
    • why
    • cauldron add
      • dependencies
      • jsapiimpls
      • miniapps
      • nativeapp
      • publisher
    • cauldron del
      • dependencies
      • jsapiimpls
      • miniapps
      • nativeapp
    • cauldron get
      • config
      • dependency
      • nativeapp
    • cauldron repo
      • add
      • clear
      • current
      • list
      • remove
      • use
    • cauldron update
      • dependencies
      • jsapiimpls
      • miniapps
      • nativeapp
    • cauldron batch
    • cauldron regen-container
    • cauldron upgrade
    • platform
      • plugins
        • list
        • search
      • config
      • current
      • install
      • list
      • uninstall
      • use
Powered by GitBook
On this page
  • Description
  • Syntax
  • Remarks
  • Related commands
  1. CLI COMMANDS
  2. cauldron update

dependencies

Description

  • Update the versions of one or more native dependencies in a non-released target native application version container (Cauldron)

  • Generate and publish a new Container version

Syntax

ern cauldron update dependencies <dependencies..>

Arguments

<dependencies..>

  • One or more dependencies (delimited by spaces) to update in a target native application version in the Cauldron.

  • You can only update with native dependency versions that have been published to NPM.

  • You cannot use the file or git schemes for the dependency(ies).

  • The version of each dependency is corresponding to the version to update to.

Example

ern cauldron update dependencies MyDependency@1.2.3 This example shows how to update the version of MyDependency to 1.2.3 in the native application version.

Options

--containerVersion/-v <version>

  • Specify a version for the new container

  • Default Incremental patch number of the current container version

    Example: If the current container version is 1.2.3 and a version is not included in the command, the new container version will be 1.2.4.

--descriptor/-d <descriptor>

  • Update the native dependencies in a given target native application version in the Cauldron matching the provided native application descriptor

  • You can only pass a complete native application descriptor as the native dependencies updated using this command target only a specific single native application version.

    Default Lists all non-released native application versions from the Cauldron and prompts you to choose one to update.

Remarks

  • The ern cauldron update dependencies <dependencies..> command is rarely used.

  • Native dependency versions are automatically updated if necessary when adding or updating MiniApps using the ern cauldron add miniapps command and the ern cauldron update miniapps command

Related commands

[ern cauldron add dependencies] | Add one or more new native dependencies

[ern cauldron add dependencies]: ../add/dependencies.md

Previouscauldron updateNextjsapiimpls

Last updated 6 years ago