-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[perf] Migrate @azure-tests/perf-container-registry to ESM (#32217)
### Packages impacted by this PR - @azure-tests/perf-container-registry ### Issues associated with this PR - #31338 ### Describe the problem that is addressed by this PR Migrates @azure-tests/perf-container-registry to ESM via automation. ### What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen? ### Are there test cases added in this PR? _(If not, why?)_ ### Provide a list of related PRs _(if any)_ ### Command used to generate this PR:**_(Applicable only to SDK release request PRs)_ ### Checklists - [ ] Added impacted package name to the issue description - [ ] Does this PR needs any fixes in the SDK Generator?** _(If so, create an Issue in the [Autorest/typescript](https://github.com/Azure/autorest.typescript) repository and link it here)_ - [ ] Added a changelog (if necessary) --------- Co-authored-by: Scott Beddall <scbedd@microsoft.com>
- Loading branch information
1 parent
e063608
commit 5239cb7
Showing
6 changed files
with
69 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...ainer-registry/test/listArtifacts.spec.ts → ...tainer-registry/src/listArtifacts.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
...er-registry/test/listRepositories.spec.ts → ...ner-registry/src/listRepositories.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 15 additions & 5 deletions
20
sdk/containerregistry/perf-tests/container-registry/tsconfig.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,20 @@ | ||
{ | ||
"extends": "../../../../tsconfig", | ||
"compilerOptions": { | ||
"module": "CommonJS", | ||
"lib": ["ES6", "ESNext.AsyncIterable"], | ||
"noEmit": true | ||
"module": "NodeNext", | ||
"moduleResolution": "NodeNext", | ||
"rootDir": ".", | ||
"paths": { | ||
"@azure-tests/perf-container-registry": ["./src/index"] | ||
} | ||
}, | ||
"compileOnSave": true, | ||
"include": ["./test/**/*.ts"] | ||
"include": [ | ||
"src/**/*.ts", | ||
"src/**/*.mts", | ||
"src/**/*.cts", | ||
"samples-dev/**/*.ts", | ||
"test/**/*.ts", | ||
"test/**/*.mts", | ||
"test/**/*.cts" | ||
] | ||
} |