0.0.2 • Published 3 years ago

visualcamp-automation v0.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

WARNING: Dont remove this package.

VisualCamp Semantic Automation

User friendly build task tool. For example. You can write as below.

if (!isThisBranch('develop')) throw new PolicyError('This is not develop branch');

and also support file system(delete, rename, move), notify to developer using Slack.

If you want to see more examples. see examples directory.

How to use

For

For User

It is difficult to understand asynchronous, If you are not familiar with javascript. We want to you don't have to learn javascript. In this reason, we design very carefully. Every semantic automation code is sync.

For Issuer

For Contributor

  • run test with watch
npm run test
  • publish to npm
$ project_dir> cd examples/automation && gulp publish

Also you need to know

Command vs Query

  • command -> execute command if not throw error
  • query -> return value(no error)

Coverage

---------------------------|---------|----------|---------|---------|--------------------------------
File                       | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
---------------------------|---------|----------|---------|---------|--------------------------------
All files                  |   64.58 |    48.48 |   45.95 |   66.17 |
 visualcamp-automation     |     100 |      100 |     100 |     100 |
  index.js                 |     100 |      100 |     100 |     100 |
 visualcamp-automation/lib |   62.22 |    48.48 |   45.95 |   63.71 |
  SlackHelper.js           |      80 |       80 |      75 |      80 | 35-37,43
  browser.js               |   39.29 |        0 |   42.86 |   42.31 | 23,32,34,35,37-39,41-44,47-50
  dotenv-loader.js         |   91.67 |    83.33 |     100 |      90 | 14
  exec.js                  |   94.44 |    66.67 |     100 |     100 | 15
  git.js                   |   39.13 |    33.33 |      25 |    38.1 | 14-18,20,28-30,34-36,39
  package-json.js          |   39.13 |        0 |   14.29 |   42.86 | 8,9,11,13,14,24,26,28-30,32,33
  semantic-version.js      |     100 |      100 |     100 |     100 |
  ssh.js                   |     100 |      100 |     100 |     100 |
---------------------------|---------|----------|---------|---------|--------------------------------

Roadmap

  • Package name will be changed @visualcamp/semantic-automation from visualcamp-automation

And more...

0.0.2

3 years ago

0.0.1

3 years ago

0.6.0

3 years ago

0.5.0

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago