![Create React App Officially Deprecated Amid React 19 Compatibility Issues](https://cdn.sanity.io/images/cgdhsj6q/production/04fa08cf844d798abc0e1a6391c129363cc7e2ab-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Create React App Officially Deprecated Amid React 19 Compatibility Issues
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
@balena/compose
Advanced tools
Deploy and manage balena multi container applications on edge devices
Balena compose is a Node.js library (and CLI tool) to define, run and update multi-container applications on Docker enabled devices. It is specially targeted for managing the lifecycle Balena applications on edge devices. This means it adds some features to docker-compose that make it more compatible with edge devices.
Balena compose is (will be) used by Balena Supervisor, Balena's on-device agent for managing a single application lifecycle.
This library is still in a highly experimental state and will be until v1.x is reached. Do not use
git clone https://github.com/balena-io-playground/balena-compose
npm i
npm run build
# Updates the application with the given name on the device.
# Configuration is obtained fom config.json and state info
# is obtained from the state endpoint on the cloud
$ npm run compose -- up -a <appName>
import { Composer } from '@balena/compose';
// Construct a new composer for app id (soon to be changed to app uuid)
const composer = new Composer('12345', {
uuid: 'deadbeef',
deviceApiKey: 'abcdef',
});
// Returns the current container state and version of the app
// with version 12345 (it looks for containers with `io.balena.app=12345`
// if no app exists, it will return
// {status: "Idle", services: {}, networks: {}, volumes: {}}
await composer.state();
// Set the target state for commit 'deafbeef' of the app (soon to be replaced by release-version),
// see format of a single app in the target state endpoint
// this will throw if the composer cannot reach the target state (there is a lock, cannot fetch images, etc.)
// while this process is taking place, composer.state() should return the state of the application
// install
await composer.update('deadbeef', {services: {main: {...}}, volumes: {}, networks: {}})
// If everything went well this should return the new state of the composer
await composer.state();
The main goal of the hack week project is to get to an agreement on what functionality this library and CLI should provide.
Although most of the code that will provide the functionalityof this library is already in the current supervisor codebase, (see compose/), a secondary goal is to simplify and adapt this code to the requirements defined for this library.
Composer
, Service
, Volume
and Network
from supervisor codebaseas any
as much as possible.Support compose the compose specification https://compose-spec.io/
FAQs
Complete toolkit to build docker-compose.yml files and optionally deploy them to balenaCloud
The npm package @balena/compose receives a total of 108 weekly downloads. As such, @balena/compose popularity was classified as not popular.
We found that @balena/compose demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.