diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000000000000000000000000000000000000..5ecb6909ebb584b456f54b2fe956cc81fce83506 --- /dev/null +++ b/.devcontainer/Dockerfile @@ -0,0 +1,7 @@ +FROM mcr.microsoft.com/devcontainers/base:latest + +USER vscode + +RUN git config --global pull.rebase false \ + && git config --global fetch.prune true \ + && git config --global diff.colorMoved zebra \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000000000000000000000000000000000000..dfb9ae8471c3406d39e30ebfb8bf393694cd40b8 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,36 @@ +{ + "name": "example", + "build": { + "context": ".", + "dockerfile": "Dockerfile" + }, + "features": { + "ghcr.io/devcontainers/features/docker-in-docker:2": { + "moby": false + }, + "ghcr.io/devcontainers/features/node:1": {} + }, + "forwardPorts": [ + 5173 + ], + "portsAttributes": { + "5173": { + "label": "5173 for SvelteKit", + "onAutoForward": "openBrowser", + "elevateIfNeeded": true + } + }, + "customizations": { + "vscode": { + "extensions": [ + "svelte.svelte-vscode", + "bradlc.vscode-tailwindcss", + "csstools.postcss", + "carlocardella.vscode-texttoolbox", + "sleistner.vscode-fileutils", + "PKief.material-icon-theme", + "asciidoctor.asciidoctor-vscode" + ] + } + } +} \ No newline at end of file diff --git a/.ona/automations.yaml b/.ona/automations.yaml new file mode 100644 index 0000000000000000000000000000000000000000..4a0bd847c1e44be6a9d3836b4078fc61c9b45878 --- /dev/null +++ b/.ona/automations.yaml @@ -0,0 +1,31 @@ +tasks: + tailwind_build: + name: Tailwind Build + command: | + npm install + npx tailwindcss -i ./src/app.css -o ./static/css/main.css + triggeredBy: + - manual + - prebuild + + tailwind_watch: + name: Tailwind Watch + command: | + npx tailwindcss -i ./src/app.css -o ./static/css/main.css --watch + dependsOn: + - tailwind_build + triggeredBy: + - manual + - postEnvironmentStart + + run_dev_environment: + name: Setup and Run Dev Environment + command: | + export HMR_HOST=$(gitpod env port open 5173 -n HMR_HOST) + export PUBLIC_BUILD_MODE=development + npm run dev + dependsOn: + - tailwind_watch + triggeredBy: + - postEnvironmentStart + - manual diff --git a/.gitpod.yml b/old_gitpod.bkup similarity index 100% rename from .gitpod.yml rename to old_gitpod.bkup