Ready to Publish! ๐
Status: โ Ready
Everything is prepared and committed. Now you just need to:
1. Login to npm (if not already)
npm login
Enter your npm credentials when prompted.
2. Publish to npm
npm run changeset:publish
This will:
- โ Sync components (already done, but will verify)
- โ Publish @larcjs/core@3.0.1 to npm
- โ Create git tags
- โ
Push tags to GitHub (you'll need to run
git push --follow-tagsafter)
3. Push to GitHub
git push --follow-tags
This pushes the commit and version tags to GitHub.
What's Being Published
@larcjs/core@3.0.1 (from 2.0.0) New Features:- 130 UI components bundled in
/components/ - Zero-config setup with one script tag
- Components auto-load without configuration
- pan.mjs (autoloader - updated)
- pan-bus.mjs, pan-client.mjs, pan-storage.mjs
- components/ (NEW! 130 component files)
After Publishing
Verify on npm
# Check package exists
npm view @larcjs/core@3.0.1
# Test CDN (wait ~5 min for CDN sync)
curl -I https://cdn.jsdelivr.net/npm/@larcjs/core@3.0.1/pan.mjs
curl -I https://cdn.jsdelivr.net/npm/@larcjs/core@3.0.1/components/pan-card.mjs
Test the One-Liner
Create a test HTML file:
<!DOCTYPE html>
<html>
<head>
<script type="module" src="https://cdn.jsdelivr.net/npm/@larcjs/core@3.0.1/pan.mjs"></script>
</head>
<body>
<pan-card>
<h1>Success! ๐</h1>
<p>Zero config, one line, it just works!</p>
</pan-card>
</body>
</html>
Open in browser - pan-card should render!
Rollback (if needed)
Within 72 hours of publishing:
npm unpublish @larcjs/core@3.0.1
Or publish a patch fix:
cd packages/core
npm version patch
npm publish
Summary
Current Status:- โ Version bumped (2.0.0 โ 2.1.0)
- โ CHANGELOG generated
- โ Components synced (130 files)
- โ Changes committed to git
- โณ Waiting: npm login + publish
npm login # Login to npm
npm run changeset:publish # Publish packages
git push --follow-tags # Push to GitHub
That's it! ๐