0.1.9 • Published 3 years ago

@pandazy/mole-cli v0.1.9

Weekly downloads
-
License
MIT
Repository
github
Last release
3 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

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago