From da9a5bf1cfc8d467a04c37d49c7e339320ec17fa Mon Sep 17 00:00:00 2001 From: Simon H <5968653+dummdidumm@users.noreply.github.com> Date: Thu, 11 Jan 2024 14:42:44 +0100 Subject: [PATCH] fix: make `@types/estree` a dependency (#10150) types are exposed through our types, so we need to add it as a dependency fixes #10010 --- .changeset/bright-snakes-sing.md | 5 +++++ packages/svelte/package.json | 2 +- pnpm-lock.yaml | 6 +++--- 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 .changeset/bright-snakes-sing.md diff --git a/.changeset/bright-snakes-sing.md b/.changeset/bright-snakes-sing.md new file mode 100644 index 0000000000..23989cab63 --- /dev/null +++ b/.changeset/bright-snakes-sing.md @@ -0,0 +1,5 @@ +--- +'svelte': patch +--- + +fix: make `@types/estree` a dependency diff --git a/packages/svelte/package.json b/packages/svelte/package.json index b5745885fb..8610965749 100644 --- a/packages/svelte/package.json +++ b/packages/svelte/package.json @@ -106,7 +106,6 @@ "@rollup/plugin-terser": "^0.4.4", "@rollup/plugin-virtual": "^3.0.2", "@types/aria-query": "^5.0.3", - "@types/estree": "^1.0.5", "dts-buddy": "^0.4.3", "esbuild": "^0.19.2", "rollup": "^4.1.5", @@ -116,6 +115,7 @@ "dependencies": { "@ampproject/remapping": "^2.2.1", "@jridgewell/sourcemap-codec": "^1.4.15", + "@types/estree": "^1.0.5", "acorn": "^8.10.0", "acorn-typescript": "^1.4.13", "aria-query": "^5.3.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index b4357fcb13..1cb846cab0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -65,6 +65,9 @@ importers: '@jridgewell/sourcemap-codec': specifier: ^1.4.15 version: 1.4.15 + '@types/estree': + specifier: ^1.0.5 + version: 1.0.5 acorn: specifier: ^8.10.0 version: 8.11.2 @@ -117,9 +120,6 @@ importers: '@types/aria-query': specifier: ^5.0.3 version: 5.0.4 - '@types/estree': - specifier: ^1.0.5 - version: 1.0.5 dts-buddy: specifier: ^0.4.3 version: 0.4.3(typescript@5.2.2)