diff --git a/sdk/batch/batch/package.json b/sdk/batch/batch/package.json index ea52289544e5..9b1018b2d27d 100644 --- a/sdk/batch/batch/package.json +++ b/sdk/batch/batch/package.json @@ -2,7 +2,7 @@ "name": "@azure/batch", "author": "Microsoft Corporation", "description": "BatchServiceClient Library with typescript type definitions for node.js and browser.", - "version": "10.0.1", + "version": "10.0.2", "dependencies": { "@azure/ms-rest-azure-js": "^2.1.0", "@azure/ms-rest-js": "^2.2.0", @@ -20,12 +20,8 @@ "license": "MIT", "main": "./dist/batch.js", "module": "./esm/batchServiceClient.js", - "types": "./types/src/batchServiceClient.d.ts", + "types": "./types/src/index.d.ts", "devDependencies": { - "@rollup/plugin-commonjs": "^20.0.0", - "@rollup/plugin-json": "^4.1.0", - "@rollup/plugin-multi-entry": "^4.1.0", - "@rollup/plugin-node-resolve": "^13.0.4", "@types/chai": "^4.2.21", "@types/chai-as-promised": "^7.1.4", "@types/mocha": "^9.0.0", @@ -57,7 +53,7 @@ "nyc": "^15.1.0", "puppeteer": "^10.1.0", "rimraf": "^3.0.2", - "rollup": "^1.32.1", + "rollup": "^1.16.3", "rollup-plugin-node-resolve": "^5.2.0", "rollup-plugin-sourcemaps": "^0.4.2", "source-map-support": "^0.5.19", diff --git a/sdk/batch/batch/rollup.config.js b/sdk/batch/batch/rollup.config.js index 751e4fba645f..b3fe275fbd4d 100644 --- a/sdk/batch/batch/rollup.config.js +++ b/sdk/batch/batch/rollup.config.js @@ -1,4 +1,4 @@ -import nodeResolve from "@rollup/plugin-node-resolve"; +import nodeResolve from "rollup-plugin-node-resolve"; import sourcemaps from "rollup-plugin-sourcemaps"; /** diff --git a/sdk/batch/batch/src/batchServiceClientContext.ts b/sdk/batch/batch/src/batchServiceClientContext.ts index f332d67eeffd..f7ea50c697a5 100644 --- a/sdk/batch/batch/src/batchServiceClientContext.ts +++ b/sdk/batch/batch/src/batchServiceClientContext.ts @@ -11,7 +11,7 @@ import * as msRest from "@azure/ms-rest-js"; import * as msRestAzure from "@azure/ms-rest-azure-js"; const packageName = "@azure/batch"; -const packageVersion = "10.0.1"; +const packageVersion = "10.0.2"; export class BatchServiceClientContext extends msRestAzure.AzureServiceClient { credentials: msRest.ServiceClientCredentials; diff --git a/sdk/batch/batch/src/index.ts b/sdk/batch/batch/src/index.ts new file mode 100644 index 000000000000..ae4c66bf330b --- /dev/null +++ b/sdk/batch/batch/src/index.ts @@ -0,0 +1,9 @@ +/* + * Copyright (c) Microsoft Corporation. + * Licensed under the MIT License. + */ + +export * from "./batchServiceClient" +export * from "./operations"; +export * from "./models"; +export * from "./batchSharedKeyCredentials" \ No newline at end of file