Skip to content

Commit 9ee918e

Browse files
authored
Azure Quantum SDK for Azure SDK for JS (Azure#13345)
This is the initial version of Quantum Data Plane SDK. @ramya-rao-a Please review and approve @vxfield FYI....
1 parent 10f5c9f commit 9ee918e

File tree

21 files changed

+2504
-311
lines changed

21 files changed

+2504
-311
lines changed

common/config/rush/pnpm-lock.yaml

Lines changed: 286 additions & 311 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rush.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,11 @@
362362
"projectFolder": "sdk/attestation/attestation",
363363
"versionPolicyName": "client"
364364
},
365+
{
366+
"packageName": "@azure/quantum",
367+
"projectFolder": "sdk/quantum/quantum",
368+
"versionPolicyName": "client"
369+
},
365370
{
366371
"packageName": "@azure/communication-administration",
367372
"projectFolder": "sdk/communication/communication-administration",

sdk/quantum/quantum/LICENSE.txt

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2021 Microsoft
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

sdk/quantum/quantum/README.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
## Azure QuantumClient client library for JavaScript
2+
3+
This package contains an isomorphic SDK for QuantumClient.
4+
5+
## Getting started
6+
7+
### Install the package
8+
9+
```bash
10+
npm install @azure/quantum
11+
```
12+
13+
### Prerequisites
14+
15+
- Node.js version 8.x.x or higher
16+
17+
## Key concepts
18+
19+
**TO BE FILLED**
20+
21+
## Examples
22+
23+
**TO BE FILLED**
24+
25+
## Next steps
26+
27+
**TO BE FILLED**
28+
29+
## Contributing
30+
31+
**TO BE FILLED**
32+
33+
## Related projects
34+
35+
**TO BE FILLED**
36+
37+
## Troubleshooting
38+
39+
**TO BE FILLED**
40+
41+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fappconfiguration%2Fapp-configuration%2FREADME.png)
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3+
"mainEntryPointFilePath": "./types/index.d.ts",
4+
"docModel": { "enabled": true },
5+
"apiReport": { "enabled": true, "reportFolder": "./review" },
6+
"dtsRollup": {
7+
"enabled": true,
8+
"untrimmedFilePath": "",
9+
"publicTrimmedFilePath": "./esm/index.d.ts"
10+
},
11+
"messages": {
12+
"tsdocMessageReporting": { "default": { "logLevel": "none" } },
13+
"extractorMessageReporting": {
14+
"ae-missing-release-tag": { "logLevel": "none" },
15+
"ae-unresolved-link": { "logLevel": "none" }
16+
}
17+
}
18+
}

sdk/quantum/quantum/package.json

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
{
2+
"name": "@azure/quantum",
3+
"author": "Microsoft Corporation",
4+
"description": "Azure Quantum REST API client",
5+
"version": "1.0.0-beta.1",
6+
"dependencies": {
7+
"@azure/core-paging": "^1.1.1",
8+
"@azure/core-http": "^1.2.0",
9+
"tslib": "^2.0.0"
10+
},
11+
"keywords": [
12+
"node",
13+
"azure",
14+
"typescript",
15+
"browser",
16+
"isomorphic"
17+
],
18+
"license": "MIT",
19+
"main": "./dist/quantum.js",
20+
"module": "./esm/index.js",
21+
"types": "./esm/index.d.ts",
22+
"devDependencies": {
23+
"typescript": "4.1.2",
24+
"rollup": "^1.16.3",
25+
"rollup-plugin-node-resolve": "^3.4.0",
26+
"rollup-plugin-sourcemaps": "^0.4.2",
27+
"uglify-js": "^3.4.9",
28+
"@microsoft/api-extractor": "7.7.11",
29+
"mkdirp": "^1.0.4"
30+
},
31+
"homepage": "https://github.com/Azure/azure-sdk-for-js",
32+
"repository": {
33+
"type": "git",
34+
"url": "https://github.com/Azure/azure-sdk-for-js.git"
35+
},
36+
"bugs": {
37+
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
38+
},
39+
"files": [
40+
"dist/**/*.js",
41+
"dist/**/*.js.map",
42+
"dist/**/*.d.ts",
43+
"dist/**/*.d.ts.map",
44+
"esm/**/*.js",
45+
"esm/**/*.js.map",
46+
"esm/**/*.d.ts",
47+
"esm/**/*.d.ts.map",
48+
"./src//**/*.ts",
49+
"README.md",
50+
"rollup.config.js",
51+
"tsconfig.json"
52+
],
53+
"scripts": {
54+
"build": "tsc && rollup -c rollup.config.js && mkdirp ./review && npm run extract-api",
55+
"clean": "rimraf dist dist-esm dist-browser test-dist test-browser types *.tgz *.log",
56+
"extract-api": "api-extractor run --local",
57+
"build:samples": "echo skip",
58+
"build:node": "echo skip",
59+
"build:browser": "echo skip",
60+
"build:test": "echo skip",
61+
"build:test:node": "echo skip",
62+
"build:test:browser": "echo skip",
63+
"check-format": "echo skip",
64+
"coverage": "echo skip",
65+
"execute:samples": "echo skip",
66+
"format": "echo skip",
67+
"lint:fix": "echo skip",
68+
"lint": "echo skip",
69+
"prebuild": "echo skip",
70+
"pack": "echo skip",
71+
"swagger": "echo skip",
72+
"integration-test": "echo skip",
73+
"integration-test:browser": "echo skip",
74+
"integration-test:node": "echo skip",
75+
"test": "echo skip",
76+
"test:browser": "echo skip",
77+
"test:node": "echo skip",
78+
"unit-test": "echo skip",
79+
"unit-test:browser": "echo skip",
80+
"unit-test:node": "echo skip",
81+
"docs": "echo skip"
82+
},
83+
"sideEffects": false
84+
}

0 commit comments

Comments
 (0)