Skip to content

Commit

Permalink
Update .gitpod.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
nberlette authored Jan 15, 2022
1 parent 7646129 commit 07ac6d7
Showing 1 changed file with 29 additions and 41 deletions.
70 changes: 29 additions & 41 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,36 @@
---
image: nberlette/gitpod-enhanced

# tasks:
# - before: # runs on every start; e.g. terminal configurations
# init: # runs on prebuilds only; e.g. install dependencies
# command: # runs on every start; e.g. hot reload dev server
# name: # task name to display in the terminal
#
tasks:
- name: "urara"
before: pnpm install
command: pnpm dev

ports:
- port: "3000-5000"
onOpen: notify
visibility: public

github:
prebuilds:
branches: true
addLabel: true
addCheck: true
addBadge: true

gitConfig:
# https://git.io/git-ps1
alias.bail: "reset HEAD --"
alias.graph: "!git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative"
alias.amend: "!git log -n 1 --pretty=tformat:%s%n%n%b | git commit -F - --amend"
alias.setup: "!git init && git add . && git commit -m 'Initial commit.'"
alias.nb: "!git branch | grep ^* | awk '{ print $2 }'"
alias.cleanup: "!git ls-files -z --deleted | xargs -0 git rm"
alias.addnew: "!git cleanup && git add . --all"
bash.showColorHints: "true" # colorizes git info based on branch/upstream status
bash.showUpstream: "auto" # false | auto verbose name git svn (accepts > 1)
bash.showUntrackedFiles: "false" # % added if untracked files are detected
bash.showStashState: "true" # $ added if stashed files are detected
bash.showDirtyState: "true" # * added if tracked files are modified
bash.hideIfPwdIgnored: "false" # hides git prompt if cwd is in .gitignore
#
init.defaultbranch: "main"
#
color.ui: "auto"
color.branch.current: "yellow reverse"
color.branch.local: "yellow"
Expand All @@ -30,46 +42,22 @@ gitConfig:
color.status.added: "yellow"
color.status.changed: "green"
color.status.untracked: "red"
#
alias.bail: "reset HEAD --"
alias.graph: "!git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative"
alias.amend: "!git log -n 1 --pretty=tformat:%s%n%n%b | git commit -F - --amend"
alias.setup: "!git init && git add . && git commit -m 'Initial commit.'"
alias.nb: "!git branch | grep ^* | awk '{ print $2 }'"
alias.cleanup: "!git ls-files -z --deleted | xargs -0 git rm"
alias.addnew: "!git cleanup && git add . --all"
#
init.defaultbranch: "main"
url.https://github.com/.insteadof: "gh:"
url.https://gist.github.com/.insteadof: "gist:"
url.https://gitlab.com/.insteadof: "gl:"
url.https://bitbucket.org/.insteadof: "bb:"
vscode:
extensions:
- eamodio.gitlens
- svelte.svelte-vscode
- voorjaar.windicss-intellisense
- fivethree.vscode-svelte-snippets
- editorconfig.editorconfig
- davidanson.vscode-markdownlint
- bpruitt-goddard.mermaid-markdown-syntax-highlighting
- voorjaar.windicss-intellisense
- eamodio.gitlens
- github.vscode-pull-request-github
- streetsidesoftware.code-spell-checker
- esbenp.prettier-vscode
- editorconfig.editorconfig
- davidanson.vscode-markdownlint
- christian-kohler.path-intellisense
- christian-kohler.npm-intellisense
- eg2.vscode-npm-script
ports:
- port: 3000
onOpen: open-preview
visibility: public
- port: 5000
onOpen: notify
visibility: public
github:
prebuilds:
master: true
branches: true
addLabel: true
addCheck: true

0 comments on commit 07ac6d7

Please sign in to comment.