Skip to content

Commit

Permalink
chore(client-s3): copy source code for v3.28.0 (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored Sep 17, 2021
1 parent 2bb30c3 commit 8c1d9d5
Show file tree
Hide file tree
Showing 125 changed files with 670 additions and 697 deletions.
26 changes: 4 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,11 @@ Testing install size reduction on @aws-sdk/client-s3

## Package sizes

### v0.0.1
### v0.1.0

The version v0.0.1 added in [#1](https://github.com/trivikr/temp-client-s3/pull/1)
contains source code of **@aws-sdk/client-s3@3.31.0** with TypeScript ~4.3.5
The version v0.0.1 added in [#6](https://github.com/trivikr/temp-client-s3/pull/6)
contains source code of **@aws-sdk/client-s3@3.28.0**

```console
version: 0.0.1
package size: 718.9 kB
unpacked size: 8.1 MB
total files: 697
```

### v0.0.4

The version v0.0.4 contains following changes:

- move source files to src folder from [#2](https://github.com/trivikr/temp-client-s3/pull/2)
- use dist-_ instead of dist/_ for outDir from [#4](https://github.com/trivikr/temp-client-s3/pull/2)
- only publish files in dist-\* from [#5](https://github.com/trivikr/temp-client-s3/pull/2)

```console
version: 0.0.4
package size: 480.5 kB
unpacked size: 5.8 MB
total files: 564
Update after publish
```
10 changes: 10 additions & 0 deletions clients/client-s3/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/node_modules/
/build/
/coverage/
/docs/
/dist/
*.tsbuildinfo
*.tgz
*.log
package-lock.json
!karma.conf.js
6 changes: 6 additions & 0 deletions clients/client-s3/.npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
/coverage/
/docs/
/e2e/
tsconfig.test.json
*.tsbuildinfo
jest.config.js
33 changes: 0 additions & 33 deletions clients/client-s3/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,39 +3,6 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

# [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)


### Bug Fixes

* **client-s3:** remove int validation of object size type ([#2775](https://github.com/aws/aws-sdk-js-v3/issues/2775)) ([5f2f70b](https://github.com/aws/aws-sdk-js-v3/commit/5f2f70b0d306c59dd23822505d62b80aaa25cd55))





# [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)


### Bug Fixes

* **client-s3:** revert MRAP customizations ([#2759](https://github.com/aws/aws-sdk-js-v3/issues/2759)) ([cfb3fff](https://github.com/aws/aws-sdk-js-v3/commit/cfb3fff268eb393ece2ea50956a6f8610ec51c40))





# [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)


### Features

* **s3:** support generating endpoints from multi-region access point ([#2742](https://github.com/aws/aws-sdk-js-v3/issues/2742)) ([49da47b](https://github.com/aws/aws-sdk-js-v3/commit/49da47b4dfde0f2c68052409aaf808eddcf4e157))





# [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)


Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/
import chai from "chai";
import chaiAsPromised from "chai-as-promised";
import { S3 } from "../../src/index";
import { S3 } from "../index";
import { Credentials } from "@aws-sdk/types";
import { createBuffer } from "./helpers";
chai.use(chaiAsPromised);
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions clients/client-s3/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ module.exports = function (config) {
config.set({
basePath: "",
frameworks: ["mocha", "chai"],
files: ["test/e2e/**/*.ispec.ts"],
files: ["e2e/**/*.ispec.ts"],
preprocessors: {
"test/e2e/**/*.ispec.ts": ["webpack", "sourcemap", "credentials", "env"],
"e2e/**/*.ispec.ts": ["webpack", "sourcemap", "credentials", "env"],
},
webpackMiddleware: {
stats: "minimal",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
126 changes: 67 additions & 59 deletions clients/client-s3/package.json
Original file line number Diff line number Diff line change
@@ -1,84 +1,82 @@
{
"name": "@trivikr-test/client-s3",
"description": "Testing install size reduction in @aws-sdk/client-s3",
"version": "0.0.4",
"version": "0.1.0",
"scripts": {
"clean": "yarn remove-dist && yarn remove-documentation",
"clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
"build-documentation": "yarn remove-documentation && typedoc ./",
"remove-dist": "rimraf ./dist-*",
"remove-definitions": "rimraf ./types",
"remove-dist": "rimraf ./dist",
"remove-documentation": "rimraf ./docs",
"test:unit": "ts-mocha src/**/*.spec.ts",
"test:e2e": "ts-mocha test/**/*.ispec.ts && karma start karma.conf.js",
"test:unit": "mocha **/cjs/**/*.spec.js",
"test:e2e": "mocha **/cjs/**/*.ispec.js && karma start karma.conf.js",
"test": "yarn test:unit",
"build:cjs": "tsc -p tsconfig.json",
"build:es": "tsc -p tsconfig.es.json",
"build": "yarn build:cjs && yarn build:es",
"downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4"
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4"
},
"main": "./dist-cjs/index.js",
"types": "./dist-types/index.d.ts",
"module": "./dist-es/index.js",
"main": "./dist/cjs/index.js",
"types": "./dist/types/index.d.ts",
"module": "./dist/es/index.js",
"browser": {
"./runtimeConfig": "./runtimeConfig.browser"
},
"react-native": {
"./runtimeConfig": "./runtimeConfig.native"
},
"files": [
"dist-*"
],
"sideEffects": false,
"dependencies": {
"@aws-crypto/sha256-browser": "^1.0.0",
"@aws-crypto/sha256-js": "^1.0.0",
"@aws-sdk/client-sts": "3.31.0",
"@aws-sdk/config-resolver": "3.30.0",
"@aws-sdk/credential-provider-node": "3.31.0",
"@aws-sdk/eventstream-serde-browser": "3.29.0",
"@aws-sdk/eventstream-serde-config-resolver": "3.29.0",
"@aws-sdk/eventstream-serde-node": "3.29.0",
"@aws-sdk/fetch-http-handler": "3.29.0",
"@aws-sdk/hash-blob-browser": "3.29.0",
"@aws-sdk/hash-node": "3.29.0",
"@aws-sdk/hash-stream-node": "3.29.0",
"@aws-sdk/invalid-dependency": "3.29.0",
"@aws-sdk/md5-js": "3.29.0",
"@aws-sdk/middleware-apply-body-checksum": "3.29.0",
"@aws-sdk/middleware-bucket-endpoint": "3.30.0",
"@aws-sdk/middleware-content-length": "3.29.0",
"@aws-sdk/middleware-expect-continue": "3.29.0",
"@aws-sdk/middleware-host-header": "3.29.0",
"@aws-sdk/middleware-location-constraint": "3.29.0",
"@aws-sdk/middleware-logger": "3.29.0",
"@aws-sdk/middleware-retry": "3.29.0",
"@aws-sdk/middleware-sdk-s3": "3.30.0",
"@aws-sdk/middleware-serde": "3.29.0",
"@aws-sdk/middleware-signing": "3.30.0",
"@aws-sdk/middleware-ssec": "3.29.0",
"@aws-sdk/middleware-stack": "3.29.0",
"@aws-sdk/middleware-user-agent": "3.29.0",
"@aws-sdk/node-config-provider": "3.29.0",
"@aws-sdk/node-http-handler": "3.29.0",
"@aws-sdk/protocol-http": "3.29.0",
"@aws-sdk/smithy-client": "3.31.0",
"@aws-sdk/types": "3.29.0",
"@aws-sdk/url-parser": "3.29.0",
"@aws-sdk/util-base64-browser": "3.29.0",
"@aws-sdk/util-base64-node": "3.29.0",
"@aws-sdk/util-body-length-browser": "3.29.0",
"@aws-sdk/util-body-length-node": "3.29.0",
"@aws-sdk/util-user-agent-browser": "3.29.0",
"@aws-sdk/util-user-agent-node": "3.29.0",
"@aws-sdk/util-utf8-browser": "3.29.0",
"@aws-sdk/util-utf8-node": "3.29.0",
"@aws-sdk/util-waiter": "3.29.0",
"@aws-sdk/xml-builder": "3.29.0",
"@aws-sdk/client-sts": "3.28.0",
"@aws-sdk/config-resolver": "3.28.0",
"@aws-sdk/credential-provider-node": "3.28.0",
"@aws-sdk/eventstream-serde-browser": "3.25.0",
"@aws-sdk/eventstream-serde-config-resolver": "3.25.0",
"@aws-sdk/eventstream-serde-node": "3.25.0",
"@aws-sdk/fetch-http-handler": "3.25.0",
"@aws-sdk/hash-blob-browser": "3.25.0",
"@aws-sdk/hash-node": "3.25.0",
"@aws-sdk/hash-stream-node": "3.25.0",
"@aws-sdk/invalid-dependency": "3.25.0",
"@aws-sdk/md5-js": "3.25.0",
"@aws-sdk/middleware-apply-body-checksum": "3.25.0",
"@aws-sdk/middleware-bucket-endpoint": "3.28.0",
"@aws-sdk/middleware-content-length": "3.25.0",
"@aws-sdk/middleware-expect-continue": "3.25.0",
"@aws-sdk/middleware-host-header": "3.25.0",
"@aws-sdk/middleware-location-constraint": "3.25.0",
"@aws-sdk/middleware-logger": "3.25.0",
"@aws-sdk/middleware-retry": "3.28.0",
"@aws-sdk/middleware-sdk-s3": "3.25.0",
"@aws-sdk/middleware-serde": "3.25.0",
"@aws-sdk/middleware-signing": "3.28.0",
"@aws-sdk/middleware-ssec": "3.25.0",
"@aws-sdk/middleware-stack": "3.25.0",
"@aws-sdk/middleware-user-agent": "3.25.0",
"@aws-sdk/node-config-provider": "3.28.0",
"@aws-sdk/node-http-handler": "3.25.0",
"@aws-sdk/protocol-http": "3.25.0",
"@aws-sdk/smithy-client": "3.28.0",
"@aws-sdk/types": "3.25.0",
"@aws-sdk/url-parser": "3.25.0",
"@aws-sdk/util-base64-browser": "3.23.0",
"@aws-sdk/util-base64-node": "3.23.0",
"@aws-sdk/util-body-length-browser": "3.23.0",
"@aws-sdk/util-body-length-node": "3.23.0",
"@aws-sdk/util-user-agent-browser": "3.25.0",
"@aws-sdk/util-user-agent-node": "3.28.0",
"@aws-sdk/util-utf8-browser": "3.23.0",
"@aws-sdk/util-utf8-node": "3.23.0",
"@aws-sdk/util-waiter": "3.25.0",
"@aws-sdk/xml-builder": "3.23.0",
"entities": "2.2.0",
"fast-xml-parser": "3.19.0",
"tslib": "^2.3.0"
},
"devDependencies": {
"@aws-sdk/client-documentation-generator": "3.29.0",
"@aws-sdk/client-documentation-generator": "3.23.0",
"@types/chai": "^4.2.11",
"@types/mocha": "^8.0.4",
"@types/node": "^12.7.5",
Expand All @@ -87,17 +85,27 @@
"rimraf": "^3.0.0",
"ts-jest": "^26.4.1",
"typedoc": "^0.19.2",
"typescript": "~4.3.5"
"typescript": "~4.3.2"
},
"engines": {
"node": ">=10.0.0"
},
"typesVersions": {
"<4.0": {
"dist-types/*": [
"dist-types/ts3.4/*"
"dist/types/*": [
"dist/types/ts3.4/*"
]
}
},
"license": "Apache-2.0"
"author": {
"name": "AWS SDK for JavaScript Team",
"url": "https://aws.amazon.com/javascript/"
},
"license": "Apache-2.0",
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-s3",
"repository": {
"type": "git",
"url": "https://github.com/aws/aws-sdk-js-v3.git",
"directory": "clients/client-s3"
}
}
File renamed without changes.
Loading

0 comments on commit 8c1d9d5

Please sign in to comment.