Skip to content

Commit

Permalink
Expose package subdirectories
Browse files Browse the repository at this point in the history
In our Remix monorepo, we need to be able to access modules under
./lib/client/ and ./lib/types/, but a change upstream prevents us from
doing so because they're not listed as package entry points. In this
commit, we expose the files under each of those paths so that our
monorepo is happy once again.

See: https://nodejs.org/api/packages.html#package-entry-points
  • Loading branch information
throwandgo committed Oct 5, 2023
1 parent 64f5866 commit 5904650
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/storycap/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@remix/storycap",
"version": "1.1.0",
"version": "1.1.1",
"description": "A Storybook addon, Save the screenshot image of your stories! via puppeteer.",
"engines": {
"node": ">=14.13"
Expand All @@ -13,6 +13,8 @@
"browser": "./lib-esm/index.js",
"default": "./lib/index.js"
},
"./lib/client/*": "./lib/client/*",
"./lib/shared/*": "./lib/shared/*",
"./register": "./register.js"
},
"sideEffects": [
Expand Down

0 comments on commit 5904650

Please sign in to comment.