/ashes

A problematic Skeleton repo.

Primary LanguageJavaScript

ashes

Update

This issue has been resolved. See skeletonlabs/skeleton#420.

Description

Reproduction repo for Skeleton with Yarn v3 workspaces (PNP disabled). See #420.

Created with yarn init -2. See .yarnrc.yml for configuration.

To reproduce the problem, run yarn install and then yarn run dev.

Problem

Expected behaviour

After creating and running the ui workspace as described in the README, a functional demo page should be displayed.

A screenshot of the expected page

Actual behaviour

It can be seen that the layout is not styled properly. Tailwind seems to be applied only partially.

A screenshot of the broken layout

Additional information

No visible errors or warnings are shown with vite dev, vite build or in the browser console.

One interesting observation is that Vite creates a node_modules folder at the workspace level (packages/ui/node_modules/.vite/deps) instead of the repo/project level.

Workaround

By setting nmHoistingLimits: workspaces in .yarnrc.yml, this problem can be fixed. Is there any package that's referencing a dependency that's not hoisted to the project level?