Andreas' Blog

Adventures of a software engineer/architect

Publishing private npm packages to GitHub Package registry for free

2020-07-26 4 min read Anoff

Even though I am a big fan of Open Source Software and try to make my projects open and consumable by others as well, there are cases where you want to keep your stuff private. But even if you work in a closed source environment you still want to use the same tools that you employ in the open source world. In this blog post I will explain how you can create private npm packages for your Javascript/Typescript projects - and I will show you how you can host your private npm packages for free!

Continue reading

Reference GitHub #issues during git rebase

2019-07-20 2 min read Anoff

Being a developer most times means working with git. There are many different ways to use git and every project, every developer has their preferences. For my own projects I work a lot with GitHub and I love using the git rebase -i feature to clean up commits.

<!–more–>

Lately I ran into the problem that rebasing a Commitizen commit message with a linked GitHub issue leads to problems. The problem is that the rebase UI treats the &#35; hash sign as an escape character for comments. In the message below the reference to the GitHub issue #53 would be removed from the commit message as &#35; is the leading character in line 3.

Continue reading

Markdown native diagrams with PlantUML

2018-07-31 9 min read Anoff

This post covers PlantUML basics and how it can be used in GitLab or GitHub projects as well as a seamless local development environment using Visual Studio Code. I have been wanting to write this post for months. Lately I have been using PlantUML extensively at work but also in my private projects. You can see it being used in my plantbuddy and techradar projects on GitHub. Using it in different places and for various purposes I came across a bunch of issues that I want to share in this post.

Continue reading

GitLab CI/CD for GitHub

2018-03-30 4 min read Anoff

When creating a git project that you want to share with others you traditionally had the choice between GitHub with its huge community and tons of integrations, GitLab with a great overall dev experience from issues to one of the best CI/CD solutions out there and BitBucket being one of the friends you have since kindergarten. My personal decision was to host all my personal projects on πŸ¦‘ GitHub. For projects that need CI/CD I tinkered around with πŸ‘·β€ Travis CI and πŸ…ΎοΈ Circle CI on top of GitHub.

Continue reading