From 4049cd7cb5fa537f9199e77aacb7be05f3a02918 Mon Sep 17 00:00:00 2001 From: JJ Kasper Date: Thu, 11 Aug 2022 18:54:26 -0500 Subject: [PATCH] Re-add styled-jsx as a normal dependency (#39518) This re-adds `styled-jsx` as a normal dependency for now leaving the require hook in place so that we can correctly handle mis-matching versions in the module tree. x-ref: [slack thread](https://vercel.slack.com/archives/C02CDC2ALJH/p1660254377444709) ## Bug - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Errors have helpful link attached, see `contributing.md` --- packages/next/package.json | 2 +- pnpm-lock.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/next/package.json b/packages/next/package.json index 57c505d4e292..3e60b427d466 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -74,6 +74,7 @@ "@swc/helpers": "0.4.3", "caniuse-lite": "^1.0.30001332", "postcss": "8.4.14", + "styled-jsx": "5.0.4", "use-sync-external-store": "1.2.0" }, "peerDependencies": { @@ -257,7 +258,6 @@ "string-hash": "1.1.3", "string_decoder": "1.3.0", "strip-ansi": "6.0.0", - "styled-jsx": "5.0.4", "tar": "6.1.11", "taskr": "1.1.0", "terser": "5.14.1", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 0ead58bb8e06..f1cc89026b21 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -586,6 +586,7 @@ importers: '@swc/helpers': 0.4.3 caniuse-lite: 1.0.30001332 postcss: 8.4.14 + styled-jsx: 5.0.4_@babel+core@7.18.0 use-sync-external-store: 1.2.0 devDependencies: '@ampproject/toolbox-optimizer': 2.8.3 @@ -750,7 +751,6 @@ importers: string_decoder: 1.3.0 string-hash: 1.1.3 strip-ansi: 6.0.0 - styled-jsx: 5.0.4_@babel+core@7.18.0 tar: 6.1.11 taskr: 1.1.0 terser: 5.14.1 @@ -20573,7 +20573,7 @@ packages: optional: true dependencies: '@babel/core': 7.18.0 - dev: true + dev: false /stylehacks/4.0.3: resolution: {integrity: sha512-7GlLk9JwlElY4Y6a/rmbH2MhVlTyVmiJd1PfTCqFaIBEGMYNsrO/v3SeGTdhBThLg4Z+NbOk/qFMwCa+J+3p/g==}