From dff7421a2b9cb56c43df9aff54d8660cd5265616 Mon Sep 17 00:00:00 2001 From: Nate Moore Date: Thu, 30 Nov 2023 16:27:20 -0600 Subject: [PATCH] Chore: fix noisy peerDependency warnings (it's fine) (#9257) --- package.json | 65 +++++++++++++++++++++++++++++++------------------- pnpm-lock.yaml | 21 +++++++++++++++- 2 files changed, 61 insertions(+), 25 deletions(-) diff --git a/package.json b/package.json index 10544642b3d8..ad073d17d513 100644 --- a/package.json +++ b/package.json @@ -44,14 +44,51 @@ "pnpm": ">=8.6.12" }, "packageManager": "pnpm@8.6.12", + "dependencies": { + "astro-benchmark": "workspace:*" + }, + "devDependencies": { + "@astrojs/check": "^0.3.1", + "@changesets/changelog-github": "^0.4.8", + "@changesets/cli": "^2.26.2", + "@types/node": "^18.17.8", + "@typescript-eslint/eslint-plugin": "^6.11.0", + "@typescript-eslint/parser": "^6.11.0", + "esbuild": "^0.19.6", + "eslint": "^8.54.0", + "eslint-config-prettier": "^9.0.0", + "eslint-plugin-no-only-tests": "^3.1.0", + "eslint-plugin-prettier": "^5.0.0", + "only-allow": "^1.1.1", + "organize-imports-cli": "^0.10.0", + "prettier": "^3.1.0", + "prettier-plugin-astro": "^0.12.2", + "tiny-glob": "^0.2.9", + "turbo": "^1.10.12", + "typescript": "~5.2.2" + }, "pnpm": { "packageExtensions": { + "vite-svg-loader": { + "peerDependenciesMeta": { + "vue": { + "optional": true + } + } + }, "svelte2tsx": { "peerDependenciesMeta": { "typescript": { "optional": true } } + }, + "rehype-pretty-code": { + "peerDependenciesMeta": { + "shiki": { + "optional": true + } + } } }, "overrides": { @@ -66,34 +103,14 @@ "vite", "react", "react-dom", - "@types/react" + "@types/react", + "tslib", + "quill-delta", + "rxjs" ], "allowAny": [ "astro" ] } - }, - "dependencies": { - "astro-benchmark": "workspace:*" - }, - "devDependencies": { - "@astrojs/check": "^0.3.1", - "@changesets/changelog-github": "^0.4.8", - "@changesets/cli": "^2.26.2", - "@types/node": "^18.17.8", - "@typescript-eslint/eslint-plugin": "^6.11.0", - "@typescript-eslint/parser": "^6.11.0", - "esbuild": "^0.19.6", - "eslint": "^8.54.0", - "eslint-config-prettier": "^9.0.0", - "eslint-plugin-no-only-tests": "^3.1.0", - "eslint-plugin-prettier": "^5.0.0", - "only-allow": "^1.1.1", - "organize-imports-cli": "^0.10.0", - "prettier": "^3.1.0", - "prettier-plugin-astro": "^0.12.2", - "tiny-glob": "^0.2.9", - "turbo": "^1.10.12", - "typescript": "~5.2.2" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0fd4633ea435..d338d3d81bb9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,7 +8,7 @@ overrides: organize-imports-cli>ts-morph: ^19.0.0 tsconfig-resolver>type-fest: 3.0.0 -packageExtensionsChecksum: 01871422d489547c532184effb134b35 +packageExtensionsChecksum: 2d0a8c56e33c7d11bb9ef3c997d67c33 importers: @@ -13581,6 +13581,13 @@ packages: quill-delta: ^5 rxjs: '7' tslib: '2' + peerDependenciesMeta: + quill-delta: + optional: true + rxjs: + optional: true + tslib: + optional: true dependencies: arg: 5.0.2 hyperdyperid: 1.2.0 @@ -14334,6 +14341,9 @@ packages: engines: {node: '>= 4.0.0'} peerDependencies: tslib: '2' + peerDependenciesMeta: + tslib: + optional: true dependencies: json-joy: 9.9.1 thingies: 1.12.0 @@ -16683,6 +16693,9 @@ packages: engines: {node: '>=16'} peerDependencies: shiki: 0.x + peerDependenciesMeta: + shiki: + optional: true dependencies: hash-obj: 4.0.0 hast-util-to-string: 2.0.0 @@ -18049,6 +18062,9 @@ packages: engines: {node: '>=10.18'} peerDependencies: tslib: ^2 + peerDependenciesMeta: + tslib: + optional: true dev: true /throttles@1.0.1: @@ -18878,6 +18894,9 @@ packages: resolution: {integrity: sha512-EUfcuqk1NomuacwiuL3mvCfinkm4XN0AHN8BXG737eDlhC0jnp5jxdCxakV+juP/YhhjV5tq/c/bLcm3waWv4Q==} peerDependencies: vue: '>=3.2.13' + peerDependenciesMeta: + vue: + optional: true dependencies: svgo: 3.0.4 dev: false