create-octokit-project

5.0.0 • Public • Published

Create new Octokit JS project

"npm init" script to create a new folder and repository for an Octokit JavaScript module (plugin, authentication strategy, or otherwise)

Usage

npm init octokit-project

What it does

  • Creates a new folder on your machine
  • Inits git in the new folder
  • Add LICENSE, CODE_OF_CONDUCT.md and README.md files
  • Creates a repository
  • Adds repository as git remote add origin <url>
  • Push the 3 files to main
  • Creates a new local branch called initial-version
  • Creates a package.json and package-lock.json. Installs dev dependencies.
  • Creates .gitignore, tsconfig.json
  • Creates test/smoke.test.ts
  • Creates actions for tests and automated releases
  • Creates a pull request with further instructions
  • Adds branch protection

Contribute

Pull requests welcome! My longer term goal is to make this script useful for Octokit Plugin developers.

License

MIT

Readme

Keywords

Package Sidebar

Install

npm i create-octokit-project

Weekly Downloads

4

Version

5.0.0

License

MIT

Unpacked Size

73.7 kB

Total Files

38

Last publish

Collaborators

  • gr2m
  • octokitbot