Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix adp issue #1700

Merged
merged 14 commits into from
Dec 14, 2022
Original file line number Diff line number Diff line change
Expand Up @@ -118,10 +118,9 @@ function regularAutorestPackage(
"rollup-plugin-sourcemaps": "^0.6.3",
typescript: "~4.8.0",
"uglify-js": "^3.4.9",
rimraf: "^3.0.0"
rimraf: "^3.0.0",
dotenv: "^8.2.0"
MaryGao marked this conversation as resolved.
Show resolved Hide resolved
},
// TODO: Calculate the SDK path for the package
homepage: `https://github.com/Azure/azure-sdk-for-js/tree/main/${azureOutputDirectory}`,
repository: {
type: "git",
url: "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down Expand Up @@ -186,6 +185,10 @@ function regularAutorestPackage(
},
autoPublish: true
};
if (azureOutputDirectory) {
packageInfo.homepage = `https://github.com/Azure/azure-sdk-for-js/tree/main/${azureOutputDirectory}`;
}

if (generateTest) {
packageInfo.module = `./dist-esm/src/index.js`;
packageInfo.devDependencies["@azure/identity"] = "^2.0.1";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"dotenv": "^8.2.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^2.0.0",
"@azure-tools/test-credential": "^1.0.0",
Expand All @@ -36,7 +37,6 @@
"cross-env": "^7.0.2",
"@types/node": "^14.0.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
"rollup-plugin-sourcemaps": "^0.6.3",
"typescript": "~4.8.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0"
"rimraf": "^3.0.0",
"dotenv": "^8.2.0"
},
"homepage": "https://github.com/Azure/azure-sdk-for-js/tree/main/undefined",
"repository": {
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
Expand Down
Loading