include-media icon indicating copy to clipboard operation
include-media copied to clipboard

Release 2.0 on npm

Open jhildenbiddle opened this issue 1 year ago • 3 comments

Are there any plans to publish the 2.0-release branch on npm?

I realize I can install this GitHub branch as a dependency using npm as follows:

npm i -D eduardoboucas/include-media#2.0-release

The issue is that this approach locks the dependency to a specific GitHub branch rather than a semantic version available for packages published on npm which are required for update availability checks via automation or commands like npm outdated.

Thanks!

jhildenbiddle avatar Jul 27 '22 16:07 jhildenbiddle

Good question. I was thinking about this the other day. @eduardoboucas what are your thoughts? Time to publish?

jackmcpickle avatar Jul 27 '22 21:07 jackmcpickle

Would also like to know please :)

kevinrodrigues avatar Aug 18 '22 14:08 kevinrodrigues

Would like to know too please 😃

smarkey avatar Aug 18 '22 15:08 smarkey

Would be great to get the v2 version published to NPM – we're currently using it for our CSS setup with @use and @forward and works with no issues.

Even if it can be published and tagged as an alpha/beta release, that would be great so that we didn't have it tied to a github branch.

ashleynolan avatar Sep 22 '22 13:09 ashleynolan

Same thing here. We use it at @ProtonMail and it would be great if we didn't have to rely on a specific GitHub branch instead of the latest released version. Please consider publishing 2.0-release branch 🙏

Twikito avatar Jan 23 '23 10:01 Twikito

Yes, please please please 🙏

nico3333fr avatar Jan 23 '23 10:01 nico3333fr

I would love to but only @eduardoboucas has the rights to publish.

jackmcpickle avatar Jan 23 '23 11:01 jackmcpickle

While we wait for Ed - I did also publish a postcss version of include media a while back - As I mainly use css/postcss stack now.

See https://www.npmjs.com/package/postcss-include-media

jackmcpickle avatar Jan 23 '23 11:01 jackmcpickle

Sorry, I didn't realise I was a blocker here.

@jackmcpickle I tried to add you, but somehow that's not working 😢

$ npm owner add jackmcpickle include-media

npm ERR! code EOWNERMUTATE
npm ERR! Failed to update package: "404 Not Found - PUT https://registry.npmjs.org/include-media/-rev/28-2068e1a6eba38bef23919fa92caad711 - Team not found"

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/eduardoboucas/.npm/_logs/2023-01-23T11_53_56_202Z-debug-0.log

In the meantime, can you confirm what exactly you want me to publish? Do I just checkout the 2.0-release branch?

eduardoboucas avatar Jan 23 '23 11:01 eduardoboucas

@eduardoboucas yes please publish the 2.0-release branch and then make it the default branch too or merge to main/master.

jackmcpickle avatar Jan 23 '23 21:01 jackmcpickle

@eduardoboucas nice to see you back!

Yes, the 2.0-release branch uses sass modules, so it at least fixes quite a few warnings. 🙏

Twikito avatar Jan 24 '23 10:01 Twikito

I have published version 2.0.0 from the 2.0-release branch.

@jackmcpickle I've created https://github.com/eduardoboucas/include-media/pull/218, can you please review and merge?

eduardoboucas avatar Jan 24 '23 10:01 eduardoboucas

Done. Thanks @eduardoboucas.

I think we can offical close this issue now. :)

jackmcpickle avatar Jan 24 '23 11:01 jackmcpickle

Thanks a lot to all of you 🙏

nico3333fr avatar Jan 24 '23 13:01 nico3333fr

Thanks a lot 🎉

Twikito avatar Jan 24 '23 17:01 Twikito

And could you create a release so that we could install the package via npm? 🙏

Twikito avatar Jan 24 '23 17:01 Twikito

Thank you!

jhildenbiddle avatar Jan 24 '23 17:01 jhildenbiddle

It would be nice to have this listed as an official release (with change notes) https://github.com/eduardoboucas/include-media/releases

It's a bit confusing right now that the releases end at 1.4.x, the listed tags end at 1.4.x, and yet the version on npm is 2.0

cmalven avatar Oct 03 '23 19:10 cmalven

@cmalven published release now. Thanks for the reminder.

jackmcpickle avatar Oct 05 '23 22:10 jackmcpickle