Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[mgmt] migrate mgmt package to esm 1 #32356

Merged
merged 74 commits into from
Dec 31, 2024
Merged
Changes from 1 commit
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
a54e0fa
Migration: Update package.json, tsconfig.json, and api-extractor.json
kazrael2119 Dec 25, 2024
807ec68
Migration: Update test config
kazrael2119 Dec 25, 2024
0036308
Migration: Clean up files
kazrael2119 Dec 25, 2024
f0a0a4d
Migration: Apply codemod: "fixSourceFile"
kazrael2119 Dec 25, 2024
500d55f
Migration: Apply codemod: "fixTestingImports"
kazrael2119 Dec 25, 2024
1391e22
Migration: Apply codemod: "replaceAssertIsRejected"
kazrael2119 Dec 25, 2024
95ccb97
Migration: Apply codemod: "replaceSinonStub"
kazrael2119 Dec 25, 2024
e0de060
Migration: Apply codemod: "addViHelper"
kazrael2119 Dec 25, 2024
59b0f16
Migration: Apply codemod: "replaceSupportTracing"
kazrael2119 Dec 25, 2024
ab2bfa4
Migration: Apply codemod: "replaceTestUtils"
kazrael2119 Dec 25, 2024
44eaa7f
Migration: rushx format
kazrael2119 Dec 25, 2024
e9b1c56
update
kazrael2119 Dec 25, 2024
de14355
Migration: Update package.json, tsconfig.json, and api-extractor.json
kazrael2119 Dec 25, 2024
a129604
Migration: Update test config
kazrael2119 Dec 25, 2024
de965e9
Migration: Clean up files
kazrael2119 Dec 25, 2024
94805bb
Migration: Apply codemod: "fixSourceFile"
kazrael2119 Dec 25, 2024
5eefcc0
Migration: Apply codemod: "fixTestingImports"
kazrael2119 Dec 25, 2024
62cd1ab
Migration: Apply codemod: "replaceAssertIsRejected"
kazrael2119 Dec 25, 2024
7e0b5fa
Migration: Apply codemod: "replaceSinonStub"
kazrael2119 Dec 25, 2024
ee20909
Migration: Apply codemod: "addViHelper"
kazrael2119 Dec 25, 2024
a237f4a
Migration: Apply codemod: "replaceSupportTracing"
kazrael2119 Dec 25, 2024
a7f6004
Migration: Apply codemod: "replaceTestUtils"
kazrael2119 Dec 25, 2024
0bfca43
Migration: rushx format
kazrael2119 Dec 25, 2024
51f27c1
update
kazrael2119 Dec 25, 2024
b111fd5
Migration: Update package.json, tsconfig.json, and api-extractor.json
kazrael2119 Dec 25, 2024
aaf2da2
Migration: Update test config
kazrael2119 Dec 25, 2024
84f574a
Migration: Clean up files
kazrael2119 Dec 25, 2024
f3b1721
Migration: Apply codemod: "fixSourceFile"
kazrael2119 Dec 25, 2024
c8fe378
Migration: Apply codemod: "fixTestingImports"
kazrael2119 Dec 25, 2024
e359975
Migration: Apply codemod: "replaceAssertIsRejected"
kazrael2119 Dec 25, 2024
fceef52
Migration: Apply codemod: "replaceSinonStub"
kazrael2119 Dec 25, 2024
258647f
Migration: Apply codemod: "addViHelper"
kazrael2119 Dec 25, 2024
d00987c
Migration: Apply codemod: "replaceSupportTracing"
kazrael2119 Dec 25, 2024
2585fb1
Migration: Apply codemod: "replaceTestUtils"
kazrael2119 Dec 25, 2024
06ff0dd
Migration: rushx format
kazrael2119 Dec 25, 2024
04e1387
update
kazrael2119 Dec 25, 2024
070ccd6
Migration: Update package.json, tsconfig.json, and api-extractor.json
kazrael2119 Dec 25, 2024
47351f8
Migration: Update test config
kazrael2119 Dec 25, 2024
501df32
Migration: Clean up files
kazrael2119 Dec 25, 2024
dcb9cf0
Migration: Apply codemod: "fixSourceFile"
kazrael2119 Dec 25, 2024
82461be
Migration: Apply codemod: "fixTestingImports"
kazrael2119 Dec 25, 2024
e86cf35
Migration: Apply codemod: "replaceAssertIsRejected"
kazrael2119 Dec 25, 2024
761f935
Migration: Apply codemod: "replaceSinonStub"
kazrael2119 Dec 25, 2024
0c5b241
Migration: Apply codemod: "addViHelper"
kazrael2119 Dec 25, 2024
5a53ecb
Migration: Apply codemod: "replaceSupportTracing"
kazrael2119 Dec 25, 2024
d7a4b0d
Migration: Apply codemod: "replaceTestUtils"
kazrael2119 Dec 25, 2024
b3129d0
Migration: rushx format
kazrael2119 Dec 25, 2024
7adf4d6
update
kazrael2119 Dec 25, 2024
e435eb2
Migration: Update package.json, tsconfig.json, and api-extractor.json
kazrael2119 Dec 25, 2024
7e54ec0
Migration: Update test config
kazrael2119 Dec 25, 2024
da1bcee
Migration: Clean up files
kazrael2119 Dec 25, 2024
d035262
Migration: Apply codemod: "fixSourceFile"
kazrael2119 Dec 25, 2024
37f1258
Migration: Apply codemod: "fixTestingImports"
kazrael2119 Dec 25, 2024
055bf90
Migration: Apply codemod: "replaceAssertIsRejected"
kazrael2119 Dec 25, 2024
f5c80f4
Migration: Apply codemod: "replaceSinonStub"
kazrael2119 Dec 25, 2024
a60fb77
Migration: Apply codemod: "addViHelper"
kazrael2119 Dec 25, 2024
4bd52f2
Migration: Apply codemod: "replaceSupportTracing"
kazrael2119 Dec 25, 2024
226e152
Migration: Apply codemod: "replaceTestUtils"
kazrael2119 Dec 25, 2024
bda6e17
Migration: rushx format
kazrael2119 Dec 25, 2024
36b2a9e
update
kazrael2119 Dec 25, 2024
b70aefb
Migration: Update package.json, tsconfig.json, and api-extractor.json
kazrael2119 Dec 25, 2024
7aab6ac
Migration: Update test config
kazrael2119 Dec 25, 2024
e70fb47
Migration: Clean up files
kazrael2119 Dec 25, 2024
9267c2c
Migration: Apply codemod: "fixSourceFile"
kazrael2119 Dec 25, 2024
1a2fe71
Migration: Apply codemod: "fixTestingImports"
kazrael2119 Dec 25, 2024
6340e54
Migration: Apply codemod: "replaceAssertIsRejected"
kazrael2119 Dec 25, 2024
b1fa5c0
Migration: Apply codemod: "replaceSinonStub"
kazrael2119 Dec 25, 2024
0a8979d
Migration: Apply codemod: "addViHelper"
kazrael2119 Dec 25, 2024
1e86f1c
Migration: Apply codemod: "replaceSupportTracing"
kazrael2119 Dec 25, 2024
d7b76bf
Migration: Apply codemod: "replaceTestUtils"
kazrael2119 Dec 25, 2024
017ef2d
Migration: rushx format
kazrael2119 Dec 25, 2024
a1bc34d
update
kazrael2119 Dec 25, 2024
3d115ca
update
kazrael2119 Dec 26, 2024
b9edc1b
update
kazrael2119 Dec 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Migration: Apply codemod: "fixSourceFile"
kazrael2119 committed Dec 25, 2024
commit 94805bb0c4fd76f86e5a865cc337b0652a87a363
Original file line number Diff line number Diff line change
@@ -13,9 +13,7 @@ import {
WebSiteManagementClient
} from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Creates or updates an App Service Plan.
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Delete an App Service plan.
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Get an App Service plan.
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Get all App Service plans in a resource group.
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Get all App Service plans for a subscription.
Original file line number Diff line number Diff line change
@@ -13,9 +13,7 @@ import {
WebSiteManagementClient
} from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Creates or updates an App Service Plan.
Original file line number Diff line number Diff line change
@@ -13,9 +13,7 @@ import {
WebSiteManagementClient
} from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Create or update a certificate.
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Delete a certificate.
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Get a certificate.
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Get all certificates in a resource group.
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Get all certificates for a subscription.
Original file line number Diff line number Diff line change
@@ -13,9 +13,7 @@ import {
WebSiteManagementClient
} from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Create or update a certificate.
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Gets all available operations for the Microsoft.Web resource provider. Also exposes resource metric definitions
Original file line number Diff line number Diff line change
@@ -13,9 +13,7 @@ import {
WebSiteManagementClient
} from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Verifies if this VNET is compatible with an App Service Environment by analyzing the Network Security Group rules.
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Gets a named operation for a network trace capturing (or deployment slot, if specified).
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Gets a named operation for a network trace capturing (or deployment slot, if specified).
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Gets a named operation for a network trace capturing (or deployment slot, if specified).
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Gets a named operation for a network trace capturing (or deployment slot, if specified).
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Gets a named operation for a network trace capturing (or deployment slot, if specified).
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Gets a named operation for a network trace capturing (or deployment slot, if specified).
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Gets a named operation for a network trace capturing (or deployment slot, if specified).
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Gets a named operation for a network trace capturing (or deployment slot, if specified).
Original file line number Diff line number Diff line change
@@ -13,9 +13,7 @@ import {
WebSiteManagementClient
} from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Start capturing network packets for the site.
Original file line number Diff line number Diff line change
@@ -13,9 +13,7 @@ import {
WebSiteManagementClient
} from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Start capturing network packets for the site.
Original file line number Diff line number Diff line change
@@ -13,9 +13,7 @@ import {
WebSiteManagementClient
} from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Start capturing network packets for the site.
Original file line number Diff line number Diff line change
@@ -13,9 +13,7 @@ import {
WebSiteManagementClient
} from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Start capturing network packets for the site.
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Stop ongoing capturing network packets for the site.
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Stop ongoing capturing network packets for the site.
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Stop ongoing capturing network packets for the site.
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Stop ongoing capturing network packets for the site.
Original file line number Diff line number Diff line change
@@ -13,9 +13,7 @@ import {
WebSiteManagementClient
} from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Creates or updates an App Service Plan.
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Delete an App Service plan.
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Get an App Service plan.
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Get all App Service plans in a resource group.
Original file line number Diff line number Diff line change
@@ -10,9 +10,7 @@
// Licensed under the MIT License.
import { WebSiteManagementClient } from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Get all App Service plans for a subscription.
Original file line number Diff line number Diff line change
@@ -13,9 +13,7 @@ import {
WebSiteManagementClient
} from "@azure/arm-appservice-profile-2020-09-01-hybrid";
import { DefaultAzureCredential } from "@azure/identity";
import * as dotenv from "dotenv";

dotenv.config();
import "dotenv/config";

/**
* This sample demonstrates how to Creates or updates an App Service Plan.
Loading