Skip to content

Commit

Permalink
feat: add yarnpkg/core sub exports
Browse files Browse the repository at this point in the history
  • Loading branch information
ChALkeR committed Nov 26, 2024
1 parent 8bfe2d5 commit 5e7758c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .yarn/versions/30ae755e.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
releases:
"@yarnpkg/core": patch

declined:
- "@yarnpkg/plugin-workspace-tools"
- "@yarnpkg/cli"
- "@yarnpkg/nm"
- "@yarnpkg/shell"
4 changes: 4 additions & 0 deletions packages/yarnpkg-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -69,6 +71,8 @@
"main": "./lib/index.js",
"exports": {
".": "./lib/index.js",
"./structUtils": "./lib/structUtils.js",
"./semverUtils": "./lib/semverUtils.js",
"./package.json": "./package.json"
}
},
Expand Down

0 comments on commit 5e7758c

Please sign in to comment.