diff --git a/README.md b/README.md index dfdd7143..6c346af2 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ This package is [ESM only][esm]. In Node.js (version 18+) with [yarn][yarn]: ```sh -yarn add -D @flex-development/unist-util-types @types/unist +yarn add @flex-development/unist-util-types ```
diff --git a/package.json b/package.json index ffb966d0..e675850f 100644 --- a/package.json +++ b/package.json @@ -63,6 +63,9 @@ "typecheck": "vitest run --mode=typecheck --typecheck", "typecheck:watch": "vitest --mode=typecheck --typecheck" }, + "dependencies": { + "@types/unist": "3.0.2" + }, "devDependencies": { "@arethetypeswrong/cli": "0.15.3", "@commitlint/cli": "19.3.0", @@ -124,12 +127,6 @@ "vitest": "1.6.0", "yaml-eslint-parser": "1.2.3" }, - "peerDependencies": { - "@types/unist": ">=3.0.2" - }, - "resolutions": { - "@types/unist": "3.0.2" - }, "engines": { "node": ">=18.18.2" }, diff --git a/yarn.lock b/yarn.lock index 8c83dc80..7bd53d6e 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1900,8 +1900,6 @@ __metadata: typescript: "npm:5.5.0-beta" vitest: "npm:1.6.0" yaml-eslint-parser: "npm:1.2.3" - peerDependencies: - "@types/unist": ">=3.0.2" languageName: unknown linkType: soft @@ -2523,13 +2521,20 @@ __metadata: languageName: node linkType: hard -"@types/unist@npm:3.0.2": +"@types/unist@npm:*, @types/unist@npm:3.0.2, @types/unist@npm:^3.0.0": version: 3.0.2 resolution: "@types/unist@npm:3.0.2" checksum: 10/3d04d0be69316e5f14599a0d993a208606c12818cf631fd399243d1dc7a9bd8a3917d6066baa6abc290814afbd744621484756803c80cba892c39cd4b4a85616 languageName: node linkType: hard +"@types/unist@npm:^2, @types/unist@npm:^2.0.0, @types/unist@npm:^2.0.2": + version: 2.0.10 + resolution: "@types/unist@npm:2.0.10" + checksum: 10/e2924e18dedf45f68a5c6ccd6015cd62f1643b1b43baac1854efa21ae9e70505db94290434a23da1137d9e31eb58e54ca175982005698ac37300a1c889f6c4aa + languageName: node + linkType: hard + "@types/validator@npm:^13.7.10": version: 13.11.8 resolution: "@types/validator@npm:13.11.8"