From dc051991673e9791dfb15f75e87f21051504d881 Mon Sep 17 00:00:00 2001 From: "Bryan Klein (TECi)" Date: Mon, 24 Nov 2025 15:50:33 -0800 Subject: [PATCH 1/3] Add new Ona config. Archive old GitPod config. --- .devcontainer/Dockerfile | 7 +++++++ .devcontainer/devcontainer.json | 36 +++++++++++++++++++++++++++++++++ .gitpod/automations.yaml | 31 ++++++++++++++++++++++++++++ .gitpod.yml => old_gitpod.bkup | 0 4 files changed, 74 insertions(+) create mode 100644 .devcontainer/Dockerfile create mode 100644 .devcontainer/devcontainer.json create mode 100644 .gitpod/automations.yaml rename .gitpod.yml => old_gitpod.bkup (100%) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000..5ecb690 --- /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 0000000..dfb9ae8 --- /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/.gitpod/automations.yaml b/.gitpod/automations.yaml new file mode 100644 index 0000000..897fbe2 --- /dev/null +++ b/.gitpod/automations.yaml @@ -0,0 +1,31 @@ +tasks: + tailwild_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: + - tailwild_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: + - tailwild_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 -- GitLab From 2cfce5980fb1a5f25bfb1c527ffd4d51a25314a5 Mon Sep 17 00:00:00 2001 From: "Bryan Klein (TECi)" Date: Mon, 24 Nov 2025 15:54:50 -0800 Subject: [PATCH 2/3] Fix typo in automations config. --- .gitpod/automations.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitpod/automations.yaml b/.gitpod/automations.yaml index 897fbe2..4a0bd84 100644 --- a/.gitpod/automations.yaml +++ b/.gitpod/automations.yaml @@ -1,5 +1,5 @@ tasks: - tailwild_build: + tailwind_build: name: Tailwind Build command: | npm install @@ -13,7 +13,7 @@ tasks: command: | npx tailwindcss -i ./src/app.css -o ./static/css/main.css --watch dependsOn: - - tailwild_build + - tailwind_build triggeredBy: - manual - postEnvironmentStart @@ -25,7 +25,7 @@ tasks: export PUBLIC_BUILD_MODE=development npm run dev dependsOn: - - tailwild_watch + - tailwind_watch triggeredBy: - postEnvironmentStart - manual -- GitLab From a817c86d744e397f920244ca416a9f4f8b5cc776 Mon Sep 17 00:00:00 2001 From: "Bryan Klein (TECi)" Date: Mon, 24 Nov 2025 16:14:35 -0800 Subject: [PATCH 3/3] Change folder name. --- {.gitpod => .ona}/automations.yaml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename {.gitpod => .ona}/automations.yaml (100%) diff --git a/.gitpod/automations.yaml b/.ona/automations.yaml similarity index 100% rename from .gitpod/automations.yaml rename to .ona/automations.yaml -- GitLab