Skip to content

Commit

Permalink
[communication] Move @azure/communication-call-automation to ESM/vite…
Browse files Browse the repository at this point in the history
…st (Azure#31680)

### Packages impacted by this PR

- @azure/communication-call-automation

### Issues associated with this PR

- Azure#31338

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

Migrates package to ESM/vitest. Note that ServiceBus has issues with
Browser loads that we can fix in a later revision as Buffer is not
defined when you try to import any files. But then including Buffer then
also causes issues with the unit tests.

### 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 18, 2024
1 parent 5edf27a commit 0188ca1
Show file tree
Hide file tree
Showing 55 changed files with 949 additions and 1,001 deletions.
50 changes: 33 additions & 17 deletions common/config/rush/pnpm-lock.yaml

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

10 changes: 0 additions & 10 deletions sdk/communication/communication-call-automation/.nycrc

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
"mainEntryPointFilePath": "types/src/index.d.ts",
"mainEntryPointFilePath": "dist/esm/index.d.ts",
"docModel": {
"enabled": true
},
Expand All @@ -11,7 +11,7 @@
"dtsRollup": {
"enabled": true,
"untrimmedFilePath": "",
"publicTrimmedFilePath": "./types/communication-call-automation.d.ts"
"publicTrimmedFilePath": "dist/communication-call-automation.d.ts"
},
"messages": {
"tsdocMessageReporting": {
Expand Down
127 changes: 0 additions & 127 deletions sdk/communication/communication-call-automation/karma.conf.js

This file was deleted.

Loading

0 comments on commit 0188ca1

Please sign in to comment.