Skip to content

Commit

Permalink
update to itwin.js to 4.0.0 (#31)
Browse files Browse the repository at this point in the history
* update to itwin.js to 4.0.0

* update package jsons

* use npm 18

* resolve PR comments

* combine imports; remove comments; add git link

* update packages, revert certain changes

* solve integrity issue, update README.md for node

* Minor fixes

---------

Co-authored-by: Colin Kerr <33028649+ColinKerr@users.noreply.github.com>
  • Loading branch information
notshirley and ColinKerr committed Apr 17, 2023
1 parent 439b9f9 commit 4a73eef
Show file tree
Hide file tree
Showing 10 changed files with 5,630 additions and 6,181 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js 12.x
- name: Use Node.js 18.x
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 18.x
- name: install
run: npm ci
- name: lint
Expand Down
12 changes: 3 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The iModel Reporter is a simple command line app to generate csv reports from an
To build and run this app locally you will need a few things:

- Install [Git](https://git-scm.com/)
- Install [Node.js](https://nodejs.org/en/) v12 (must be greater than 12.10.x)
- Install [Node.js](https://nodejs.org/en/) v18 (must be at least 18.0.0)
- Install [VS Code](https://code.visualstudio.com/)

### Creating a test iModel
Expand Down Expand Up @@ -53,12 +53,6 @@ If you want to create iModel in your local environment then follow [this](https
npm run start <query.json> # Run with iModel from hub
```

To use iModel from your local machine

```sh
npm run start:snapshot <file path> <query.json> # Run with local iModel
```

## Using Data Exporter

Detailed description of the project
Expand Down Expand Up @@ -133,7 +127,7 @@ Example supports three types of queries: generic queries; calculating volume of

Running example queries file should create a new folder with a structure like this:

```
```fs
/out/example
|-->schema.csv
|-->class.csv
Expand All @@ -150,7 +144,7 @@ The full folder structure of this app is explained below:
> **Note!** Make sure you have already built the app using `npm run build`
| Name | Description |
| ------------------------ | ---------------------------------------------------------------------------------------------|
| ------------------------ | ---------------------------------------------------------------------------------------------|
| **.vscode** | Contains VS Code specific settings |
| **.github** | Contains Github related files |
| **lib** | Contains the distributable (or output) from your TypeScript build. This is the code you ship |
Expand Down
Loading

0 comments on commit 4a73eef

Please sign in to comment.