diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile new file mode 100644 index 00000000..22e89f8d --- /dev/null +++ b/.gitpod.Dockerfile @@ -0,0 +1,19 @@ +FROM gitpod/workspace-node:latest + +# Update system +RUN sudo apt update && sudo apt upgrade -y + +# Setup Pnpm +RUN corepack enable +RUN corepack prepare pnpm@latest --activate + +# Setup ZSH with Oh-My-Zsh +RUN sh -c "$(wget -O- https://github.com/deluan/zsh-in-docker/releases/download/v1.1.5/zsh-in-docker.sh)" -- \ + -t https://github.com/denysdovhan/spaceship-prompt \ + -p git -p ssh-agent -p yarn \ + -p https://github.com/zsh-users/zsh-autosuggestions \ + -p https://github.com/zsh-users/zsh-completions \ + -p https://github.com/zdharma-continuum/fast-syntax-highlighting + + +ENV SHELL=/usr/bin/zsh \ No newline at end of file diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 00000000..788c7d4d --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,44 @@ +# This configuration file was automatically generated by Gitpod. +# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml) +# and commit this file to your remote git repository to share the goodness with others. + +# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart + +image: + file: .gitpod.Dockerfile + +ports: + - name: Website + port: 3000 + onOpen: open-browser + +gitConfig: + alias.co: checkout + alias.cm: checkout main + alias.cb: checkout -b + alias.st: status -sb + alias.lg: log --pretty=format:'%Cred%h%Creset %C(bold)%cr%Creset %Cgreen<%an>%Creset %s' --max-count=30 + alias.rollback: reset --soft HEAD~1 + +vscode: + extensions: + - streetsidesoftware.code-spell-checker # Code Spell Checker + - streetsidesoftware.code-spell-checker-portuguese # Portuguese - Code Spell Checker + - naumovs.color-highlight # Color Highlight + - ms-azuretools.vscode-docker # Docker + - mikestead.dotenv # DotENV + - EditorConfig.EditorConfig # Editor Config + - dbaeumer.vscode-eslint # ESLint + - esbenp.prettier-vscode # Prettier - Code formatter + - GitHub.github-vscode-theme # Github Dark Tubo [Theme] + - PKief.material-icon-theme # Material Icon Theme [Icon Theme] + - miguelsolorio.fluent-icons # Fluent Icons [Product Icon Theme] + - ms-vscode.vscode-typescript-next # JavaScript and TypeScript Nightly + - darkriszty.markdown-table-prettify # Markdown Table Prettifier + - csstools.postcss # PostCSS Language Support + - bradlc.vscode-tailwindcss # Tailwind CSS IntelliSense + + +tasks: + - name: Install Packages + command: pnpm install \ No newline at end of file