Skip to content

Commit

Permalink
[synapse] Migrate @azure-rest/synapse-access-control to ESM/vitest (#…
Browse files Browse the repository at this point in the history
…31881)

### Packages impacted by this PR

- @azure-rest/synapse-access-control

### Issues associated with this PR

- #31338

### Describe the problem that is addressed by this PR

Using the migration tool, migrates the
@azure-rest/synapse-access-control project to ESM/vitest.

### 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)
  • Loading branch information
mpodwysocki authored Nov 21, 2024
1 parent cd0a936 commit ee19767
Show file tree
Hide file tree
Showing 21 changed files with 302 additions and 389 deletions.
24 changes: 20 additions & 4 deletions common/config/rush/pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion sdk/synapse/synapse-access-control-rest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export async function main(): Promise<void> {

Enabling logging may help uncover useful information about failures. In order to see a log of HTTP requests and responses, set the `AZURE_LOG_LEVEL` environment variable to `info`. Alternatively, logging can be enabled at runtime by calling `setLogLevel` in the `@azure/logger`:

```javascript
```ts
import { setLogLevel } from "@azure/logger";

setLogLevel("info");
Expand Down
27 changes: 20 additions & 7 deletions sdk/synapse/synapse-access-control-rest/api-extractor.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,31 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "./types/src/index.d.ts",
"docModel": { "enabled": true },
"apiReport": { "enabled": true, "reportFolder": "./review" },
"mainEntryPointFilePath": "dist/esm/index.d.ts",
"docModel": {
"enabled": true
},
"apiReport": {
"enabled": true,
"reportFolder": "./review"
},
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/synapse-access-control-rest.d.ts"
"publicTrimmedFilePath": "dist/synapse-access-control-rest.d.ts"
},
"messages": {
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
"tsdocMessageReporting": {
"default": {
"logLevel": "none"
}
},
"extractorMessageReporting": {
"ae-missing-release-tag": { "logLevel": "none" },
"ae-unresolved-link": { "logLevel": "none" }
"ae-missing-release-tag": {
"logLevel": "none"
},
"ae-unresolved-link": {
"logLevel": "none"
}
}
}
}
126 changes: 0 additions & 126 deletions sdk/synapse/synapse-access-control-rest/karma.conf.js

This file was deleted.

Loading

0 comments on commit ee19767

Please sign in to comment.