Skip to content

Conversation

@ibrahimcesar
Copy link
Owner

The deployment workflow was failing because it tried to install [email protected] from npmjs.org, but:

  • The package is scoped as @ibrahimcesar/react-lite-youtube-embed
  • It's published to GitHub Packages, not npmjs.org
  • Version 3.0.5 may not be published yet

Solution:

  • Build the library from source first
  • Use local build for demo (npm install ../.
  • This ensures demo always uses latest repository code
  • No dependency on published packages

Benefits:

  • Demo always shows current code
  • Works regardless of publish status
  • Better CI/CD efficiency with shared caching

The deployment workflow was failing because it tried to install
[email protected] from npmjs.org, but:
- The package is scoped as @ibrahimcesar/react-lite-youtube-embed
- It's published to GitHub Packages, not npmjs.org
- Version 3.0.5 may not be published yet

Solution:
- Build the library from source first
- Use local build for demo (npm install ../.
- This ensures demo always uses latest repository code
- No dependency on published packages

Benefits:
- Demo always shows current code
- Works regardless of publish status
- Better CI/CD efficiency with shared caching
@ibrahimcesar ibrahimcesar merged commit 9475930 into main Nov 15, 2025
5 checks passed
@github-actions
Copy link
Contributor

size-limit report 📦

Path Size
ES Module 2.88 KB (0%)
CommonJS 2.84 KB (0%)
CSS 1.05 KB (0%)

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.

3 participants