Skip to content

Commit

Permalink
[quantum jobs] Migrate @azure/quantum-jobs to ESM/vitest (Azure#32070)
Browse files Browse the repository at this point in the history
### Packages impacted by this PR

- @azure/quantum-jobs

### Issues associated with this PR

- Azure#31338

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

Migrates @azure/quantum-jobs 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 Dec 5, 2024
1 parent b63e58b commit e1642d4
Show file tree
Hide file tree
Showing 28 changed files with 716 additions and 815 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.

27 changes: 20 additions & 7 deletions sdk/quantum/quantum-jobs/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/latest/quantum-jobs.d.ts"
"publicTrimmedFilePath": "dist/quantum-jobs.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"
}
}
}
}
13 changes: 13 additions & 0 deletions sdk/quantum/quantum-jobs/eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import azsdkEslint from "@azure/eslint-plugin-azure-sdk";

export default [
...azsdkEslint.configs.recommended,
{
files: ["src/**/*.ts"],
rules: {
"@azure/azure-sdk/github-source-headers": "off",
"@azure/azure-sdk/ts-use-interface-parameters": "off",
"tsdoc/syntax": "off",
},
},
];
2 changes: 0 additions & 2 deletions sdk/quantum/quantum-jobs/generate.ps1

This file was deleted.

131 changes: 0 additions & 131 deletions sdk/quantum/quantum-jobs/karma.conf.js

This file was deleted.

Loading

0 comments on commit e1642d4

Please sign in to comment.