From 0343a0d91a50d8b9813aea297dbacded43d4a6c8 Mon Sep 17 00:00:00 2001 From: Jeff Fisher Date: Wed, 11 Mar 2020 10:34:37 -0700 Subject: [PATCH 1/2] Use inlineSources to bundle source file contents inside map files (#7615) * Enable inlineSources and stop packaging TS files * Make all license texts consistent and include README.md Fixes #7706 --- .../rules/ts-package-json-files-required.ts | 17 --- .../rules/ts-package-json-files-required.ts | 103 ++----------- .../{LICENSE.txt => LICENSE} | 2 +- .../app-configuration/package.json | 4 +- .../app-configuration/tsconfig.json | 1 + sdk/core/abort-controller/LICENSE | 34 ++--- sdk/core/abort-controller/package.json | 4 +- sdk/core/core-amqp/LICENSE | 34 ++--- sdk/core/core-amqp/package.json | 6 +- .../LICENSE.txt => core/core-arm/LICENSE} | 2 +- sdk/core/core-arm/package.json | 1 - sdk/core/core-asynciterator-polyfill/LICENSE | 34 ++--- .../core-asynciterator-polyfill/package.json | 3 +- .../LICENSE.md => core/core-auth/LICENSE} | 4 +- sdk/core/core-auth/package.json | 5 +- sdk/core/core-http/LICENSE | 34 ++--- sdk/core/core-http/ThirdPartyNotices.txt | 55 ------- sdk/core/core-http/package.json | 5 +- .../LICENSE.TXT => core/core-lro/LICENSE} | 6 +- sdk/core/core-lro/package.json | 5 +- sdk/core/core-paging/LICENSE | 34 ++--- sdk/core/core-paging/tsconfig.json | 1 + sdk/core/core-tracing/LICENSE | 21 +++ sdk/core/core-tracing/LICENSE.txt | 21 --- sdk/core/core-tracing/package.json | 4 +- sdk/core/logger/LICENSE | 34 ++--- sdk/core/logger/package.json | 4 +- sdk/cosmosdb/cosmos/LICENSE | 34 ++--- sdk/cosmosdb/cosmos/package.json | 5 +- sdk/cosmosdb/cosmos/src/tsconfig.json | 1 + sdk/eventhub/event-hubs/License | 35 +++-- sdk/eventhub/event-hubs/package.json | 4 +- sdk/eventhub/event-hubs/tsconfig.json | 1 + sdk/eventhub/event-processor-host/License | 34 ++--- .../event-processor-host/package.json | 4 +- .../event-processor-host/tsconfig.json | 1 + .../eventhubs-checkpointstore-blob/License | 35 +++-- .../package.json | 4 +- .../tsconfig.json | 1 + sdk/eventhub/testhub/LICENSE | 21 +++ sdk/eventhub/testhub/tsconfig.json | 20 ++- sdk/identity/identity/LICENSE | 21 +++ sdk/identity/identity/package.json | 5 +- sdk/identity/identity/tsconfig.json | 2 +- .../keyvault-certificates/.eslintrc.json | 3 +- sdk/keyvault/keyvault-certificates/LICENSE | 21 +++ .../ThirdPartyNotices.txt | 135 ------------------ .../keyvault-certificates/package.json | 7 +- .../keyvault-certificates/tsconfig.json | 1 + sdk/keyvault/keyvault-keys/LICENSE | 21 +++ sdk/keyvault/keyvault-keys/LICENSE.TXT | 21 --- .../keyvault-keys/ThirdPartyNotices.txt | 135 ------------------ sdk/keyvault/keyvault-keys/package.json | 6 +- sdk/keyvault/keyvault-keys/tsconfig.json | 1 + sdk/keyvault/keyvault-secrets/LICENSE | 21 +++ sdk/keyvault/keyvault-secrets/package.json | 6 +- sdk/keyvault/keyvault-secrets/tsconfig.json | 1 + sdk/search/search/LICENSE | 21 +++ sdk/search/search/package.json | 5 +- sdk/servicebus/service-bus/License | 6 +- sdk/servicebus/service-bus/package.json | 4 +- sdk/servicebus/service-bus/tsconfig.json | 1 + sdk/storage/storage-blob/LICENSE | 34 ++--- sdk/storage/storage-blob/package.json | 5 +- sdk/storage/storage-blob/tsconfig.json | 1 + sdk/storage/storage-file-datalake/LICENSE | 34 ++--- .../storage-file-datalake/package.json | 5 +- .../storage-file-datalake/tsconfig.json | 1 + sdk/storage/storage-file-share/LICENSE | 34 ++--- sdk/storage/storage-file-share/package.json | 5 +- sdk/storage/storage-file-share/tsconfig.json | 1 + sdk/storage/storage-queue/LICENSE | 34 ++--- sdk/storage/storage-queue/package.json | 5 +- sdk/storage/storage-queue/tsconfig.json | 1 + sdk/template/template/LICENSE | 21 +++ sdk/template/template/package.json | 5 +- sdk/test-utils/recorder/LICENSE | 34 ++--- sdk/test-utils/recorder/package.json | 7 +- sdk/textanalytics/ai-text-analytics/LICENSE | 21 +++ .../ai-text-analytics/package.json | 4 +- tsconfig.json | 1 + 81 files changed, 546 insertions(+), 829 deletions(-) rename sdk/appconfiguration/app-configuration/{LICENSE.txt => LICENSE} (97%) rename sdk/{textanalytics/ai-text-analytics/LICENSE.txt => core/core-arm/LICENSE} (97%) rename sdk/{keyvault/keyvault-certificates/LICENSE.md => core/core-auth/LICENSE} (94%) delete mode 100644 sdk/core/core-http/ThirdPartyNotices.txt rename sdk/{keyvault/keyvault-secrets/LICENSE.TXT => core/core-lro/LICENSE} (87%) create mode 100644 sdk/core/core-tracing/LICENSE delete mode 100644 sdk/core/core-tracing/LICENSE.txt create mode 100644 sdk/eventhub/testhub/LICENSE create mode 100644 sdk/identity/identity/LICENSE create mode 100644 sdk/keyvault/keyvault-certificates/LICENSE delete mode 100644 sdk/keyvault/keyvault-certificates/ThirdPartyNotices.txt create mode 100644 sdk/keyvault/keyvault-keys/LICENSE delete mode 100644 sdk/keyvault/keyvault-keys/LICENSE.TXT delete mode 100644 sdk/keyvault/keyvault-keys/ThirdPartyNotices.txt create mode 100644 sdk/keyvault/keyvault-secrets/LICENSE create mode 100644 sdk/search/search/LICENSE create mode 100644 sdk/template/template/LICENSE create mode 100644 sdk/textanalytics/ai-text-analytics/LICENSE diff --git a/common/tools/eslint-plugin-azure-sdk/src/rules/ts-package-json-files-required.ts b/common/tools/eslint-plugin-azure-sdk/src/rules/ts-package-json-files-required.ts index 3d97f3c0e10f..f6e92ed265d4 100644 --- a/common/tools/eslint-plugin-azure-sdk/src/rules/ts-package-json-files-required.ts +++ b/common/tools/eslint-plugin-azure-sdk/src/rules/ts-package-json-files-required.ts @@ -81,23 +81,6 @@ export = { } }); } - - // looks for 'src' with optional leading './' and optional trailing '/ ' - if ( - elements.every( - (element: Literal): boolean => - !/^(.\/)?((src\/)|(src$))/.test(element.value as string) - ) - ) { - context.report({ - node: nodeValue, - message: "src is not included in files", - fix: (fixer: Rule.RuleFixer): Rule.Fix => { - elementValues.push("src"); - return fixer.replaceText(nodeValue, arrayToString(elementValues)); - } - }); - } } } as Rule.RuleListener) : {}; diff --git a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-files-required.ts b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-files-required.ts index 161044bf69aa..9d272f537b78 100644 --- a/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-files-required.ts +++ b/common/tools/eslint-plugin-azure-sdk/tests/rules/ts-package-json-files-required.ts @@ -120,8 +120,7 @@ const examplePackageGood = `{ "typings/service-bus.d.ts", "tsconfig.json", "dist", - "dist-esm/src", - "src" + "dist-esm/src" ], "sideEffects": false }`; @@ -252,25 +251,25 @@ ruleTester.run("ts-package-json-files-required", rule, { valid: [ { // only the fields we care about - code: '{"files": ["src", "dist", "dist-esm/src"]}', + code: '{"files": ["dist", "dist-esm/src"]}', filename: "package.json" }, // other valid formats { - code: '{"files": ["src/", "dist/", "dist-esm/src/"]}', + code: '{"files": ["dist/", "dist-esm/src/"]}', filename: "package.json" }, { - code: '{"files": ["./src", "./dist", "./dist-esm/src"]}', + code: '{"files": ["./dist", "./dist-esm/src"]}', filename: "package.json" }, { - code: '{"files": ["./src/", "./dist/", "./dist-esm/src/"]}', + code: '{"files": ["./dist/", "./dist-esm/src/"]}', filename: "package.json" }, { // mixed - code: '{"files": ["./src", "dist/", "./dist-esm/src/"]}', + code: '{"files": ["dist/", "./dist-esm/src/"]}', filename: "package.json" }, { @@ -286,7 +285,7 @@ ruleTester.run("ts-package-json-files-required", rule, { ], invalid: [ { - code: '{"notFiles": ["src", "dist", "dist-esm/src"]}', + code: '{"notFiles": ["dist", "dist-esm/src"]}', filename: "package.json", errors: [ { @@ -296,7 +295,7 @@ ruleTester.run("ts-package-json-files-required", rule, { }, { // name is in a nested object - code: '{"outer": {"files": ["src", "dist", "dist-esm/src"]}}', + code: '{"outer": {"files": ["dist", "dist-esm/src"]}}', filename: "package.json", errors: [ { @@ -305,16 +304,6 @@ ruleTester.run("ts-package-json-files-required", rule, { ] }, // missing values - { - code: '{"files": ["dist", "dist-esm/src"]}', - filename: "package.json", - errors: [ - { - message: "src is not included in files" - } - ], - output: '{"files": ["dist", "dist-esm/src", "src"]}' - }, { code: '{"files": ["dist", "src"]}', filename: "package.json", @@ -341,9 +330,6 @@ ruleTester.run("ts-package-json-files-required", rule, { errors: [ { message: "dist-esm/src is not included in files" - }, - { - message: "src is not included in files" } ], output: '{"files": ["dist", "dist-esm/src"]}' @@ -354,26 +340,10 @@ ruleTester.run("ts-package-json-files-required", rule, { errors: [ { message: "dist is not included in files" - }, - { - message: "src is not included in files" } ], output: '{"files": ["dist-esm/src", "dist"]}' }, - { - code: '{"files": ["src"]}', - filename: "package.json", - errors: [ - { - message: "dist is not included in files" - }, - { - message: "dist-esm/src is not included in files" - } - ], - output: '{"files": ["src", "dist"]}' - }, { code: '{"files": []}', filename: "package.json", @@ -383,64 +353,10 @@ ruleTester.run("ts-package-json-files-required", rule, { }, { message: "dist-esm/src is not included in files" - }, - { - message: "src is not included in files" } ], output: '{"files": ["dist"]}' }, - // test regex - { - code: '{"files": ["src1", "dist", "dist-esm/src"]}', - filename: "package.json", - errors: [ - { - message: "src is not included in files" - } - ], - output: '{"files": ["src1", "dist", "dist-esm/src", "src"]}' - }, - { - code: '{"files": ["1src", "dist", "dist-esm/src"]}', - filename: "package.json", - errors: [ - { - message: "src is not included in files" - } - ], - output: '{"files": ["1src", "dist", "dist-esm/src", "src"]}' - }, - { - code: '{"files": ["/src", "dist", "dist-esm/src"]}', - filename: "package.json", - errors: [ - { - message: "src is not included in files" - } - ], - output: '{"files": ["/src", "dist", "dist-esm/src", "src"]}' - }, - { - code: '{"files": [".src", "dist", "dist-esm/src"]}', - filename: "package.json", - errors: [ - { - message: "src is not included in files" - } - ], - output: '{"files": [".src", "dist", "dist-esm/src", "src"]}' - }, - { - code: '{"files": ["lib/src", "dist", "dist-esm/src"]}', - filename: "package.json", - errors: [ - { - message: "src is not included in files" - } - ], - output: '{"files": ["lib/src", "dist", "dist-esm/src", "src"]}' - }, { // example file with src not in files code: examplePackageBad, @@ -451,9 +367,6 @@ ruleTester.run("ts-package-json-files-required", rule, { }, { message: "dist-esm/src is not included in files" - }, - { - message: "src is not included in files" } ] } diff --git a/sdk/appconfiguration/app-configuration/LICENSE.txt b/sdk/appconfiguration/app-configuration/LICENSE similarity index 97% rename from sdk/appconfiguration/app-configuration/LICENSE.txt rename to sdk/appconfiguration/app-configuration/LICENSE index b73b4a1293c3..ea8fb1516028 100644 --- a/sdk/appconfiguration/app-configuration/LICENSE.txt +++ b/sdk/appconfiguration/app-configuration/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2019 Microsoft +Copyright (c) 2020 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/appconfiguration/app-configuration/package.json b/sdk/appconfiguration/app-configuration/package.json index 17f60c4d5457..6cadbd71caa0 100644 --- a/sdk/appconfiguration/app-configuration/package.json +++ b/sdk/appconfiguration/app-configuration/package.json @@ -33,10 +33,8 @@ "dist-esm/**/*.d.ts", "dist-esm/**/*.d.ts.map", "types/app-configuration.d.ts", - "src/**/*.ts", "README.md", - "rollup.config.js", - "tsconfig.json" + "LICENSE" ], "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", diff --git a/sdk/appconfiguration/app-configuration/tsconfig.json b/sdk/appconfiguration/app-configuration/tsconfig.json index d13e7b6390a3..1c1e32a4803d 100644 --- a/sdk/appconfiguration/app-configuration/tsconfig.json +++ b/sdk/appconfiguration/app-configuration/tsconfig.json @@ -5,6 +5,7 @@ "moduleResolution": "node", "strict": true, "sourceMap": true, + "inlineSources": true, "declarationMap": true, "declaration": true, "declarationDir": "./types", diff --git a/sdk/core/abort-controller/LICENSE b/sdk/core/abort-controller/LICENSE index 21071075c245..ea8fb1516028 100644 --- a/sdk/core/abort-controller/LICENSE +++ b/sdk/core/abort-controller/LICENSE @@ -1,21 +1,21 @@ - MIT License +The MIT License (MIT) - Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) 2020 Microsoft - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/core/abort-controller/package.json b/sdk/core/abort-controller/package.json index 40471dd369d9..90de485c32c8 100644 --- a/sdk/core/abort-controller/package.json +++ b/sdk/core/abort-controller/package.json @@ -38,9 +38,9 @@ "files": [ "dist/", "dist-esm/src/", - "src/", "types/src", - "tsconfig.json" + "README.md", + "LICENSE" ], "repository": { "type": "git", diff --git a/sdk/core/core-amqp/LICENSE b/sdk/core/core-amqp/LICENSE index 21071075c245..ea8fb1516028 100644 --- a/sdk/core/core-amqp/LICENSE +++ b/sdk/core/core-amqp/LICENSE @@ -1,21 +1,21 @@ - MIT License +The MIT License (MIT) - Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) 2020 Microsoft - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/core/core-amqp/package.json b/sdk/core/core-amqp/package.json index 3978bc23823b..c7ccd560ccdd 100644 --- a/sdk/core/core-amqp/package.json +++ b/sdk/core/core-amqp/package.json @@ -17,10 +17,10 @@ "files": [ "dist/", "dist-esm/src/", - "src/", "typings/src/", - "tsconfig.json", - "ThirdPartyNotices.txt" + "ThirdPartyNotices.txt", + "README.md", + "LICENSE" ], "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", diff --git a/sdk/textanalytics/ai-text-analytics/LICENSE.txt b/sdk/core/core-arm/LICENSE similarity index 97% rename from sdk/textanalytics/ai-text-analytics/LICENSE.txt rename to sdk/core/core-arm/LICENSE index b73b4a1293c3..ea8fb1516028 100644 --- a/sdk/textanalytics/ai-text-analytics/LICENSE.txt +++ b/sdk/core/core-arm/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2019 Microsoft +Copyright (c) 2020 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/core/core-arm/package.json b/sdk/core/core-arm/package.json index c184cfe7cb2c..4561c30bc512 100644 --- a/sdk/core/core-arm/package.json +++ b/sdk/core/core-arm/package.json @@ -36,7 +36,6 @@ "es/src/**/*.js.map", "es/src/**/*.d.ts", "es/src/**/*.d.ts.map", - "src/**/*.ts", "LICENSE", "README.md" ], diff --git a/sdk/core/core-asynciterator-polyfill/LICENSE b/sdk/core/core-asynciterator-polyfill/LICENSE index 21071075c245..ea8fb1516028 100644 --- a/sdk/core/core-asynciterator-polyfill/LICENSE +++ b/sdk/core/core-asynciterator-polyfill/LICENSE @@ -1,21 +1,21 @@ - MIT License +The MIT License (MIT) - Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) 2020 Microsoft - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/core/core-asynciterator-polyfill/package.json b/sdk/core/core-asynciterator-polyfill/package.json index baa12403f0ed..57c73e2d3014 100644 --- a/sdk/core/core-asynciterator-polyfill/package.json +++ b/sdk/core/core-asynciterator-polyfill/package.json @@ -19,9 +19,8 @@ "main": "./dist-esm/index.js", "files": [ "dist-esm/**/*.js", - "LICENSE", "README.md", - "ThirdPartyNotices.txt" + "LICENSE" ], "license": "MIT", "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/core/core-asynciterator-polyfill", diff --git a/sdk/keyvault/keyvault-certificates/LICENSE.md b/sdk/core/core-auth/LICENSE similarity index 94% rename from sdk/keyvault/keyvault-certificates/LICENSE.md rename to sdk/core/core-auth/LICENSE index 769167ada543..ea8fb1516028 100644 --- a/sdk/keyvault/keyvault-certificates/LICENSE.md +++ b/sdk/core/core-auth/LICENSE @@ -1,6 +1,6 @@ -The MIT License (MIT) +The MIT License (MIT) -Copyright (c) 2018 Microsoft +Copyright (c) 2020 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/sdk/core/core-auth/package.json b/sdk/core/core-auth/package.json index e8feca7f773f..90425ae03fc6 100644 --- a/sdk/core/core-auth/package.json +++ b/sdk/core/core-auth/package.json @@ -35,8 +35,9 @@ "files": [ "dist/", "dist-esm/src/", - "src/", - "types/core-auth.d.ts" + "types/core-auth.d.ts", + "README.md", + "LICENSE" ], "repository": "github:Azure/azure-sdk-for-js", "keywords": [ diff --git a/sdk/core/core-http/LICENSE b/sdk/core/core-http/LICENSE index 21071075c245..ea8fb1516028 100644 --- a/sdk/core/core-http/LICENSE +++ b/sdk/core/core-http/LICENSE @@ -1,21 +1,21 @@ - MIT License +The MIT License (MIT) - Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) 2020 Microsoft - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/core/core-http/ThirdPartyNotices.txt b/sdk/core/core-http/ThirdPartyNotices.txt deleted file mode 100644 index b3ed28d9fc5f..000000000000 --- a/sdk/core/core-http/ThirdPartyNotices.txt +++ /dev/null @@ -1,55 +0,0 @@ -Third Party Notices for core-http - -This project incorporates material from the project(s) listed below (collectively, Third Party Code). -Microsoft, Inc. Microsoft is not the original author of the Third Party Code. -The original copyright notice and license, under which Microsoft received such Third Party Code, -are set out below. This Third Party Code is licensed to you under their original license terms set forth below. -Microsoft reserves all other rights not expressly granted, whether by implication, estoppel or otherwise. - -1. opentelemetry-js - -%% opentelemetry-js NOTICES AND INFORMATION BEGIN HERE -========================================= -Copyright 2019, OpenTelemetry Authors - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - https://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -========================================= -END OF opentelemetry-js NOTICES AND INFORMATION - -2. uuid (https://github.com/kelektiv/node-uuid) - -%% uuid NOTICES AND INFORMATION BEGIN HERE -========================================= -The MIT License (MIT) - -Copyright (c) 2010-2016 Robert Kieffer and other contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -========================================= -END OF uuid NOTICES AND INFORMATION diff --git a/sdk/core/core-http/package.json b/sdk/core/core-http/package.json index 4be22bba606c..f522ff7d2603 100644 --- a/sdk/core/core-http/package.json +++ b/sdk/core/core-http/package.json @@ -44,9 +44,8 @@ "es/src/**/*.js.map", "types/*/src/**/*.d.ts", "types/*/src/**/*.d.ts.map", - "src/**/*.ts", - "LICENSE", - "README.md" + "README.md", + "LICENSE" ], "browser": { "./es/src/policies/msRestUserAgentPolicy.js": "./es/src/policies/msRestUserAgentPolicy.browser.js", diff --git a/sdk/keyvault/keyvault-secrets/LICENSE.TXT b/sdk/core/core-lro/LICENSE similarity index 87% rename from sdk/keyvault/keyvault-secrets/LICENSE.TXT rename to sdk/core/core-lro/LICENSE index 75f196e24648..ea8fb1516028 100644 --- a/sdk/keyvault/keyvault-secrets/LICENSE.TXT +++ b/sdk/core/core-lro/LICENSE @@ -1,6 +1,6 @@ -Copyright (c) Microsoft Corporation. All rights reserved. +The MIT License (MIT) -MIT License +Copyright (c) 2020 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -12,7 +12,7 @@ furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER diff --git a/sdk/core/core-lro/package.json b/sdk/core/core-lro/package.json index 09d5e3cbbc6f..0a30fe63ef10 100644 --- a/sdk/core/core-lro/package.json +++ b/sdk/core/core-lro/package.json @@ -33,9 +33,8 @@ "types/core-lro.d.ts", "dist/", "dist-esm/", - "src/", - "LICENSE", - "README.md" + "README.md", + "LICENSE" ], "browser": { "os": false, diff --git a/sdk/core/core-paging/LICENSE b/sdk/core/core-paging/LICENSE index 21071075c245..ea8fb1516028 100644 --- a/sdk/core/core-paging/LICENSE +++ b/sdk/core/core-paging/LICENSE @@ -1,21 +1,21 @@ - MIT License +The MIT License (MIT) - Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) 2020 Microsoft - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/core/core-paging/tsconfig.json b/sdk/core/core-paging/tsconfig.json index 4cf2eedb4beb..82013fe4dbfb 100644 --- a/sdk/core/core-paging/tsconfig.json +++ b/sdk/core/core-paging/tsconfig.json @@ -6,6 +6,7 @@ "declaration": false, "declarationMap": false, "sourceMap": false, + "inlineSources": false, "outDir": "./dist-esm", "resolveJsonModule": true }, diff --git a/sdk/core/core-tracing/LICENSE b/sdk/core/core-tracing/LICENSE new file mode 100644 index 000000000000..ea8fb1516028 --- /dev/null +++ b/sdk/core/core-tracing/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/core/core-tracing/LICENSE.txt b/sdk/core/core-tracing/LICENSE.txt deleted file mode 100644 index 21071075c245..000000000000 --- a/sdk/core/core-tracing/LICENSE.txt +++ /dev/null @@ -1,21 +0,0 @@ - MIT License - - Copyright (c) Microsoft Corporation. All rights reserved. - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: - - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE diff --git a/sdk/core/core-tracing/package.json b/sdk/core/core-tracing/package.json index 87857f23e12c..5d3db7454f33 100644 --- a/sdk/core/core-tracing/package.json +++ b/sdk/core/core-tracing/package.json @@ -38,7 +38,9 @@ "files": [ "dist/", "dist-esm/src/", - "types/core-tracing.d.ts" + "types/core-tracing.d.ts", + "README.md", + "LICENSE" ], "repository": "github:Azure/azure-sdk-for-js", "keywords": [ diff --git a/sdk/core/logger/LICENSE b/sdk/core/logger/LICENSE index 21071075c245..ea8fb1516028 100644 --- a/sdk/core/logger/LICENSE +++ b/sdk/core/logger/LICENSE @@ -1,21 +1,21 @@ - MIT License +The MIT License (MIT) - Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) 2020 Microsoft - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/core/logger/package.json b/sdk/core/logger/package.json index 8ddf9eaa3cd5..15b9360eaff8 100644 --- a/sdk/core/logger/package.json +++ b/sdk/core/logger/package.json @@ -42,9 +42,9 @@ "files": [ "dist/", "dist-esm/src/", - "src/", "types/logger.d.ts", - "tsconfig.json" + "README.md", + "LICENSE" ], "repository": { "type": "git", diff --git a/sdk/cosmosdb/cosmos/LICENSE b/sdk/cosmosdb/cosmos/LICENSE index 21071075c245..ea8fb1516028 100644 --- a/sdk/cosmosdb/cosmos/LICENSE +++ b/sdk/cosmosdb/cosmos/LICENSE @@ -1,21 +1,21 @@ - MIT License +The MIT License (MIT) - Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) 2020 Microsoft - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/cosmosdb/cosmos/package.json b/sdk/cosmosdb/cosmos/package.json index bf8b9b12d982..1c3424363366 100644 --- a/sdk/cosmosdb/cosmos/package.json +++ b/sdk/cosmosdb/cosmos/package.json @@ -28,9 +28,8 @@ "changelog.md", "dist/", "dist-esm/", - "LICENSE", - "src/", - "tsconfig.json" + "README.md", + "LICENSE" ], "homepage": "https://github.com/Azure/azure-sdk-for-js/tree/master/sdk/cosmosdb/cosmos#readme", "sideEffects": false, diff --git a/sdk/cosmosdb/cosmos/src/tsconfig.json b/sdk/cosmosdb/cosmos/src/tsconfig.json index 2de06e0c6bd4..9c53832ba041 100644 --- a/sdk/cosmosdb/cosmos/src/tsconfig.json +++ b/sdk/cosmosdb/cosmos/src/tsconfig.json @@ -13,6 +13,7 @@ "removeComments": false, "target": "es6", "sourceMap": true, + "inlineSources": true, "newLine": "LF", "resolveJsonModule": true, "composite": true, diff --git a/sdk/eventhub/event-hubs/License b/sdk/eventhub/event-hubs/License index cbf2717d8cd3..ea8fb1516028 100644 --- a/sdk/eventhub/event-hubs/License +++ b/sdk/eventhub/event-hubs/License @@ -1,22 +1,21 @@ - MIT License +The MIT License (MIT) - Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) 2020 Microsoft - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/eventhub/event-hubs/package.json b/sdk/eventhub/event-hubs/package.json index b74c62913324..838114464c17 100644 --- a/sdk/eventhub/event-hubs/package.json +++ b/sdk/eventhub/event-hubs/package.json @@ -29,9 +29,9 @@ "files": [ "dist/", "dist-esm/src/", - "src/", "typings/event-hubs.d.ts", - "tsconfig.json" + "README.md", + "LICENSE" ], "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", diff --git a/sdk/eventhub/event-hubs/tsconfig.json b/sdk/eventhub/event-hubs/tsconfig.json index 008f6441a69d..bda27729f70b 100644 --- a/sdk/eventhub/event-hubs/tsconfig.json +++ b/sdk/eventhub/event-hubs/tsconfig.json @@ -7,6 +7,7 @@ "declaration": true /* Generates corresponding '.d.ts' file. */, "declarationMap": true /* Generates a sourcemap for each corresponding '.d.ts' file. */, "sourceMap": true /* Generates corresponding '.map' file. */, + "inlineSources": true, "outDir": "./dist-esm" /* Redirect output structure to the directory. */, "declarationDir": "./typings" /* Output directory for generated declaration files.*/, diff --git a/sdk/eventhub/event-processor-host/License b/sdk/eventhub/event-processor-host/License index 21071075c245..ea8fb1516028 100644 --- a/sdk/eventhub/event-processor-host/License +++ b/sdk/eventhub/event-processor-host/License @@ -1,21 +1,21 @@ - MIT License +The MIT License (MIT) - Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) 2020 Microsoft - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/eventhub/event-processor-host/package.json b/sdk/eventhub/event-processor-host/package.json index 21f5699d4390..4002c38ac31e 100644 --- a/sdk/eventhub/event-processor-host/package.json +++ b/sdk/eventhub/event-processor-host/package.json @@ -27,9 +27,9 @@ "files": [ "dist/", "dist-esm/src/", - "src/", "typings/event-processor-host.d.ts", - "tsconfig.json" + "README.md", + "LICENSE" ], "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", diff --git a/sdk/eventhub/event-processor-host/tsconfig.json b/sdk/eventhub/event-processor-host/tsconfig.json index ee7d369b2d86..d0215dcc7094 100644 --- a/sdk/eventhub/event-processor-host/tsconfig.json +++ b/sdk/eventhub/event-processor-host/tsconfig.json @@ -7,6 +7,7 @@ "declaration": true /* Generates corresponding '.d.ts' file. */, "declarationMap": true /* Generates a sourcemap for each corresponding '.d.ts' file. */, "sourceMap": true /* Generates corresponding '.map' file. */, + "inlineSources": true, "outDir": "./dist-esm" /* Redirect output structure to the directory. */, "declarationDir": "./typings" /* Output directory for generated declaration files.*/, diff --git a/sdk/eventhub/eventhubs-checkpointstore-blob/License b/sdk/eventhub/eventhubs-checkpointstore-blob/License index cbf2717d8cd3..ea8fb1516028 100644 --- a/sdk/eventhub/eventhubs-checkpointstore-blob/License +++ b/sdk/eventhub/eventhubs-checkpointstore-blob/License @@ -1,22 +1,21 @@ - MIT License +The MIT License (MIT) - Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) 2020 Microsoft - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. - - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/eventhub/eventhubs-checkpointstore-blob/package.json b/sdk/eventhub/eventhubs-checkpointstore-blob/package.json index 1d477428c5c4..361b59c8d7e2 100644 --- a/sdk/eventhub/eventhubs-checkpointstore-blob/package.json +++ b/sdk/eventhub/eventhubs-checkpointstore-blob/package.json @@ -26,9 +26,9 @@ "files": [ "dist/", "dist-esm/src/", - "src/", "typings/eventhubs-checkpointstore-blob.d.ts", - "tsconfig.json" + "README.md", + "LICENSE" ], "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", diff --git a/sdk/eventhub/eventhubs-checkpointstore-blob/tsconfig.json b/sdk/eventhub/eventhubs-checkpointstore-blob/tsconfig.json index 008f6441a69d..bda27729f70b 100644 --- a/sdk/eventhub/eventhubs-checkpointstore-blob/tsconfig.json +++ b/sdk/eventhub/eventhubs-checkpointstore-blob/tsconfig.json @@ -7,6 +7,7 @@ "declaration": true /* Generates corresponding '.d.ts' file. */, "declarationMap": true /* Generates a sourcemap for each corresponding '.d.ts' file. */, "sourceMap": true /* Generates corresponding '.map' file. */, + "inlineSources": true, "outDir": "./dist-esm" /* Redirect output structure to the directory. */, "declarationDir": "./typings" /* Output directory for generated declaration files.*/, diff --git a/sdk/eventhub/testhub/LICENSE b/sdk/eventhub/testhub/LICENSE new file mode 100644 index 000000000000..ea8fb1516028 --- /dev/null +++ b/sdk/eventhub/testhub/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/eventhub/testhub/tsconfig.json b/sdk/eventhub/testhub/tsconfig.json index 03da73c1abb6..2c1eeea2c079 100644 --- a/sdk/eventhub/testhub/tsconfig.json +++ b/sdk/eventhub/testhub/tsconfig.json @@ -6,18 +6,19 @@ "declaration": true /* Generates corresponding '.d.ts' file. */, "declarationMap": true /* Generates a sourcemap for each corresponding '.d.ts' file. */, "sourceMap": true /* Generates corresponding '.map' file. */, + "inlineSources": true, "outDir": "./dist-esm" /* Redirect output structure to the directory. */, - "declarationDir": "./typings", /* Output directory for generated declaration files.*/ + "declarationDir": "./typings" /* Output directory for generated declaration files.*/, "importHelpers": true /* Import emit helpers from 'tslib'. */, /* Strict Type-Checking Options */ "alwaysStrict": true, "strictNullChecks": true, "strictPropertyInitialization": true, - "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ + "noImplicitReturns": true /* Report error when not all code paths in function return a value. */, /* Additional Checks */ - "noUnusedLocals": true, /* Report errors on unused locals. */ + "noUnusedLocals": true /* Report errors on unused locals. */, /* Module Resolution Options */ "moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */, @@ -28,8 +29,8 @@ "forceConsistentCasingInFileNames": true, /* Other options */ - "newLine": "LF", /* Use the specified end of line sequence to be used when emitting files: "crlf" (windows) or "lf" (unix).”*/ - "allowJs": false, /* Don't allow JavaScript files to be compiled.*/ + "newLine": "LF" /* Use the specified end of line sequence to be used when emitting files: "crlf" (windows) or "lf" (unix).”*/, + "allowJs": false /* Don't allow JavaScript files to be compiled.*/, "lib": [ "es2015", "dom", @@ -43,11 +44,6 @@ ] }, "compileOnSave": true, - "exclude": [ - "node_modules" - ], - "include": [ - "cli.ts", - "./commands" - ] + "exclude": ["node_modules"], + "include": ["cli.ts", "./commands"] } diff --git a/sdk/identity/identity/LICENSE b/sdk/identity/identity/LICENSE new file mode 100644 index 000000000000..ea8fb1516028 --- /dev/null +++ b/sdk/identity/identity/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/identity/identity/package.json b/sdk/identity/identity/package.json index e836c8f34305..c5a3d0642e8c 100644 --- a/sdk/identity/identity/package.json +++ b/sdk/identity/identity/package.json @@ -47,8 +47,9 @@ "files": [ "dist/", "dist-esm/src/", - "src/", - "types/identity.d.ts" + "types/identity.d.ts", + "README.md", + "LICENSE" ], "repository": "github:Azure/azure-sdk-for-js", "keywords": [ diff --git a/sdk/identity/identity/tsconfig.json b/sdk/identity/identity/tsconfig.json index 5bc901cfc260..281793c5edd8 100644 --- a/sdk/identity/identity/tsconfig.json +++ b/sdk/identity/identity/tsconfig.json @@ -11,6 +11,7 @@ "declarationMap": true /* Generates a sourcemap for each corresponding '.d.ts' file. */, "declarationDir": "./types", "sourceMap": true /* Generates corresponding '.map' file. */, + "inlineSources": true, // "outFile": "./", /* Concatenate and emit output to single file. */ "outDir": "./dist-esm" /* Redirect output structure to the directory. */, // "rootDir": "." /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */, @@ -47,7 +48,6 @@ // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */ // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */ - // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */ /* Experimental Options */ // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ diff --git a/sdk/keyvault/keyvault-certificates/.eslintrc.json b/sdk/keyvault/keyvault-certificates/.eslintrc.json index 39286a4c4724..d2b796507a59 100644 --- a/sdk/keyvault/keyvault-certificates/.eslintrc.json +++ b/sdk/keyvault/keyvault-certificates/.eslintrc.json @@ -7,6 +7,7 @@ "ignorePatterns": ["src/core"], "rules": { "@typescript-eslint/no-this-alias": "off", - "no-invalid-this": "off" + "no-invalid-this": "off", + "@azure/azure-sdk/ts-package-json-files-required": "off" } } diff --git a/sdk/keyvault/keyvault-certificates/LICENSE b/sdk/keyvault/keyvault-certificates/LICENSE new file mode 100644 index 000000000000..ea8fb1516028 --- /dev/null +++ b/sdk/keyvault/keyvault-certificates/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/keyvault/keyvault-certificates/ThirdPartyNotices.txt b/sdk/keyvault/keyvault-certificates/ThirdPartyNotices.txt deleted file mode 100644 index f9f562833719..000000000000 --- a/sdk/keyvault/keyvault-certificates/ThirdPartyNotices.txt +++ /dev/null @@ -1,135 +0,0 @@ -Third Party Notices for keyvault-certificates - -This project incorporates material from the project(s) listed below -(collectively, Third Party Code). -Microsoft, Inc. Microsoft is not the original author of the Third Party Code. -The original copyright notice and license, under which Microsoft received such -Third Party Code, are set out below. This Third Party Code is licensed to you -under their original license terms set forth below. -Microsoft reserves all other rights not expressly granted, whether by -implication, estoppel or otherwise. - -1. uuid (https://github.com/kelektiv/node-uuid) - -%% uuid NOTICES AND INFORMATION BEGIN HERE -========================================= -The MIT License (MIT) - -Copyright (c) 2010-2016 Robert Kieffer and other contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -========================================= -END OF uuid NOTICES AND INFORMATION - -2. opentelemetry-js (https://github.com/open-telemetry/opentelemetry-js) - -%% opentelemetry-js NOTICES AND INFORMATION BEGIN HERE -========================================= -Copyright 2019, OpenTelemetry Authors -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - https://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -========================================= -END OF opentelemetry-js NOTICES AND INFORMATION - -3. punycode (https://github.com/bestiejs/punycode.js) - -%% punycode NOTICES AND INFORMATION BEGIN HERE -========================================= -Copyright Mathias Bynens - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -========================================= -END OF punycode NOTICES AND INFORMATION - -4. url (https://github.com/defunctzombie/node-url) - -%% url NOTICES AND INFORMATION BEGIN HERE -========================================= -The MIT License (MIT) - -Copyright Joyent, Inc. and other Node contributors. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -========================================= -END OF url NOTICES AND INFORMATION - -5. querystring (https://github.com/Gozala/querystring) - -%% querystring NOTICES AND INFORMATION BEGIN HERE -========================================= -Copyright 2012 Irakli Gozalishvili. All rights reserved. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. -========================================= -END OF querystring NOTICES AND INFORMATION diff --git a/sdk/keyvault/keyvault-certificates/package.json b/sdk/keyvault/keyvault-certificates/package.json index 98fe169fe9a6..81e966ea8755 100644 --- a/sdk/keyvault/keyvault-certificates/package.json +++ b/sdk/keyvault/keyvault-certificates/package.json @@ -26,14 +26,11 @@ "node": ">=8.0.0" }, "files": [ - "LICENSE.txt", - "README.md", "types/keyvault-certificates.d.ts", - "lib/", "dist/", "dist-esm/src", - "src/", - "tsconfig.json" + "README.md", + "LICENSE" ], "browser": { "os": false, diff --git a/sdk/keyvault/keyvault-certificates/tsconfig.json b/sdk/keyvault/keyvault-certificates/tsconfig.json index 8a51525faa94..9a0426a5d935 100644 --- a/sdk/keyvault/keyvault-certificates/tsconfig.json +++ b/sdk/keyvault/keyvault-certificates/tsconfig.json @@ -4,6 +4,7 @@ "noImplicitAny": true, "preserveConstEnums": true, "sourceMap": true, + "inlineSources": true, "newLine": "LF", "target": "es5", "moduleResolution": "node", diff --git a/sdk/keyvault/keyvault-keys/LICENSE b/sdk/keyvault/keyvault-keys/LICENSE new file mode 100644 index 000000000000..ea8fb1516028 --- /dev/null +++ b/sdk/keyvault/keyvault-keys/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/keyvault/keyvault-keys/LICENSE.TXT b/sdk/keyvault/keyvault-keys/LICENSE.TXT deleted file mode 100644 index 75f196e24648..000000000000 --- a/sdk/keyvault/keyvault-keys/LICENSE.TXT +++ /dev/null @@ -1,21 +0,0 @@ -Copyright (c) Microsoft Corporation. All rights reserved. - -MIT License - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/sdk/keyvault/keyvault-keys/ThirdPartyNotices.txt b/sdk/keyvault/keyvault-keys/ThirdPartyNotices.txt deleted file mode 100644 index 6af21e1efc28..000000000000 --- a/sdk/keyvault/keyvault-keys/ThirdPartyNotices.txt +++ /dev/null @@ -1,135 +0,0 @@ -Third Party Notices for keyvault-keys - -This project incorporates material from the project(s) listed below -(collectively, Third Party Code). -Microsoft, Inc. Microsoft is not the original author of the Third Party Code. -The original copyright notice and license, under which Microsoft received such -Third Party Code, are set out below. This Third Party Code is licensed to you -under their original license terms set forth below. -Microsoft reserves all other rights not expressly granted, whether by -implication, estoppel or otherwise. - -1. uuid (https://github.com/kelektiv/node-uuid) - -%% uuid NOTICES AND INFORMATION BEGIN HERE -========================================= -The MIT License (MIT) - -Copyright (c) 2010-2016 Robert Kieffer and other contributors - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -========================================= -END OF uuid NOTICES AND INFORMATION - -2. opentelemetry-js (https://github.com/open-telemetry/opentelemetry-js) - -%% opentelemetry-js NOTICES AND INFORMATION BEGIN HERE -========================================= -Copyright 2019, OpenTelemetry Authors -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - https://www.apache.org/licenses/LICENSE-2.0 -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -========================================= -END OF opentelemetry-js NOTICES AND INFORMATION - -3. punycode (https://github.com/bestiejs/punycode.js) - -%% punycode NOTICES AND INFORMATION BEGIN HERE -========================================= -Copyright Mathias Bynens - -Permission is hereby granted, free of charge, to any person obtaining -a copy of this software and associated documentation files (the -"Software"), to deal in the Software without restriction, including -without limitation the rights to use, copy, modify, merge, publish, -distribute, sublicense, and/or sell copies of the Software, and to -permit persons to whom the Software is furnished to do so, subject to -the following conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE -LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION -OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION -WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -========================================= -END OF punycode NOTICES AND INFORMATION - -4. url (https://github.com/defunctzombie/node-url) - -%% url NOTICES AND INFORMATION BEGIN HERE -========================================= -The MIT License (MIT) - -Copyright Joyent, Inc. and other Node contributors. - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. -========================================= -END OF url NOTICES AND INFORMATION - -5. querystring (https://github.com/Gozala/querystring) - -%% querystring NOTICES AND INFORMATION BEGIN HERE -========================================= -Copyright 2012 Irakli Gozalishvili. All rights reserved. -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to -deal in the Software without restriction, including without limitation the -rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -sell copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in -all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -IN THE SOFTWARE. -========================================= -END OF querystring NOTICES AND INFORMATION diff --git a/sdk/keyvault/keyvault-keys/package.json b/sdk/keyvault/keyvault-keys/package.json index 3d91c05f61a2..53aee4276b00 100644 --- a/sdk/keyvault/keyvault-keys/package.json +++ b/sdk/keyvault/keyvault-keys/package.json @@ -25,13 +25,11 @@ "node": ">=8.0.0" }, "files": [ - "LICENSE.txt", - "README.md", "types/keyvault-keys.d.ts", "dist/", "dist-esm/", - "src/", - "tsconfig.json" + "README.md", + "LICENSE" ], "browser": { "os": false, diff --git a/sdk/keyvault/keyvault-keys/tsconfig.json b/sdk/keyvault/keyvault-keys/tsconfig.json index 8a51525faa94..9a0426a5d935 100644 --- a/sdk/keyvault/keyvault-keys/tsconfig.json +++ b/sdk/keyvault/keyvault-keys/tsconfig.json @@ -4,6 +4,7 @@ "noImplicitAny": true, "preserveConstEnums": true, "sourceMap": true, + "inlineSources": true, "newLine": "LF", "target": "es5", "moduleResolution": "node", diff --git a/sdk/keyvault/keyvault-secrets/LICENSE b/sdk/keyvault/keyvault-secrets/LICENSE new file mode 100644 index 000000000000..ea8fb1516028 --- /dev/null +++ b/sdk/keyvault/keyvault-secrets/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/keyvault/keyvault-secrets/package.json b/sdk/keyvault/keyvault-secrets/package.json index 7e65574b98f9..a596f5688606 100644 --- a/sdk/keyvault/keyvault-secrets/package.json +++ b/sdk/keyvault/keyvault-secrets/package.json @@ -25,13 +25,11 @@ "node": ">=8.0.0" }, "files": [ - "LICENSE.txt", - "README.md", "types/keyvault-secrets.d.ts", "dist/", "dist-esm/", - "src/", - "tsconfig.json" + "README.md", + "LICENSE" ], "browser": { "os": false, diff --git a/sdk/keyvault/keyvault-secrets/tsconfig.json b/sdk/keyvault/keyvault-secrets/tsconfig.json index 8a51525faa94..9a0426a5d935 100644 --- a/sdk/keyvault/keyvault-secrets/tsconfig.json +++ b/sdk/keyvault/keyvault-secrets/tsconfig.json @@ -4,6 +4,7 @@ "noImplicitAny": true, "preserveConstEnums": true, "sourceMap": true, + "inlineSources": true, "newLine": "LF", "target": "es5", "moduleResolution": "node", diff --git a/sdk/search/search/LICENSE b/sdk/search/search/LICENSE new file mode 100644 index 000000000000..ea8fb1516028 --- /dev/null +++ b/sdk/search/search/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/search/search/package.json b/sdk/search/search/package.json index d801848ec50f..0128c3d60808 100644 --- a/sdk/search/search/package.json +++ b/sdk/search/search/package.json @@ -37,8 +37,9 @@ "files": [ "dist/", "dist-esm/src/", - "src/", - "types/search.d.ts" + "types/search.d.ts", + "README.md", + "LICENSE" ], "//metadata": { "constantPaths": [ diff --git a/sdk/servicebus/service-bus/License b/sdk/servicebus/service-bus/License index 8cb179cdb694..ea8fb1516028 100644 --- a/sdk/servicebus/service-bus/License +++ b/sdk/servicebus/service-bus/License @@ -1,6 +1,6 @@ -Copyright (c) Microsoft Corporation. All rights reserved. +The MIT License (MIT) -MIT License +Copyright (c) 2020 Microsoft Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal @@ -12,7 +12,7 @@ furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. -THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER diff --git a/sdk/servicebus/service-bus/package.json b/sdk/servicebus/service-bus/package.json index ec6474d43c6a..3614f298e2b3 100644 --- a/sdk/servicebus/service-bus/package.json +++ b/sdk/servicebus/service-bus/package.json @@ -31,9 +31,9 @@ "files": [ "dist/", "dist-esm/src/", - "src/", "typings/service-bus.d.ts", - "tsconfig.json" + "README.md", + "LICENSE" ], "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", diff --git a/sdk/servicebus/service-bus/tsconfig.json b/sdk/servicebus/service-bus/tsconfig.json index 7cc660575697..0bc52cd946d1 100644 --- a/sdk/servicebus/service-bus/tsconfig.json +++ b/sdk/servicebus/service-bus/tsconfig.json @@ -6,6 +6,7 @@ "declaration": true /* Generates corresponding '.d.ts' file. */, "declarationMap": true /* Generates a sourcemap for each corresponding '.d.ts' file. */, "sourceMap": true /* Generates corresponding '.map' file. */, + "inlineSources": true, "outDir": "./dist-esm" /* Redirect output structure to the directory. */, "stripInternal": true /* Do not emit declarations for code with @internal annotation*/, "declarationDir": "./typings" /* Output directory for generated declaration files.*/, diff --git a/sdk/storage/storage-blob/LICENSE b/sdk/storage/storage-blob/LICENSE index 21071075c245..ea8fb1516028 100644 --- a/sdk/storage/storage-blob/LICENSE +++ b/sdk/storage/storage-blob/LICENSE @@ -1,21 +1,21 @@ - MIT License +The MIT License (MIT) - Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) 2020 Microsoft - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/storage/storage-blob/package.json b/sdk/storage/storage-blob/package.json index 9115fb7c87cc..ac2b14f22ba1 100644 --- a/sdk/storage/storage-blob/package.json +++ b/sdk/storage/storage-blob/package.json @@ -64,11 +64,10 @@ "BreakingChanges.md", "dist/", "dist-esm/src/", - "LICENSE", - "src/", "typings/latest/src", "typings/3.1/src", - "tsconfig.json" + "README.md", + "LICENSE" ], "repository": { "type": "git", diff --git a/sdk/storage/storage-blob/tsconfig.json b/sdk/storage/storage-blob/tsconfig.json index 83d57c81c3fb..7d0f438f54f6 100644 --- a/sdk/storage/storage-blob/tsconfig.json +++ b/sdk/storage/storage-blob/tsconfig.json @@ -4,6 +4,7 @@ "noImplicitAny": true, "preserveConstEnums": true, "sourceMap": true, + "inlineSources": true, "newLine": "LF", "target": "es5", "moduleResolution": "node", diff --git a/sdk/storage/storage-file-datalake/LICENSE b/sdk/storage/storage-file-datalake/LICENSE index 21071075c245..ea8fb1516028 100644 --- a/sdk/storage/storage-file-datalake/LICENSE +++ b/sdk/storage/storage-file-datalake/LICENSE @@ -1,21 +1,21 @@ - MIT License +The MIT License (MIT) - Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) 2020 Microsoft - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/storage/storage-file-datalake/package.json b/sdk/storage/storage-file-datalake/package.json index 332c5703c364..356a891607d5 100644 --- a/sdk/storage/storage-file-datalake/package.json +++ b/sdk/storage/storage-file-datalake/package.json @@ -58,11 +58,10 @@ "BreakingChanges.md", "dist/", "dist-esm/src/", - "LICENSE", - "src/", "typings/latest/src", "typings/3.1/src", - "tsconfig.json" + "README.md", + "LICENSE" ], "sideEffects": false, "repository": { diff --git a/sdk/storage/storage-file-datalake/tsconfig.json b/sdk/storage/storage-file-datalake/tsconfig.json index 91d7c05371eb..ebafcd4607a2 100644 --- a/sdk/storage/storage-file-datalake/tsconfig.json +++ b/sdk/storage/storage-file-datalake/tsconfig.json @@ -4,6 +4,7 @@ "noImplicitAny": true, "preserveConstEnums": true, "sourceMap": true, + "inlineSources": true, "newLine": "LF", "target": "es5", "moduleResolution": "node", diff --git a/sdk/storage/storage-file-share/LICENSE b/sdk/storage/storage-file-share/LICENSE index 21071075c245..ea8fb1516028 100644 --- a/sdk/storage/storage-file-share/LICENSE +++ b/sdk/storage/storage-file-share/LICENSE @@ -1,21 +1,21 @@ - MIT License +The MIT License (MIT) - Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) 2020 Microsoft - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/storage/storage-file-share/package.json b/sdk/storage/storage-file-share/package.json index dd1b6dbfe72f..13b097f26a60 100644 --- a/sdk/storage/storage-file-share/package.json +++ b/sdk/storage/storage-file-share/package.json @@ -63,11 +63,10 @@ "ThirdPartyNotices.txt", "dist/", "dist-esm/src/", - "LICENSE", - "src/", "typings/latest/src", "typings/3.1/src", - "tsconfig.json" + "README.md", + "LICENSE" ], "repository": { "type": "git", diff --git a/sdk/storage/storage-file-share/tsconfig.json b/sdk/storage/storage-file-share/tsconfig.json index 91d7c05371eb..ebafcd4607a2 100644 --- a/sdk/storage/storage-file-share/tsconfig.json +++ b/sdk/storage/storage-file-share/tsconfig.json @@ -4,6 +4,7 @@ "noImplicitAny": true, "preserveConstEnums": true, "sourceMap": true, + "inlineSources": true, "newLine": "LF", "target": "es5", "moduleResolution": "node", diff --git a/sdk/storage/storage-queue/LICENSE b/sdk/storage/storage-queue/LICENSE index 21071075c245..ea8fb1516028 100644 --- a/sdk/storage/storage-queue/LICENSE +++ b/sdk/storage/storage-queue/LICENSE @@ -1,21 +1,21 @@ - MIT License +The MIT License (MIT) - Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) 2020 Microsoft - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/storage/storage-queue/package.json b/sdk/storage/storage-queue/package.json index a793c7009131..7f90aa80222f 100644 --- a/sdk/storage/storage-queue/package.json +++ b/sdk/storage/storage-queue/package.json @@ -60,11 +60,10 @@ "BreakingChanges.md", "dist/", "dist-esm/src/", - "LICENSE", - "src/", "typings/latest/src", "typings/3.1/src", - "tsconfig.json" + "README.md", + "LICENSE" ], "repository": { "type": "git", diff --git a/sdk/storage/storage-queue/tsconfig.json b/sdk/storage/storage-queue/tsconfig.json index 91d7c05371eb..ebafcd4607a2 100644 --- a/sdk/storage/storage-queue/tsconfig.json +++ b/sdk/storage/storage-queue/tsconfig.json @@ -4,6 +4,7 @@ "noImplicitAny": true, "preserveConstEnums": true, "sourceMap": true, + "inlineSources": true, "newLine": "LF", "target": "es5", "moduleResolution": "node", diff --git a/sdk/template/template/LICENSE b/sdk/template/template/LICENSE new file mode 100644 index 000000000000..ea8fb1516028 --- /dev/null +++ b/sdk/template/template/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/template/template/package.json b/sdk/template/template/package.json index 929b15090791..789140c1414f 100644 --- a/sdk/template/template/package.json +++ b/sdk/template/template/package.json @@ -39,8 +39,9 @@ "files": [ "dist/", "dist-esm/src/", - "src/", - "types/template.d.ts" + "types/template.d.ts", + "README.md", + "LICENSE" ], "repository": "github:Azure/azure-sdk-for-js", "keywords": [ diff --git a/sdk/test-utils/recorder/LICENSE b/sdk/test-utils/recorder/LICENSE index 21071075c245..ea8fb1516028 100644 --- a/sdk/test-utils/recorder/LICENSE +++ b/sdk/test-utils/recorder/LICENSE @@ -1,21 +1,21 @@ - MIT License +The MIT License (MIT) - Copyright (c) Microsoft Corporation. All rights reserved. +Copyright (c) 2020 Microsoft - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal - in the Software without restriction, including without limitation the rights - to use, copy, modify, merge, publish, distribute, sublicense, and/or sell - copies of the Software, and to permit persons to whom the Software is - furnished to do so, subject to the following conditions: +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: - The above copyright notice and this permission notice shall be included in all - copies or substantial portions of the Software. +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. - THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR - IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, - FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE - AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER - LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, - OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE - SOFTWARE +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/test-utils/recorder/package.json b/sdk/test-utils/recorder/package.json index e4c1ada8f67a..fbe0e7f4d868 100644 --- a/sdk/test-utils/recorder/package.json +++ b/sdk/test-utils/recorder/package.json @@ -4,8 +4,7 @@ "description": "This library provides interfaces and helper methods to provide recording and playback capabilities for the tests in Azure JS/TS SDKs", "main": "dist/index.js", "module": "dist-esm/src/index.js", - "browser": { - }, + "browser": {}, "types": "./typings/src/index.d.ts", "scripts": { "audit": "node ../../../common/scripts/rush-audit.js && rimraf node_modules package-lock.json && npm i --package-lock-only 2>&1 && npm audit", @@ -36,7 +35,9 @@ "dist/", "dist-esm/src/", "src/", - "typings/src" + "typings/src", + "README.md", + "LICENSE" ], "repository": "github:Azure/azure-sdk-for-js", "keywords": [ diff --git a/sdk/textanalytics/ai-text-analytics/LICENSE b/sdk/textanalytics/ai-text-analytics/LICENSE new file mode 100644 index 000000000000..ea8fb1516028 --- /dev/null +++ b/sdk/textanalytics/ai-text-analytics/LICENSE @@ -0,0 +1,21 @@ +The MIT License (MIT) + +Copyright (c) 2020 Microsoft + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/sdk/textanalytics/ai-text-analytics/package.json b/sdk/textanalytics/ai-text-analytics/package.json index c0da0e242024..674ba1bc664b 100644 --- a/sdk/textanalytics/ai-text-analytics/package.json +++ b/sdk/textanalytics/ai-text-analytics/package.json @@ -27,8 +27,8 @@ "dist/", "dist-esm/src/", "types/ai-text-analytics.d.ts", - "src/", - "README.md" + "README.md", + "LICENSE" ], "//metadata": { "constantPaths": [ diff --git a/tsconfig.json b/tsconfig.json index 506662b5a428..cefae51eb534 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,6 +5,7 @@ "lib": [], "declaration": true, "declarationMap": true, + "inlineSources": true, "sourceMap": true, "importHelpers": true, "strict": true, From 67a8f821ee9ba2ab5efecce700decd2207f5033d Mon Sep 17 00:00:00 2001 From: Scott Schaab Date: Wed, 11 Mar 2020 10:35:22 -0700 Subject: [PATCH 2/2] Adding schaabs to identity codeowners (#7756) --- .github/CODEOWNERS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index c818a47a8c5a..a60938d7bb0b 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -27,7 +27,7 @@ /sdk/eventhub/ @ramya-rao-a @chradek @richardpark-msft /sdk/servicebus/ @ramya-rao-a @chradek @richardpark-msft -/sdk/identity/ @daviwil @jonathandturner +/sdk/identity/ @schaabs @daviwil @jonathandturner /sdk/keyvault/ @jonathandturner @sadasant /sdk/storage/ @XiaoningLiu @jeremymeng @HarshaNalluru @vinjiang @jiacfan @ljian3377