# @renoirb/conventions-code-formatter

> Reusable Prettier configs

Latest version **1.3.0** (published 2020-08-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install @renoirb/conventions-code-formatter
pnpm add @renoirb/conventions-code-formatter
yarn add @renoirb/conventions-code-formatter
bun add @renoirb/conventions-code-formatter
```

Provides the command `conventions-code-formatter`.

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.3.0 |
| Published | 2020-08-17 |
| First published | 2020-08-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 6 |
| Unpacked size | 242.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | Renoir Boulanger |
| Maintainers | renoirb |

## Links

- npm: https://www.npmjs.com/package/@renoirb/conventions-code-formatter
- Repository: https://github.com/renoirb/experiments-201908-rush-typescript-just-bili-monorepo
- Homepage: https://github.com/renoirb/experiments-201908-rush-typescript-just-bili-monorepo/tree/v1.x-dev/conventions/code-formatter
- Issues: https://github.com/renoirb/experiments-201908-rush-typescript-just-bili-monorepo/issues
- npm.io page: https://npm.io/package/@renoirb/conventions-code-formatter

## Dependencies (6)

- [prettier](https://npm.io/package/prettier.md) ^2.0.5
- [@types/prettier](https://npm.io/package/@types/prettier.md) ^2.0.2
- [sort-package-json](https://npm.io/package/sort-package-json.md) ^1.44.0
- [@rushstack/ts-command-line](https://npm.io/package/@rushstack/ts-command-line.md) ~4.4.6
- [@rushstack/node-core-library](https://npm.io/package/@rushstack/node-core-library.md) ^3.25.0
- [@renoirb/conventions-use-prettier](https://npm.io/package/@renoirb/conventions-use-prettier.md) 1.3.0

## Recent versions

- 1.3.0 (latest) — 2020-08-17

## README

# Experimenting with [a _monorepo_ using **Rush.js**][rush-maintainer-setup-repo]

## Expected outcome

Each package should have the minimum boilerplate for:

- least number of packaging manifest (i.e. only a `bili.config.js`, or `just.config.js`)
- smallest `package.json` contents as possible
- package publish step common for all packages
- tests at the same place (e.g. in `src/__tests__/`), regardless if it's written in JavaScript, ECMAScript 6+, TypeScript.

## Objective

- Streamline how we publish things so we can import them consistently in many runtime environments (no copy pasta, just import in package.json, require/import in code, use)
- Harmonize way of packaging, maintenance, with less boilerplate
- So other team members will quickly see what's really needed to create new modules

## Desired features

- Easy to spot or get feedback when missing dependency between packages
- Can depend between packages

## Trying it out

All examples below expects you first have `@microsoft/rush` installed globally, [refer to the docs][rush-maintainer-setup-repo].

For Continuous integration mode, refer to [.gitlab-ci.yml](./.gitlab-ci.yml).

### Run with debugging

```bash
export CI_SERVER="yes-capn" # Assuming GitLab or other CI would have such variable set in CI mode.
export DEBUG="*,-babel,-agentkeepalive,-fetch-retry"
rush update
rush build
```

[rush-maintainer-setup-repo]: https://rushjs.io/pages/maintainer/setup_new_repo/ 'Setup new Rush.js repo'

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