From 68ccf88d4e32020c53407e40b7af1adebfe125e1 Mon Sep 17 00:00:00 2001 From: Konrad Pabjan Date: Tue, 1 Aug 2023 12:02:30 -0400 Subject: [PATCH] Cleanup --- packages/artifact/README.md | 2 -- packages/artifact/package-lock.json | 13 ------------- packages/artifact/package.json | 1 - .../artifact/src/internal/upload/upload-artifact.ts | 1 - .../artifact/src/internal/upload/upload-response.ts | 5 ----- 5 files changed, 22 deletions(-) diff --git a/packages/artifact/README.md b/packages/artifact/README.md index 65a554af..103c90b7 100644 --- a/packages/artifact/README.md +++ b/packages/artifact/README.md @@ -85,8 +85,6 @@ The returned `UploadResponse` will contain the following information - `artifactName` - The name of the artifact that was uploaded -- `artifactItems` - - A list of all files that describe what is uploaded if there are no errors encountered. Usually this will be equal to the inputted `files` with the exception of empty directories (will not be uploaded) - `size` - Total size of the artifact that was uploaded in bytes diff --git a/packages/artifact/package-lock.json b/packages/artifact/package-lock.json index eb814608..a547c77b 100644 --- a/packages/artifact/package-lock.json +++ b/packages/artifact/package-lock.json @@ -13,7 +13,6 @@ }, "devDependencies": { "@protobuf-ts/plugin": "^2.2.3-alpha.1", - "@types/tmp": "^0.2.1", "twirp-ts": "^2.5.0", "typescript": "^3.9.10" } @@ -86,12 +85,6 @@ "@protobuf-ts/runtime": "^2.9.1" } }, - "node_modules/@types/tmp": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@types/tmp/-/tmp-0.2.3.tgz", - "integrity": "sha512-dDZH/tXzwjutnuk4UacGgFRwV+JSLaXL1ikvidfJprkb7L9Nx1njcRHHmi3Dsvt7pgqqTEeucQuOrWHPFgzVHA==", - "dev": true - }, "node_modules/balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", @@ -426,12 +419,6 @@ "@protobuf-ts/runtime": "^2.9.1" } }, - "@types/tmp": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@types/tmp/-/tmp-0.2.3.tgz", - "integrity": "sha512-dDZH/tXzwjutnuk4UacGgFRwV+JSLaXL1ikvidfJprkb7L9Nx1njcRHHmi3Dsvt7pgqqTEeucQuOrWHPFgzVHA==", - "dev": true - }, "balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", diff --git a/packages/artifact/package.json b/packages/artifact/package.json index 13f23ee1..26530c4c 100644 --- a/packages/artifact/package.json +++ b/packages/artifact/package.json @@ -41,7 +41,6 @@ }, "devDependencies": { "@protobuf-ts/plugin": "^2.2.3-alpha.1", - "@types/tmp": "^0.2.1", "twirp-ts": "^2.5.0", "typescript": "^3.9.10" } diff --git a/packages/artifact/src/internal/upload/upload-artifact.ts b/packages/artifact/src/internal/upload/upload-artifact.ts index 238b7790..30010aa0 100644 --- a/packages/artifact/src/internal/upload/upload-artifact.ts +++ b/packages/artifact/src/internal/upload/upload-artifact.ts @@ -21,7 +21,6 @@ export async function uploadArtifact( const uploadResponse: UploadResponse = { artifactName: name, - artifactItems: [], size: 0 } diff --git a/packages/artifact/src/internal/upload/upload-response.ts b/packages/artifact/src/internal/upload/upload-response.ts index 970457ac..d20d2ba2 100644 --- a/packages/artifact/src/internal/upload/upload-response.ts +++ b/packages/artifact/src/internal/upload/upload-response.ts @@ -8,9 +8,4 @@ export interface UploadResponse { * Total size of the artifact in bytes that was uploaded */ size: number - - /** - * A list of items that were uploaded as part of the artifact - */ - artifactItems: string[] } \ No newline at end of file