Skip to content

Commit

Permalink
fix: remove unused code and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
serhalp committed Jan 21, 2025
1 parent 4631558 commit 6f58d50
Show file tree
Hide file tree
Showing 11 changed files with 0 additions and 768 deletions.
427 changes: 0 additions & 427 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
"@octokit/rest": "20.1.1",
"@opentelemetry/api": "1.8.0",
"ansi-escapes": "7.0.0",
"ansi-styles": "6.2.1",
"ansi-to-html": "0.7.2",
"ascii-table": "0.0.9",
"backoff": "2.5.0",
Expand All @@ -98,7 +97,6 @@
"clean-deep": "3.4.0",
"commander": "10.0.1",
"comment-json": "4.2.5",
"concordance": "5.0.4",
"configstore": "6.0.0",
"content-type": "1.0.5",
"cookie": "0.7.2",
Expand Down Expand Up @@ -150,7 +148,6 @@
"netlify": "13.2.1",
"netlify-redirector": "0.5.0",
"node-fetch": "3.3.2",
"node-version-alias": "3.4.1",
"ora": "8.1.1",
"p-filter": "4.1.0",
"p-map": "7.0.3",
Expand Down
1 change: 0 additions & 1 deletion src/commands/blobs/index.ts

This file was deleted.

36 changes: 0 additions & 36 deletions src/utils/addons/compare.ts

This file was deleted.

23 changes: 0 additions & 23 deletions src/utils/addons/diffs/index.ts

This file was deleted.

109 changes: 0 additions & 109 deletions src/utils/addons/diffs/options.ts

This file was deleted.

5 changes: 0 additions & 5 deletions src/utils/addons/prepare.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import { APIError, error } from '../command-helpers.js'

export const ADDON_VALIDATION = {
EXISTS: 'EXISTS',
NOT_EXISTS: 'NOT_EXISTS',
}

// @ts-expect-error TS(7031) FIXME: Binding element 'addonName' implicitly has an 'any... Remove this comment to see the full error message
export const getCurrentAddon = ({ addonName, addons }) => addons.find((addon) => addon.service_slug === addonName)

Expand Down
98 changes: 0 additions & 98 deletions src/utils/addons/prompts.ts

This file was deleted.

24 changes: 0 additions & 24 deletions src/utils/addons/validation.ts

This file was deleted.

34 changes: 0 additions & 34 deletions src/utils/init/node-version.ts

This file was deleted.

8 changes: 0 additions & 8 deletions src/utils/shell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ const cleanupWork = []

let cleanupStarted = false

/**
* @param {() => Promise<void>} job
*/
// @ts-expect-error TS(7006) FIXME: Parameter 'job' implicitly has an 'any' type.
export const addCleanupJob = (job) => {
cleanupWork.push(job)
}

/**
* @param {object} input
* @param {number=} input.exitCode The exit code to return when exiting the process after cleanup
Expand Down

0 comments on commit 6f58d50

Please sign in to comment.