From ee2f6643aac5fb4b3f229ca9246a63f0d345e493 Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Fri, 29 Dec 2023 20:08:48 +0000 Subject: [PATCH 1/2] fix(middleware-compression): add missing @aws-sdk prefix in package name --- packages/middleware-compression/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/middleware-compression/package.json b/packages/middleware-compression/package.json index 6dfeb3d76533..88f6c7f5d713 100644 --- a/packages/middleware-compression/package.json +++ b/packages/middleware-compression/package.json @@ -1,6 +1,6 @@ { - "name": "middleware-compression", - "version": "1.0.0", + "name": "@aws-sdk/middleware-compression", + "version": "3.0.0", "description": "Middleware and Plugin for request compression.", "scripts": { "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'", From 39154d7c67aea516578850352f2dd476045f5e8b Mon Sep 17 00:00:00 2001 From: "Kamat, Trivikram" <16024985+trivikr@users.noreply.github.com> Date: Fri, 29 Dec 2023 20:11:18 +0000 Subject: [PATCH 2/2] chore: add changelog and docs generation command --- packages/middleware-compression/CHANGELOG.md | 4 ++++ packages/middleware-compression/api-extractor.json | 4 ++++ packages/middleware-compression/package.json | 1 + 3 files changed, 9 insertions(+) create mode 100644 packages/middleware-compression/CHANGELOG.md create mode 100644 packages/middleware-compression/api-extractor.json diff --git a/packages/middleware-compression/CHANGELOG.md b/packages/middleware-compression/CHANGELOG.md new file mode 100644 index 000000000000..e9fb6ecf5930 --- /dev/null +++ b/packages/middleware-compression/CHANGELOG.md @@ -0,0 +1,4 @@ +# Change Log + +All notable changes to this project will be documented in this file. +See [Conventional Commits](https://conventionalcommits.org) for commit guidelines. \ No newline at end of file diff --git a/packages/middleware-compression/api-extractor.json b/packages/middleware-compression/api-extractor.json new file mode 100644 index 000000000000..b03e22a16a06 --- /dev/null +++ b/packages/middleware-compression/api-extractor.json @@ -0,0 +1,4 @@ +{ + "extends": "../../api-extractor.packages.json", + "mainEntryPointFilePath": "./dist-types/index.d.ts" +} diff --git a/packages/middleware-compression/package.json b/packages/middleware-compression/package.json index 88f6c7f5d713..1812623d9fb4 100644 --- a/packages/middleware-compression/package.json +++ b/packages/middleware-compression/package.json @@ -10,6 +10,7 @@ "build:types": "tsc -p tsconfig.types.json", "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4", "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo", + "extract:docs": "api-extractor run --local", "test": "jest" }, "main": "./dist-cjs/index.js",