diff --git a/knip.ts b/knip.ts index 439c5c8d9..de7c0b751 100644 --- a/knip.ts +++ b/knip.ts @@ -3,7 +3,6 @@ import type { KnipConfig } from 'knip'; const config: KnipConfig = { ignore: ['bin/*.js', 'vitest.single-threaded.config.ts'], ignoreBinaries: ['semantic-release'], - ignoreDependencies: ['editor'], }; export default config; diff --git a/package-lock.json b/package-lock.json index e65b973c8..218080d53 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,7 +16,6 @@ "command-line-usage": "^7.0.1", "configstore": "^6.0.0", "debug": "^4.3.3", - "editor": "^1.0.0", "formdata-node": "^5.0.1", "gray-matter": "^4.0.1", "ignore": "^5.2.0", @@ -4935,11 +4934,6 @@ "wcwidth": "^1.0.1" } }, - "node_modules/editor": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/editor/-/editor-1.0.0.tgz", - "integrity": "sha512-SoRmbGStwNYHgKfjOrX2L0mUvp9bUVv0uPppZSOMAntEbcFtoC3MKF5b3T6HQPXKIV+QGY3xPO3JK5it5lVkuw==" - }, "node_modules/emoji-regex": { "version": "9.2.2", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", diff --git a/package.json b/package.json index 5ed1bfc36..fb585b7ff 100644 --- a/package.json +++ b/package.json @@ -43,7 +43,6 @@ "command-line-usage": "^7.0.1", "configstore": "^6.0.0", "debug": "^4.3.3", - "editor": "^1.0.0", "formdata-node": "^5.0.1", "gray-matter": "^4.0.1", "ignore": "^5.2.0", diff --git a/src/.sink.d.ts b/src/.sink.d.ts deleted file mode 100644 index eebce80a4..000000000 --- a/src/.sink.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -// These packages don't have any TS types so we need to declare a module in order to use them. -declare module 'editor'; diff --git a/src/cmds/openapi/index.ts b/src/cmds/openapi/index.ts index 3c41211a4..8bebe0f6b 100644 --- a/src/cmds/openapi/index.ts +++ b/src/cmds/openapi/index.ts @@ -17,7 +17,7 @@ import readmeAPIFetch, { cleanHeaders, handleRes } from '../../lib/readmeAPIFetc import streamSpecToRegistry from '../../lib/streamSpecToRegistry.js'; import { getProjectVersion } from '../../lib/versionSelect.js'; -export interface Options { +interface Options { create?: boolean; dryRun?: boolean; id?: string;