Skip to content

Commit

Permalink
Fixing paths after removing keyvault-common
Browse files Browse the repository at this point in the history
  • Loading branch information
sadasant committed Sep 14, 2020
1 parent 548d148 commit 2c27e20
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 18 deletions.
4 changes: 2 additions & 2 deletions sdk/keyvault/keyvault-admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"main": "./dist/index.js",
"module": "dist-esm/keyvault-admin/src/index.js",
"module": "dist-esm/index.js",
"types": "./types/keyvault-admin.d.ts",
"engine": {
"node": ">=8.0.0"
Expand All @@ -36,7 +36,7 @@
"types/keyvault-admin.d.ts",
"dist/",
"dist-browser/",
"dist-esm/keyvault-admin/src",
"dist-esm/",
"README.md",
"LICENSE"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe("Secrets Admin's user agent (only in Node, because of fs)", () => {
version = fileContents.version;
} catch {
const fileContents = JSON.parse(
fs.readFileSync(path.join(__dirname, "../../../../package.json"), { encoding: "utf-8" })
fs.readFileSync(path.join(__dirname, "../../../package.json"), { encoding: "utf-8" })
);
version = fileContents.version;
}
Expand Down
6 changes: 3 additions & 3 deletions sdk/keyvault/keyvault-certificates/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"main": "./dist/index.js",
"module": "dist-esm/keyvault-certificates/src/index.js",
"module": "dist-esm/src/index.js",
"types": "./types/keyvault-certificates.d.ts",
"engines": {
"node": ">=8.0.0"
Expand All @@ -29,7 +29,7 @@
"types/keyvault-certificates.d.ts",
"dist/",
"dist-browser/",
"dist-esm/keyvault-certificates/src",
"dist-esm/src",
"README.md",
"LICENSE"
],
Expand All @@ -47,7 +47,7 @@
"build": "npm run extract-api && npm run build:es6 && npm run build:nodebrowser",
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"clean": "rimraf dist-esm dist-test typings *.tgz *.log samples/typescript/dist",
"execute:samples": "npm run build:samples && dev-tool samples run dist-samples/javascript dist-samples/typescript/dist/keyvault-certificates/dist-samples/typescript/src/",
"execute:samples": "npm run build:samples && dev-tool samples run dist-samples/javascript dist-samples/typescript/src/",
"extract-api": "tsc -p . && api-extractor run --local",
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"samples/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"integration-test:browser": "karma start --single-run",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ describe("Certificates client's user agent (only in Node, because of fs)", () =>
version = fileContents.version;
} catch {
// The integration-test script has this test file in a considerably different place,
// Along the lines of: dist-esm/keyvault-keys/test/internal/userAgent.spec.ts
// Along the lines of: dist-esm/test/internal/userAgent.spec.ts
const fileContents = JSON.parse(
fs.readFileSync(path.join(__dirname, "../../../../package.json"), { encoding: "utf-8" })
fs.readFileSync(path.join(__dirname, "../../../package.json"), { encoding: "utf-8" })
);
version = fileContents.version;
}
Expand Down
6 changes: 3 additions & 3 deletions sdk/keyvault/keyvault-keys/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"main": "./dist/index.js",
"module": "dist-esm/keyvault-keys/src/index.js",
"module": "dist-esm/src/index.js",
"types": "./types/keyvault-keys.d.ts",
"engines": {
"node": ">=8.0.0"
Expand All @@ -29,7 +29,7 @@
"types/keyvault-keys.d.ts",
"dist/",
"dist-browser/",
"dist-esm/keyvault-keys/src",
"dist-esm/src",
"README.md",
"LICENSE"
],
Expand All @@ -47,7 +47,7 @@
"build": "npm run extract-api && npm run build:es6 && npm run build:nodebrowser",
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"clean": "rimraf dist dist-esm dist-test types *.tgz *.log dist-browser statistics.html coverage && rimraf src/**/*.js && rimraf test/**/*.js",
"execute:samples": "npm run build:samples && dev-tool samples run dist-samples/javascript dist-samples/typescript/dist/keyvault-keys/dist-samples/typescript/src/",
"execute:samples": "npm run build:samples && dev-tool samples run dist-samples/javascript dist-samples/typescript/src/",
"extract-api": "tsc -p . && api-extractor run --local",
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"integration-test:browser": "karma start --single-run",
Expand Down
4 changes: 2 additions & 2 deletions sdk/keyvault/keyvault-keys/test/internal/userAgent.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ describe("Keys client's user agent (only in Node, because of fs)", () => {
version = fileContents.version;
} catch {
// The integration-test script has this test file in a considerably different place,
// Along the lines of: dist-esm/keyvault-keys/test/internal/userAgent.spec.ts
// Along the lines of: dist-esm/test/internal/userAgent.spec.ts
const fileContents = JSON.parse(
fs.readFileSync(path.join(__dirname, "../../../../package.json"), { encoding: "utf-8" })
fs.readFileSync(path.join(__dirname, "../../../package.json"), { encoding: "utf-8" })
);
version = fileContents.version;
}
Expand Down
6 changes: 3 additions & 3 deletions sdk/keyvault/keyvault-secrets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"main": "./dist/index.js",
"module": "dist-esm/keyvault-secrets/src/index.js",
"module": "dist-esm/index.js",
"types": "./types/keyvault-secrets.d.ts",
"engine": {
"node": ">=8.0.0"
Expand All @@ -32,7 +32,7 @@
"types/keyvault-secrets.d.ts",
"dist/",
"dist-browser/",
"dist-esm/keyvault-secrets/src",
"dist-esm/",
"README.md",
"LICENSE"
],
Expand All @@ -50,7 +50,7 @@
"build": "npm run extract-api && npm run build:es6 && npm run build:nodebrowser",
"check-format": "prettier --list-different --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"clean": "rimraf dist dist-esm dist-test types *.tgz *.log dist-browser statistics.html coverage && rimraf src/**/*.js && rimraf test/**/*.js",
"execute:samples": "npm run build:samples && dev-tool samples run dist-samples/javascript dist-samples/typescript/dist/keyvault-secrets/dist-samples/typescript/src/",
"execute:samples": "npm run build:samples && dev-tool samples run dist-samples/javascript dist-samples/typescript/src/",
"extract-api": "tsc -p . && api-extractor run --local",
"format": "prettier --write --config ../../../.prettierrc.json --ignore-path ../../../.prettierignore \"src/**/*.ts\" \"test/**/*.ts\" \"*.{js,json}\"",
"integration-test:browser": "karma start --single-run",
Expand Down
4 changes: 2 additions & 2 deletions sdk/keyvault/keyvault-secrets/test/internal/userAgent.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ describe("Secrets client's user agent (only in Node, because of fs)", () => {
version = fileContents.version;
} catch {
// The integration-test script has this test file in a considerably different place,
// Along the lines of: dist-esm/keyvault-keys/test/internal/userAgent.spec.ts
// Along the lines of: dist-esm/test/internal/userAgent.spec.ts
const fileContents = JSON.parse(
fs.readFileSync(path.join(__dirname, "../../../../package.json"), { encoding: "utf-8" })
fs.readFileSync(path.join(__dirname, "../../../package.json"), { encoding: "utf-8" })
);
version = fileContents.version;
}
Expand Down

0 comments on commit 2c27e20

Please sign in to comment.