To provide a global library for testing, documentation, building and a shared common library.
It uses JS and TypeScript. It is the builder for a few p3x
libs and the whole Corifeus Platform
. Is uses grunt / webpack / jshint / karma / protractor / angular / mocha / istanbul coverage, and a few additional helpers for building like json2css
, automatic npm versioning
end file replacer
for adding in build date/version, git, repo name
etc...
grunt cory-npm
Generates automated version. Major and minor is kept. Build and commit is automatic. Major.Minor.Build-Commit
See tasks.
Folders the system using.
Name is based on the git
repo name, plus a prefix, so all generated. (Was angular-compile
, in NPM
it is p3x-angular-compile
, also the prefix is not required, in other libs is not used like Corifeus
.)
{
"name": "p3x-angular-compile",
"version": "1.1.114-203",
"corifeus": {
"time": "5/6/2017, 5:02:36 PM",
"icon": "fa fa-gavel",
"time-stamp": 1494082956181,
"code": "Make",
"publish": true
}
}
patrikx3@workstation ~/ramdisk/persistence/content/.p3x-ramdisk-link/Projects/patrikx3/corifeus/corifeus-builder $ grunt
Running "generate-folder" task
Running "cory-generate-tasks" task
Running "cory-npm" task
Running "clean:cory-build" (clean) task
>> 1 path cleaned.
Running "cory-replace" task
Replaced: artifacts/readme/builds/folders.md, Pre: #@corifeus-header, Post: #@corifeus-header:end
Replaced: artifacts/readme/builds/tasks.md, Pre: #@corifeus-header, Post: #@corifeus-header:end
Replaced: README.md, Pre: #@corifeus-header, Post: #@corifeus-header:end
Replaced: artifacts/readme/builds/folders.md, Pre: #@corifeus-footer, Post: #@corifeus-footer:end
Replaced: artifacts/readme/builds/tasks.md, Pre: #@corifeus-footer, Post: #@corifeus-footer:end
Replaced: README.md, Pre: #@corifeus-footer, Post: #@corifeus-footer:end
Done.
Execution Time (2017-05-19 11:41:05 UTC+2)
mocha_istanbul:cory-coverage 2.1s ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 97%
Total 2.1s
Until it works for await/async, removed from JSDoc.