Skip to content

Commit

Permalink
feat: lerna, rollup
Browse files Browse the repository at this point in the history
BREAKING CHANGE: remove deprecated dot support
  • Loading branch information
christophehurpeau committed Mar 18, 2018
1 parent 9cb3f1c commit 08f73b6
Show file tree
Hide file tree
Showing 1,391 changed files with 21,096 additions and 25,114 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,26 @@ This repository is a monorepo that we manage using [Lerna](https://github.com/le

| Package | Version | Description |
|---------|---------|-------------|
| [nightingale](/packages/nightingale) | <a href="https://npmjs.org/package/nightingale"><img src="https://img.shields.io/npm/v/nightingale.svg?style=flat-square"></a> | Logger for browser and node
| [nightingale-ansi-formatter](/packages/nightingale-ansi-formatter) | <a href="https://npmjs.org/package/nightingale-ansi-formatter"><img src="https://img.shields.io/npm/v/nightingale-ansi-formatter.svg?style=flat-square"></a> | Nightingale ANSI formatter
| [nightingale-app-console](/packages/nightingale-app-console) | <a href="https://npmjs.org/package/nightingale-app-console"><img src="https://img.shields.io/npm/v/nightingale-app-console.svg?style=flat-square"></a> | nightingale default config and logger for app
| [nightingale-browser-console](/packages/nightingale-browser-console) | <a href="https://npmjs.org/package/nightingale-browser-console"><img src="https://img.shields.io/npm/v/nightingale-browser-console.svg?style=flat-square"></a> | Browser console handler for nightingale
| [nightingale-browser-console-formatter](/packages/nightingale-browser-console-formatter) | <a href="https://npmjs.org/package/nightingale-browser-console-formatter"><img src="https://img.shields.io/npm/v/nightingale-browser-console-formatter.svg?style=flat-square"></a> | Nightingale Browser console formatter
| [nightingale-console](/packages/nightingale-console) | <a href="https://npmjs.org/package/nightingale-console"><img src="https://img.shields.io/npm/v/nightingale-console.svg?style=flat-square"></a> | Console handler for nightingale
| [nightingale-console-output](/packages/nightingale-console-output) | <a href="https://npmjs.org/package/nightingale-console-output"><img src="https://img.shields.io/npm/v/nightingale-console-output.svg?style=flat-square"></a> | Nightingale console output
| [nightingale-debug](/packages/nightingale-debug) | <a href="https://npmjs.org/package/nightingale-debug"><img src="https://img.shields.io/npm/v/nightingale-debug.svg?style=flat-square"></a> | Nightingale debug
| [nightingale-error-processor](/packages/nightingale-error-processor) | <a href="https://npmjs.org/package/nightingale-error-processor"><img src="https://img.shields.io/npm/v/nightingale-error-processor.svg?style=flat-square"></a> | Nightingale error processor
| [nightingale-formatter](/packages/nightingale-formatter) | <a href="https://npmjs.org/package/nightingale-formatter"><img src="https://img.shields.io/npm/v/nightingale-formatter.svg?style=flat-square"></a> | Nightingale formatter
| [nightingale-html-formatter](/packages/nightingale-html-formatter) | <a href="https://npmjs.org/package/nightingale-html-formatter"><img src="https://img.shields.io/npm/v/nightingale-html-formatter.svg?style=flat-square"></a> | Nightingale HTML formatter
| [nightingale-json-formatter](/packages/nightingale-json-formatter) | <a href="https://npmjs.org/package/nightingale-json-formatter"><img src="https://img.shields.io/npm/v/nightingale-json-formatter.svg?style=flat-square"></a> | Nightingale JSON formatter
| [nightingale-level-names](/packages/nightingale-level-names) | <a href="https://npmjs.org/package/nightingale-level-names"><img src="https://img.shields.io/npm/v/nightingale-level-names.svg?style=flat-square"></a> | Nightingale level values to level names
| [nightingale-levels](/packages/nightingale-levels) | <a href="https://npmjs.org/package/nightingale-levels"><img src="https://img.shields.io/npm/v/nightingale-levels.svg?style=flat-square"></a> | Nightingale levels
| [nightingale-logger](/packages/nightingale-logger) | <a href="https://npmjs.org/package/nightingale-logger"><img src="https://img.shields.io/npm/v/nightingale-logger.svg?style=flat-square"></a> | Logger for browser and node
| [nightingale-markdown-formatter](/packages/nightingale-markdown-formatter) | <a href="https://npmjs.org/package/nightingale-markdown-formatter"><img src="https://img.shields.io/npm/v/nightingale-markdown-formatter.svg?style=flat-square"></a> | Nightingale Markdown formatter
| [nightingale-raw-formatter](/packages/nightingale-raw-formatter) | <a href="https://npmjs.org/package/nightingale-raw-formatter"><img src="https://img.shields.io/npm/v/nightingale-raw-formatter.svg?style=flat-square"></a> | Nightingale Raw formatter
| [nightingale-sentry](/packages/nightingale-sentry) | <a href="https://npmjs.org/package/nightingale-sentry"><img src="https://img.shields.io/npm/v/nightingale-sentry.svg?style=flat-square"></a> | Sentry handler for nightingale
| [nightingale-slack](/packages/nightingale-slack) | <a href="https://npmjs.org/package/nightingale-slack"><img src="https://img.shields.io/npm/v/nightingale-slack.svg?style=flat-square"></a> | Slack handler for nightingale
| [nightingale-string](/packages/nightingale-string) | <a href="https://npmjs.org/package/nightingale-string"><img src="https://img.shields.io/npm/v/nightingale-string.svg?style=flat-square"></a> | String handler for nightingale
| [nightingale-web-processor](/packages/nightingale-web-processor) | <a href="https://npmjs.org/package/nightingale-web-processor"><img src="https://img.shields.io/npm/v/nightingale-web-processor.svg?style=flat-square"></a> | Nightingale web processor
| [nightingale-winston-adapter](/packages/nightingale-winston-adapter) | <a href="https://npmjs.org/package/nightingale-winston-adapter"><img src="https://img.shields.io/npm/v/nightingale-winston-adapter.svg?style=flat-square"></a> | Winston adapter handler for nightingale

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
"commitmsg": "commitlint -e $GIT_PARAMS",
"generate:docs":
"lerna run --parallel --ignore \"*-example\" generate:docs",
"lint": "lerna run lint --steam",
"lint": "lerna run --stream lint",
"postcheckout": "yarnhook",
"postmerge": "yarnhook",
"postrewrite": "yarnhook",
"precommit": "lint-staged",
"preversion":
"yarn run lint && yarn run build && yarn run generate:docs && pob-repository-check-clean",
"yarn run lint && yarn run build && pob-repository-check-clean",
"release": "lerna publish --conventional-commits -m 'chore: release'",
"test": "lerna run test --steam",
"test": "lerna run --stream test",
"watch": "lerna run --parallel --ignore \"*-example\" watch"
},
"lint-staged": {
Expand Down
6 changes: 4 additions & 2 deletions packages/nightingale-ansi-formatter/.babelrc
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
{
"env": {
"test": {
"only": ["src/"],
"presets": ["pob-babel/jest-preset"]
"only": ["src/"],
"presets": [
["pob-babel/preset", { "flow": false }]
]
}
}
}
1 change: 0 additions & 1 deletion packages/nightingale-ansi-formatter/.commitrc.js

This file was deleted.

23 changes: 22 additions & 1 deletion packages/nightingale-ansi-formatter/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
{
"extends": "pob/babel"
"extends": [
"pob/babel"
],
"overrides": [
{
"files": [
"src/**/*.test.js",
"src/__tests__/**/*.js"
],
"env": {
"jest": true
},
"rules": {
"import/no-extraneous-dependencies": [
"error",
{
"devDependencies": true
}
]
}
}
]
}
5 changes: 0 additions & 5 deletions packages/nightingale-ansi-formatter/.git-hooks/post-checkout

This file was deleted.

5 changes: 0 additions & 5 deletions packages/nightingale-ansi-formatter/.git-hooks/post-merge

This file was deleted.

42 changes: 0 additions & 42 deletions packages/nightingale-ansi-formatter/.git-hooks/pre-commit

This file was deleted.

11 changes: 0 additions & 11 deletions packages/nightingale-ansi-formatter/.git-hooks/prepare-commit-msg

This file was deleted.

10 changes: 0 additions & 10 deletions packages/nightingale-ansi-formatter/.travis.yml

This file was deleted.

27 changes: 22 additions & 5 deletions packages/nightingale-ansi-formatter/.yo-rc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,31 @@
"pob": {
"pob-config": {
"envs": [
"node6",
"node8",
"older-node",
"module-node8"
{
"target": "node",
"version": "8",
"formats": [
"cjs",
"es"
]
},
{
"target": "node",
"version": "6",
"formats": [
"cjs"
]
},
{
"target": "node",
"version": "4",
"formats": [
"cjs"
]
}
],
"testing": {
"circleci": true,
"travisci": true,
"codecov": true
},
"documentation": false,
Expand Down
33 changes: 12 additions & 21 deletions packages/nightingale-ansi-formatter/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# nightingale-ansi-formatter [![NPM version][npm-image]][npm-url]
<h3 align="center">
nightingale-ansi-formatter
</h3>

Nightingale ANSI formatter
<p align="center">
Nightingale ANSI formatter
</p>

[![Build Status][circleci-status-image]][circleci-status-url]
[![Travis Status][travisci-status-image]][travisci-status-url]
[![Dependency Status][daviddm-image]][daviddm-url]
[![Dependency ci Status][dependencyci-image]][dependencyci-url]
[![Coverage percentage][coverage-image]][coverage-url]
<p align="center">
<a href="https://npmjs.org/package/nightingale-ansi-formatter"><img src="https://img.shields.io/npm/v/nightingale-ansi-formatter.svg?style=flat-square"></a>
<a href="https://circleci.com/gh/christophehurpeau/nightingale"><img src="https://img.shields.io/circleci/project/christophehurpeau/nightingale/master.svg?style=flat-square"></a>
<a href="https://david-dm.org/christophehurpeau/nightingale?path=packages/nightingale-ansi-formatter"><img src="https://david-dm.org/christophehurpeau/nightingale?path=packages/nightingale-ansi-formatter.svg?style=flat-square"></a>
<a href="https://codecov.io/gh/christophehurpeau/nightingale"><img src="https://img.shields.io/codecov/c/github/christophehurpeau/nightingale/master.svg?style=flat-square"></a>
</p>

## Install

Expand All @@ -19,17 +24,3 @@ npm install --save nightingale-ansi-formatter
```js
import nightingaleAnsiFormatter from 'nightingale-ansi-formatter';
```

[npm-image]: https://img.shields.io/npm/v/nightingale-ansi-formatter.svg?style=flat-square
[npm-url]: https://npmjs.org/package/nightingale-ansi-formatter
[daviddm-image]: https://david-dm.org/nightingalejs/nightingale-ansi-formatter.svg?style=flat-square
[daviddm-url]: https://david-dm.org/nightingalejs/nightingale-ansi-formatter
[dependencyci-image]: https://dependencyci.com/github/nightingalejs/nightingale-ansi-formatter/badge?style=flat-square
[dependencyci-url]: https://dependencyci.com/github/nightingalejs/nightingale-ansi-formatter
[circleci-status-image]: https://img.shields.io/circleci/project/nightingalejs/nightingale-ansi-formatter/master.svg?style=flat-square
[circleci-status-url]: https://circleci.com/gh/nightingalejs/nightingale-ansi-formatter
[travisci-status-image]: https://img.shields.io/travis/nightingalejs/nightingale-ansi-formatter/master.svg?style=flat-square
[travisci-status-url]: https://travis-ci.org/nightingalejs/nightingale-ansi-formatter
[coverage-image]: https://img.shields.io/codecov/c/github/nightingalejs/nightingale-ansi-formatter/master.svg?style=flat-square
[coverage-url]: https://codecov.io/gh/nightingalejs/nightingale-ansi-formatter
[docs-coverage-url]: https://nightingalejs.github.io/nightingale-ansi-formatter/coverage/lcov-report/
26 changes: 0 additions & 26 deletions packages/nightingale-ansi-formatter/circle.yml

This file was deleted.

70 changes: 70 additions & 0 deletions packages/nightingale-ansi-formatter/dist/index-node4-dev.cjs.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 08f73b6

Please sign in to comment.