feat: add devcontainer
This commit is contained in:
parent
79de9da5a6
commit
a78dbd4756
5 changed files with 37 additions and 9 deletions
5
.devcontainer/Containerfile
Normal file
5
.devcontainer/Containerfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
FROM mcr.microsoft.com/devcontainers/base:alpine
|
||||
RUN apk add typst
|
||||
RUN mkdir -p /home/vscode/.local/share/fonts
|
||||
RUN wget -O /home/vscode/.local/share/fonts/ubuntu.ttf https://cdn.jsdelivr.net/fontsource/fonts/ubuntu@latest/latin-400-normal.ttf
|
||||
RUN wget -O /home/vscode/.local/share/fonts/noto.ttf https://cdn.jsdelivr.net/fontsource/fonts/noto-sans@latest/latin-400-normal.ttf
|
20
.devcontainer/devcontainer.json
Normal file
20
.devcontainer/devcontainer.json
Normal file
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"name": "documents",
|
||||
"build": {
|
||||
"dockerfile": "Containerfile"
|
||||
},
|
||||
"containerUser": "vscode",
|
||||
"runArgs": [
|
||||
"--userns=keep-id",
|
||||
"--security-opt=label=disable"
|
||||
],
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"myriad-dreamin.tinymist",
|
||||
"redhat.vscode-yaml",
|
||||
"mathematic.vscode-pdf"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
8
.vscode/extensions.json
vendored
8
.vscode/extensions.json
vendored
|
@ -1,3 +1,7 @@
|
|||
{
|
||||
"recommendations": ["mathematic.vscode-pdf", "nvarner.typst-lsp"]
|
||||
}
|
||||
"recommendations": [
|
||||
"myriad-dreamin.tinymist",
|
||||
"redhat.vscode-yaml",
|
||||
"mathematic.vscode-pdf"
|
||||
]
|
||||
}
|
10
.vscode/settings.json
vendored
10
.vscode/settings.json
vendored
|
@ -1,14 +1,14 @@
|
|||
{
|
||||
"editor.tabSize": 2,
|
||||
"editor.formatOnSave": true,
|
||||
"prettier.tabWidth": 2,
|
||||
"[typst]": {
|
||||
"editor.wordWrap": "on"
|
||||
},
|
||||
"[yaml]": {
|
||||
"editor.insertSpaces": true,
|
||||
"editor.tabSize": 2,
|
||||
"editor.autoIndent": "advanced",
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
"editor.autoIndent": "advanced"
|
||||
},
|
||||
"files.associations": {
|
||||
"*.yml.template": "yaml"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,9 +1,8 @@
|
|||
|
||||
# invoice (Rechnung)
|
||||
# offer (Angebot)
|
||||
# estimate (Kostenvoranschlag)
|
||||
# internal (Eigenbeleg)
|
||||
type: invoice
|
||||
type: invoice
|
||||
date: 01.01.2024
|
||||
customer_no: 0 # für Rechnung, Angebot und Kostenvoranschlag
|
||||
invoice_no: 0 # für Rechnung und Angebot
|
||||
|
|
Loading…
Add table
Reference in a new issue