From 3b89b73d270f8c24600523092c7f23ccdf0b7f93 Mon Sep 17 00:00:00 2001 From: Luna Nova Date: Fri, 18 Oct 2024 23:20:47 -0400 Subject: [PATCH] fix: move `cypress` to `optionalDependencies` --- package.json | 4 +++- pnpm-lock.yaml | 8 +++++--- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index a5d6771db6..1cd5f7e167 100644 --- a/package.json +++ b/package.json @@ -66,13 +66,15 @@ "esbuild": "0.23.1", "glob": "11.0.0" }, + "optionalDependencies": { + "cypress": "13.14.2" + }, "devDependencies": { "@misskey-dev/eslint-plugin": "2.0.3", "@types/node": "20.14.12", "@typescript-eslint/eslint-plugin": "7.17.0", "@typescript-eslint/parser": "7.17.0", "cross-env": "7.0.3", - "cypress": "13.14.2", "eslint": "9.8.0", "globals": "15.9.0", "ncp": "2.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index bda23dfd32..dd82433122 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -45,6 +45,10 @@ importers: typescript: specifier: 5.6.2 version: 5.6.2 + optionalDependencies: + cypress: + specifier: 13.14.2 + version: 13.14.2 devDependencies: '@misskey-dev/eslint-plugin': specifier: 2.0.3 @@ -61,9 +65,6 @@ importers: cross-env: specifier: 7.0.3 version: 7.0.3 - cypress: - specifier: 13.14.2 - version: 13.14.2 eslint: specifier: 9.8.0 version: 9.8.0 @@ -17573,6 +17574,7 @@ snapshots: tmp: 0.2.3 untildify: 4.0.0 yauzl: 2.10.0 + optional: true cypress@13.15.0: dependencies: