Comments (7)
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.
@JonatasBSM yes it is
from damage-calc.
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.
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.
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 yes it is
I see. Thank for the answer!
from damage-calc.
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)
- Stored Power base power calculation HOT 1
- Extremely high base power moves (e.g. max boosted Last Respects) cause impossible damage calculations HOT 5
- Randbats calculator not loading data
- RBY 0 damage bug
- Incorrect handling of Pokemon names containing é HOT 1
- Big Root not working in Generation 9 / SV
- Random Battle Button wrapping around to new row HOT 1
- Zoroark and Zoroark-Hisui automatically fill their level as being Level 0 for all legal generations HOT 2
- Add tera raids specific functionalities/battle format
- Fix Kleavor's base stats
- Add Palafin's sets to Palafin-Hero
- Example in README doesn't work with gen 9 HOT 2
- In Gen 4, the combination Klutz + Iron Ball is not properly handled HOT 5
- Calculator does not properly consider Protosynthesis / Quark Drive Def/SpD boosts
- Feat: Calculate damage for Pain Split HOT 3
- Set from previous generation appears in the list HOT 2
- Feature Request: HTTP GET Params HOT 1
- Brendan SS Anne Pokemon missing HOT 3
- Miracle Seed is removed when there is any active Terrain
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from damage-calc.