open-index/open-npm huggingface dataset:
npm package: @swimlane/ngx-ui
Description: Component & Style Library for Angular by Swimlane.
Author: Swimlane
Latest version: 51.4.0

# ngx-ui

Component & Style Library for Angular by Swimlane.

## Installing

- `npm i @swimlane/ngx-ui --S`
- Install the project's [peer dependencies](https://github.com/swimlane/ngx-ui/blob/master/projects/swimlane/ngx-ui/package.json#L27) (moment, moment-timezone, ngx-moment, ng-in-viewport, codemirror, angular/cdk, resize-observer-polyfill)
- Add `NgxUIModule` and `IconModule` to your application module
- Add the ngx-ui theme in the angular.json file (`node_modules/@swimlane/ngx-ui/index.css`)

## Building ngx-ui

Run `yarn build:lib` to build ngx-ui. This must be done prior to building the demo.

## Development server

Run `yarn start` to serve the demo at `http://localhost:4200/`. The app will automatically reload if you change any of the source files.

## Building

Run `yarn build` to build the project. The build artifacts will be stored in the `dist/` directory.

## Running tests

- Run `yarn test` to execute the linter, prettier check, unit and end-to-end tests.

## Release

- Checkout master (`git checkout master`)
- Pull master (`git pull`)
- Refresh node modules (`yarn install --frozen-lockfile`)
- Run tests (`yarn test`)
- Examine log to determine next version (X.Y.Z)
- Run `git checkout -b release/X.Y.Z`
- Update version in `projects/swimlane/ngx-ui/package.json`.
- Update changelog in `projects/swimlane/ngx-ui/CHANGELOG.md`
- Run `yarn package` to build the package
- Run `git commit -am "(release): X.Y.Z"`
- Run `git tag X.Y.Z`
- Run `git push origin HEAD --tags`
- Run `yarn publish`
- Submit PR
npm package: @swimlane/prettier-config-swimlane
Description: Prettier configuration used in Swimlane projects.
Author: Swimlane
Latest version: 4.0.0-alpha.0

# prettier-config-swimlane

[Prettier](https://prettier.io/) configuration used in Swimlane projects.

## Installation

Install as a dev dependency (along with [`prettier`](https://www.npmjs.com/package/prettier)) via [npm](https://www.npmjs.com/):

```bash
npm install --save-dev @swimlane/prettier-config-swimlane prettier@latest
```

## Usage

1. Create a file named `prettier.config.js` with the following contents:

```javascript
'use strict';

module.exports = require('@swimlane/prettier-config-swimlane');
```

2. Add a `prettier` script to package.json:

```json
{
  "scripts": {
    "prettier": "prettier --write \"**/*.js\""
  }
}
```

> Adjust the glob pattern as needed to include more file extensions.
> For example, `\"**/*.{js,ts}\"` will format both JavaScript and TypeScript files.
> Files can be excluded with a [`.prettierignore` file](https://prettier.io/docs/en/ignore.html#ignoring-files).

Executing `npm run prettier` will now format a project's files.

## License

[MIT](LICENSE)

## Credits

`prettier-config-swimlane` is a [Swimlane](http://swimlane.com) open-source project; we
believe in giving back to the open-source community by sharing some of the
projects we build.

[Swimlane](http://www.swimlane.com) is an automated cyber security operations and incident response
platform that enables cyber security teams to leverage threat intelligence,
speed up incident response and automate security operations.
npm package: @swimlane/prettier-setup
Description: A CLI tool for adding Prettier to projects.
Author: Swimlane
Latest version: 0.1.0

# prettier-setup
A CLI tool for adding [Prettier](https://prettier.io) to projects.

## Installation
1. Install globally via [npm](https://npmjs.com):
```bash
npm install -g @swimlane/prettier-setup
```

## Usage
In a terminal, navigate to a project's directory and run `prettier-setup`.
This will prompt the user for the name of a Prettier configuration package to use (such as [`@swimlane/prettier-config-swimlane`](https://github.com/swimlane/prettier-config-swimlane)) and a [glob](https://github.com/isaacs/node-glob) pattern of files to format with Prettier.
If no Prettier configuration package name is provided, the user will be guided through building one.
> Note: `prettier-setup` assumes a `package.json` file exists in the same directory it's invoked in.

### Output
 - Creates a [Prettier configuration file](https://prettier.io/docs/en/configuration.html) named `prettier.config.js` or `.prettierrc`.
 - If a `.gitignore` file is found, creates a [`.prettierignore`](https://prettier.io/docs/en/ignore.html) file with the same contents as `.gitignore`.
 - If a `.eslintrc` file is found, adds [`eslint-config-prettier`](https://github.com/prettier/eslint-config-prettier) as an extended configuration.
 - If a `tslint.json` file is found, adds [`tslint-config-prettier`](https://github.com/alexjoverm/tslint-config-prettier) as an extended configuration.
 - Adds script `prettier` to `package.json`, which will format specified files when executed.

## License
[MIT](LICENSE)

## Credits
`prettier-setup` is a [Swimlane](http://swimlane.com) open-source project; we
believe in giving back to the open-source community by sharing some of the
projects we build.

[Swimlane](http://www.swimlane.com) is an automated cyber security operations and incident response
platform that enables cyber security teams to leverage threat intelligence,
speed up incident response and automate security operations.