Giter Club home page Giter Club logo

Comments (9)

juliuscc avatar juliuscc commented on June 9, 2024 1

Do you run semantic release with npx? Because if so, the plugin will not detect your package name.

from semantic-release-slack-bot.

juliuscc avatar juliuscc commented on June 9, 2024 1

Yes the problem is probably that we read npm_package_name when there probably exists a better variable given from the context. I am quite sure that other plugins work while doing npx and as this plugin is in the later stages the package name should be figured out when it's our time to execute.

from semantic-release-slack-bot.

juliuscc avatar juliuscc commented on June 9, 2024 1

Maybe we could do something similar 🤷

from semantic-release-slack-bot.

crobinson42 avatar crobinson42 commented on June 9, 2024

from semantic-release-slack-bot.

juliuscc avatar juliuscc commented on June 9, 2024

Yes, I don't know why this is a problem. We probably read the package name in a suboptimal way cause other plugins work with npx. I warmly welcome a PR that fixes this issue 😁

from semantic-release-slack-bot.

BeyondEvil avatar BeyondEvil commented on June 9, 2024

Easy enough to add. But what should the precedence rules look like? We'll have four ways of providing the package name.

Environment variable
package.json
Config setting
npm_package_name <- not sure where this comes from 🤔

@juliuscc

from semantic-release-slack-bot.

juliuscc avatar juliuscc commented on June 9, 2024

The github plugin gets relases from context and then gets release.name from them.

See:

from semantic-release-slack-bot.

romap0 avatar romap0 commented on June 9, 2024

@juliuscc Do you have plans to fix that issue?

from semantic-release-slack-bot.

juliuscc avatar juliuscc commented on June 9, 2024

This is not a high priority task IMO as there are quite simple workarounds. I do however welcome PR's that fix this. If you need any more assistance than the hints above, I will gladly help 😁

from semantic-release-slack-bot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.