0.1.9 • Published 2 years ago

@pandazy/mole-cli v0.1.9

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

mole-cli

Prerequisite:

Installation:

yarn global add @pandazy/mole-cli

Usage

mole <package.json's script name>

Example

mole test

// as long as there is "./src/*.spec.ts" in the project

It will set up TypeScript project with shared configuration from

And run the project by yarn install && yarn <package.json's script name> (in the case above, "yarn install && yarn test") under the hood from a Docker container installed with Node.js and Yarn.

The docker container uses this image


Demo:

Before running the command:

image

What package.json looks like

{
  "name": "mole-config-test",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "author": "",
  "license": "ISC"
}

Install mole-cli

image

Run the command mole test

image

image

Now the repository is like this

image

It runs in a Docker container

image

node_modules is stored in a Docker volume (not in the project repository, otherwise it hurts the performance)

image

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago