# mediacentral-publish

> A publish tool for publishing cloud-ux projects

Latest version **0.3.9** (published 2023-02-17) · SEE LICENSE IN EULA.md license · 0 weekly downloads

## Install

```sh
npm install mediacentral-publish
pnpm add mediacentral-publish
yarn add mediacentral-publish
bun add mediacentral-publish
```

Provides the command `mediacentral-publish`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.9 |
| Published | 2023-02-17 |
| First published | 2018-05-22 |
| Weekly downloads | 0 |
| License | SEE LICENSE IN EULA.md |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 13 |
| Unpacked size | 83.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Artur Ziemba artur.ziemba@avid.com> |
| Maintainers | wbauer, joeapearson, enterit, anna.kryzhko, anna.vaskovska, yvadim, diana_chaikovska, vladyslav.kurakov, artur.ziemba.avid |
| Keywords | MediaCentral, Avid, publish |

## Links

- npm: https://www.npmjs.com/package/mediacentral-publish
- Repository: https://github.com/avid-technology
- npm.io page: https://npm.io/package/mediacentral-publish

## Dependencies (13)

- [ejs](https://npm.io/package/ejs.md) ^3.1.8
- [joi](https://npm.io/package/joi.md) ^17.7.0
- [npm](https://npm.io/package/npm.md) ^8.0.0
- [atob](https://npm.io/package/atob.md) ^2.1.2
- [log4js](https://npm.io/package/log4js.md) ^6.7.0
- [js-yaml](https://npm.io/package/js-yaml.md) ^4.1.0
- [fs-extra](https://npm.io/package/fs-extra.md) 10.1.0
- [randomstring](https://npm.io/package/randomstring.md) ^1.2.3
- [normalize-path](https://npm.io/package/normalize-path.md) ^3.0.0
- [util.promisify](https://npm.io/package/util.promisify.md) ^1.1.1
- [mediacentral-sign](https://npm.io/package/mediacentral-sign.md) 0.1.2
- [mediacentral-upload](https://npm.io/package/mediacentral-upload.md) 0.1.3
- [mediacentral-feature-pack](https://npm.io/package/mediacentral-feature-pack.md) 0.1.2

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.3.9 (latest) — 2023-02-17
- 0.3.8 — 2022-11-30
- 0.3.7 — 2022-11-30
- 0.3.6 — 2022-10-18
- 0.3.5 — 2022-07-18
- 0.3.4 — 2022-07-12
- 0.3.3 — 2022-03-17
- 0.3.2 — 2021-07-01
- 0.3.1 — 2021-06-30
- 0.3.0 — 2021-06-15
- 0.2.0 — 2019-11-14
- 0.0.64 — 2019-01-28
- 0.0.63 — 2019-01-04
- 0.0.62 — 2019-01-04
- 0.0.61 — 2018-11-21
- … 46 more at https://npm.io/package/mediacentral-publish/versions

## README

[![pipeline status](https://burl-gitlab.global.avidww.com/avid/dtk/mediacentral-publish/badges/master/pipeline.svg)](https://burl-gitlab.global.avidww.com/avid/dtk/mediacentral-publish/commits/master)
[![coverage report](https://burl-gitlab.global.avidww.com/avid/dtk/mediacentral-publish/badges/master/coverage.svg)](https://burl-gitlab.global.avidww.com/avid/dtk/mediacentral-publish/commits/master)

# Motivation
A tool to publish a project to avid marketplace.

## Usage

1. As a CLI (Install globally)
```js
    npm i -g mediacentral-publish
```
2. As a JS module

```js
const publish = require('mediacentral-publish')
publish(options)
```
## Api

### `publish([, options])`

Parameters

- `options` -- options object with keys:
  - `project` -- path to a project config file  
  - `config` -- path to a project config file (optional if the config is project/src/project.config.json)
    - `version` -- version of your app
    - `developer ID` -- your developer ID (optional)
    - `organization` -- name of you organization
    - `privateKeyPath` -- Path to your private key
    - `appID` - your Application ID
  - `name` -- project name (optional if the name is in a project/src/project.json file under identity.appName)  
  - `password` -- password to ssh private key  
  - `buildImage` -- bool 
  - `build` -- bool
  - `service` -- bool

**Check our CloudUX examples on [Avid-Technology Github](https://github.com/avid-technology)**

**Check our [Quick Start](http://developer.avid.com/quickStart.html) for CloudUX**


## Latest Changes

## 0.3.6 (2022-10-12)

### Changes 
* Added vendor field inside metadata.json file. 


## 0.3.5 (2022-07-13)

### Bug Fixes 
* feature install fails beacuse of missing config yaml file for env variables.


## 0.3.4 (2022-07-12)

### Changes 
* Fixed env variables. 


## 0.3.3 (2022-03-15)

### Changes 
* Made AppSecret field optional. 


## 0.3.1 (2021-06-30)

### Changes 
* Updated dependencies. Decreased vulnerabilities amount. 


## [0.2.0](https://burl-gitlab.global.avidww.com/avid/dtk/mediacentral-publish/compare/v0.0.65...v0.2.0) (2019-11-14)

### Features

* **chart:** [DTKT-730](https://avid-ondemand.atlassian.net/browse/DTKT-730) 'chartDir' option for custom chart templates ([f331c51](https://burl-gitlab.global.avidww.com/avid/dtk/mediacentral-publish/commit/f331c51c6736dd928aabf478dade9307d631d447))


### [0.0.65](https://burl-gitlab.global.avidww.com/avid/dtk/mediacentral-publish/compare/v0.0.64...v0.0.65) (2019-10-20)
 
### Bug Fixes

* [DTKT-729](https://avid-ondemand.atlassian.net/browse/DTKT-729) feature install fails because of wrong configmap template variable ([155fc3a](https://burl-gitlab.global.avidww.com/avid/dtk/mediacentral-publish/commit/155fc3ae8f35071cd78865a5316c9a8a4597bcb8))

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