Catalog npm
PACKAGE EXPLORERView in registry

0-60

npm

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

Versions collected13
Direct dependencies14From release 2.1.0
Last observed20 Oct, 16:10 UTC

README

Current package documentation

0-60

CircleCI Coverage Status semantic-release Commitizen friendly npm version

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

yarn global add 0-60

Or if you want you can run it with npx:

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:

{
  "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 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.)

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 13

Collected releases
VersionPublishedDirect dependenciesOpen version
2.1.0Registry latest24 Nov 202114
2.0.927 Oct 202014
2.0.81 Jun 202055
2.0.711 Apr 202055
2.0.610 Apr 202055
2.0.523 Feb 202055
2.0.430 Jan 202055
2.0.327 Jan 202055
2.0.227 Jan 202055
2.0.123 Jan 202055
2.0.018 Jan 202055
1.0.117 May 201953
1.0.05 Feb 201952

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
jedwards1211/0-60

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 16:10 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:5159e7a652fe3be32c59c4d2d1e037bb7f010051166c4a6e9c2a0ffe331396bb