From 3cd761d63945b9d4c2ebf6cbde617f6e74ac6a00 Mon Sep 17 00:00:00 2001 From: JounQin Date: Tue, 26 Dec 2023 23:21:24 +0800 Subject: [PATCH 1/2] feat: migrate `@pkgr/utils` to lite `@pkgr/core` --- package.json | 2 +- src/index.ts | 2 +- yarn.lock | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 700038a62..0dc57cb78 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "typecov": "type-coverage" }, "dependencies": { - "@pkgr/utils": "^2.4.2", + "@pkgr/core": "^0.1.0", "tslib": "^2.6.2" }, "devDependencies": { diff --git a/src/index.ts b/src/index.ts index 36634c454..359a3c0d1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -13,7 +13,7 @@ import { workerData, } from 'node:worker_threads' -import { findUp, isPkgAvailable, tryExtensions } from '@pkgr/utils' +import { findUp, isPkgAvailable, tryExtensions } from '@pkgr/core' import type { AnyAsyncFn, diff --git a/yarn.lock b/yarn.lock index 6e25d88b0..e6df94535 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2640,6 +2640,11 @@ resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== +"@pkgr/core@^0.1.0": + version "0.1.0" + resolved "https://registry.yarnpkg.com/@pkgr/core/-/core-0.1.0.tgz#7d8dacb7fdef0e4387caf7396cbd77f179867d06" + integrity sha512-Zwq5OCzuwJC2jwqmpEQt7Ds1DTi6BWSwoGkbb1n9pO3hzb35BoJELx7c0T23iDkBGkh2e7tvOtjF3tr3OaQHDQ== + "@pkgr/es-modules@^0.6.3": version "0.6.3" resolved "https://registry.yarnpkg.com/@pkgr/es-modules/-/es-modules-0.6.3.tgz#ac6508af00ca42bcedf5e10505018b5a0a2634dd" From 9c5ab098df86dac023dfb03457a0c0e0fa71c82e Mon Sep 17 00:00:00 2001 From: JounQin Date: Tue, 26 Dec 2023 23:24:22 +0800 Subject: [PATCH 2/2] Create kind-sloths-cross.md --- .changeset/kind-sloths-cross.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/kind-sloths-cross.md diff --git a/.changeset/kind-sloths-cross.md b/.changeset/kind-sloths-cross.md new file mode 100644 index 000000000..2a7f23ec0 --- /dev/null +++ b/.changeset/kind-sloths-cross.md @@ -0,0 +1,5 @@ +--- +"synckit": patch +--- + +feat: migrate `@pkgr/utils` to lite `@pkgr/core` - This will make the whole package much more smaller