From 184c5820af7bb95a2c7c60ba8d85d2f1f1bc048f Mon Sep 17 00:00:00 2001 From: Koen van Zuijlen <8818390+kvanzuijlen@users.noreply.github.com> Date: Sat, 20 Jan 2024 20:51:34 +0100 Subject: [PATCH] feat: Added renovate configuration (#2377) --- .github/renovate.json5 | 24 ++++++++++++++++++++++++ docs/README.md | 8 ++++---- docs/package.json | 1 - 3 files changed, 28 insertions(+), 5 deletions(-) create mode 100644 .github/renovate.json5 diff --git a/.github/renovate.json5 b/.github/renovate.json5 new file mode 100644 index 00000000..51dc2c60 --- /dev/null +++ b/.github/renovate.json5 @@ -0,0 +1,24 @@ +{ + $schema: "https://docs.renovatebot.com/renovate-schema.json", + semanticCommits: "auto", + enabledManagers: [ + "dockerfile", + "gomod", + "github-actions", + "npm", + "regex", + ], + customManagers: [ + { + customType: "regex", + fileMatch: [ + "^Makefile" + ], + matchStrings: [ + "DOCKER_BUILD_RUNTIME_IMAGE_ALPINE\\s+?\\?= alpine:(?.*)\\s" + ], + depNameTemplate: "alpine", + datasourceTemplate: "docker", + }, + ], +} diff --git a/docs/README.md b/docs/README.md index 8960fa2a..349f3456 100644 --- a/docs/README.md +++ b/docs/README.md @@ -5,13 +5,13 @@ This website is built using [Docusaurus 2](https://v2.docusaurus.io/), a modern ## Installation ```console -yarn install +npm install ``` ## Local Development ```console -yarn start +npm start ``` This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server. @@ -19,7 +19,7 @@ This command starts a local development server and open up a browser window. Mos ## Build ```console -yarn build +npm build ``` This command generates static content into the `build` directory and can be served using any static contents hosting service. @@ -27,7 +27,7 @@ This command generates static content into the `build` directory and can be serv ## Deployment ```console -GIT_USER= USE_SSH=true yarn deploy +GIT_USER= USE_SSH=true npm deploy ``` If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch. diff --git a/docs/package.json b/docs/package.json index b6d69cc0..cc34dd2a 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,6 +1,5 @@ { "name": "docusaurus", - "version": "0.0.0", "private": true, "scripts": {