move storage repo, commit package-lock.json and browser files (#2009)

This commit is contained in:
KarishmaGhiya 2019-04-04 13:38:59 -07:00 коммит произвёл GitHub
Родитель e2a2fc937e
Коммит 784cb26c3c
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
304 изменённых файлов: 297 добавлений и 297 удалений

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

@ -51,11 +51,11 @@ known_content_issues:
- ['sdk/servicebus/service-bus/samples/README.md', '#1583']
- ['sdk/servicebus/service-bus/test/README.md', '#1583']
- ['packages/@azure/servicefabric/README.md', '#1583']
- ['packages/@azure/storage/README.md', '#1583']
- ['packages/@azure/storage/blob/README.md', '#1583']
- ['packages/@azure/storage/blob/swagger/README.md', '#1583']
- ['packages/@azure/storage/file/README.md', '#1583']
- ['packages/@azure/storage/file/swagger/README.md', '#1583']
- ['packages/@azure/storage/queue/README.md', '#1583']
- ['packages/@azure/storage/queue/swagger/README.md', '#1583']
- ['sdk/storage/README.md', '#1583']
- ['sdk/storage/storage-blob/README.md', '#1583']
- ['sdk/storage/storage-blob/swagger/README.md', '#1583']
- ['sdk/storage/storage-file/README.md', '#1583']
- ['sdk/storage/storage-file/swagger/README.md', '#1583']
- ['sdk/storage/storage-queue/README.md', '#1583']
- ['sdk/storage/storage-queue/swagger/README.md', '#1583']
- ['packages/@azure/storage-datalake/README.md', '#1583']

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

@ -37,27 +37,27 @@
"install-client-keyvault": "cd sdk/keyvault/keyvault && npm install",
"install-client-template": "cd sdk/template/template && npm install",
"install-client-servicebus": "cd sdk/servicebus/service-bus && npm install",
"install-client-storage-blob": "cd packages/@azure/storage/blob && npm install",
"install-client-storage-file": "cd packages/@azure/storage/file && npm install",
"install-client-storage-queue": "cd packages/@azure/storage/queue && npm install",
"install-client-storage-blob": "cd sdk/storage/storage-blob && npm install",
"install-client-storage-file": "cd sdk/storage/storage-file && npm install",
"install-client-storage-queue": "cd sdk/storage/storage-queue && npm install",
"install-client": "npm-run-all -p -l install-client-*",
"build-client-eventhubs-client": "cd sdk/eventhub/event-hubs && npm run build",
"build-client-eventhubs-processor": "cd sdk/eventhub/event-processor-host && npm run build",
"build-client-keyvault": "cd sdk/keyvault/keyvault && npm run build",
"build-client-template": "cd sdk/template/template && npm run build",
"build-client-servicebus": "cd sdk/servicebus/service-bus && npm run build",
"build-client-storage-blob": "cd packages/@azure/storage/blob && npm run build",
"build-client-storage-file": "cd packages/@azure/storage/file && npm run build",
"build-client-storage-queue": "cd packages/@azure/storage/queue && npm run build",
"build-client-storage-blob": "cd sdk/storage/storage-blob && npm run build",
"build-client-storage-file": "cd sdk/storage/storage-file && npm run build",
"build-client-storage-queue": "cd sdk/storage/storage-queue && npm run build",
"build-client": "npm-run-all -p -l build-client-*",
"pack-client-eventhubs-client": "cd sdk/eventhub/event-hubs && npm pack",
"pack-client-eventhubs-processor": "cd sdk/eventhub/event-processor-host && npm pack",
"pack-client-keyvault": "cd sdk/keyvault/keyvault && npm pack",
"pack-client-template": "cd sdk/template/template && npm pack",
"pack-client-servicebus": "cd sdk/servicebus/service-bus && npm pack",
"pack-client-storage-blob": "cd packages/@azure/storage/blob && npm pack",
"pack-client-storage-file": "cd packages/@azure/storage/file && npm pack",
"pack-client-storage-queue": "cd packages/@azure/storage/queue && npm pack",
"pack-client-storage-blob": "cd sdk/storage/storage-blob && npm pack",
"pack-client-storage-file": "cd sdk/storage/storage-file && npm pack",
"pack-client-storage-queue": "cd sdk/storage/storage-queue && npm pack",
"pack-client": "npm-run-all -p -l pack-client-*",
"test-client-template": "cd sdk/template/template && npm run test",
"test-client": "npm-run-all -p -l \"test-client-* -- {@}\"",
@ -73,21 +73,21 @@
"live-test-client-eventhubs-client-browser": "echo skipped",
"live-test-client-eventhubs-processor-browser": "echo skipped",
"live-test-client-servicebus-browser": "echo skipped",
"live-test-client-storage-blob-node": "cd packages/@azure/storage/blob && npm run unit-node",
"live-test-client-storage-file-node": "cd packages/@azure/storage/file && npm run unit-node",
"live-test-client-storage-queue-node": "cd packages/@azure/storage/queue && npm run unit-node",
"live-test-client-storage-blob-browser": "cd packages/@azure/storage/blob && npm run unit-browser",
"live-test-client-storage-file-browser": "cd packages/@azure/storage/file && npm run unit-browser",
"live-test-client-storage-queue-browser": "cd packages/@azure/storage/queue && npm run unit-browser",
"live-test-client-storage-blob-node": "cd sdk/storage/storage-blob && npm run unit-node",
"live-test-client-storage-file-node": "cd sdk/storage/storage-file && npm run unit-node",
"live-test-client-storage-queue-node": "cd sdk/storage/storage-queue && npm run unit-node",
"live-test-client-storage-blob-browser": "cd sdk/storage/storage-blob && npm run unit-browser",
"live-test-client-storage-file-browser": "cd sdk/storage/storage-file && npm run unit-browser",
"live-test-client-storage-queue-browser": "cd sdk/storage/storage-queue && npm run unit-browser",
"live-test-client": "npm-run-all -p -l \"live-test-client-* -- {@}\"",
"audit-client-eventhubs-client": "cd sdk/eventhub/event-hubs && npm i --package-lock-only && npm audit",
"audit-client-eventhubs-processor": "cd sdk/eventhub/event-processor-host && npm i --package-lock-only && npm audit",
"audit-client-keyvault": "cd sdk/keyvault/keyvault && npm i --package-lock-only && npm audit",
"audit-client-template": "cd sdk/template/template && npm i --package-lock-only && npm audit",
"audit-client-servicebus": "cd sdk/servicebus/service-bus && npm i --package-lock-only && npm audit",
"audit-client-storage-blob": "cd packages/@azure/storage/blob && npm i --package-lock-only && npm audit",
"audit-client-storage-file": "cd packages/@azure/storage/file && npm i --package-lock-only && npm audit",
"audit-client-storage-queue": "cd packages/@azure/storage/queue && npm i --package-lock-only && npm audit",
"audit-client-storage-blob": "cd sdk/storage/storage-blob && npm i --package-lock-only && npm audit",
"audit-client-storage-file": "cd sdk/storage/storage-file && npm i --package-lock-only && npm audit",
"audit-client-storage-queue": "cd sdk/storage/storage-queue && npm i --package-lock-only && npm audit",
"audit-client": "npm-run-all -p -l audit-client-*",
"lint-client-template": "cd sdk/template/template && npm run eslint",
"lint-client": "npm-run-all -p -l lint-client-*",

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

@ -1,30 +0,0 @@
{
"include": [
"lib/**/*.ts"
],
"exclude": [
"**/*.d.ts",
"lib/FileDownloadResponse.browser.ts",
"lib/highlevel.browser.ts",
"lib/highlevel.common.ts",
"lib/policies/BrowserPolicy.ts",
"lib/models.ts",
"lib/index.browser.ts",
"lib/utils/utils.browser.ts",
"lib/generated/lib/storageClient.ts"
],
"extension": [
".ts"
],
"require": [
"ts-node/register"
],
"reporter": [
"text-summary",
"html",
"cobertura"
],
"sourceMap": true,
"instrument": true,
"all": true
}

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

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

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

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

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

@ -280,12 +280,12 @@ main()
## More Samples
* [Blob Storage Examples](https://github.com/azure/azure-storage-js/tree/master/blob/samples)
* [Blob Storage Examples - Test Cases](https://github.com/azure/azure-storage-js/tree/master/blob/tests/)
* [File Storage Examples](https://github.com/azure/azure-storage-js/tree/master/file/samples)
* [File Storage Examples - Test Cases](https://github.com/azure/azure-storage-js/tree/master/file/test/)
* [Queue Storage Examples](https://github.com/azure/azure-storage-js/tree/master/queue/samples)
* [Queue Storage Examples - Test Cases](https://github.com/azure/azure-storage-js/tree/master/queue/tests/)
* [Blob Storage Examples](https://github.com/azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples)
* [Blob Storage Examples - Test Cases](https://github.com/azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/test/)
* [File Storage Examples](https://github.com/azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file/samples)
* [File Storage Examples - Test Cases](https://github.com/azure/azure-sdk-for-js/tree/master/sdk/storage/storage-file/test/)
* [Queue Storage Examples](https://github.com/azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/samples)
* [Queue Storage Examples - Test Cases](https://github.com/azure/azure-sdk-for-js/tree/master/sdk/storage/storage-queue/test/)
## License

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

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

@ -3,7 +3,7 @@ browser/azure-storage.blob.js
browser/azure-storage.blob.js.map
# dist-esm #
!dist-esm/lib/**/*.js
!dist-esm/src/**/*.js
dist-esm/tests
dist-esm/samples
@ -20,7 +20,7 @@ samples/
swagger/
# typings #
!typings/lib/**/*.d.ts
!typings/src/**/*.d.ts
typings/tests
typings/samples

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

@ -1,14 +1,14 @@
{
"include": [
"lib/**/*.ts"
"src/**/*.ts"
],
"exclude": [
"**/*.d.ts",
"lib/BlobDownloadResponse.browser.ts",
"lib/highlevel.browser.ts",
"lib/highlevel.common.ts",
"lib/models.ts",
"lib/generated/lib/storageClient.ts"
"src/BlobDownloadResponse.browser.ts",
"src/highlevel.browser.ts",
"src/highlevel.common.ts",
"src/models.ts",
"src/generated/lib/storageClient.ts"
],
"extension": [
".ts"

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

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

@ -97,7 +97,7 @@ The JS bundled file is compatible with [UMD](https://github.com/umdjs/umd) stand
#### Download
Download latest released JS bundles from links in the [GitHub release page](https://github.com/Azure/azure-storage-js/releases). Or from following links directly:
Download latest released JS bundles from links in the [GitHub release page](https://github.com/Azure/azure-sdk-for-js/releases). Or from following links directly:
* Blob [https://aka.ms/downloadazurestoragejsblob](https://aka.ms/downloadazurestoragejsblob)
@ -254,8 +254,8 @@ main()
## More Code Samples
* [Blob Storage Examples](https://github.com/azure/azure-storage-js/tree/master/blob/samples)
* [Blob Storage Examples - Test Cases](https://github.com/azure/azure-storage-js/tree/master/blob/test/)
* [Blob Storage Examples](https://github.com/azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/samples)
* [Blob Storage Examples - Test Cases](https://github.com/azure/azure-sdk-for-js/tree/master/sdk/storage/storage-blob/test/)
## License

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

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

@ -3,16 +3,16 @@
"version": "10.3.0",
"description": "Microsoft Azure Storage SDK for JavaScript - Blob",
"main": "./dist/index.js",
"module": "./dist-esm/lib/index.js",
"module": "./dist-esm/src/index.js",
"browser": {
"./dist/index.js": "./browser/azure-storage.blob.min.js",
"./dist-esm/lib/index.js": "./dist-esm/lib/index.browser.js",
"./dist-esm/tests/utils/index.js": "./dist-esm/tests/utils/index.browser.js",
"./dist-esm/lib/BlobDownloadResponse.js": "./dist-esm/lib/BlobDownloadResponse.browser.js",
"./dist-esm/src/index.js": "./dist-esm/src/index.browser.js",
"./dist-esm/tests/utils/index.js": "./dist-esm/test/utils/index.browser.js",
"./dist-esm/src/BlobDownloadResponse.js": "./dist-esm/src/BlobDownloadResponse.browser.js",
"os": false,
"process": false
},
"types": "./typings/lib/index.d.ts",
"types": "./typings/src/index.d.ts",
"engines": {
"node": ">=6.5.0"
},
@ -66,7 +66,7 @@
"unit-node": "npm run build && npm run test:node",
"unit-browser": "npm run build && npm run test:browser",
"test": "npm run test:node && npm run test:browser",
"test:node": "cross-env TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\": \\\"commonjs\\\"}\" nyc mocha --compilers ts-node/register --require source-map-support/register --reporter mocha-multi-reporters --reporter-options configFile=mocha.reporter.config.json --full-trace --no-timeouts tests/*.test.ts tests/node/*.test.ts",
"test:node": "cross-env TS_NODE_COMPILER_OPTIONS=\"{\\\"module\\\": \\\"commonjs\\\"}\" nyc mocha --compilers ts-node/register --require source-map-support/register --reporter mocha-multi-reporters --reporter-options configFile=mocha.reporter.config.json --full-trace --no-timeouts test/*.test.ts test/node/*.test.ts",
"test:browser": "karma start --single-run",
"build": "npm run build:es6 && npm run build:nodebrowser && npm run build:browserzip && npm run build:test",
"build:test": "rollup -c rollup.test.config.js",
@ -78,7 +78,7 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/Azure/azure-storage-js.git"
"url": "git+https://github.com/Azure/azure-sdk-for-js.git"
},
"keywords": [
"Azure",
@ -92,8 +92,8 @@
"author": "Microsoft Corporation",
"license": "MIT",
"bugs": {
"url": "https://github.com/Azure/azure-storage-js/issues"
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"homepage": "https://github.com/Azure/azure-storage-js#readme",
"homepage": "https://github.com/Azure/azure-sdk-for-js#readme",
"sideEffects": false
}

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

@ -16,7 +16,7 @@ const banner = [
const nodeRollupConfigFactory = () => {
return {
external: ["@azure/ms-rest-js", "crypto", "fs", "events", "os", "stream"],
input: "dist-esm/lib/index.js",
input: "dist-esm/src/index.js",
output: {
file: "dist/index.js",
format: "cjs",
@ -28,7 +28,7 @@ const nodeRollupConfigFactory = () => {
const browserRollupConfigFactory = isProduction => {
const browserRollupConfig = {
input: "dist-esm/lib/index.browser.js",
input: "dist-esm/src/index.browser.js",
output: {
file: "browser/azure-storage.blob.js",
banner: banner,

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

@ -3,7 +3,7 @@ import baseConfig from "./rollup.config";
import sourcemaps from "rollup-plugin-sourcemaps";
const [browser] = baseConfig;
browser.input = ["dist-esm/tests/*.js", "dist-esm/tests/browser/*.js"];
browser.input = ["dist-esm/test/*.js", "dist-esm/test/browser/*.js"];
browser.output.sourcemap = "inline";
browser.output.file = "dist-test/index.browser.js";
browser.plugins.unshift(multi());

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

@ -1,6 +1,6 @@
import { HttpRequestBody, TransferProgressEvent } from "@azure/ms-rest-js";
import * as Models from "../lib/generated/lib/models";
import * as Models from "../src/generated/lib/models";
import { Aborter } from "./Aborter";
import { BlobURL } from "./BlobURL";
import { ContainerURL } from "./ContainerURL";

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

@ -1,6 +1,6 @@
import { isNode, TransferProgressEvent } from "@azure/ms-rest-js";
import * as Models from "../lib/generated/lib/models";
import * as Models from "../src/generated/lib/models";
import { Aborter } from "./Aborter";
import { BlobDownloadResponse } from "./BlobDownloadResponse";
import { ContainerURL } from "./ContainerURL";

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

@ -1,6 +1,6 @@
import { HttpRequestBody, TransferProgressEvent } from "@azure/ms-rest-js";
import * as Models from "../lib/generated/lib/models";
import * as Models from "../src/generated/lib/models";
import { Aborter } from "./Aborter";
import { BlobURL } from "./BlobURL";
import { ContainerURL } from "./ContainerURL";

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

@ -1,5 +1,5 @@
import { HttpResponse } from "@azure/ms-rest-js";
import * as Models from "../lib/generated/lib/models";
import * as Models from "../src/generated/lib/models";
import { Aborter } from "./Aborter";
import { Container } from "./generated/lib/operations";
import { IContainerAccessConditions, IMetadata } from "./models";

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

@ -1,6 +1,6 @@
import { HttpRequestBody, TransferProgressEvent } from "@azure/ms-rest-js";
import * as Models from "../lib/generated/lib/models";
import * as Models from "../src/generated/lib/models";
import { Aborter } from "./Aborter";
import { BlobURL } from "./BlobURL";
import { ContainerURL } from "./ContainerURL";

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

@ -1,4 +1,4 @@
import * as Models from "../lib/generated/lib/models";
import * as Models from "../src/generated/lib/models";
import { Aborter } from "./Aborter";
import { ListContainersIncludeType } from "./generated/lib/models/index";
import { Service } from "./generated/lib/operations";

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

@ -1,6 +1,6 @@
import { RestError } from "@azure/ms-rest-js";
import * as Models from "../lib/generated/lib/models";
import * as Models from "../src/generated/lib/models";
export * from "./Aborter";
export * from "./AppendBlobURL";

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

@ -1,6 +1,6 @@
import { RestError } from "@azure/ms-rest-js";
import * as Models from "../lib/generated/lib/models";
import * as Models from "../src/generated/lib/models";
export * from "./Aborter";
export * from "./AccountSASPermissions";

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

@ -9,7 +9,7 @@ description: Storage Client
enable-xml: true
generate-metadata: false
license-header: MICROSOFT_MIT_NO_VERSION
output-folder: ../lib/generated
output-folder: ../src/generated
input-file: ./blob-storage-2018-03-28.json
model-date-time-as-string: true
optional-response-headers: true

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

@ -1,7 +1,7 @@
import * as assert from "assert";
import { Aborter } from "../lib/Aborter";
import { ContainerURL } from "../lib/ContainerURL";
import { Aborter } from "../src/Aborter";
import { ContainerURL } from "../src/ContainerURL";
import { getBSU, getUniqueName } from "./utils";
import * as dotenv from "dotenv";
dotenv.config({path:"../.env"});

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

@ -1,8 +1,8 @@
import * as assert from "assert";
import { Aborter } from "../lib/Aborter";
import { AppendBlobURL } from "../lib/AppendBlobURL";
import { ContainerURL } from "../lib/ContainerURL";
import { Aborter } from "../src/Aborter";
import { AppendBlobURL } from "../src/AppendBlobURL";
import { ContainerURL } from "../src/ContainerURL";
import { bodyToString, getBSU, getUniqueName } from "./utils";
import * as dotenv from "dotenv";
dotenv.config({path:"../.env"});

Некоторые файлы не были показаны из-за слишком большого количества измененных файлов Показать больше