Giter VIP home page Giter VIP logo

Comments (7)

iangregsondev avatar iangregsondev commented on May 30, 2024 1

Sounds a great idea to me! Also, I noticed the readme doesn't mention anything about pnpm or it's lock file.

Maybe we could update the docs also ?

from yarnhook.

frontsideair avatar frontsideair commented on May 30, 2024 1

Sorry about radio silence here. Thanks to the hacktoberfest spirit I've decided to spend more time on this. I'm working on adding tests and fixing some serious edge cases so I can do the rename when the project is ready.

In the meantime I saw that yarn PnP has not achieved serious adoption and tink is still beta. So yes, I think a rename makes sense.

@devinrhode2 "auto-install-git-hook" sounds nice. I also moved away from "lockfilehook" as it's less about lockfiles and more about keeping dependencies up-to-date. Could also use a proper noun, but don't have anything in mind.

That's all I have for now.

from yarnhook.

devinrhode2 avatar devinrhode2 commented on May 30, 2024

Great opportunity for a recently laid off designer to show off their skills we could all tweet out this thread if you want @frontsideair

from yarnhook.

frontsideair avatar frontsideair commented on May 30, 2024

Well I have two opposing ideas about this. On one hand a rename makes sense and probably long overdue. On the other hand it seems like renaming an npm package can only be done by deprecating the package and adding instructions to install the new one. This will definitely hurt adoption and put a burden on users to upgrade for little gain.

The truth is I would like to see this project gain major adoption but shortly after I introduced it I was made aware of Yarn PnP and npm tink Basically both projects try to change how dependencies are stored and accessed so it will remove the need for yarnhook. So I think the time this project has is limited.

In the light of those two ideas it probably makes more sense to keep the name but add more instructions to the docs. Let me know if it makes sense to you too, or there's anything that you'd like to add.

Some questions:

  • It's been a while since both Yarn PnP and npm tink was introduced and I'm not aware of any major usage. Is it that they are being used but I just missed? Are they right around the corner? Are they practically dead? I may have the wrong impression about the future of the project.
  • Is it possible to do a painless rename? Maybe we can keep the old name and publish to both but that could cause confusion and be more effort to maintain.

from yarnhook.

iangregsondev avatar iangregsondev commented on May 30, 2024

I would give my 2 cents on this.

Yes, indeed you need to deprecate the previous package on NPM. I would rename the project in github, keeping your stars etc - I presume.

And now publish to a new NPM package.

I believe deprecated packages no longer show up in the npm search - but it won't break anybody currently using it

That way you would have the same repo (with a name change) being published to a NEW npm package.

Not sure of any other way of doing this.

Publishing to 2 x packages - doesn't seem right to me and AFAIK not possible ?

Cheers

from yarnhook.

devinrhode2 avatar devinrhode2 commented on May 30, 2024

from yarnhook.

devinrhode2 avatar devinrhode2 commented on May 30, 2024

maybe "auto-install-git-hook". Still not sure it's a good idea overall though. Could go for max SEO here too.

from yarnhook.

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.