3.2.2 • Published 3 years ago

cubx-wct-scaffolder v3.2.2

Weekly downloads
85
License
Apache-2.0
Repository
github
Last release
3 years ago

cubx-wct-scaffolder

Npm package for generate wct test scaffold for cubbles components. It developed for exclusive usage in cubbles projects.

Install

npm install cubx-wct-scaffolder

API

var path = require('path');
var scaffolder = require('cubx-wct-scaffolder')
// Path to webpackage
var webpackagePath = path.join(process.cwd(), '..', 'webpackages', 'my-webpackage');
scaffolder.scaffold(webpackagePath);

It realise the following steps:

  • Read the manifest.webpackage, and extracted the artifactId-s of all compound and elementary components.
  • Ask for select the dstination artifact( This artifact will be completed with the wct test scaffold.
  • Generate the subdirectory test in the artifact directory, and generate all necessary files for tests.
  • Install and add the necessary dependencies to package.json.

CLI

Run (standalone)

cubx-wct-scaffolder <webpackagePath> [--loglevel <loglevel>]
  • webpackagePath: relative or absolut path of the webpackage.
  • --loglevel: loglevel for console logging. Possible values silly,debug,info,warn,error, default value: info

Build Status

3.2.2

3 years ago

3.2.1

3 years ago

3.2.0

3 years ago

1.11.0

5 years ago

1.10.0

6 years ago

3.1.1

6 years ago

1.9.1

6 years ago

3.1.0

6 years ago

1.9.0

6 years ago

1.7.0

6 years ago

3.0.0

6 years ago

1.6.1

6 years ago

1.6.0

7 years ago

1.5.1

7 years ago

1.5.0

7 years ago

1.4.2

7 years ago

1.4.1

7 years ago

1.3.1

7 years ago

1.3.0

7 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago

0.4.2

8 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.4

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.0

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago