From 36c72e96ea75f52da7665df1fa50f5100e674f7e Mon Sep 17 00:00:00 2001 From: moontai0724 Date: Mon, 7 Oct 2024 11:35:42 +0800 Subject: [PATCH] chore: require deps --- package.json | 9 ++++++++- pnpm-lock.yaml | 26 ++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index aebd863..018054c 100644 --- a/package.json +++ b/package.json @@ -51,8 +51,10 @@ "@commitlint/cli": "^19.5.0", "@commitlint/config-conventional": "^19.5.0", "@eslint/js": "^9.11.1", + "@sinclair/typebox": "^0.32.35", "@types/eslint__js": "^8.42.3", "@types/node": "^20.11.0", + "@types/yargs": "^17.0.33", "@typescript-eslint/parser": "^8.8.0", "@vitest/coverage-v8": "^2.1.1", "eslint": "^9.11.1", @@ -70,6 +72,11 @@ "typescript": "~5.5", "typescript-eslint": "^8.7.0", "vite": "^5.4.8", - "vitest": "^2.1.1" + "vitest": "^2.1.1", + "yargs": "^17.0.0" + }, + "peerDependencies": { + "@sinclair/typebox": "^0.32.35", + "yargs": "^17.0.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index abb9a01..d0fcbf6 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -17,12 +17,18 @@ importers: '@eslint/js': specifier: ^9.11.1 version: 9.11.1 + '@sinclair/typebox': + specifier: ^0.32.35 + version: 0.32.35 '@types/eslint__js': specifier: ^8.42.3 version: 8.42.3 '@types/node': specifier: ^20.11.0 version: 20.16.10 + '@types/yargs': + specifier: ^17.0.33 + version: 17.0.33 '@typescript-eslint/parser': specifier: ^8.8.0 version: 8.8.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.5.4) @@ -77,6 +83,9 @@ importers: vitest: specifier: ^2.1.1 version: 2.1.2(@types/node@20.16.10) + yargs: + specifier: ^17.0.0 + version: 17.7.2 packages: @@ -502,6 +511,9 @@ packages: '@shikijs/vscode-textmate@9.2.2': resolution: {integrity: sha512-TMp15K+GGYrWlZM8+Lnj9EaHEFmOen0WJBrfa17hF7taDOYthuPPV0GWzfd/9iMij0akS/8Yw2ikquH7uVi/fg==} + '@sinclair/typebox@0.32.35': + resolution: {integrity: sha512-Ul3YyOTU++to8cgNkttakC0dWvpERr6RYoHO2W47DLbFvrwBDJUY31B1sImH6JZSYc4Kt4PyHtoPNu+vL2r2dA==} + '@types/conventional-commits-parser@5.0.0': resolution: {integrity: sha512-loB369iXNmAZglwWATL+WRe+CRMmmBPtpolYzIebFaX4YA3x+BEfLqhUAV9WanycKI3TG1IMr5bMJDajDKLlUQ==} @@ -529,6 +541,12 @@ packages: '@types/unist@3.0.3': resolution: {integrity: sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q==} + '@types/yargs-parser@21.0.3': + resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} + + '@types/yargs@17.0.33': + resolution: {integrity: sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA==} + '@typescript-eslint/eslint-plugin@8.8.0': resolution: {integrity: sha512-wORFWjU30B2WJ/aXBfOm1LX9v9nyt9D3jsSOxC3cCaTQGCW5k4jNpmjFv3U7p/7s4yvdjHzwtv2Sd2dOyhjS0A==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} @@ -2356,6 +2374,8 @@ snapshots: '@shikijs/vscode-textmate@9.2.2': {} + '@sinclair/typebox@0.32.35': {} + '@types/conventional-commits-parser@5.0.0': dependencies: '@types/node': 20.16.10 @@ -2387,6 +2407,12 @@ snapshots: '@types/unist@3.0.3': {} + '@types/yargs-parser@21.0.3': {} + + '@types/yargs@17.0.33': + dependencies: + '@types/yargs-parser': 21.0.3 + '@typescript-eslint/eslint-plugin@8.8.0(@typescript-eslint/parser@8.8.0(eslint@9.11.1(jiti@1.21.6))(typescript@5.5.4))(eslint@9.11.1(jiti@1.21.6))(typescript@5.5.4)': dependencies: '@eslint-community/regexpp': 4.11.1