open-index/open-npm huggingface dataset:
npm package: @sum.cumo/node-modules-check
Description: Check for outdated Node modules
Author: sum.cumo GmbH
Latest version: 2.1.2

# Node Modules Check

## Description

This script looks up your package.json and tells you if there are any outdated packages. In case of outdated packages the script returns an exit code 1, otherwise 0. It uses `npm outdated --json` under the hood.

### Features

* ignore specific packages to be marked as outdated
* sort packages by version difference (major → minor → patch)
* indicate version difference by color
* display type of dependency
* show the `homepage` setting from the package.json of the outdated package

<p align="center">
  <img width="800" src="docs/assets/node-modules-check.svg">
</p>

## Installation

```bash
npm install --save-dev @sum.cumo/node-modules-check
```

## Usage

```bash
check-node-modules
```

### Configuration

You can set up packages that should be ignored in a configuration file.

Example:

```json
{
  "ignore": [
    "eslint"
  ],
  "ignoreRegex": [
    "([a-z])." //regex can be used as well
  ],
  "ignoreDev": true, // ignore dev dependencies
  "ignoreSemver": [ // ignore semantic version
    "prerelease"
  ]
}
```

The configuration file can be specified through

```bash
check-node-modules --config path/to/some/config/file
```

or by placing a file named `.check-node-modules.config.json` in your projects folder.

### Purpose example: GitLab CI

At sum.cumo we run this check in a [scheduled pipeline in GitLab CI](https://docs.gitlab.com/ee/user/project/pipelines/schedules.html) in order to check for outdated node modules regularly and automatically.

### Dev workflow

1. `npm install`  
1. `./bin/check.js`

This will run the package on itself.

#### SVG creation

##### Dependencies

- [asciinema](https://github.com/asciinema/asciinema)
- [svg-term-cli](https://github.com/marionebl/svg-term-cli)

##### Commands

1. Create the `.cast` file:  
    ```bash
    asciinema rec node-modules-check.cast
    ```
1. Create the `.svg` file:  
    ```bash
    cat node-modules-check.cast | svg-term-cli --out node-modules-check.svg --profile=Seti --height=30 --width=100 --term iterm2 --window
    ```

## License

Copyright 2019 [sum.cumo GmbH](https://www.sumcumo.com/)

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

----

[Learn more about sum.cumo](https://www.sumcumo.com/en) and [work on open source projects](https://www.sumcumo.com/jobs), too!
npm package: @sum.cumo/nuxt-custom-route-folder
Description: Module to automatically add nuxt routes for specified files in the nuxt project.
Latest version: 2.1.3

# @sum.cumo/nuxt-custom-route-folder

Module to automatically add nuxt routes for specified files in the nuxt project.

## install

`npm install @sum.cumo/nuxt-custom-route-folder`

## use within another nuxt module

```js
import createCustomRoutes from '@sum.cumo/nuxt-custom-route-folder'

export default function MyModule() {
  return createCustomRoutes({
    nuxt: this.nuxt,
    glob: 'myCustomFolder/**/*.vue',
  })
}
```

Given we have a component `myCustomFolder/foo.vue`, it will be added as a
`myCustomFolder/foo` route to nuxt routes.

## configuration

### `nuxt`

When used as a library in another nuxt module, this needs to be the current
instance of nuxt

### `glob`

A [`minimatch`](https://www.npmjs.com/package/minimatch) pattern specifying
all files that should create a new route.

### `transform(contents, route)`

A transformer function that can be used to manipulate or wrap the contents
of a file found by the `glob`.

Its recommended to prefer custom webpack loaders over this config

```js
import createCustomRoutes from '@sum.cumo/nuxt-custom-route-folder'

export default function MyModule() {
  return createCustomRoutes({
    nuxt: this.nuxt,
    glob: 'markdown/**/*.md',
    transform(content) {
      return someMarkdownToVueMagic(content)
    },
  })
}
```

### `transformExt`

default: `'js'`

Specify the file extension with which the result of the `transform` is being
stored. This is especially relevant to control which webpack loaders are
applied to the transformed file.

### `priority`

default: `0`

When the module is used for different custom folders and multiple routes are
created using the same path, the one with a higher priority will take precedence
over the one with a lower priority.

### `mapRouteName(basePath, component)`

Customize the name that is created for each generated route.

### `mapRoutePath(path)`

Customize the path of each generated route.

This can be useful when using a different path then the folder name or
for prefixing.

### `filter(component)`

Can be used to additionally blacklist components.

Prefer using a more specific `glob` over this.

### `srcDir`

default: `srcDir` from `nuxt.options`

the source directory of the nuxt application, use as a base for the given
`glob`.

### `watch`

default: `dev` from `nuxt.options`

whether or not future file changes should cause a rebuild of the routes.