Skip to content

Commit

Permalink
[purview] Migrate @azure-rest/purview-sharing to ESM/vitest (#31899)
Browse files Browse the repository at this point in the history
### Packages impacted by this PR

- @azure-rest/purview-sharing

### Issues associated with this PR

- #31338

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

Migrates the @azure-rest/purview-sharing package to ESM/vitest 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)
  • Loading branch information
mpodwysocki authored Nov 22, 2024
1 parent fd364b6 commit 917b1a3
Show file tree
Hide file tree
Showing 24 changed files with 266 additions and 292 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/purview/purview-sharing-rest/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ AZURE_CLIENT_ID, AZURE_TENANT_ID, AZURE_CLIENT_SECRET

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
const { setLogLevel } = require("@azure/logger");

setLogLevel("info");
Expand Down
27 changes: 20 additions & 7 deletions sdk/purview/purview-sharing-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/purview-sharing.d.ts"
"publicTrimmedFilePath": "dist/purview-sharing.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"
}
}
}
}
133 changes: 0 additions & 133 deletions sdk/purview/purview-sharing-rest/karma.conf.js

This file was deleted.

Loading

0 comments on commit 917b1a3

Please sign in to comment.