# mfe-overrides

> MFE overrides CLI

Latest version **1.0.3** (published 2023-11-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install mfe-overrides
pnpm add mfe-overrides
yarn add mfe-overrides
bun add mfe-overrides
```

Provides the command `mfe-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 | 1.0.3 |
| Published | 2023-11-11 |
| First published | 2023-11-11 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 11 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | monteri |
| Maintainers | monteri |

## Links

- npm: https://www.npmjs.com/package/mfe-overrides
- npm.io page: https://npm.io/package/mfe-overrides

## Dependencies (2)

- [chalk](https://npm.io/package/chalk.md) ^4.1.2
- [simple-git](https://npm.io/package/simple-git.md) ^3.20.0

## Recent versions

- 1.0.3 (latest) — 2023-11-11
- 1.0.2 — 2023-11-11
- 1.0.1 — 2023-11-11
- 1.0.0 — 2023-11-11

## README

# MFE CLI

This CLI tool provides commands for managing micro-frontends (MFE) in your project.

## Usage

Install dependencies globally:

`npm install -g mfe-overrides`

## Commands

### 1. Commit
Можна робити зміни в MFE і потім використати цю команду, щоб перенести усі змінені/додані файли за вказаним шляхом. Ідея, щоб вказати `frontend-build/overrides`  і автоматично буде створено дерево відповідно до MFE, в якій йде робота.

```bash
mfe-cli commit <path>
<path>: The path to the changes you want to commit.
```

### 2. List Changes
Перелік ченжів в MFE (для перегляду перед `commit`).

```bash
Copy code
mfe-cli list-changes
```

### 3. Apply Overrides
Зворотній процес до `commit`, щоб скопіювати/створити файли, які знаходяться в overrides


```bash
Copy code
mfe-cli apply-overrides <path>
<path>: The path to the overrides changes.
```

### 4. Install Frontend Build
Clone a Git repository, remove the node_modules directory, and install @edx/frontend-build from the local repository.
Вставляємо `url` форкнутого білда і він встановиться в MFE і в `package.json` вкажеться шлях до нього. Далі можна робити зміни.

```bash
Copy code
mfe-cli install-frontend-build <git_repo_url>
<git_repo_url>: The Git URL of the repository to clone.
```

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