Development

bin field not being respected when installing custom npm package

https://github.community/t/npm-bin-field-is-not-exported-in-published-metadata/128402 If i install from registry.selectiont.com the bin property works correctly, but if i install from gitlab, the executable does not get symlinked I had to publish scripts-root to another registry so it could work https://gitlab.com/gitlab-org/gitlab/-/issues/275992 upgraded to 14.7.7-ce.0 and it worked

Read More »

npm publishing package process

when you want to publish a package to a specific registry, you have to login to that registry first or have a token handy. lets look at logging in first after putting in your user name and password, they will assign you a token and place it in /{user}/.npmrc (/root/.npmrc)[…]

Read More »

git: SSH keys, pull private repos

https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent because I named the ssh key a non conventional name, I am required to do the following https://stackoverflow.com/questions/25927914/git-error-please-make-sure-you-have-the-correct-access-rights-and-the-reposito https://github.com/settings/keys

Read More »

make remote reflect local folder structure

I changed the folder structure around manually without using “git mv”. git gets all confused when you don’t use that command. After pushing, this is what the repo looked like still had all the old files. This code removed all tracked files that didn’t exists locally.

Read More »