-
-
Notifications
You must be signed in to change notification settings - Fork 476
Husky i18n tracking #240
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Husky i18n tracking #240
Conversation
My opinion is that it is better to use NodeGit so that we can guarantee consistency. simple-git uses the git executable that the user has installed and we will thereby be exposed by potential differences between git versions. I know that NodeGit is inconvenient at first, but I think it's worth it. |
Yes for sure, but it is more than inconvenience, it actively prevents users from contributing to the project; some folks can't downgrade to a different node version. It also seems unlikely that git is going to change the format of diffs, which would break a tremendous number of projects. |
I think it's ok to switch to simple-git as the format of diffs as @brysonian mentioned are not very likely to change between versions and this is just piggybacking on I'll do a more thorough test of the PR in a couple days, still a bit tied up at the moment. 😃 |
thanks @brysonian this is super helpful! @limzykenneth if you can take care of testing and merging that would be great. but let me know if you need help and I can take this on instead. |
When I try to commit after changing
Simply running |
Hrm, sounds like an NPM issue. Since you are using a fresh node_modules, made try clearing the npm cache |
Somehow that worked, not sure if it's cleaning the cache or maybe it's to do with the lock file. I'll do the rest of my test and come back to you. Thanks. |
Everything looks to be checking out as intended, I'll resolve the conflicts and merge this then. |
I'm seeing this error when I try to run
|
@lmccart Have you tried reinstalling node_modules? If so maybe tried the steps @brysonian mentioned, clean out the lockfile as well if it still doesn't work. |
Maybe also update node? The recommended version is 8.11.3 now and it looks like you are on 6.
…---
Chandler McWilliams
http://chandlermcwilliams.com
On Jul 15, 2018, 9:19 PM -0700, Kenneth Lim ***@***.***>, wrote:
@lmccart Have you tried reinstalling node_modules? If so maybe tried the steps @brysonian mentioned, clean out the lockfile as well if it still doesn't work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
ugh sorryyy I should've tried all the things in this thread first. 😳will report back. |
yep that worked fine now. thanks for the quick help. |
@lmccart How did you solve this issue? I am encountering it and nothing seems to fix it. From what I found online, it seems we need to depend on a different module to be able to use it as a grunt plugin https://stackoverflow.com/questions/34692592/grunt-assemble-module-not-found |
It does seem to be the case where after updating from 0.4.42 to 0.24.3 at processing/p5.js-website@eeeefc8 would have caused this issue. I'll try to switch to using grunt-assemble, hopefully it just works. Edit: That worked, now merged as part of #243, everything should work the same, just added the grunt-assemble package and load that in the Gruntfile.js instead of assemble directly. |
Whoops sorry about that, thanks for updating it. |
Merge branch 'main' into i18n/ja
This refactors the i18n test to use simple-git also adds the test via a precommit hook. The hook doesn't build the entire site, it just runs the test for translation changes, that's easy to change, but I opted for this because it is faster to run vs. executing an entire build.
closes #235
closes #234
Possibly fixes #237