Skip to content

Commit

Permalink
fix: updating typescript version (#304)
Browse files Browse the repository at this point in the history
* fix: updating typescript version

* fix: update to support latest typescript
  • Loading branch information
whilke authored Jul 23, 2024
1 parent b123f9e commit e52f620
Show file tree
Hide file tree
Showing 18 changed files with 17,445 additions and 12,253 deletions.
2 changes: 1 addition & 1 deletion ingredient/ingredient-functions/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ingredient/ingredient-network-interface/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ingredient/ingredient-postgresql/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ingredient/ingredient-postgresql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"@azure/arm-network": "^26.0.0",
"@azure/arm-privatedns": "^3.0.0",
"@azure/identity": "^2.0.4",
"typescript": "^4.1.6"
"typescript": "^5.5.4"
},
"publishConfig": {
"access": "public",
Expand Down
3 changes: 1 addition & 2 deletions ingredient/ingredient-postgresql/src/functions.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import {BaseUtility, IngredientManager} from '@azbake/core'
import { NetworkManagementClient } from '@azure/arm-network';
import { Subnet, VirtualNetwork } from '@azure/arm-network/esm/models';
import { NetworkManagementClient, Subnet, VirtualNetwork } from '@azure/arm-network';
import { PrivateDnsManagementClient, PrivateZone } from '@azure/arm-privatedns';
import { DefaultAzureCredential, ClientSecretCredential,ChainedTokenCredential } from "@azure/identity";
import { RestError } from '@azure/ms-rest-js';
Expand Down
2 changes: 1 addition & 1 deletion ingredient/ingredient-postgresql/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { PostgreSQLDBUtils } from "./functions"
import { VnetData } from "./vnetData"
import PublicAccessARMTemplate from "./PublicAccessArm.json"
import PrivateAccessARMTemplate from "./PrivateAccessArm.json"
import { Subnet,VirtualNetwork } from "@azure/arm-network/esm/models"
import { Subnet,VirtualNetwork } from "@azure/arm-network"

export class PostgreSQLDB extends BaseIngredient {

Expand Down
2 changes: 1 addition & 1 deletion ingredient/ingredient-postgresql/src/vnetData.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Subnet } from '@azure/arm-network/esm/models'
import { Subnet } from '@azure/arm-network'

export class VnetData {
value!: Value;
Expand Down
15 changes: 8 additions & 7 deletions ingredient/ingredient-property-service/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ingredient/ingredient-property-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"fluentvalidation-ts": "^2.1.5",
"node-rsa": "^1.0.8",
"rsa-xml": "^0.1.5",
"typescript": "^4.1.6"
"typescript": "^5.5.4"
},
"publishConfig": {
"access": "public"
Expand Down
15 changes: 8 additions & 7 deletions ingredient/ingredient-script/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ingredient/ingredient-script/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@types/node": "^10.12.18"
},
"dependencies": {
"typescript": "^4.1.6"
"typescript": "^5.5.4"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions ingredient/ingredient-service-bus-namespace/src/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ export class ServiceBusNamespace extends BaseIngredient {
} else {
this._logger.log('Pairing is already broken.');
}
} catch(error)
} catch(error: any)
{
if (error.statusCode == 404) {
if (error?.statusCode == 404) {
this._logger.log('Alias not found. Skipping the breaking of pairing.');
} else {
throw error;
Expand Down
2 changes: 1 addition & 1 deletion ingredient/ingredient-sql-dwh/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit e52f620

Please sign in to comment.