@itwin/ecschema2ts 4.0.0-dev.90 → 4.0.0-dev.91

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.
Files changed (1) hide show
  1. package/package.json +11 -12
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": "4.0.0-dev.90",
5
+ "version": "4.0.0-dev.91",
6
6
  "bin": {
7
7
  "ecschema2ts": "./bin/index.js"
8
8
  },
@@ -24,7 +24,6 @@
24
24
  "url": "http://www.bentley.com"
25
25
  },
26
26
  "devDependencies": {
27
- "@itwin/build-tools": "4.0.0-dev.90",
28
27
  "@itwin/eslint-plugin": "^4.0.0-dev.33",
29
28
  "@types/chai": "4.3.1",
30
29
  "@types/chai-string": "^1.4.1",
@@ -39,20 +38,21 @@
39
38
  "nyc": "^15.1.0",
40
39
  "rimraf": "^3.0.2",
41
40
  "source-map-support": "^0.5.6",
42
- "typescript": "~5.0.2"
41
+ "typescript": "~5.0.2",
42
+ "@itwin/build-tools": "4.0.0-dev.91"
43
43
  },
44
44
  "dependencies": {
45
- "@itwin/core-bentley": "4.0.0-dev.90",
46
- "@itwin/ecschema-locaters": "4.0.0-dev.90",
47
- "@itwin/ecschema-metadata": "4.0.0-dev.90",
48
- "@itwin/core-geometry": "4.0.0-dev.90",
49
- "@itwin/core-backend": "4.0.0-dev.90",
50
- "@itwin/core-common": "4.0.0-dev.90",
51
45
  "@xmldom/xmldom": "~0.8.5",
52
46
  "chai-string": "^1.5.0",
53
47
  "chalk": "^3.0.0",
54
48
  "commander": "^2.14.1",
55
- "fs-extra": "^8.1.0"
49
+ "fs-extra": "^8.1.0",
50
+ "@itwin/core-bentley": "4.0.0-dev.91",
51
+ "@itwin/ecschema-metadata": "4.0.0-dev.91",
52
+ "@itwin/ecschema-locaters": "4.0.0-dev.91",
53
+ "@itwin/core-geometry": "4.0.0-dev.91",
54
+ "@itwin/core-backend": "4.0.0-dev.91",
55
+ "@itwin/core-common": "4.0.0-dev.91"
56
56
  },
57
57
  "nyc": {
58
58
  "extends": "./node_modules/@itwin/build-tools/.nycrc"
@@ -74,6 +74,5 @@
74
74
  "test": "mocha",
75
75
  "cli:dev": "npm run -s clean & npm run -s build & npm link",
76
76
  "cover": "nyc npm -s test"
77
- },
78
- "readme": "# ecschema2ts\r\n\r\necschema2ts 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.\r\n\r\n## Quick Overview\r\n\r\n```sh\r\nnpm install -g @itwin/ecschema2ts\r\n\r\necschema2ts -i C:\\Path\\To\\Schema\\Domain.ecschema.xml -o C:\\Desired\\Output\\Path\\\r\n```\r\n\r\n## Getting Started\r\n\r\n### Installation\r\n\r\nInstall globally:\r\n\r\n```sh\r\nnpm install -g @itwin/ecschema2ts\r\n```\r\n\r\n### Creating a Typescript module\r\n\r\nTo create a Typescript file from the an ECSchema, run:\r\n\r\n```sh\r\necschema2ts -i C:\\Path\\To\\Schema\\Domain.ecschema.xml -o C:\\Desired\\Output\\Path\\\r\n```\r\n\r\n## Updating to new version\r\n\r\nSince the package is installed globally, updating has a different syntax than normal. To update the package globally, run:\r\n\r\n```sh\r\nnpm update -g @itwin/ecschema2ts\r\n```\r\n\r\n## Known Issues\r\n\r\n- The ordering of the Typescript classes may be out of order preventing compilation of the typescript file. A workaround is to reorder the classes by hand.\r\n\r\n## Troubleshooting\r\n\r\n- Are you have issues converting your ECSchema?\r\n - Check to make sure your ECSchema version is EC3.1\r\n - Check if the BIS ECSchema passes validation, [check ECSchema status](https://bentley.sharepoint.com/sites/BIS/Lists/Schema%20Development%20Status/AllItems.aspx?viewpath=%2Fsites%2FBIS%2FLists%2FSchema%20Development%20Status%2FAllItems.aspx).\r\n"
77
+ }
79
78
  }