diff --git a/lib/storage/.gitignore b/lib/lib-storage/.gitignore similarity index 100% rename from lib/storage/.gitignore rename to lib/lib-storage/.gitignore diff --git a/lib/storage/.npmignore b/lib/lib-storage/.npmignore similarity index 100% rename from lib/storage/.npmignore rename to lib/lib-storage/.npmignore diff --git a/lib/storage/CHANGELOG.md b/lib/lib-storage/CHANGELOG.md similarity index 100% rename from lib/storage/CHANGELOG.md rename to lib/lib-storage/CHANGELOG.md diff --git a/lib/storage/LICENSE b/lib/lib-storage/LICENSE similarity index 100% rename from lib/storage/LICENSE rename to lib/lib-storage/LICENSE diff --git a/lib/storage/README.md b/lib/lib-storage/README.md similarity index 100% rename from lib/storage/README.md rename to lib/lib-storage/README.md diff --git a/lib/storage/example-code/config.ts b/lib/lib-storage/example-code/config.ts similarity index 100% rename from lib/storage/example-code/config.ts rename to lib/lib-storage/example-code/config.ts diff --git a/lib/storage/example-code/file-upload.ts b/lib/lib-storage/example-code/file-upload.ts similarity index 100% rename from lib/storage/example-code/file-upload.ts rename to lib/lib-storage/example-code/file-upload.ts diff --git a/lib/storage/example-code/upload-abort.ts b/lib/lib-storage/example-code/upload-abort.ts similarity index 100% rename from lib/storage/example-code/upload-abort.ts rename to lib/lib-storage/example-code/upload-abort.ts diff --git a/lib/storage/example-code/upload-string.ts b/lib/lib-storage/example-code/upload-string.ts similarity index 100% rename from lib/storage/example-code/upload-string.ts rename to lib/lib-storage/example-code/upload-string.ts diff --git a/lib/storage/example-code/upload-unknown-length-browser.ts b/lib/lib-storage/example-code/upload-unknown-length-browser.ts similarity index 100% rename from lib/storage/example-code/upload-unknown-length-browser.ts rename to lib/lib-storage/example-code/upload-unknown-length-browser.ts diff --git a/lib/storage/example-code/upload-unknown-length.ts b/lib/lib-storage/example-code/upload-unknown-length.ts similarity index 100% rename from lib/storage/example-code/upload-unknown-length.ts rename to lib/lib-storage/example-code/upload-unknown-length.ts diff --git a/lib/storage/jest.config.js b/lib/lib-storage/jest.config.js similarity index 69% rename from lib/storage/jest.config.js rename to lib/lib-storage/jest.config.js index ec18b2ae0455..c01e5a0811ca 100644 --- a/lib/storage/jest.config.js +++ b/lib/lib-storage/jest.config.js @@ -4,5 +4,5 @@ module.exports = { ...base, preset: "ts-jest", testEnvironment: "node", - testMatch: ["**/lib/storage/test/**/*.spec.ts?(x)"], + testMatch: ["**/lib/lib-storage/test/**/*.spec.ts?(x)"], }; diff --git a/lib/storage/karma.conf.js b/lib/lib-storage/karma.conf.js similarity index 100% rename from lib/storage/karma.conf.js rename to lib/lib-storage/karma.conf.js diff --git a/lib/storage/package.json b/lib/lib-storage/package.json similarity index 96% rename from lib/storage/package.json rename to lib/lib-storage/package.json index eff107c246c2..78d4df5133b0 100644 --- a/lib/storage/package.json +++ b/lib/lib-storage/package.json @@ -58,10 +58,10 @@ "react-native": { "./runtimeConfig": "./src/runtimeConfig.native" }, - "homepage": "https://github.com/trivikr/aws-sdk-js-v3/tree/master/lib/storage", + "homepage": "https://github.com/trivikr/aws-sdk-js-v3/tree/master/lib/lib-storage", "repository": { "type": "git", "url": "https://github.com/aws/aws-sdk-js-v3.git", - "directory": "lib/storage" + "directory": "lib/lib-storage" } } diff --git a/lib/storage/src/Upload.ts b/lib/lib-storage/src/Upload.ts similarity index 100% rename from lib/storage/src/Upload.ts rename to lib/lib-storage/src/Upload.ts diff --git a/lib/storage/src/bytelength.ts b/lib/lib-storage/src/bytelength.ts similarity index 100% rename from lib/storage/src/bytelength.ts rename to lib/lib-storage/src/bytelength.ts diff --git a/lib/storage/src/chunker.ts b/lib/lib-storage/src/chunker.ts similarity index 100% rename from lib/storage/src/chunker.ts rename to lib/lib-storage/src/chunker.ts diff --git a/lib/storage/src/chunks/getChunkBuffer.ts b/lib/lib-storage/src/chunks/getChunkBuffer.ts similarity index 100% rename from lib/storage/src/chunks/getChunkBuffer.ts rename to lib/lib-storage/src/chunks/getChunkBuffer.ts diff --git a/lib/storage/src/chunks/getChunkStream.ts b/lib/lib-storage/src/chunks/getChunkStream.ts similarity index 100% rename from lib/storage/src/chunks/getChunkStream.ts rename to lib/lib-storage/src/chunks/getChunkStream.ts diff --git a/lib/storage/src/chunks/getDataReadable.ts b/lib/lib-storage/src/chunks/getDataReadable.ts similarity index 100% rename from lib/storage/src/chunks/getDataReadable.ts rename to lib/lib-storage/src/chunks/getDataReadable.ts diff --git a/lib/storage/src/chunks/getDataReadableStream.ts b/lib/lib-storage/src/chunks/getDataReadableStream.ts similarity index 100% rename from lib/storage/src/chunks/getDataReadableStream.ts rename to lib/lib-storage/src/chunks/getDataReadableStream.ts diff --git a/lib/storage/src/index.ts b/lib/lib-storage/src/index.ts similarity index 100% rename from lib/storage/src/index.ts rename to lib/lib-storage/src/index.ts diff --git a/lib/storage/src/runtimeConfig.browser.ts b/lib/lib-storage/src/runtimeConfig.browser.ts similarity index 100% rename from lib/storage/src/runtimeConfig.browser.ts rename to lib/lib-storage/src/runtimeConfig.browser.ts diff --git a/lib/storage/src/runtimeConfig.native.ts b/lib/lib-storage/src/runtimeConfig.native.ts similarity index 100% rename from lib/storage/src/runtimeConfig.native.ts rename to lib/lib-storage/src/runtimeConfig.native.ts diff --git a/lib/storage/src/runtimeConfig.shared.ts b/lib/lib-storage/src/runtimeConfig.shared.ts similarity index 100% rename from lib/storage/src/runtimeConfig.shared.ts rename to lib/lib-storage/src/runtimeConfig.shared.ts diff --git a/lib/storage/src/runtimeConfig.ts b/lib/lib-storage/src/runtimeConfig.ts similarity index 100% rename from lib/storage/src/runtimeConfig.ts rename to lib/lib-storage/src/runtimeConfig.ts diff --git a/lib/storage/src/types.ts b/lib/lib-storage/src/types.ts similarity index 100% rename from lib/storage/src/types.ts rename to lib/lib-storage/src/types.ts diff --git a/lib/storage/test/data-chunk/buffer-chunk.spec.ts b/lib/lib-storage/test/data-chunk/buffer-chunk.spec.ts similarity index 100% rename from lib/storage/test/data-chunk/buffer-chunk.spec.ts rename to lib/lib-storage/test/data-chunk/buffer-chunk.spec.ts diff --git a/lib/storage/test/data-chunk/readable-chunk.spec.ts b/lib/lib-storage/test/data-chunk/readable-chunk.spec.ts similarity index 100% rename from lib/storage/test/data-chunk/readable-chunk.spec.ts rename to lib/lib-storage/test/data-chunk/readable-chunk.spec.ts diff --git a/lib/storage/test/data-chunk/readable-stream-chunk.spec.ts b/lib/lib-storage/test/data-chunk/readable-stream-chunk.spec.ts similarity index 100% rename from lib/storage/test/data-chunk/readable-stream-chunk.spec.ts rename to lib/lib-storage/test/data-chunk/readable-stream-chunk.spec.ts diff --git a/lib/storage/test/data-chunk/sample.file b/lib/lib-storage/test/data-chunk/sample.file similarity index 100% rename from lib/storage/test/data-chunk/sample.file rename to lib/lib-storage/test/data-chunk/sample.file diff --git a/lib/storage/test/storage.spec.ts b/lib/lib-storage/test/storage.spec.ts similarity index 100% rename from lib/storage/test/storage.spec.ts rename to lib/lib-storage/test/storage.spec.ts diff --git a/lib/storage/test/upload.spec.ts b/lib/lib-storage/test/upload.spec.ts similarity index 100% rename from lib/storage/test/upload.spec.ts rename to lib/lib-storage/test/upload.spec.ts diff --git a/lib/storage/tsconfig.cjs.json b/lib/lib-storage/tsconfig.cjs.json similarity index 100% rename from lib/storage/tsconfig.cjs.json rename to lib/lib-storage/tsconfig.cjs.json diff --git a/lib/storage/tsconfig.es.json b/lib/lib-storage/tsconfig.es.json similarity index 100% rename from lib/storage/tsconfig.es.json rename to lib/lib-storage/tsconfig.es.json