# create-public-repo

> Sometimes there is a reason why a repo is private. But when you try to expose it to the public you want to use expose certain elements from a base repo.

Latest version **1.0.1** (published 2018-01-08) · ISC license · 0 weekly downloads

## Install

```sh
npm install create-public-repo
pnpm add create-public-repo
yarn add create-public-repo
bun add create-public-repo
```

Provides the command `create-public-repo`.

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2018-01-08 |
| First published | 2018-01-08 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | fritzvd |

## Links

- npm: https://www.npmjs.com/package/create-public-repo
- npm.io page: https://npm.io/package/create-public-repo

## Dependencies (3)

- [yargs](https://npm.io/package/yargs.md) ^10.0.3
- [typescript](https://npm.io/package/typescript.md) ^2.6.2
- [@types/node](https://npm.io/package/@types/node.md) ^8.5.7

## Recent versions

- 1.0.1 (latest) — 2018-01-08
- 1.0.0 — 2018-01-08

## README

# create-public-repo
Sometimes there is a reason why a repo is private. But when you try to expose it to the public you want to use expose certain elements from a base repo.

This command does that for you. It copies the files without the git-history and without folders/files you explicitly exclude.

It uses rsync for copying and expects an `exclude-file` which is similar to a `.gitignore`. Simply a list of files that you don't want to copy from your source folder to your new folder.


## Usage
```
npm install -g create-public-repo
create-public-repo -o path/to/private -d path/to/public -e path/to/exclude/file
```

---
_Source: https://npm.io/package/create-public-repo · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
