bats-core / bats-assert

Common assertions for Bats
Creative Commons Zero v1.0 Universal
96 stars 42 forks source link

Bump npm version to 2.1.0? #50

Closed mdwagner closed 1 year ago

mdwagner commented 1 year ago

I noticed this new version wasn't published to npm yet.

paltherr commented 1 year ago

Same issue for homebrew-bats-assert. It's still on version 2.0.0. The new version 2.1.0 would be very welcome as it includes new features like assert_regex/refute_regex.

martin-schulze-vireso commented 1 year ago

So far, only the bats npm package is maintained by this org. You could post your request oer at @jasonkarns' repo.

In the long run we might might offer npm packages under this org.

paltherr commented 1 year ago

?!? I don't understand. Isn't https://github.com/bats-core/homebrew-bats-core part of the same org as the one owning https://github.com/bats-core/bats-assert/?

Updating bats-assert.rb for the latest version should be as easy as updating the url and the sha256. The following patch should do the trick: patch-upgrade-to-latest-version.txt.

If you do that, then anyone using bats-assert via Homebrew can simply run "brew update; brew upgrade bats-assert" to get the latest version, which is much easier than manually installing it.

I wonder whether updating the npm package would also be as easy. The npm package is still pointing to version 2.0.0, even though version 2.1.0 was released many months ago. I'm sure npm users too would be very happy to enjoy the latest version.

martin-schulze-vireso commented 1 year ago

@paltherr I am sorry, I did not notice you were talking about homebrew. Please open a separate issue in that repository, since the maintainer likely won't see it here. I was only talking about the NPM releases which will require some additional work to automatically generate them during releases. I just wanted to let @mdwagner know that there are currently no official NPM packages besides bats(-core).

paltherr commented 1 year ago

OK, I created https://github.com/bats-core/homebrew-bats-core/pull/7.