JoshuaKGoldberg / emoji-blast

Blasts emoji like fireworks all up in your HTML page. 🎆
https://emojiblast.dev
MIT License
254 stars 18 forks source link

🐛 Bug: dist/ files missing in emoji-blast package #739

Closed anjali1102 closed 1 week ago

anjali1102 commented 2 weeks ago

Bug Report Checklist

Expected

I want to use emoji-blast in a Vanilla JS File

//html file
 <script src="script.js"></script>
    <script src="https://unpkg.com/emoji-blast/dist/global.js"></script>
    <script async src="https://unpkg.com/emoji-blast/dist/emoji-blast.min.js"></script>
  </body>
</html>
//script.js
document.addEventListener('click', () => {
  emojiBlast({
    emojis: ['☃️', '🥶', '❄️', '🧦'],
    physics: {
      fontSize: { max: 40, min: 30 },
    },
    events: {
      onClick({ actor, event }) {
        actor.update({
          opacity: 1,
        });
      },
    },
  });
});

Folder structure

my folder structure

Actual

failing API calls

Additional Info

No response

github-actions[bot] commented 2 weeks ago

Uh oh! @anjali1102, the image you shared is missing helpful alt text. Check your issue body.

Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.

Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs.

🤖 Beep boop! This comment was added automatically by github/accessibility-alt-text-bot.

JoshuaKGoldberg commented 1 week ago

Hmm, looks like a problem with the release flow. The dist/ directory should exist. But it doesn't. Thanks for posting, I'll look into this now!

JoshuaKGoldberg commented 1 week ago

@all-contributors please add @anjali1102 for bug.

🤖 Beep boop! This comment was added automatically by all-contributors-auto-action. Not all contributions can be detected from Git & GitHub alone. Please comment any missing contribution types this bot missed. ...and of course, thank you for contributing! 💙

allcontributors[bot] commented 1 week ago

@JoshuaKGoldberg

I've put up a pull request to add @anjali1102! :tada:

JoshuaKGoldberg commented 1 week ago

Ok, https://unpkg.com/emoji-blast/dist/now.js -> https://unpkg.com/emoji-blast@0.10.2/dist/now.js is now populated. The demo in this issue is working. I believe everything is resolved - thanks @anjali1102!