# @freighter/logger

> Tiny layer over console.log for log suppression in tests

Latest version **0.6.0** (published 2020-05-15) · MIT license · 0 weekly downloads

## Install

```sh
npm install @freighter/logger
pnpm add @freighter/logger
yarn add @freighter/logger
bun add @freighter/logger
```

## 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.6.0 |
| Published | 2020-05-15 |
| First published | 2018-09-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 6.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Jesse Gibson |
| Maintainers | psychollama |

## Links

- npm: https://www.npmjs.com/package/@freighter/logger
- Repository: https://github.com/PsychoLlama/freighter
- Homepage: https://github.com/PsychoLlama/freighter#readme
- Issues: https://github.com/PsychoLlama/freighter/issues
- npm.io page: https://npm.io/package/@freighter/logger

## Dependencies (1)

- [chalk](https://npm.io/package/chalk.md) ^4.0.0

## Recent versions

- 0.6.0 (latest) — 2020-05-15
- 0.5.0 — 2019-08-30
- 0.4.0 — 2019-08-03
- 0.3.4 — 2019-03-08
- 0.3.0 — 2019-01-01
- 0.2.4 — 2018-09-10
- 0.2.3 — 2018-09-10
- 0.2.2 — 2018-09-09
- 0.2.1 — 2018-09-04
- 0.2.0 — 2018-09-04
- 0.1.0 — 2018-09-04

## README

<div align="center">
  <img src="https://cdn.jsdelivr.net/gh/PsychoLlama/freighter@03c3474d12d5d7e4564ec4da729dcbfce41813de/assets/logo.png" alt="freighter logo" width="200" align="center" />
  <h1>Freighter</h1>
  <p>Monorepos without the hassle.</p>
</div>

## Project Status

:no_entry: UNMAINTAINED

Too much work, not enough reward. The downside of a lego-brick ecosystem is that nothing has cohesion. To properly build Freighter, it would require forking much of the ecosystem and combining it into a monolithic build system, which is far out of scope.

It was a fun experiment, but I'll settle for a bespoke build process in the future.

## Purpose

Freighter scaffolds and manages monorepo configurations. Here's what you get right out of the box:
- [Yarn Workspaces](https://yarnpkg.com/en/docs/workspaces)
- [Jest projects](https://jestjs.io/docs/en/configuration.html#projects-array-string-projectconfig)
- [ESLint](https://eslint.org/)
- [Prettier](https://prettier.io/)
- [Lerna](https://lernajs.io/)
- [Babel 7](https://babeljs.io/blog/2018/08/27/7.0.0)
- Code quality checks with precommit hooks
- A solid CI script in a single command

## Usage
Requirements: you've already got `yarn` and `git` installed.

Installation:
```bash
$ yarn global add @freighter/cli
```

Now you should have a new `freighter` command in the terminal. Try out the `init` command:

```bash
$ freighter init new-project
```

In about 15-30 seconds, you should have yourself a fancy, batteries-included monorepo :tada:

Here are the scripts you'll probably find useful:
- `yarn lint` runs ESLint on all the packages
- `yarn test` runs every test in the monorepo
- `yarn flow` type checks everything
- `yarn ci` run all 3 in CI mode

## Guarantees
None.

I built Freighter because it can take days to configure all the tooling that makes monorepos so enjoyable. I don't want to spend days. Frankly, I'd rather be building apps. So if Freighter ends up being more work than it's worth, I'll abandon it.

:dragon: You've been warned.

## Why the name?
Because freighters ship containers. npm packages are kinda like containers. Therefore, monorepos are freighters. `#science`

## Accelerating the project
If you like the idea of Freighter, give it a star :star:

It'll help me gauge interest in the project.

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