-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #836 from sarangan12/EnableConfigurationFileForTest
Enable Configuration files to be tested in V6 Code Generator Integration Test Suite
- Loading branch information
Showing
14 changed files
with
2,056 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
## Azure KeyVaultClient SDK for JavaScript | ||
|
||
This package contains an isomorphic SDK for KeyVaultClient. | ||
|
||
### Currently supported environments | ||
|
||
- Node.js version 8.x.x or higher | ||
- Browser JavaScript | ||
|
||
### How to Install | ||
|
||
```bash | ||
npm install @azure/keyvault-secrets | ||
``` | ||
|
||
### How to use | ||
|
||
#### Sample code | ||
|
||
Refer the sample code in the [azure-sdk-for-js-samples](https://github.com/Azure/azure-sdk-for-js-samples) repository. | ||
|
||
## Related projects | ||
|
||
- [Microsoft Azure SDK for Javascript](https://github.com/Azure/azure-sdk-for-js) | ||
|
||
|
||
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-js%2Fsdk%2Fcdn%2Farm-cdn%2FREADME.png) |
18 changes: 18 additions & 0 deletions
18
test/integration/generated/readmeFileChecker/api-extractor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json", | ||
"mainEntryPointFilePath": "./esm/index.d.ts", | ||
"docModel": { "enabled": true }, | ||
"apiReport": { "enabled": true, "reportFolder": "./review" }, | ||
"dtsRollup": { | ||
"enabled": true, | ||
"untrimmedFilePath": "", | ||
"publicTrimmedFilePath": "./esm/index.d.ts" | ||
}, | ||
"messages": { | ||
"tsdocMessageReporting": { "default": { "logLevel": "none" } }, | ||
"extractorMessageReporting": { | ||
"ae-missing-release-tag": { "logLevel": "none" }, | ||
"ae-unresolved-link": { "logLevel": "none" } | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"name": "@azure/keyvault-secrets", | ||
"author": "Microsoft Corporation", | ||
"description": "The key vault client performs cryptographic key operations and vault operations against the Key Vault service.", | ||
"version": "1.0.0-preview1", | ||
"dependencies": { "@azure/core-http": "^1.1.4", "tslib": "^1.9.3" }, | ||
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"], | ||
"license": "MIT", | ||
"main": "./dist/keyvault-secrets.js", | ||
"module": "./esm/index.js", | ||
"types": "./esm/index.d.ts", | ||
"devDependencies": { | ||
"typescript": "^3.1.1", | ||
"rollup": "^0.66.2", | ||
"rollup-plugin-node-resolve": "^3.4.0", | ||
"rollup-plugin-sourcemaps": "^0.4.2", | ||
"uglify-js": "^3.4.9", | ||
"@microsoft/api-extractor": "7.9.10" | ||
}, | ||
"homepage": "https://github.com/Azure/azure-sdk-for-js", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/Azure/azure-sdk-for-js.git" | ||
}, | ||
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" }, | ||
"files": [ | ||
"dist/**/*.js", | ||
"dist/**/*.js.map", | ||
"dist/**/*.d.ts", | ||
"dist/**/*.d.ts.map", | ||
"esm/**/*.js", | ||
"esm/**/*.js.map", | ||
"esm/**/*.d.ts", | ||
"esm/**/*.d.ts.map", | ||
"src/**/*.ts", | ||
"README.md", | ||
"rollup.config.js", | ||
"tsconfig.json" | ||
], | ||
"scripts": { | ||
"build": "tsc && rollup -c rollup.config.js && npm run minify && npm run extract-api", | ||
"minify": "uglifyjs -c -m --comments --source-map \"content='./dist/keyvault-secrets.js.map'\" -o ./dist/keyvault-secrets.min.js ./dist/keyvault-secrets.js", | ||
"prepack": "npm install && npm run build", | ||
"extract-api": "api-extractor run --local" | ||
}, | ||
"sideEffects": false, | ||
"autoPublish": true | ||
} |
28 changes: 28 additions & 0 deletions
28
test/integration/generated/readmeFileChecker/rollup.config.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import rollup from "rollup"; | ||
import nodeResolve from "rollup-plugin-node-resolve"; | ||
import sourcemaps from "rollup-plugin-sourcemaps"; | ||
|
||
/** @type {rollup.RollupFileOptions} */ | ||
const config = { | ||
input: "./esm/keyVaultClient.js", | ||
external: ["@azure/core-http"], | ||
output: { | ||
file: "./dist/keyvault-secrets.js", | ||
format: "umd", | ||
name: "Azure.KeyvaultSecrets", | ||
sourcemap: true, | ||
globals: { | ||
"@azure/core-http": "coreHttp" | ||
}, | ||
banner: `/* | ||
* Copyright (c) Microsoft Corporation. All rights reserved. | ||
* Licensed under the MIT License. See License.txt in the project root for license information. | ||
* | ||
* Code generated by Microsoft (R) AutoRest Code Generator. | ||
* Changes may cause incorrect behavior and will be lost if the code is regenerated. | ||
*/ ` | ||
}, | ||
plugins: [nodeResolve({ module: true }), sourcemaps()] | ||
}; | ||
|
||
export default config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export * from "./models"; | ||
export { KeyVaultClient } from "./keyVaultClient"; | ||
export { KeyVaultClientContext } from "./keyVaultClientContext"; |
Oops, something went wrong.