Skip to content

Commit

Permalink
Merge pull request #760 from mittwald/refact/remove-unused-deps
Browse files Browse the repository at this point in the history
Remove unused dependencies
  • Loading branch information
martin-helmich authored Sep 6, 2024
2 parents 116a5c8 + a2cef07 commit 768e10c
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 53 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
"axios-retry": "^4.0.0",
"chalk": "^5.3.0",
"date-fns": "^3.2.0",
"humanize-string": "^3.0.0",
"ink": "^5.0.1",
"ink-link": "^4.0.0",
"ink-text-input": "^6.0.0",
Expand All @@ -74,12 +73,9 @@
"devDependencies": {
"@jest/globals": "^29.7.0",
"@oclif/test": "^4.0.4",
"@types/chai": "^4.3.16",
"@types/chalk": "^2.2.0",
"@types/copyfiles": "^2.4.1",
"@types/js-yaml": "^4.0.9",
"@types/marked-terminal": "^3.1.3",
"@types/mocha": "^10.0.7",
"@types/node": "^20.3.3",
"@types/parse-duration": "^0.3.0",
"@types/pretty-bytes": "^5.2.0",
Expand Down Expand Up @@ -107,7 +103,6 @@
"ts-jest": "^29.2.5",
"ts-node": "^10.9.2",
"tsx": "^4.7.1",
"type-fest": "^4.6.0",
"typescript": "^5.1.6"
},
"oclif": {
Expand Down
2 changes: 1 addition & 1 deletion src/commands/conversation/show.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { runCommand } from "@oclif/test";
import { MittwaldAPIV2 } from "@mittwald/api-client";
import nock from "nock";
import { expect } from "@jest/globals";
import { afterEach, beforeEach, describe, expect, it } from "@jest/globals";

type Conversation = MittwaldAPIV2.Components.Schemas.ConversationConversation;
type Message = MittwaldAPIV2.Components.Schemas.ConversationMessage;
Expand Down
2 changes: 1 addition & 1 deletion src/commands/database/mysql/create.test.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import nock from "nock";
import { runCommand } from "@oclif/test";
import { expect } from "@jest/globals";
import { afterEach, beforeEach, describe, expect, it } from "@jest/globals";

describe("database:mysql:create", () => {
const projectId = "339d6458-839f-4809-a03d-78700069690c";
Expand Down
2 changes: 1 addition & 1 deletion src/rendering/formatter/Table.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Table from "./Table.js";
import { expect } from "@jest/globals";
import { describe, expect, it } from "@jest/globals";
import TableColumnRenderer from "./TableColumnRenderer.js";

function effectiveStringLength(str: string) {
Expand Down
2 changes: 1 addition & 1 deletion src/rendering/formatter/smartTruncate.test.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import smartTruncate from "./smartTruncate.js";
import { expect } from "@jest/globals";
import { expect, describe, it } from "@jest/globals";

describe("smartTruncate", () => {
it("leaves short strings as is", () => {
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
"types": ["node", "mocha"],
"types": ["node"],
"esModuleInterop": true,
"jsx": "react-jsx",
"baseUrl": ".",
Expand Down
44 changes: 1 addition & 43 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2211,12 +2211,9 @@ __metadata:
"@oclif/plugin-update": ^4.1.3
"@oclif/plugin-warn-if-update-available": ^3.0.2
"@oclif/test": ^4.0.4
"@types/chai": ^4.3.16
"@types/chalk": ^2.2.0
"@types/copyfiles": ^2.4.1
"@types/js-yaml": ^4.0.9
"@types/marked-terminal": ^3.1.3
"@types/mocha": ^10.0.7
"@types/node": ^20.3.3
"@types/parse-duration": ^0.3.0
"@types/pretty-bytes": ^5.2.0
Expand All @@ -2235,7 +2232,6 @@ __metadata:
eslint-plugin-json: ^4.0.0
eslint-plugin-prettier: ^5.1.3
globals: ^15.9.0
humanize-string: ^3.0.0
ink: ^5.0.1
ink-link: ^4.0.0
ink-text-input: ^6.0.0
Expand Down Expand Up @@ -2264,7 +2260,6 @@ __metadata:
ts-jest: ^29.2.5
ts-node: ^10.9.2
tsx: ^4.7.1
type-fest: ^4.6.0
typescript: ^5.1.6
uuid: ^10.0.0
bin:
Expand Down Expand Up @@ -3265,13 +3260,6 @@ __metadata:
languageName: node
linkType: hard

"@types/chai@npm:^4.3.16":
version: 4.3.19
resolution: "@types/chai@npm:4.3.19"
checksum: abd4d3239735054f3b6e8163e45bc6495f66469729fbcf4784c9f2b82361a6845d45ab9c518818c78eafa46d015e3a72306e9949d1333e10d7eaedf426af4261
languageName: node
linkType: hard

"@types/chalk@npm:^2.2.0":
version: 2.2.0
resolution: "@types/chalk@npm:2.2.0"
Expand All @@ -3281,13 +3269,6 @@ __metadata:
languageName: node
linkType: hard

"@types/copyfiles@npm:^2.4.1":
version: 2.4.4
resolution: "@types/copyfiles@npm:2.4.4"
checksum: 0513199240828feda5f6ed04c69d6a642c47e6ab66b81214716807f948ed3e865e9b3d2b69f75cbcc6fbe2154630755c47ca473b3913f0a831179366c709a8cc
languageName: node
linkType: hard

"@types/debug@npm:^4.0.0":
version: 4.1.8
resolution: "@types/debug@npm:4.1.8"
Expand Down Expand Up @@ -3394,13 +3375,6 @@ __metadata:
languageName: node
linkType: hard

"@types/mocha@npm:^10.0.7":
version: 10.0.7
resolution: "@types/mocha@npm:10.0.7"
checksum: 5e411ed8aa19228e322b2fb0075c4d822322fb157d1adfc8620a798748035d430dc16421bdc7d7f84f118481b8c8c63ec86b95757a8acc926ddc3d737fbffc3a
languageName: node
linkType: hard

"@types/ms@npm:*":
version: 0.7.31
resolution: "@types/ms@npm:0.7.31"
Expand Down Expand Up @@ -5084,13 +5058,6 @@ __metadata:
languageName: node
linkType: hard

"decamelize@npm:^6.0.0":
version: 6.0.0
resolution: "decamelize@npm:6.0.0"
checksum: 0066bc30798ec11e01adf0c19ad975caef86545d4bb6f70cfb90b7eb8e3cbf7974cf774ac2e6ea2586e4e07b1f654bfecc4e772c42128a79a89f8584fc546753
languageName: node
linkType: hard

"decode-named-character-reference@npm:^1.0.0":
version: 1.0.2
resolution: "decode-named-character-reference@npm:1.0.2"
Expand Down Expand Up @@ -6692,15 +6659,6 @@ __metadata:
languageName: node
linkType: hard

"humanize-string@npm:^3.0.0":
version: 3.0.0
resolution: "humanize-string@npm:3.0.0"
dependencies:
decamelize: ^6.0.0
checksum: af88f94d6d5642a9d516a59f7c35f9bcdd6993710b7ff41be4e1564d413137afc1d084bb24741fe8a32584c7892f3ab28abbcbe606d0c060a77d6bb9a33469f6
languageName: node
linkType: hard

"iconv-lite@npm:^0.6.2":
version: 0.6.3
resolution: "iconv-lite@npm:0.6.3"
Expand Down Expand Up @@ -10670,7 +10628,7 @@ __metadata:
languageName: node
linkType: hard

"type-fest@npm:^4.18.2, type-fest@npm:^4.23.0, type-fest@npm:^4.6.0, type-fest@npm:^4.8.3":
"type-fest@npm:^4.18.2, type-fest@npm:^4.23.0, type-fest@npm:^4.8.3":
version: 4.26.0
resolution: "type-fest@npm:4.26.0"
checksum: f8073dc59a4a5bd897eecb3dfbf9d7716031fc161062ef572c402252a0375cc692c9ae1f50c75c80722964f1eda4011d1edbab36af63a130a53b3c1aab4ed1c5
Expand Down

0 comments on commit 768e10c

Please sign in to comment.