1.2.56 • Published 6 years ago

coda-mota v1.2.56

Weekly downloads
13
License
ISC
Repository
github
Last release
6 years ago

Coda

The initial goal for Coda was to find an easy way to copy only certain files from a repo on Github into a folder on my local machine. I decided I would create a node app that would automate the steps I would naturally take to achieve the same output over simply creating an alias for my terminal because I valued the portability, the simple setup, and the extendibility it has because it's written in JS versus terminal commands.

Need to work on User Stories

  1. Create a standardized process in code for running terminal commands so that I can easily insert business logic in between them.
  2. Check to see if a package.json file exist, if so, install packages; but if not, add a bare-bones one so I can instantly run npm i. after adding the boiler plate code
  3. Add options to the new command for the different style of projects (web, api, terminal script, etc) so it can better customize the the src folder and the gulp tasks that are added to a project.

Prerequisites

do not run on windows.

  • npm
  • node
  • git?

Installation

First run,

npm i coda-mota -g

then to test the package is installed,

coda check

Running the Tests

Will document as soon as there are some.

How to Use / Examples

Coda is a command line app.

coda [command] [--options]

Commands

new

Adds boiler plate code, installs packages, inside whatever folder you run the following command:

coda new [--options]

This currently defaults to web/node projects.

Available options:

None currently

What it includes:

  • TypeScript ready
  • Linting for Vanilla and TypeScript written JS
  • Jest ready
  • Gulp ready
  • Setting file for VS Code (e.g. sets the default indentation at 2 spaces)

Sources:

1.2.56

6 years ago

1.2.55

6 years ago

1.2.54

6 years ago

1.2.53

6 years ago

1.2.52

6 years ago

1.2.51

6 years ago

1.2.50

6 years ago

1.2.49

6 years ago

1.2.48

6 years ago

1.2.47

6 years ago

1.2.46

6 years ago