From 5904650a0d525427f98781cb2524cb24ede150f2 Mon Sep 17 00:00:00 2001 From: Austin Benavides Date: Thu, 5 Oct 2023 15:56:02 -0700 Subject: [PATCH] Expose package subdirectories 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 --- packages/storycap/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/storycap/package.json b/packages/storycap/package.json index cb95209ee..3bdf96910 100644 --- a/packages/storycap/package.json +++ b/packages/storycap/package.json @@ -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" @@ -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": [