Git Product home page Git Product logo

Comments (7)

ajhyndman avatar ajhyndman commented on August 10, 2024 3

I did have a look into automating npm releases this weekend. There is some good documentation with examples using GitHub Actions. My takeaway though is that there is still a bare minimum manual intervention required. The version number for each module as published must be reflected in the package.json file before publication.

Therefore, someone will need to at least bump the committed version number in the repository to trigger each release.

With that said, the directions listed in this repository don't involve much more than that manual version bump, so I'm not sure there's much value to add with automation.

Instead, I have tried my hand at publishing a fork here:

https://www.npmjs.com/package/@ajhyndman/smogon-calc

There are no changes in this fork. I just pulled the latest code from @smogon/damage-calc and published it under another name.

If anyone wants to update the official publication, that would still be preferred, of course! The process seems pretty straightforward for someone with access to the right credentials.

from damage-calc.

monsanto avatar monsanto commented on August 10, 2024 1

@JonatasBSM yes it is

from damage-calc.

BCleveland avatar BCleveland commented on August 10, 2024

Same issue here, does anyone know how I could get around this for the time being and have Node use a local version of this repo instead?

from damage-calc.

monsanto avatar monsanto commented on August 10, 2024

The reason the NPM package hasn't been updated is because we don't use the NPM package internally for anything, so over time the process to distribute it decays. Whoever was passionate about maintaining it moved on with life, and the only time we notice is when someone makes a GH issue about it.

I'm not opposed to releasing an NPM package of any of the repos in this organization, but it has to be zero overhead for our organization. So that probably means no meaningful semver (0.x?), and an automated build & upload process as part of GH actions. Or it could be a git branch on here that has the results of a build, which would save us the trouble of maintaining a different set of credentials. If someone wants to work on that then you have my blessing and thanks.

from damage-calc.

JonatasBSM avatar JonatasBSM commented on August 10, 2024

The reason the NPM package hasn't been updated is because we don't use the NPM package internally for anything, so over time the process to distribute it decays. Whoever was passionate about maintaining it moved on with life, and the only time we notice is when someone makes a GH issue about it.

I'm not opposed to releasing an NPM package of any of the repos in this organization, but it has to be zero overhead for our organization. So that probably means no meaningful semver (0.x?), and an automated build & upload process as part of GH actions. Or it could be a git branch on here that has the results of a build, which would save us the trouble of maintaining a different set of credentials. If someone wants to work on that then you have my blessing and thanks.

Hey, monsanto! I hope you're doing well. Npm package situation still the same?

from damage-calc.

JonatasBSM avatar JonatasBSM commented on August 10, 2024

@JonatasBSM yes it is

I see. Thank for the answer!

from damage-calc.

thejetou avatar thejetou commented on August 10, 2024

v0.8.0 has since been released with support for Generation 9. I'll try my best to keep the package updated.

from damage-calc.

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.