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
- npm link
11
- # npm install -g generator-ehrcraft-script
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.
@@ -30,7 +30,7 @@ module.exports = class extends Generator {
30
30
  type: "input",
31
31
  name: "form_scripts",
32
32
  message: "The folder where the script should be placed",
33
- default: "../../form_scripts"
33
+ default: "../../form-scripts"
34
34
  }
35
35
  ];
36
36
 
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "generator-ehrcraft-script",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "A code generator for DIPS Forms typescript",
5
5
  "homepage": "https://dev.azure.com/dips/DIPS%20Configured%20Products/_git/generator-ehrcraft-script",
6
6
  "author": {