0.0.7 • Published 1 year ago

nata-cli v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Nata-cli

Architecture test automation

Continuous integration Coverage Status

Table of Contents

Getting Started

Install Nata-cli using npm:

npm install --save-dev nata-cli

Add the following section to your package.json:

{
  "scripts": {
    "test:arch": "nata-cli ."
  }
}

Before running you must create the configuration file nata.config.json:

{
  "rules": []
}

Finally, run npm run test:arch and Nata-cli will print this message:

Results:   0 failed, 0 skipped, 0 passed, 0 total.
Exec time: 00:00:00.001

Configuration

Rules

  1. Verify that files in a directory follow specified patterns:
{
  "name": "filename-pattern-in-folder",
  "patterns": ["*.ts"],
  "folder": "source/services"
}

To skip a rule use the skip field:

{
    "name": "filename-pattern-in-folder",
    "patterns": ["*.ts"],
    "folder": "source/services"
    "skip": true,
}

License

Nata-cli is MIT licensed.

0.0.7

1 year ago

0.0.7-alpha.0

1 year ago

0.0.6

1 year ago

0.0.5

1 year ago

0.0.4

1 year ago

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago

1.0.0

1 year ago