10 Commits

Author SHA1 Message Date
1f368cc469 fix typo
All checks were successful
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
2024-11-21 14:39:59 +01:00
52ba6dcd29 fix indentation
All checks were successful
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
2024-11-21 13:44:32 +01:00
c9ac74115c add optional trigger for persistent pr build
All checks were successful
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
2024-11-21 13:41:17 +01:00
f03dba3053 test
All checks were successful
ci/woodpecker/pr/docs Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
2024-11-21 09:09:59 +01:00
8a1ff7713d wip 2024-11-21 09:09:59 +01:00
c97ba52acd test 2024-11-21 09:09:59 +01:00
dcf11ea9f1 wip 2024-11-21 09:09:59 +01:00
c62d1d2132 debug 2024-11-21 09:09:59 +01:00
fe19112193 debug 2024-11-21 09:09:59 +01:00
6f87fac874 wip devcontainer 2024-11-21 09:09:59 +01:00
15 changed files with 115 additions and 423 deletions

26
.devcontainer.json Normal file
View File

@ -0,0 +1,26 @@
{
"name": "Arkanum",
"image": "ocram85/arkanum:1",
"containerUser": "abc",
"containerEnv": {
"TZ": "Europe/Berlin",
"PASSWORD": "foo",
"SUDO_PASSWORD": "foobar",
"DEFAULT_WORKSPACE": "/config/workspace"
},
"overrideCommand": false,
"forwardPorts": [
"8088:8443"
],
"portsAttributes": {
"8443": {
"label": "Applicaition",
"onAutoForward": "notify"
}
},
"customizations": {
"devpod": {
"prebuildRepository": "ocram85/arkanum:1"
}
}
}

View File

@ -5,7 +5,7 @@ when:
- ${CI_REPO_DEFAULT_BRANCH}
variables:
- &build_plugin 'woodpeckerci/plugin-docker-buildx:6.0.1'
- &build_plugin 'woodpeckerci/plugin-docker-buildx:5.0.0'
# deployment targets
- &publish_repos 'ocram85/arkanum,gitea.ocram85.com/arkanum/arkanum,ghcr.io/ocram85/arkanum,codeberg.org/arkanum/arkanum'
# logins for deployment targets
@ -37,11 +37,6 @@ variables:
steps:
# TODO: Enable this in upcoming PRs.
#check-editorconfig:
# image: woodpeckerci/plugin-editorconfig-checker:0.2
# pull: true
test:
image: *build_plugin
settings:
@ -87,24 +82,27 @@ steps:
when:
event: [pull_request]
# TODO: Remove old plugin in next release tag
#gitea-release:
# image: plugins/gitea-release
# settings:
# api_key:
# from_secret: ci_token
# base_url: https://gitea.ocram85.com
# title: ${CI_COMMIT_TAG}
# note: "> :bulb: **Note:** Please refer to [CHANGELOG.md](src/branch/${CI_REPO_DEFAULT_BRANCH}/CHANGELOG.md) for details."
# when:
# event: [tag]
# branch: ${CI_REPO_DEFAULT_BRANCH}
build-pr-image:
image: *build_plugin
settings:
repo: *publish_repos
dockerfile: Dockerfile
platforms: linux/amd64
tag: pull_${CI_COMMIT_PULL_REQUEST}
logins: *publish_logins
build_args:
- VERSION=${CI_COMMIT_TAG:-PR ${CI_COMMIT_PULL_REQUEST}}
- TAG=${CI_COMMIT_TAG}
when:
evaluate: 'CI_COMMIT_PULL_REQUEST_LABELS contains "build_pr_images"'
event: pull_request
forge-release:
image: woodpeckerci/plugin-release
gitea-release:
image: plugins/gitea-release
settings:
api_key:
from_secret: ci_token
base_url: https://gitea.ocram85.com
title: ${CI_COMMIT_TAG}
note: "> :bulb: **Note:** Please refer to [CHANGELOG.md](src/branch/${CI_REPO_DEFAULT_BRANCH}/CHANGELOG.md) for details."
when:

View File

@ -5,7 +5,7 @@ when:
- ${CI_REPO_DEFAULT_BRANCH}
variables:
- &build_plugin 'woodpeckerci/plugin-docker-buildx:6.0.1'
- &build_plugin 'woodpeckerci/plugin-docker-buildx:5.0.0'
# deployment targets
- &publish_repos 'ocram85/arkanum-docs,gitea.ocram85.com/arkanum/arkanum-docs'
# logins for deployment targets

View File

@ -1,19 +0,0 @@
depends_on:
- ci
- docs
when:
- event: push
branch:
- ${CI_REPO_DEFAULT_BRANCH}
- event: manual
evaluate: TASK == "release-helper"
steps:
release-helper:
image: woodpeckerci/plugin-ready-release-go:3.2.0
settings:
debug: true
git_email: noreply@ocram85.com
forge_token:
from_secret: ci_token

View File

@ -1,149 +1,71 @@
# Changelog
## [1.9.0](https://gitea.ocram85.com/arkanum/arkanum/releases/tag/v1.9.0) - 2025-05-08
### ❤️ Thanks to all contributors! ❤️
@OCram85
### ✨ Features
- bump version because of 2 skipped code-server releases [[#181](https://gitea.ocram85.com/arkanum/arkanum/pulls/181)]
## [1.8.4](https://gitea.ocram85.com/arkanum/arkanum/releases/tag/v1.8.4) - 2025-05-08
### ❤️ Thanks to all contributors! ❤️
@OCram85, @renovate
### 🤖 Dependency
- chore(deps): update woodpeckerci/plugin-ready-release-go docker tag to v3.2.0 [[#178](https://gitea.ocram85.com/arkanum/arkanum/pulls/178)]
- chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.99.4 [[#177](https://gitea.ocram85.com/arkanum/arkanum/pulls/177)]
- chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v6 [[#180](https://gitea.ocram85.com/arkanum/arkanum/pulls/180)]
- chore(deps): update caddy docker tag to v2.10.0 [[#179](https://gitea.ocram85.com/arkanum/arkanum/pulls/179)]
- chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.99.2 [[#173](https://gitea.ocram85.com/arkanum/arkanum/pulls/173)]
- chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v5.2.2 [[#174](https://gitea.ocram85.com/arkanum/arkanum/pulls/174)]
- chore(deps): update oven/bun docker tag to v1.2.9 [[#172](https://gitea.ocram85.com/arkanum/arkanum/pulls/172)]
- chore(deps): update woodpeckerci/plugin-ready-release-go docker tag to v3.1.4 [[#175](https://gitea.ocram85.com/arkanum/arkanum/pulls/175)]
- chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.97.2 [[#161](https://gitea.ocram85.com/arkanum/arkanum/pulls/161)]
- chore(deps): update dependency vitepress to v1.6.3 [[#169](https://gitea.ocram85.com/arkanum/arkanum/pulls/169)]
- chore(deps): update oven/bun docker tag to v1.2.4 [[#168](https://gitea.ocram85.com/arkanum/arkanum/pulls/168)]
- chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v5.2.1 [[#163](https://gitea.ocram85.com/arkanum/arkanum/pulls/163)]
- chore(deps): update oven/bun docker tag to v1.2.3 [[#160](https://gitea.ocram85.com/arkanum/arkanum/pulls/160)]
- chore(deps): update dependency prettier to v3.5.2 [[#164](https://gitea.ocram85.com/arkanum/arkanum/pulls/164)]
### 📦 Build
- fix used secrets [[#166](https://gitea.ocram85.com/arkanum/arkanum/pulls/166)]
- switch to release helper [[#165](https://gitea.ocram85.com/arkanum/arkanum/pulls/165)]
## [v1.8.3](https://gitea.ocram85.com/arkanum/arkanum/releases/tag/v1.8.3) - 2025-01-14
- 🤖 DEPENDENCIES
- Chore(deps): update caddy docker tag to v2.9.1 (#158)
- Chore(deps): update dependency typescript to v5.7.3 (#157)
- Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.96.2 (#156)
- Chore(deps): update oven/bun docker tag to v1.1.43 (#155)
## [v1.8.2](https://gitea.ocram85.com/arkanum/arkanum/releases/tag/v1.8.2) - 2024-12-12
- 🐛 BUGFIXES
- Update missing lib (#153)
- 🤖 DEPENDENCIES
- Chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v5.1.0 (#152)
- Chore(deps): update dependency prettier to v3.4.2 (#151)
## [v1.8.1](https://gitea.ocram85.com/arkanum/arkanum/releases/tag/v1.8.1) - 2024-12-02
- 🐛 BUGFIXES
- Fix FiraCode font loader (#147)
- 🤖 DEPENDENCIES
- Chore(deps): update dependency prettier to v3.4.1 (#148)
- Chore(deps): update dependency typescript to v5.7.2 (#145)
- Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.95.3 (#144)
- Chore(deps): update oven/bun docker tag to v1.1.38 (#143)
## [v1.8.0](https://gitea.ocram85.com/arkanum/arkanum/releases/tag/v1.8.0) - 2024-11-21
- ✨ FEATURES
- Add session helper (#141)
- 🛠️ ENHANCEMENTS
- Move additional packages install to dockerfile (#138)
- 🤖 DEPENDENCIES
- Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.95.2 (#139)
- Chore(deps): update dependency vitepress to v1.5.0 (#137)
- ⚙️ META
- Pin exact bun version (#140)
## [v1.7.1](https://gitea.ocram85.com/arkanum/arkanum/releases/tag/v1.7.1) - 2024-10-23
- 🐛 BUGFIXES
- Move file binary install to powershell command (#134)
- 🛠️ ENHANCEMENTS
- Bump golang version (#135)
* 🐛 BUGFIXES
* Move file binary install to powershell command (#134)
* 🛠️ ENHANCEMENTS
* Bump golang version (#135)
## [v1.7.0](https://gitea.ocram85.com/arkanum/arkanum/releases/tag/v1.7.0) - 2024-10-22
- 🐛 BUGFIXES
- Adds file binary to supplement fix Publish-Module pwsh command. (#132)
- 🤖 DEPENDENCIES
- Chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v5 (#131)
- Chore(deps): update dependency typescript to v5.6.3 (#129)
- Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.93.1 (#127)
- Chore(deps): update dependency typescript to v5.6.2 (#126)
- Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.92.2 (#125)
- Chore(deps): pin dependencies (#124)
* 🐛 BUGFIXES
* Adds file binary to supplement fix Publish-Module pwsh command. (#132)
* 🤖 DEPENDENCIES
* Chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v5 (#131)
* Chore(deps): update dependency typescript to v5.6.3 (#129)
* Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.93.1 (#127)
* Chore(deps): update dependency typescript to v5.6.2 (#126)
* Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.92.2 (#125)
* Chore(deps): pin dependencies (#124)
## [v1.6.0](https://gitea.ocram85.com/arkanum/arkanum/releases/tag/v1.6.0) - 2024-07-31
- ✨ FEATURES
- Add arkanum branding for code-server (#120)
- Add lazygit (#116)
- 🛠️ ENHANCEMENTS
- Update brand assets (#121)
- Migrate codeberg organization to arkanum (#117)
- 🤖 DEPENDENCIES
- Chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v4.2.0 (#119)
- Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.91.1 (#118)
- Chore(deps): update dependency rimraf to v6 (#115)
- Chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v4.1.0 (#114)
- Add renovate reviewer (#113)
- Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.91.0 (#112)
* ✨ FEATURES
* Add arkanum branding for code-server (#120)
* Add lazygit (#116)
* 🛠️ ENHANCEMENTS
* Update brand assets (#121)
* Migrate codeberg organization to arkanum (#117)
* 🤖 DEPENDENCIES
* Chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v4.2.0 (#119)
* Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.91.1 (#118)
* Chore(deps): update dependency rimraf to v6 (#115)
* Chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v4.1.0 (#114)
* Add renovate reviewer (#113)
* Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.91.0 (#112)
## [v1.5.3](https://gitea.ocram85.com/arkanum/arkanum/releases/tag/v1.5.3) - 2024-06-20
- 🛠️ ENHANCEMENTS
- Update blog + bump golang (#108)
- 🤖 DEPENDENCIES
- Chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v4 (#110)
- Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.90.2 (#109)
- Chore(deps): update caddy docker tag to v2.8.4 (#106)
- 📚 DOCS
- Extend blog card layout (#107)
* 🛠️ ENHANCEMENTS
* Update blog + bump golang (#108)
* 🤖 DEPENDENCIES
* Chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v4 (#110)
* Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.90.2 (#109)
* Chore(deps): update caddy docker tag to v2.8.4 (#106)
* 📚 DOCS
* Extend blog card layout (#107)
## [v1.5.2](https://gitea.ocram85.com/arkanum/arkanum/releases/tag/v1.5.2) - 2024-06-04
- 🐛 BUGFIXES
- Fix typo (#104)
- ✨ FEATURES
- Add blog feature to docs (#101)
- 🛠️ ENHANCEMENTS
- Add gitea icon (#102)
- 🤖 DEPENDENCIES
- Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.89.1 (#100)
* 🐛 BUGFIXES
* Fix typo (#104)
* ✨ FEATURES
* Add blog feature to docs (#101)
* 🛠️ ENHANCEMENTS
* Add gitea icon (#102)
* 🤖 DEPENDENCIES
* Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.89.1 (#100)
## [v1.5.1](https://gitea.ocram85.com/arkanum/arkanum/releases/tag/v1.5.1) - 2024-05-22
- 🐛 BUGFIXES
- Fix starship prompt installation (#95)
- ✨ FEATURES
- Add Arkanum.dev site with docs (#97)
- 🤖 DEPENDENCIES
- Chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v4 (#98)
- Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.89.0 (#96)
- Chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v3 (#93)
- Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.22.1 (#91)
* 🐛 BUGFIXES
* Fix starship prompt installation (#95)
* ✨ FEATURES
* Add Arkanum.dev site with docs (#97)
* 🤖 DEPENDENCIES
* Chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v4 (#98)
* Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.89.0 (#96)
* Chore(deps): update woodpeckerci/plugin-docker-buildx docker tag to v3 (#93)
* Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.22.1 (#91)
## [v1.5.0](https://gitea.ocram85.com/arkanum/arkanum/releases/tag/v1.5.0) - 2024-02-09

View File

@ -1,4 +1,4 @@
FROM quay.io/linuxserver.io/code-server:4.99.4
FROM quay.io/linuxserver.io/code-server:4.95.2
#LABEL build_version=""
LABEL maintainer="OCram85"
@ -51,13 +51,10 @@ RUN \
#endregion cli
#region firacode
# TODO: validate dir: /lib/vscode/out/vs/code/browser/workbench/workbench.css
#WORKDIR /app/code-server/lib/vscode/out/vs/workbench
WORKDIR /app/code-server/lib/vscode/out/vs/code/browser/workbench
WORKDIR /app/code-server/lib/vscode/out/vs/workbench
ADD FiraCode/fonts/* ./fonts/
ADD FiraCode/fonts.css ./
RUN cat fonts.css >> workbench.css
RUN cat fonts.css >> workbench.web.main.css
#endregion firacode
#region code-server

View File

@ -1,4 +1,4 @@
FROM oven/bun:1.2.17 AS builder
FROM oven/bun:1.1.34 AS builder
ARG CI
ARG CI_COMMIT_PULL_REQUEST
@ -6,14 +6,10 @@ ARG CI_COMMIT_PULL_REQUEST
COPY . /app
WORKDIR /app
ENV NODE_ENV=production
# frozen lockfile cant be used when deps gets updated by renovate
#RUN bun install --frozen-lockfile
RUN bun install
RUN bun install --frozen-lockfile
RUN bun run --vite docs:build
FROM caddy:2.10.0-alpine AS prod
FROM caddy:2.8.4-alpine AS prod
COPY --from=builder /app/docs/.vitepress/dist/ /arkanum-docs/
COPY Caddyfile /etc/caddy

View File

@ -180,7 +180,7 @@ This helps reducing the image size.
```
🧙 arkanum ✨🌌☄️💥 is used to install optional tools for developing in a
code-server container environment.
code-server container environment.
Syntax: arkanum <flags> COMMAND OPTION ARGUMENT
COMMAND
@ -192,7 +192,7 @@ code-server container environment.
OPTION
config:
disable-motd Disables hint in new bash terminal.
install-extensions Installs predefined recommended extensions.
install extensions Installs predefined recommended extensions.
reset-codesettings Sets VS Code user setting with basic (Fira Code).
git:
@ -203,24 +203,17 @@ code-server container environment.
install:
docker-cli Installs the latest docker-cli.
dotnet Installs latest LTS dotnet core sdk + runtime.
gitea Installs gitea tools like changelog and tea.
golang Installs golang 1.21.5.
gitea Installs gitea tools like the changelog generator.
golang Installs golang 1.19.3.
bun Installs latest bun version.
nodejs Installs latest NodeJs LTS version using Volta.
volta Installs Volta as NodeJS version manager.
powershell Installs latest PowerShell LTS version.
lazygit Installs latest Lazygit binary.
session:
save Adds items from the install command to the session config.
restore Restores the saved session.
reset Resets the session config.
show Show currently defined session content.
Example 1: arkanum git setup "my-name" "my-email"
Example 2: arkanum install golang
Example 3: arkanum config disable-motd
Example 4: arkanum session save lazygit powershell gitea
```
### 📝 Fira Code (NerdFont patched)

71
arkanum
View File

@ -37,16 +37,9 @@ function showHelp() {
powershell Installs latest PowerShell LTS version.
lazygit Installs latest Lazygit binary.
session:
save Adds items from the install command to the session config.
restore Restores the saved session.
reset Resets the session config.
show Show currently defined session content.
Example 1: arkanum git setup "my-name" "my-email"
Example 2: arkanum install golang
Example 3: arkanum config disable-motd
Example 4: arkanum session save lazygit powershell gitea
HELP
}
# endregion usage
@ -109,7 +102,7 @@ function instDotNet() {
say "Installing dotnet requirements..." "dotnet"
sudo -E apt-get update > /dev/null
sudo -E apt-get install --no-install-recommends -y \
libicu74
libicu70
say "Downloading latest install script..." "dotnet"
curl -#fSL https://dot.net/v1/dotnet-install.sh -o /tmp/dotnet-install.sh
@ -232,7 +225,6 @@ function installLazyGit() {
sudo rm -f /tmp/lazygit.tar.gz
rm -rf /tmp/lazygit
}
function instCodeExtension() {
say "Installing default extensions...." "Extension"
# Gitlens
@ -296,48 +288,6 @@ function setGitConfig() {
git config --list --global
}
function saveSession() {
SESSION_FILE="$HOME/arkanum-session"
if [[ $# -ge 3 ]]; then
for item in "${@:3}"; do
say "Adding '$item' to your session config" "saveSession"
echo "$item" | tee -a "$SESSION_FILE" > /dev/null
done
else
sayE "Unknown parameter count given" "saveSession"
exit 1
fi
}
function restoreSession() {
SESSION_FILE="$HOME/arkanum-session"
if [[ -e "$SESSION_FILE" ]]; then
while read item; do
say "Restoring '$item'..." "restoreSession"
arkanum install "$item"
done <"$SESSION_FILE"
say "Arkanum session restore completed. 🏁" "restoreSession"
else
sayE "There is no arkanum session!" "restoreSession"
exit 1
fi
}
function showSession() {
SESSION_FILE="$HOME/arkanum-session"
say "Trying to read your session config '$SESSION_FILE':" "showSession"
if [[ -e "$SESSION_FILE" ]]; then
cat "$SESSION_FILE"
else
sayE "There is no session defined!" "showSession"
fi
}
function resetSession() {
SESSION_FILE="$HOME/arkanum-session"
say "Deleting session file '$SESSION_FILE'..." "resetSession"
rm "$SESSION_FILE"
}
function main() {
if [[ "$#" == "0" ]]; then
showHelp
@ -397,25 +347,6 @@ function main() {
instGiteaTools
elif [[ "$2" == "lazygit" ]]; then
installLazyGit
else
sayE "Unknown option ($2) given for command 'install'!"
fi
elif [[ "$1" == "session" ]]; then
# session option
if [[ "$2" == "save" ]]; then
saveSession "$@"
exit 0
elif [[ "$2" == "restore" ]]; then
restoreSession
exit 0
elif [[ "$2" == "show" ]]; then
showSession
exit 0
elif [[ "$2" == "reset" ]]; then
resetSession
exit 0
else
sayE "Unknown option ($2) given for command 'session'!"
fi
else
sayE "Unknown parameter value given!($1)."

View File

@ -10,7 +10,7 @@ function _command_completions() {
case ${COMP_CWORD} in
1)
# shellcheck disable=2207,SC2086
COMPREPLY=($(compgen -W "config git install help session" -- ${cur}))
COMPREPLY=($(compgen -W "config git install help" -- ${cur}))
;;
2)
case ${prev} in
@ -26,10 +26,6 @@ function _command_completions() {
# shellcheck disable=2207,SC2086
COMPREPLY=($(compgen -W "docker-cli dotnet golang bun nodejs volta powershell gitea lazygit" -- ${cur}))
;;
session)
# shellcheck disable=2207,SC2086
COMPREPLY=($(compgen -W "save restore show reset" -- ${cur}))
;;
help)
;;
esac

BIN
bun.lockb

Binary file not shown.

View File

@ -3,9 +3,8 @@
## About
The `arkanum` container image includes the `arkanum-cli` to manage the current instance and be able to install
additional resources. To keep the base image as small as possible we decided not to include all possible frameworks.
With this approach the user can decide which frameworks are needed and install it by yourself. This avoids growing
the container image size.
additional resources. To keep the base image as small as possible we decided not ot include all possible frameworks. This decision also helps to give the use the ability to manage the needed framework versions like for
NodeJS or Golang.
For now the arkanum-cli is made with a simple bash script. But this could change whenever the complexity increases
significantly.
@ -15,7 +14,7 @@ significantly.
To use the cli just open a terminal and call the `arkanum` command. We also added a bash-completion
script for the cli.
<<< @/../arkanum#usage{19-22 bash:line-numbers}
<<< @/../arkanum#usage{35-37 bash:line-numbers}
The first thing you normally after starting your Arkanum instance is setting the git user and email:
@ -28,29 +27,6 @@ arkanum install golang
arkanum install nodejs
```
### Session Handling <Badge type="tip" text="^1.8.0" />
The session helper simplifies restoring your session after your instance was restarted. You can now save a global
session config which contains your needed frameworks installed by `arkanum install`. This wraps multiple install
calls and restores your session by running `arkanum session restore`.
For Example:
```bash
# Create a new session config by adding items
arkanum session save lazygit gitea golang
# Shows your saved session
arkanum session show
# Restore your session
arkanum session restore
# optionally reset / delete your session config
arkanum session reset
```
> [!WARNING]
> If your run `arkanum session save` multiple times and use the same arguments, they will also be added and
> installed multiple times!
## Referenced Source Files
::: code-group

View File

@ -1,57 +0,0 @@
---
aside: false
author: OCram85
title: 'Arkanum 1.8.1 is released'
tag: 'release'
image: 'blogCard.png'
date: '2024-12-02'
#featured: true
---
# Arkanum 1.8.1 is released
<BlogHeaderImage Source='/blogCard.png' />
**Content**
[[TOC]]
## About
I'm happy to present the latest Arkanum release version `1.8.1`.
We highly encourage you to directly update to version `1.8.1`. This hotfix version already
fixes an issue where the embedded FiraCode font couldn't be loaded.
## New Session Handler
This version brings you a basic session handler. It includes saving your preferred framework
sources and simplifies the restore after an Arkanum restart.
See the docs for details [here](../../guide/components/arkanum-cli#session-handling).
## Changes
This release includes the following changes:
### [v1.8.1](https://gitea.ocram85.com/arkanum/arkanum/releases/tag/v1.8.1) - 2024-12-02
- 🐛 BUGFIXES
- Fix FiraCode font loader (#147)
- 🤖 DEPENDENCIES
- Chore(deps): update dependency prettier to v3.4.1 (#148)
- Chore(deps): update dependency typescript to v5.7.2 (#145)
- Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.95.3 (#144)
- Chore(deps): update oven/bun docker tag to v1.1.38 (#143)
### [v1.8.0](https://gitea.ocram85.com/arkanum/arkanum/releases/tag/v1.8.0) - 2024-11-21
- ✨ FEATURES
- Add session helper (#141)
- 🛠️ ENHANCEMENTS
- Move additional packages install to dockerfile (#138)
- 🤖 DEPENDENCIES
- Chore(deps): update quay.io/linuxserver.io/code-server docker tag to v4.95.2 (#139)
- Chore(deps): update dependency vitepress to v1.5.0 (#137)
- ⚙️ META
- Pin exact bun version (#140)

View File

@ -1,6 +1,6 @@
{
"name": "arkanum-docs",
"version": "1.9.0",
"version": "1.7.1",
"type": "module",
"repository": {
"type": "git",
@ -8,12 +8,12 @@
},
"devDependencies": {
"@types/bun": "latest",
"prettier": "3.5.2",
"prettier": "3.3.3",
"rimraf": "6.0.1",
"vitepress": "1.6.3"
"vitepress": "1.5.0"
},
"peerDependencies": {
"typescript": "5.7.3"
"typescript": "5.6.3"
},
"scripts": {
"docs:clean": "rimraf docs/.vitepress/dist docs/.vitepress/dist",

View File

@ -1,67 +0,0 @@
export default {
skipLabels: [
// FIXME: ignoring a label prevents processing the full PR!
//'build_pr_images',
// ignore issue labels
'duplicate',
'help wanted',
'invalid',
'question',
'wontfix',
],
changeTypes: [
{
title: '💥 Breaking changes',
labels: ['breaking'],
bump: 'major',
weight: 4,
},
{
title: '✨ Features',
labels: ['feature'],
bump: 'minor',
weight: 3,
},
{
title: '🛠️ Enhancement',
labels: ['enhancement'],
bump: 'minor',
weight: 2,
},
{
title: '🐛 Bug Fixes',
labels: ['bug'],
bump: 'patch',
weight: 1,
},
{
title: '🤖 Dependency',
labels: ['renovate', 'dependency'],
bump: 'patch',
},
{
title: '📚 Documentation',
labels: ['docs'],
bump: 'patch',
},
{
title: '📦 Build',
labels: ['pipeline'],
bump: 'patch',
weight: -1,
},
{
title: '⚙️ Meta',
labels: ['meta'],
bump: 'patch',
weight: -2,
},
{
title: '🔖 Misc',
labels: ['misc'],
bump: 'patch',
default: true,
weight: -3,
},
],
}