Skip to content

Commit 8f9ba3f

Browse files
committed
chore: rename protocol_tests to private in config
1 parent 57a2536 commit 8f9ba3f

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module.exports = {
44
...base,
55
projects: [
66
"<rootDir>/lib/*/jest.config.js",
7-
"<rootDir>/protocol_tests/*/jest.config.js",
7+
"<rootDir>/private/*/jest.config.js",
88
"<rootDir>/packages/*/jest.config.js",
99
"<rootDir>/clients/*/jest.config.js",
1010
],

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
"generate-clients": "node ./scripts/generate-clients",
1111
"bootstrap": "yarn",
1212
"clean": "yarn clear-build-cache && yarn clear-build-info && lerna clean",
13-
"clear-build-cache": "rimraf ./packages/*/dist ./clients/*/dist ./lib/*/dist ./protocol_tests/*/dist",
14-
"clear-build-info": "rimraf ./packages/**/*.tsbuildinfo ./clients/**/*.tsbuildinfo ./lib/**/*.tsbuildinfo ./protocol_tests/**/*.tsbuildinfo",
13+
"clear-build-cache": "rimraf ./packages/*/dist ./clients/*/dist ./lib/*/dist ./private/*/dist",
14+
"clear-build-info": "rimraf ./packages/**/*.tsbuildinfo ./clients/**/*.tsbuildinfo ./lib/**/*.tsbuildinfo ./private/**/*.tsbuildinfo",
1515
"remove-documentation": "rimraf ./docs",
1616
"build:crypto-dependencies": "lerna run --scope '@aws-sdk/{types,util-utf8-browser,util-locate-window,hash-node}' --include-dependencies build",
1717
"build:protocols": "yarn build:crypto-dependencies && lerna run --scope '@aws-sdk/aws-protocoltests-*' --include-dependencies build",
@@ -107,7 +107,7 @@
107107
"clients/*",
108108
"lib/*",
109109
"packages/*",
110-
"protocol_tests/*"
110+
"private/*"
111111
],
112112
"nohoist": [
113113
"**/karma*",

scripts/generate-clients/copy-to-clients.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,11 @@ const copyServerTests = async (sourceDir, destinationDir) => {
168168
const destManifest = existsSync(destSubPath) ? JSON.parse(readFileSync(destSubPath).toString()) : {};
169169
const mergedManifest = {
170170
...mergeManifest(packageManifest, destManifest),
171-
homepage: `https://github.com/aws/aws-sdk-js-v3/tree/main/protocol_tests/${testName}`,
171+
homepage: `https://github.com/aws/aws-sdk-js-v3/tree/main/private/${testName}`,
172172
repository: {
173173
type: "git",
174174
url: "https://github.com/aws/aws-sdk-js-v3.git",
175-
directory: `protocol_tests/${testName}`,
175+
directory: `private/${testName}`,
176176
},
177177
};
178178
writeFileSync(destSubPath, JSON.stringify(mergedManifest, null, 2).concat(`\n`));

scripts/generate-clients/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const { prettifyCode } = require("./code-prettify");
1313
const { eslintFixCode } = require("./code-eslint-fix");
1414

1515
const SDK_CLIENTS_DIR = path.normalize(path.join(__dirname, "..", "..", "clients"));
16-
const PROTOCOL_TESTS_CLIENTS_DIR = path.normalize(path.join(__dirname, "..", "..", "protocol_tests"));
16+
const PROTOCOL_TESTS_CLIENTS_DIR = path.normalize(path.join(__dirname, "..", "..", "private"));
1717

1818
const {
1919
models,

scripts/verdaccio-publish/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ spawn("npx", args, pipeStdIo).on("close", (code) => {
4141
// Rollback the changes caused by the version bumping
4242
execSync("git checkout -- clients/*/package.json");
4343
execSync("git checkout -- packages/*/package.json");
44-
execSync("git checkout -- protocol_tests/*/package.json");
44+
execSync("git checkout -- private/*/package.json");
4545

4646
// Kill the background verdaccio server
4747
verdaccio.kill();

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"paths": {
1212
"@aws-sdk/*": ["packages/*/src"],
1313
"@aws-sdk/client-*": ["clients/client-*/"],
14-
"@aws-sdk/aws-*": ["protocol_tests/aws-*/"],
14+
"@aws-sdk/aws-*": ["private/aws-*/"],
1515
"@aws-sdk/lib-*": ["lib/*"]
1616
},
1717
"preserveConstEnums": true,

0 commit comments

Comments
 (0)