# @devoinc/applications-builder-cli

> Devo Applications Builder CLI

Latest version **2.0.1** (published 2024-09-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install @devoinc/applications-builder-cli
pnpm add @devoinc/applications-builder-cli
yarn add @devoinc/applications-builder-cli
bun add @devoinc/applications-builder-cli
```

Provides the command `dab-cli`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.1 |
| Published | 2024-09-18 |
| First published | 2022-04-12 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 56 |
| Unpacked size | 3 MB |
| Known vulnerabilities | 0 (+16 in 4 direct dependencies) |
| Install scripts | no |
| GitHub stars | 2 |
| Maintainers | devo_ci |

## Links

- npm: https://www.npmjs.com/package/@devoinc/applications-builder-cli
- Repository: https://github.com/DevoInc/dab-cli
- Homepage: https://github.com/DevoInc/dab-cli#readme
- Issues: https://github.com/DevoInc/dab-cli/issues
- npm.io page: https://npm.io/package/@devoinc/applications-builder-cli

## Dependencies (56)

- [jest](https://npm.io/package/jest.md) ^27.5.1
- [bytes](https://npm.io/package/bytes.md) ^3.1.0
- [jszip](https://npm.io/package/jszip.md) ^3.2.0
- [react](https://npm.io/package/react.md) ^16.8.3
- [colors](https://npm.io/package/colors.md) 1.4.0
- [should](https://npm.io/package/should.md) ^13.2.3
- [terser](https://npm.io/package/terser.md) ^3.16.1
- [postcss](https://npm.io/package/postcss.md) ^8.2.15
- [resolve](https://npm.io/package/resolve.md) ^1.10.0
- [webpack](https://npm.io/package/webpack.md) ^4.29.5
- [fs-extra](https://npm.io/package/fs-extra.md) ^7.0.1
- [inquirer](https://npm.io/package/inquirer.md) ^8.2.0
- [commander](https://npm.io/package/commander.md) ^2.19.0
- [node-sass](https://npm.io/package/node-sass.md) ^4.11.0
- [react-dom](https://npm.io/package/react-dom.md) ^16.8.3
- [uglify-js](https://npm.io/package/uglify-js.md) ^3.4.9
- [babel-core](https://npm.io/package/babel-core.md) ^7.0.0-bridge.0
- [babel-jest](https://npm.io/package/babel-jest.md) ^27.5.1
- [css-loader](https://npm.io/package/css-loader.md) ^2.1.0
- [simple-git](https://npm.io/package/simple-git.md) ^1.107.0
- [url-loader](https://npm.io/package/url-loader.md) ^1.1.2
- [@babel/core](https://npm.io/package/@babel/core.md) ^7.3.4
- [cli-spinner](https://npm.io/package/cli-spinner.md) ^0.2.8
- [cross-spawn](https://npm.io/package/cross-spawn.md) ^6.0.5
- [html-loader](https://npm.io/package/html-loader.md) ^0.5.5
- [sass-loader](https://npm.io/package/sass-loader.md) ^7.1.0
- [webpack-cli](https://npm.io/package/webpack-cli.md) ^4.9.2
- [babel-loader](https://npm.io/package/babel-loader.md) ^8.0.5
- [style-loader](https://npm.io/package/style-loader.md) ^0.23.1
- [spawn-promise](https://npm.io/package/spawn-promise.md) ^0.1.8
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.3.4
- [webpack-append](https://npm.io/package/webpack-append.md) ^0.1.2
- [@babel/polyfill](https://npm.io/package/@babel/polyfill.md) ^7.2.5
- [request-promise](https://npm.io/package/request-promise.md) ^4.2.4
- [compare-versions](https://npm.io/package/compare-versions.md) ^3.4.0
- [react-hot-loader](https://npm.io/package/react-hot-loader.md) ^4.7.1
- [webpack-notifier](https://npm.io/package/webpack-notifier.md) ^1.7.0
- [@babel/preset-env](https://npm.io/package/@babel/preset-env.md) ^7.3.4
- [webpack-dashboard](https://npm.io/package/webpack-dashboard.md) ^3.3.7
- [webpack-dev-server](https://npm.io/package/webpack-dev-server.md) ^4.7.4
- [@babel/preset-react](https://npm.io/package/@babel/preset-react.md) ^7.0.0
- [regenerator-runtime](https://npm.io/package/regenerator-runtime.md) ^0.13.1
- [clean-webpack-plugin](https://npm.io/package/clean-webpack-plugin.md) ^1.0.1
- [webpack-stats-plugin](https://npm.io/package/webpack-stats-plugin.md) ^0.2.1
- [terser-webpack-plugin](https://npm.io/package/terser-webpack-plugin.md) ^1.2.3
- [uglifyjs-webpack-plugin](https://npm.io/package/uglifyjs-webpack-plugin.md) ^2.1.2
- [webpack-bundle-analyzer](https://npm.io/package/webpack-bundle-analyzer.md) ^3.0.4
- [write-file-webpack-plugin](https://npm.io/package/write-file-webpack-plugin.md) ^4.5.0
- [extract-text-webpack-plugin](https://npm.io/package/extract-text-webpack-plugin.md) ^4.0.0-beta.0
- [friendly-errors-webpack-plugin](https://npm.io/package/friendly-errors-webpack-plugin.md) ^1.7.0
- [@babel/plugin-transform-runtime](https://npm.io/package/@babel/plugin-transform-runtime.md) ^7.3.4
- [optimize-css-assets-webpack-plugin](https://npm.io/package/optimize-css-assets-webpack-plugin.md) ^6.0.1
- [@babel/plugin-proposal-class-properties](https://npm.io/package/@babel/plugin-proposal-class-properties.md) ^7.3.4
- [@babel/plugin-syntax-object-rest-spread](https://npm.io/package/@babel/plugin-syntax-object-rest-spread.md) ^7.2.0
- [@babel/plugin-proposal-optional-chaining](https://npm.io/package/@babel/plugin-proposal-optional-chaining.md) ^7.12.7
- [@babel/plugin-proposal-object-rest-spread](https://npm.io/package/@babel/plugin-proposal-object-rest-spread.md) ^7.3.4

## Recent versions

- 2.0.1 (latest) — 2024-09-18
- 2.0.0 — 2022-04-12

## README

# 🚨 Deprecated 🚨

This package has been deprecated in favor of `DevoInc/App-Developer-Kit`.

Therefore, this repository will serve as archive and will be no longer supported.

You can access the new project repository here: https://github.com/DevoInc/App-Developer-Kit

# Devo Application Builder CLI

This is a command line interface tool for building and testing applications for Devo
platform.

## Features

- Create apps based on templates.
- Test the applications on the Devo platform.
- Verify the requirements for a suitable enviroment.

## Requirements

- Git
- Node >= 12 and <= 14
- npm >= 6.0.0
- Devo account
- [Devo Runner](https://chrome.google.com/webstore/detail/devo-runner/apjjdfhcegcemhdhaeadkddbjhgfplmo) extension for Chrome

## Installation

From npmjs

```
sudo npm install @devoinc/applications-builder-cli -g
```

Local repository

```
sudo npm install -g
```

## Usages

Run the CLI with the `dab-cli` command.

#### Check

Check the system for a suitable environment.

```
dab-cli check
```

### Help

To see all the params use --help.

```
dab-cli [command] --help
```

#### Create

Create a new folder with the application content in the current directory.

```
dab-cli create <name> [--template <template>]
```

Params:

- `app_name`: Name of the application to generate. You can include the path
  where you want to generate it, otherwise it will be generated in the current
  directory.
- `template`: Zip file or git repository URL to use as template.

By default, the template used is the one from the
[git@github.com:DevoInc/applications-builder-template.git](https://github.com/DevoInc/applications-builder-template)
repository.
You can use another template specifying a zip file path or a git repository.

#### Build

Build the application for a specific mode. Execute this command from the root directory of the application.

```
dab-cli build <mode> [--release]
```

Params:

- `mode`: The build mode used. It can be: `dev`, `pre` or `pro`.
- `release`: Prepend the timestamp to the name file and save it in the `releases` folder.

Modes:

- `dev`: Development mode. Watches for changes in the code and lets us use
  [Devo Runner](https://chrome.google.com/webstore/detail/devo-runner/apjjdfhcegcemhdhaeadkddbjhgfplmo). The code is not minified.
- `pre`: Pre-production mode. Builds minified code but lets us use the
  [Devo Runner](https://chrome.google.com/webstore/detail/devo-runner/apjjdfhcegcemhdhaeadkddbjhgfplmo).
- `pro`: Production mode. Builds minified code ready for upload to Devo.

Remember its important you make `npm install` in the project folder before you
can make one build of the project.

#### Translations

Check the translations included in the application.
Execute this command from the root directory of the application.

```
dab-cli trans
```

---
_Source: https://npm.io/package/@devoinc/applications-builder-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
