2.2.6 • Published 6 years ago

archijs v2.2.6

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

npm Travis (.org) branch Coverage Status Scrutinizer code quality (GitHub/Bitbucket) GitHub GitHub followers

archijs

A package to test javascript architecture

Usage

yarn add archijs
import Archijs from "archijs";

describe("Javascript Architecture", () => {
  it("Should have fileName according to folderName", () => {
    const project = Archijs.parseFromPath("src");
    
    const rule = Archijs
      .defineThat()
      .folder()
      .withNameMatching('actions')
      .should()
      .matchChildrensName('actions')

    expect(project).toMatchArch(rule);
  });
});

Demo

Usage demo

Todo

  • Fix async issue on chained functions.
  • Implement @types/jest.
  • Remove async/await on test using
  • Remove Babel
  • Add exceptions validation.
  • Improve unit tests coverage.
  • Implement feature to read file content and validates the functions names.
  • Improve dir name validation.

Suggestions

2.2.6

6 years ago

2.2.5

6 years ago

2.2.4

6 years ago

2.2.3

6 years ago

2.2.2

6 years ago

2.2.1

6 years ago

2.2.0

6 years ago

2.1.1

6 years ago

2.1.0

6 years ago

2.0.0

6 years ago