Rename NPM package to @azure/ms-rest-azure-js (#77)

This commit is contained in:
Kamil Pajdzik 2018-11-09 20:02:28 -08:00 коммит произвёл GitHub
Родитель ab09348000
Коммит 71b0b77ab7
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
14 изменённых файлов: 27 добавлений и 21 удалений

Просмотреть файл

@ -1,22 +1,28 @@
### 1.0.0 - 2018/10/04
# Changelog
## 1.1.0 - 2018/11/09
- Renamed NPM package to @azure/ms-rest-azure-js and updated renamed dependencies
## 1.0.0 - 2018/10/04
- Moved to rollup for bundling
- Moved browser bundle from ./msRestAzureBundle.js to ./dist/msRestAzure.js (same bundle for nodejs and browser)
### 0.2.8 - 2017/04/02
## 0.2.8 - 2017/04/02
- Updated ms-rest-js to 0.2.8
- Added CognitiveServicesCredentials
### 0.2.1 - 2017/10/25
## 0.2.1 - 2017/10/25
- Updating the minimum version of dependency "ms-rest-js": "^0.2.3". This brings in the change (removal of "bodyAsStream" property) done to HttpOperationResponse class
### 0.2.0 - 2017/10/11
## 0.2.0 - 2017/10/11
- Updating the minimum version of dependency "ms-rest-js": "^0.2.1". This also gets a strict dependency to "moment" version 2.18.1 as 2.19.0 has bugs.
### 0.1.0 - 2017/09/16
## 0.1.0 - 2017/09/16
- Initial version of the isomorphic azure runtime along with type definitions that works in the browser as well as the node.js environment
- Supports polling for long running operations

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
import { HttpOperationResponse, OperationArguments, OperationSpec, RequestOptionsBase, RequestPrepareOptions, ServiceClient, ServiceClientCredentials, ServiceClientOptions, WebResource, getDefaultUserAgentValue as getDefaultUserAgentValueFromMsRest } from "ms-rest-js";
import { HttpOperationResponse, OperationArguments, OperationSpec, RequestOptionsBase, RequestPrepareOptions, ServiceClient, ServiceClientCredentials, ServiceClientOptions, WebResource, getDefaultUserAgentValue as getDefaultUserAgentValueFromMsRest } from "@azure/ms-rest-js";
import { createLROPollerFromInitialResponse, createLROPollerFromPollState, LROPoller } from "./lroPoller";
import { LROPollState } from "./lroPollStrategy";
import * as Constants from "./util/constants";

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
import { CompositeMapper } from "ms-rest-js";
import { CompositeMapper } from "@azure/ms-rest-js";
/**
* @class

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
import { CompositeMapper } from "ms-rest-js";
import { CompositeMapper } from "@azure/ms-rest-js";
/**
* @class

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
import { ApiKeyCredentials } from "ms-rest-js";
import { ApiKeyCredentials } from "@azure/ms-rest-js";
/**
* Creates a new CognitiveServicesCredentials object.

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
import { delay, HttpMethods, HttpOperationResponse, RequestOptionsBase, RestError, stripRequest, WebResource, OperationResponse, OperationSpec } from "ms-rest-js";
import { delay, HttpMethods, HttpOperationResponse, RequestOptionsBase, RestError, stripRequest, WebResource, OperationResponse, OperationSpec } from "@azure/ms-rest-js";
import { AzureServiceClient } from "./azureServiceClient";
import { LongRunningOperationStates } from "./util/constants";

Просмотреть файл

@ -1,7 +1,7 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
import { HttpOperationResponse, RequestOptionsBase, RestResponse, flattenResponse } from "ms-rest-js";
import { HttpOperationResponse, RequestOptionsBase, RestResponse, flattenResponse } from "@azure/ms-rest-js";
import { AzureServiceClient } from "./azureServiceClient";
import { createLROPollStrategyFromInitialResponse, createLROPollStrategyFromPollState, LROPollState, LROPollStrategy } from "./lroPollStrategy";
import { LongRunningOperationStates } from "./util/constants";

Просмотреть файл

@ -1,11 +1,11 @@
{
"name": "ms-rest-azure-js",
"name": "@azure/ms-rest-azure-js",
"author": {
"name": "Microsoft Corporation",
"email": "azsdkteam@microsoft.com",
"url": "https://github.com/Azure/ms-rest-azure-js"
},
"version": "1.0.0",
"version": "1.1.0",
"description": "Isomorphic Azure client runtime for Typescript/node.js/browser javascript client libraries generated using AutoRest",
"tags": [
"isomorphic",
@ -41,7 +41,7 @@
],
"license": "MIT",
"dependencies": {
"ms-rest-js": "^1.0.457",
"@azure/ms-rest-js": "^1.0.457",
"tslib": "^1.9.2"
},
"devDependencies": {

Просмотреть файл

@ -11,14 +11,14 @@ const banner = `/** @license ms-rest-azure-js
*/
const config = {
input: './es/lib/msRestAzure.js',
external: ["ms-rest-js"],
external: ["@azure/ms-rest-js"],
output: {
file: "./dist/msRestAzure.js",
format: "umd",
name: "msRestAzure",
sourcemap: true,
globals: {
"ms-rest-js": "msRest"
"@azure/ms-rest-js": "msRest"
},
banner
},

Просмотреть файл

@ -1,6 +1,6 @@
"use strict";
import * as msRest from "ms-rest-js";
import * as msRest from "@azure/ms-rest-js";
import * as msRestAzure from "../lib/msRestAzure";
const clientOptions: msRestAzure.AzureServiceClientOptions = {
filters: [new msRest.LogFilter()]

Просмотреть файл

@ -2,7 +2,7 @@
// Licensed under the MIT License. See License.txt in the project root for license information.
import assert from "assert";
import { HttpHeaders, HttpOperationResponse, RequestOptionsBase, RestError, TokenCredentials, WebResource, OperationArguments, OperationSpec, Serializer } from "ms-rest-js";
import { HttpHeaders, HttpOperationResponse, RequestOptionsBase, RestError, TokenCredentials, WebResource, OperationArguments, OperationSpec, Serializer } from "@azure/ms-rest-js";
import { AzureServiceClient, AzureServiceClientOptions, updateOptionsWithDefaultValues } from "../lib/azureServiceClient";
import * as msAssert from "./msAssert";
import { LROPoller } from "../lib/lroPoller";

Просмотреть файл

@ -1,4 +1,4 @@
import { Serializer } from "ms-rest-js";
import { Serializer } from "@azure/ms-rest-js";
import { CloudErrorMapper, CloudError } from "../lib/cloudError";
import { expect } from "chai";

Просмотреть файл

@ -2,7 +2,7 @@
// Licensed under the MIT License. See License.txt in the project root for license information.
import assert from "assert";
import { WebResource } from "ms-rest-js";
import { WebResource } from "@azure/ms-rest-js";
import { CognitiveServicesCredentials } from "../../lib/credentials/cognitiveServicesCredentials";
import * as msAssert from "../msAssert";

Просмотреть файл

@ -2,7 +2,7 @@
// Licensed under the MIT License. See License.txt in the project root for license information.
import assert from "assert";
import { HttpHeaders, HttpOperationResponse, TokenCredentials, WebResource } from "ms-rest-js";
import { HttpHeaders, HttpOperationResponse, TokenCredentials, WebResource } from "@azure/ms-rest-js";
import { AzureServiceClient } from "../lib/azureServiceClient";
import { getDelayInSeconds, isFinished } from "../lib/lroPollStrategy";