Electrode Native
v0.41
v0.41
  • 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
  • REFERENCE
    • Bundle Store
    • Composite
    • 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
  • GUIDES
    • Debugging multiple MiniApps
  • CLI COMMANDS
    • add
    • bundlestore
      • create
      • delete
      • upload
      • use
    • binarystore
      • add
      • get
      • remove
    • code-push
      • patch
      • release
      • promote
    • compat-check
    • create-api-impl
    • create-api
    • create-composite
    • create-container
    • create-plugin-config
    • publish-container
    • transform-container
    • create-miniapp
    • link
    • regen-api
    • regen-api-impl
    • run-android
    • run-ios
    • start
    • unlink
    • upgrade-miniapp
    • cauldron add
      • file
      • jsapiimpls
      • miniapps
      • nativeapp
    • cauldron config
      • get
    • cauldron del
      • file
      • jsapiimpls
      • miniapps
      • nativeapp
    • cauldron get
      • config
      • dependency
      • nativeapp
    • cauldron repo
      • add
      • clear
      • current
      • list
      • remove
      • use
    • cauldron update
      • file
      • jsapiimpls
      • miniapps
      • nativeapp
    • cauldron batch
    • cauldron regen-container
    • cauldron upgrade
    • cauldron why
    • github
      • github create-ref
      • github delete-ref
      • github align-dependencies
    • platform
      • plugins
        • list
        • search
      • config
        • set
        • get
        • del
        • list
      • install
      • versions
      • uninstall
      • use
Powered by GitBook
On this page
  • Description
  • Syntax
  • Remarks
  • Related commands
  1. CLI COMMANDS
  2. cauldron update

miniapps

Description

  • Update one or more MiniApps versions in a non-released native application version in a Cauldron

  • Perform multiple checks, including MiniApp dependencies analysis, to ensure compatibility with the target native application container

  • Generate and publish a new Container version

Syntax

ern cauldron update miniapps <miniapps..>

Arguments

<miniapps..>

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

  • The following types of MiniApp paths are not supported by this command :

    • File path (ex file://Users/foo/MiniApp)

    • Git path missing branch/tag or commit sha (ex: https://github.com/foo/MiniApp.git)

    • Registry path missing version (ex: MiniApp)

    • Registry path using a version range (ex: MiniApp@^1.0.0)

  • Can also be set to all . In this case, all MiniApps will be updated to a single specific version specified by the --targetVersion option.

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 MiniApps to a given target non-released native application version in the Cauldron matching the provided native application descriptor.

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

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

--resetCache\

  • Indicates whether to reset the React Native cache prior to bundling

  • Default false

--targetVersion

  • Only used when running ern cauldron update miniapps all.

  • The target version to update all MiniApps to.

Remarks

  • If one MiniApp does not pass compatibility checks, the command will fail

Related commands

PreviousjsapiimplsNextnativeapp

Last updated 4 years ago

| Add one or more new MiniApps to a native application version

ern cauldron add miniapps