From 96b8963a6c0ac634de9af45ce3be285fc8030b85 Mon Sep 17 00:00:00 2001 From: Kasper Fabricius Kristensen <45367945+kasperkristensen@users.noreply.github.com> Date: Fri, 22 Nov 2024 21:49:35 +0100 Subject: [PATCH] fix(admin-vite-plugin): Move @babel/types to dependencies from devDependencies to make it compatible with Yarn PnP (#10236) --- .changeset/spotty-eagles-tie.md | 5 +++++ packages/admin/admin-vite-plugin/package.json | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/spotty-eagles-tie.md diff --git a/.changeset/spotty-eagles-tie.md b/.changeset/spotty-eagles-tie.md new file mode 100644 index 0000000000000..22c4001a978b8 --- /dev/null +++ b/.changeset/spotty-eagles-tie.md @@ -0,0 +1,5 @@ +--- +"@medusajs/admin-vite-plugin": patch +--- + +fix(admin-vite-plugin): Move @babel/types to dependencies from devDependencies to make it compatible with Yarn PnP diff --git a/packages/admin/admin-vite-plugin/package.json b/packages/admin/admin-vite-plugin/package.json index fae6bcb209edc..513bc71936c37 100644 --- a/packages/admin/admin-vite-plugin/package.json +++ b/packages/admin/admin-vite-plugin/package.json @@ -27,7 +27,6 @@ "test:watch": "vitest" }, "devDependencies": { - "@babel/types": "7.25.6", "@types/node": "^20.10.4", "tsup": "8.0.1", "typescript": "5.3.3", @@ -40,6 +39,7 @@ "dependencies": { "@babel/parser": "7.25.6", "@babel/traverse": "7.25.6", + "@babel/types": "7.25.6", "@medusajs/admin-shared": "2.0.4", "chokidar": "3.5.3", "fdir": "6.1.1",