# 0-60

> clone a skeleton repo and set up CI build as fast as possible

Latest version **2.1.0** (published 2021-11-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install 0-60
pnpm add 0-60
yarn add 0-60
bun add 0-60
```

Provides the commands `060`, `0-60`.

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.1.0 |
| Published | 2021-11-24 |
| First published | 2019-02-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 14 |
| Unpacked size | 171.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Andy Edwards |
| Maintainers | jedwards1211 |

## Links

- npm: https://www.npmjs.com/package/0-60
- Repository: https://github.com/jedwards1211/0-60
- Homepage: https://github.com/jedwards1211/0-60#readme
- Issues: https://github.com/jedwards1211/0-60/issues
- npm.io page: https://npm.io/package/0-60

## Dependencies (14)

- [glob](https://npm.io/package/glob.md) ^7.1.3
- [base32](https://npm.io/package/base32.md) ^0.0.6
- [globby](https://npm.io/package/globby.md) ^8.0.1
- [lodash](https://npm.io/package/lodash.md) ^4.17.11
- [js-yaml](https://npm.io/package/js-yaml.md) ^3.12.0
- [fs-extra](https://npm.io/package/fs-extra.md) ^7.0.0
- [inquirer](https://npm.io/package/inquirer.md) ^6.2.0
- [travis-ci](https://npm.io/package/travis-ci.md) ^2.2.0
- [superagent](https://npm.io/package/superagent.md) ^6.1.0
- [npm-profile](https://npm.io/package/npm-profile.md) ^4.0.1
- [@octokit/rest](https://npm.io/package/@octokit/rest.md) ^16.25.6
- [es6-promisify](https://npm.io/package/es6-promisify.md) ^6.0.0
- [@babel/runtime](https://npm.io/package/@babel/runtime.md) ^7.12.0
- [promisify-child-process](https://npm.io/package/promisify-child-process.md) ^3.1.3

## Recent versions

- 2.1.0 (latest) — 2021-11-24
- 2.0.9 — 2020-10-27
- 2.0.8 — 2020-06-01
- 2.0.7 — 2020-04-11
- 2.0.6 — 2020-04-10
- 2.0.5 — 2020-02-23
- 2.0.4 — 2020-01-30
- 2.0.3 — 2020-01-27
- 2.0.2 — 2020-01-27
- 2.0.1 — 2020-01-23
- 2.0.0 — 2020-01-18
- 1.0.1 — 2019-05-17
- 1.0.0 — 2019-02-05

## README

# 0-60

[![CircleCI](https://circleci.com/gh/jedwards1211/0-60.svg?style=svg)](https://circleci.com/gh/jedwards1211/0-60)
[![Coverage Status](https://codecov.io/gh/jedwards1211/0-60/branch/master/graph/badge.svg)](https://codecov.io/gh/jedwards1211/0-60)
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![npm version](https://badge.fury.io/js/0-60.svg)](https://badge.fury.io/js/0-60)

This is my script for creating an npm package from a skeleton project and
setting up the CI build as fast as possible. Once you've used this you'll never
want to go back to setting up all of that stuff manually.

# Installation

```sh
yarn global add 0-60
```

Or if you want you can run it with `npx`:

```sh
npx 0-60
```

# CLI

## Cloning a skeleton repository

```
0-60 clone <REPO URL>[#<BRANCH>]
```

`0-60` will prompt you for the new package name, organization, etc:

```
$ 0-60 clone https://github.com/jedwards1211/es2015-library-skeleton.git
? Destination directory: cool-project
Cloning into 'cool-project'...
remote: Enumerating objects: 182, done.
remote: Counting objects: 100% (182/182), done.
remote: Compressing objects: 100% (41/41), done.
remote: Total 1078 (delta 162), reused 150 (delta 140), pack-reused 896
Receiving objects: 100% (1078/1078), 586.17 KiB | 2.78 MiB/s, done.
Resolving deltas: 100% (724/724), done.
? Package name: cool-project
? Package description: made with 0-60!
? Package author: Andy Edwards
? Package keywords: foo,bar
? GitHub organization: jedwards1211
? GitHub repo: cool-project
Installing dependencies...
yarn install v1.13.0
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 🔨  Building fresh packages...
✨  Done in 9.17s.
Ready to go!
```

## Pick from preset list of skeleton repos

You don't have to type the repository URL every time. Instead you can configure
a preset list of repositories to pick from by adding them to `~/.0-60.json`.
Then just run `0-60` without arguments, and outside of a repo directory.
`0-60` will prompt you to select which skeleton you want from this list.

Example `~/.0-60.json`:

```json
{
  "skeletons": [
    "jedwards1211/es2015-library-skeleton",
    "jedwards1211/react-library-skeleton",
    "jedwards1211/react-karma-library-skeleton",
    "jedwards1211/untranspiled-js-library-skeleton",
    "jedwards1211/typescript-library-skeleton",
    "jedwards1211/typescript-library-skeleton#pnpm"
  ]
}
```

```
$ 0-60
? Skeleton repo: (Use arrow keys)
❯ jedwards1211/es2015-library-skeleton
  jedwards1211/react-library-skeleton
  jedwards1211/react-karma-library-skeleton
  jedwards1211/untranspiled-js-library-skeleton
  jedwards1211/typescript-library-skeleton
  jedwards1211/typescript-library-skeleton#pnpm
```

## Preparing for CI build

Running `0-60` inside in your repo directory will:

- Create the repository on GitHub
- enable Travis CI (if `.travis.yml` is present)

## Bringing in changes to the skeleton

Just run `git pull skeleton master` (`0-60` keeps the skeleton repository URL in the `skeleton` remote).
I recommend using the CLI in my fork of [merge-package.json](https://github.com/jedwards1211/merge-package.json) to automatically fix merge conflicts in `package.json`. (Install with `npm i -g jedwards1211/merge-package.json#cli` and then just run `merge-package.json` in the project directory after pulling.)

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