@itwin/ecschema2ts 3.0.0-dev.134 → 3.0.0-dev.139
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 +6 -6
- package/package.json +10 -10
package/README.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# ecschema2ts
|
|
2
2
|
|
|
3
|
-
ecschema2ts is a command-line tool that takes an EC3.1/EC3.2 BIS ECSchema xml file and outputs a valid Typescript module that uses
|
|
3
|
+
ecschema2ts is a command-line tool that takes an EC3.1/EC3.2 BIS ECSchema xml file and outputs a valid Typescript module that uses iTwin.js.
|
|
4
4
|
|
|
5
5
|
## Quick Overview
|
|
6
6
|
|
|
7
7
|
```sh
|
|
8
|
-
|
|
8
|
+
npm install -g @itwin/ecschema2ts
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
ecschema2ts -i C:\Path\To\Schema\Domain.ecschema.xml -o C:\Desired\Output\Path\
|
|
11
11
|
```
|
|
12
12
|
|
|
13
13
|
## Getting Started
|
|
@@ -17,7 +17,7 @@ $ ecschema2ts -i C:\Path\To\Schema\Domain.ecschema.xml -o C:\Desired\Output\Path
|
|
|
17
17
|
Install globally:
|
|
18
18
|
|
|
19
19
|
```sh
|
|
20
|
-
|
|
20
|
+
npm install -g @itwin/ecschema2ts
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
### Creating a Typescript module
|
|
@@ -25,7 +25,7 @@ $ npm install -g @itwin/ecschema2ts
|
|
|
25
25
|
To create a Typescript file from the an ECSchema, run:
|
|
26
26
|
|
|
27
27
|
```sh
|
|
28
|
-
|
|
28
|
+
ecschema2ts -i C:\Path\To\Schema\Domain.ecschema.xml -o C:\Desired\Output\Path\
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
## Updating to new version
|
|
@@ -33,7 +33,7 @@ $ ecschema2ts -i C:\Path\To\Schema\Domain.ecschema.xml -o C:\Desired\Output\Path
|
|
|
33
33
|
Since the package is installed globally, updating has a different syntax than normal. To update the package globally, run:
|
|
34
34
|
|
|
35
35
|
```sh
|
|
36
|
-
|
|
36
|
+
npm update -g @itwin/ecschema2ts
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
## Known Issues
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@itwin/ecschema2ts",
|
|
3
3
|
"description": "Command line tools that takes an ECSchema xml file and outputs a typescript module",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "3.0.0-dev.
|
|
5
|
+
"version": "3.0.0-dev.139",
|
|
6
6
|
"bin": {
|
|
7
7
|
"ecschema2ts": "./bin/index.js"
|
|
8
8
|
},
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"keywords": [
|
|
15
15
|
"Bentley",
|
|
16
16
|
"iModel",
|
|
17
|
-
"
|
|
17
|
+
"iTwin.js",
|
|
18
18
|
"EC",
|
|
19
19
|
"BIS"
|
|
20
20
|
],
|
|
@@ -23,8 +23,8 @@
|
|
|
23
23
|
"url": "http://www.bentley.com"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@itwin/build-tools": "3.0.0-dev.
|
|
27
|
-
"@itwin/eslint-plugin": "3.0.0-dev.
|
|
26
|
+
"@itwin/build-tools": "3.0.0-dev.139",
|
|
27
|
+
"@itwin/eslint-plugin": "3.0.0-dev.139",
|
|
28
28
|
"@types/chai": "^4.1.4",
|
|
29
29
|
"@types/chai-string": "^1.4.1",
|
|
30
30
|
"@types/fs-extra": "^4.0.7",
|
|
@@ -41,12 +41,12 @@
|
|
|
41
41
|
"typescript": "~4.4.0"
|
|
42
42
|
},
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@itwin/core-bentley": "3.0.0-dev.
|
|
45
|
-
"@itwin/ecschema-locaters": "3.0.0-dev.
|
|
46
|
-
"@itwin/ecschema-metadata": "3.0.0-dev.
|
|
47
|
-
"@itwin/core-geometry": "3.0.0-dev.
|
|
48
|
-
"@itwin/core-backend": "3.0.0-dev.
|
|
49
|
-
"@itwin/core-common": "3.0.0-dev.
|
|
44
|
+
"@itwin/core-bentley": "3.0.0-dev.139",
|
|
45
|
+
"@itwin/ecschema-locaters": "3.0.0-dev.139",
|
|
46
|
+
"@itwin/ecschema-metadata": "3.0.0-dev.139",
|
|
47
|
+
"@itwin/core-geometry": "3.0.0-dev.139",
|
|
48
|
+
"@itwin/core-backend": "3.0.0-dev.139",
|
|
49
|
+
"@itwin/core-common": "3.0.0-dev.139",
|
|
50
50
|
"@xmldom/xmldom": "^0.7.0",
|
|
51
51
|
"chai-string": "^1.5.0",
|
|
52
52
|
"chalk": "^3.0.0",
|