From cd3ec0fbe3a1485b989aa8fcc1458e812dc00fd9 Mon Sep 17 00:00:00 2001 From: Nikita Skovoroda Date: Tue, 26 Nov 2024 03:15:33 +0300 Subject: [PATCH] feat: add yarnpkg/core sub exports --- .yarn/versions/30ae755e.yml | 35 ++++++++++++++++++++++++++++++ packages/yarnpkg-core/package.json | 4 ++++ 2 files changed, 39 insertions(+) create mode 100644 .yarn/versions/30ae755e.yml diff --git a/.yarn/versions/30ae755e.yml b/.yarn/versions/30ae755e.yml new file mode 100644 index 000000000000..1e428af4766e --- /dev/null +++ b/.yarn/versions/30ae755e.yml @@ -0,0 +1,35 @@ +releases: + "@yarnpkg/core": patch + +declined: + - "@yarnpkg/plugin-compat" + - "@yarnpkg/plugin-constraints" + - "@yarnpkg/plugin-dlx" + - "@yarnpkg/plugin-essentials" + - "@yarnpkg/plugin-exec" + - "@yarnpkg/plugin-file" + - "@yarnpkg/plugin-git" + - "@yarnpkg/plugin-github" + - "@yarnpkg/plugin-http" + - "@yarnpkg/plugin-init" + - "@yarnpkg/plugin-interactive-tools" + - "@yarnpkg/plugin-link" + - "@yarnpkg/plugin-nm" + - "@yarnpkg/plugin-npm" + - "@yarnpkg/plugin-npm-cli" + - "@yarnpkg/plugin-pack" + - "@yarnpkg/plugin-patch" + - "@yarnpkg/plugin-pnp" + - "@yarnpkg/plugin-pnpm" + - "@yarnpkg/plugin-stage" + - "@yarnpkg/plugin-typescript" + - "@yarnpkg/plugin-version" + - "@yarnpkg/plugin-workspace-tools" + - "@yarnpkg/builder" + - "@yarnpkg/cli" + - "@yarnpkg/doctor" + - "@yarnpkg/extensions" + - "@yarnpkg/nm" + - "@yarnpkg/pnpify" + - "@yarnpkg/sdks" + - "@yarnpkg/shell" diff --git a/packages/yarnpkg-core/package.json b/packages/yarnpkg-core/package.json index 0a085cfbc7b4..4d33ad78532c 100644 --- a/packages/yarnpkg-core/package.json +++ b/packages/yarnpkg-core/package.json @@ -5,6 +5,8 @@ "main": "./sources/index.ts", "exports": { ".": "./sources/index.ts", + "./structUtils": "./sources/structUtils.ts", + "./semverUtils": "./sources/semverUtils.ts", "./package.json": "./package.json" }, "sideEffects": false, @@ -69,6 +71,8 @@ "main": "./lib/index.js", "exports": { ".": "./lib/index.js", + "./structUtils": "./lib/structUtils.js", + "./semverUtils": "./lib/semverUtils.js", "./package.json": "./package.json" } },