Skip to content

Commit

Permalink
feat(qux): scaffolded new package now that the package adder handles …
Browse files Browse the repository at this point in the history
…readme generation
  • Loading branch information
travi committed Jun 23, 2021
1 parent 0804972 commit 5e62ea1
Show file tree
Hide file tree
Showing 16 changed files with 7,761 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/qux/.babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"presets":["@travi"],"ignore":["./lib/"],"env":{"test":{"plugins":["istanbul"]}}}
2 changes: 2 additions & 0 deletions packages/qux/.eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/coverage/
/lib/
4 changes: 4 additions & 0 deletions packages/qux/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
root: true
extends:
- '@travi'
- '@travi/mocha'
1 change: 1 addition & 0 deletions packages/qux/.lockfile-lintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"path":"package-lock.json","type":"npm","validate-https":true,"allowed-hosts":["npm"]}
1 change: 1 addition & 0 deletions packages/qux/.mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"ui":"tdd","require":["@babel/register","./test/mocha-setup.js"]}
2 changes: 2 additions & 0 deletions packages/qux/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
update-notifier=false
engine-strict=true
1 change: 1 addition & 0 deletions packages/qux/.nycrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"extends":"@istanbuljs/nyc-config-babel","reporter":["lcov","text-summary","html"],"exclude":["src/**/*-test.js","test/","thirdparty-wrappers/","vendor/"]}
14 changes: 14 additions & 0 deletions packages/qux/.remarkrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
// https://github.com/remarkjs/remark/tree/master/packages/remark-stringify#options
exports.settings = {
listItemIndent: 1,
emphasis: '_',
strong: '_',
bullet: '*',
incrementListMarker: false
};

exports.plugins = [
'remark-preset-lint-travi',
['remark-toc', {tight: true}],
['remark-usage', {heading: 'example'}]
];
70 changes: 70 additions & 0 deletions packages/qux/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# qux

yet another lerna managed package

<!--status-badges start -->

<!--status-badges end -->

## Table of Contents

* [Usage](#usage)
* [Installation](#installation)
* [Example](#example)
* [Contributing](#contributing)
* [Dependencies](#dependencies)
* [Verification](#verification)

## Usage

<!--consumer-badges start -->

[![npm][npm-badge]][npm-link]
[![Try @travi/qux on RunKit][runkit-badge]][runkit-link]

<!--consumer-badges end -->

### Installation

```sh
$ npm install @travi/qux
```

### Example

```javascript
import qux from '@travi/qux';
```

## Contributing

<!--contribution-badges start -->

[![semantic-release][semantic-release-badge]][semantic-release-link]

<!--contribution-badges end -->

### Dependencies

```sh
$ nvm install
$ npm install
```

### Verification

```sh
$ npm test
```

[npm-link]: https://www.npmjs.com/package/@travi/qux

[npm-badge]: https://img.shields.io/npm/v/@travi/qux.svg

[runkit-link]: https://npm.runkit.com/@travi/qux

[runkit-badge]: https://badge.runkitcdn.com/@travi/qux.svg

[semantic-release-link]: https://github.com/semantic-release/semantic-release

[semantic-release-badge]: https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg
3 changes: 3 additions & 0 deletions packages/qux/example.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
// remark-usage-ignore-next
/* eslint-disable-next-line no-unused-vars */
import qux from './lib/index.cjs';
Loading

0 comments on commit 5e62ea1

Please sign in to comment.