Skip to content

Commit c1a6ebb

Browse files
linasburneikaLinas Burneika
andauthored
Updating dependencies (#217)
* updated dependencies * Fixed naming in documentation --------- Co-authored-by: Linas Burneika <[email protected]>
1 parent 9f36614 commit c1a6ebb

8 files changed

Lines changed: 2393 additions & 1916 deletions

File tree

CONTRIBUTING.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,8 @@ cd itwin-cli
4040
### **Setup Test Environment**
4141
- Create .env file in the project root and put the following environment variables into it:
4242
```sh
43-
# API and IMS URLs. The example has URLs for the QA environment, but it can be changed to DEV or PROD (no prefix).
44-
ITP_ISSUER_URL=https://qa-ims.bentley.com
45-
ITP_API_URL=https://qa-api.bentley.com
43+
ITP_ISSUER_URL=https://ims.bentley.com
44+
ITP_API_URL=https://api.bentley.com
4645
# Your service client, created in the same environment as the provided API and IMS URLs.
4746
ITP_SERVICE_CLIENT_ID=
4847
ITP_SERVICE_CLIENT_SECRET=

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# MIT License
22

3-
Copyright © 2024 Bentley Systems, Incorporated. All rights reserved.
3+
Copyright © 2025 Bentley Systems, Incorporated. All rights reserved.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
66

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# iTwin Platform CLI
1+
# iTwin CLI
22

3-
The **iTwin Platform CLI** is a command-line tool for interacting with the [iTwin Platform](https://developer.bentley.com). It enables automation of common workflows such as managing iTwins and iModels, synchronizing design data, handling storage, and controlling user access.
3+
The **iTwin CLI** is a command-line tool for interacting with the [iTwin Platform](https://developer.bentley.com). It enables automation of common workflows such as managing iTwins and iModels, synchronizing design data, handling storage, and controlling user access.
44

55
🚀 **Why use the iTwin CLI?**
66
- Automate creation of iTwins and iModels, updates and management.
@@ -45,5 +45,4 @@ Interested in improving the iTwin CLI? We welcome contributions! See our **[Cont
4545
- 🛠 **Report Issues or Feature Requests**: [GitHub Issues](https://github.com/itwin/itwin-cli/issues)
4646
- 📚 **iTwin Platform Documentation**: [developer.bentley.com](https://developer.bentley.com)
4747

48-
🚀 **Start automating with the iTwin CLI—because efficiency shouldn’t be optional.**
49-
48+
🚀 **Start automating with the iTwin CLI — because efficiency shouldn’t be optional.**

package-lock.json

Lines changed: 2374 additions & 1898 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
{
22
"name": "itp",
33
"description": "Work seamlessly with the iTwin Platform",
4-
"version": "1.0.0",
4+
"version": "1.0.1",
55
"author": "Bentley systems, Incorporated",
66
"bin": {
77
"itp": "./bin/run.js"
88
},
99
"bugs": "https://github.com/iTwin/itwin-cli/issues",
1010
"dependencies": {
11+
"@itwin/core-bentley": "^5.1.2",
12+
"@itwin/core-common": "^5.1.2",
1113
"@itwin/imodels-client-management": "^6.0.1",
1214
"@itwin/itwins-client": "^1.6.1",
13-
"@itwin/node-cli-authorization": "^2.0.3",
14-
"@itwin/object-storage-core": "^2.2.5",
15-
"@itwin/service-authorization": "^1.2.2",
16-
"@oclif/core": "^4.2.10",
15+
"@itwin/node-cli-authorization": "^3.0.1",
16+
"@itwin/object-storage-core": "^3.0.2",
17+
"@itwin/service-authorization": "^2.0.0",
18+
"@oclif/core": "^4.5.2",
1719
"@oclif/plugin-help": "^6",
1820
"@oclif/plugin-plugins": "^5",
1921
"@opentelemetry/api": "^1.9.0",
@@ -28,7 +30,7 @@
2830
"devDependencies": {
2931
"@eslint/js": "^9.28.0",
3032
"@itwin/eslint-plugin": "^5.2.1",
31-
"@itwin/oidc-signin-tool": "^4.4.1",
33+
"@itwin/oidc-signin-tool": "^5.0.1",
3234
"@oclif/test": "^4",
3335
"@types/chai": "^4",
3436
"@types/mocha": "^10",
@@ -45,7 +47,7 @@
4547
"prettier": "3.5.3",
4648
"shx": "^0.3.3",
4749
"ts-node": "^10",
48-
"typescript": "^5",
50+
"typescript": "~5.6.2",
4951
"typescript-eslint": "^8.33.1"
5052
},
5153
"engines": {

pipelines/signing-win.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
inputs:
3333
command: 'custom'
3434
custom: 'tool'
35-
arguments: 'install --global SignToolClient --add-source https://pkgs.dev.azure.com/bentleycs/_packaging/Packages/nuget/v3/index.json'
35+
arguments: 'install --global SignToolClient --add-source $(PackageSourceUrl)'
3636
- ${{ each cpuVersion in parameters.cpuVersions }}:
3737
- task: PowerShell@2
3838
displayName: 'Sign exe file for cpu (${{ cpuVersion }})'
@@ -42,7 +42,7 @@ jobs:
4242
$v = "${{ parameters['package_version'] }}"
4343
$newFileName = "itp-v$v-${{ parameters.installer_prefix }}-${{ cpuVersion }}-win.exe"
4444
Write-Host "Signing file: $newFileName"
45-
signtoolclient sign --service-url https://signingservice.bentley.com --BsiToken $(SigningServiceToken) "$(Pipeline.Workspace)/win-installer/$newFileName"
45+
signtoolclient sign --service-url $(SigningServiceUrl) --BsiToken $(SigningServiceToken) "$(Pipeline.Workspace)/win-installer/$newFileName"
4646
- task: PublishPipelineArtifact@1
4747
inputs:
4848
targetPath: '$(Pipeline.Workspace)/win-installer'

src/extensions/base-command.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ export default abstract class BaseCommand extends Command {
222222
this.log(table.render());
223223
} else {
224224
const table = new Table();
225-
table.addRows([data]);
225+
table.addRows([data as any]);
226226

227227
for (const column of table.table.columns) column.alignment = "left";
228228
this.log(table.render());

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"composite": true,
1111
"sourceMap": true,
1212
"allowJs": true,
13+
"skipLibCheck": true,
1314
},
1415
"include": ["./src/**/*"],
1516
"exclude": ["dist", "./tmp/**","./bin/**", "./eslint.config.mjs"],

0 commit comments

Comments
 (0)