From 77d27a5be27a79e95e6971402509fecb81ad6762 Mon Sep 17 00:00:00 2001 From: Fabian Meyer <3982806+meyfa@users.noreply.github.com> Date: Thu, 13 Oct 2022 13:02:20 +0200 Subject: [PATCH] fix(pluginutils): Move `@types/estree` to dependencies (fixes #1315) estree types are required for downstream packages, since pluginutils/types/index.d.ts makes use of them. --- packages/pluginutils/package.json | 2 +- pnpm-lock.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/pluginutils/package.json b/packages/pluginutils/package.json index 9c389e7b6..f3a48d126 100644 --- a/packages/pluginutils/package.json +++ b/packages/pluginutils/package.json @@ -61,6 +61,7 @@ } }, "dependencies": { + "@types/estree": "^1.0.0", "estree-walker": "^2.0.2", "picomatch": "^2.3.1" }, @@ -68,7 +69,6 @@ "@rollup/plugin-commonjs": "^22.0.2", "@rollup/plugin-node-resolve": "^14.1.0", "@rollup/plugin-typescript": "^8.5.0", - "@types/estree": "1.0.0", "@types/node": "^14.18.30", "@types/picomatch": "^2.3.0", "acorn": "^8.8.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 92c9de89f..534a7a1ca 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -412,7 +412,7 @@ importers: '@rollup/plugin-commonjs': ^22.0.2 '@rollup/plugin-node-resolve': ^14.1.0 '@rollup/plugin-typescript': ^8.5.0 - '@types/estree': 1.0.0 + '@types/estree': ^1.0.0 '@types/node': ^14.18.30 '@types/picomatch': ^2.3.0 acorn: ^8.8.0 @@ -421,13 +421,13 @@ importers: rollup: ^3.0.0-7 typescript: ^4.8.3 dependencies: + '@types/estree': 1.0.0 estree-walker: 2.0.2 picomatch: 2.3.1 devDependencies: '@rollup/plugin-commonjs': 22.0.2_rollup@3.0.0-7 '@rollup/plugin-node-resolve': 14.1.0_rollup@3.0.0-7 '@rollup/plugin-typescript': 8.5.0_wkkufgeabp7wfx7iyk42bruffi - '@types/estree': 1.0.0 '@types/node': 14.18.31 '@types/picomatch': 2.3.0 acorn: 8.8.0