Comments (7)
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.
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.
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.
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.
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.
from yarnhook.
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)
- Switching from a branch where yarnhook is installed to one where it isn't results in detached head HOT 1
- Support monorepos HOT 7
- Support just messaging, no install HOT 1
- Handle shrinkwrap
- Use `npm ci` instead of `npm i` if it's supported HOT 1
- Adoption
- Use yarn install with --prefer-offline and --pure-lockfile ? HOT 4
- Switching from a branch and yarnhook fails result in detached head
- Support appending additional arguments HOT 5
- Support sourcing environment variables from `.env` files HOT 1
- Handle other languages package managers HOT 5
- git error when running yarnhook HOT 1
- Create mrm task
- yarnhook: command not found error HOT 4
- Consider dropping execa HOT 2
- Yarn 2 (berry) support HOT 13
- Consider using `preferred-pm` HOT 1
- pnpm v7 support HOT 6
- Add `bun` support
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 yarnhook.