generator-ehrcraft-script 1.1.0 → 1.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
# generator-ehrcraft-script [![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] [![Coverage percentage][coveralls-image]][coveralls-url]
|
|
2
2
|
>
|
|
3
3
|
|
|
4
|
+
|
|
4
5
|
## Installation
|
|
5
6
|
|
|
6
7
|
First, install [Yeoman](http://yeoman.io) and generator-ehrcraft-script using [npm](https://www.npmjs.com/) (we assume you have pre-installed [node.js](https://nodejs.org/)).
|
|
7
8
|
|
|
8
9
|
```bash
|
|
9
10
|
npm install -g yo
|
|
10
|
-
|
|
11
|
-
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
Then install this generator
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install -g generator-ehrcraft-script
|
|
12
18
|
```
|
|
13
19
|
|
|
14
20
|
Then generate your new project:
|
|
@@ -17,6 +23,13 @@ Then generate your new project:
|
|
|
17
23
|
yo ehrcraft-script
|
|
18
24
|
```
|
|
19
25
|
|
|
26
|
+
## Development
|
|
27
|
+
If you want to test the generator during developement you might use npm link like this:
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
npm link
|
|
31
|
+
```
|
|
32
|
+
|
|
20
33
|
## Getting To Know Yeoman
|
|
21
34
|
|
|
22
35
|
* Yeoman has a heart of gold.
|
package/generators/app/index.js
CHANGED
|
@@ -68,6 +68,9 @@ function compile() {
|
|
|
68
68
|
* main(api, ctx, http)
|
|
69
69
|
* main(api, ctx)
|
|
70
70
|
*
|
|
71
|
+
* Since version 2.3.x there is support for terminology search and system configuration - they are exposed as "terminology" and "config".
|
|
72
|
+
* main(api,ctx,terminology, config)
|
|
73
|
+
*
|
|
71
74
|
* NOTE:
|
|
72
75
|
* If you want to use api2, the second generation of script api delivered with DIPS Arena 22.2, add the following:
|
|
73
76
|
*
|
package/package.json
CHANGED