Skip to content

Conversation

@carloskelly13
Copy link
Contributor

The CLI requires the package.json to correctly load the right dependencies. Since it was outside of the main source package for the CLI, it was not getting included, but looked correct locally. This uses a build script to copy the package in for packaging then remove after. Below are screenshots showing a local npm pack with the file included and the CLI working from what npm pack generated.

Screenshot 2023-12-18 at 1 49 18 PM Screenshot 2023-12-18 at 1 49 16 PM

@vercel
Copy link

vercel bot commented Dec 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
spectacle-docs-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 18, 2023 8:01pm

@carloskelly13 carloskelly13 merged commit a7196d5 into main Dec 18, 2023
@carloskelly13 carloskelly13 deleted the fix/cli-spex-package branch December 18, 2023 23:21
@github-actions github-actions bot mentioned this pull request Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants