diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 02d35ef..9fb8c25 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -37,7 +37,7 @@ jobs: run: | for attempt in 1 2 3 4 5; do rm -rf SharedCode - if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode.git SharedCode; then + if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode SharedCode; then break fi if [ "$attempt" -eq 5 ]; then diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d534bd0..5073f0a 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -38,7 +38,7 @@ jobs: run: | for attempt in 1 2 3 4 5; do rm -rf SharedCode - if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode.git SharedCode; then + if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode SharedCode; then break fi if [ "$attempt" -eq 5 ]; then diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2576553..cd9debe 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -38,7 +38,7 @@ jobs: run: | for attempt in 1 2 3 4 5; do rm -rf SharedCode - if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode.git SharedCode; then + if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode SharedCode; then break fi if [ "$attempt" -eq 5 ]; then @@ -77,7 +77,7 @@ jobs: run: | for attempt in 1 2 3 4 5; do rm -rf SharedCode - if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode.git SharedCode; then + if git clone --depth 1 --branch main --single-branch https://repos.gfranz.ch/Gabriel20xx/SharedCode SharedCode; then break fi if [ "$attempt" -eq 5 ]; then diff --git a/.gitmodules b/.gitmodules index bcbb9c5..3738b16 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,4 @@ [submodule "SharedCode"] path = SharedCode - url = https://repos.gfranz.ch/Gabriel20xx/SharedCode.git + url = https://repos.gfranz.ch/Gabriel20xx/SharedCode branch = main diff --git a/docker/Dockerfile b/docker/Dockerfile index 00c2537..c59deeb 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -3,7 +3,7 @@ RUN apk add --no-cache git WORKDIR /frontend COPY frontend/package*.json ./ RUN --mount=type=bind,source=SharedCode.git,target=/tmp/SharedCode.git,readonly \ - git config --global url."file:///tmp/SharedCode.git".insteadOf "https://repos.gfranz.ch/Gabriel20xx/SharedCode.git" && \ + git config --global url."file:///tmp/SharedCode.git".insteadOf "https://repos.gfranz.ch/Gabriel20xx/SharedCode" && \ for attempt in 1 2 3 4 5; do \ npm ci && break; \ if [ "$attempt" -eq 5 ]; then exit 1; fi; \ diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 4131dc8..faa272e 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -8,7 +8,7 @@ "name": "collabtable-server-frontend", "version": "1.0.0", "dependencies": { - "@gabriel20xx/shared-code": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode.git#main", + "@gabriel20xx/shared-code": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode#main", "@lucide/svelte": "latest", "@tanstack/svelte-query": "latest", "bits-ui": "latest", @@ -220,7 +220,7 @@ }, "node_modules/@gabriel20xx/shared-code": { "version": "0.1.0", - "resolved": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode.git#main", + "resolved": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode#main", "license": "MIT", "workspaces": [ "packages/*" diff --git a/frontend/package.json b/frontend/package.json index b6b3766..14abd90 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -30,7 +30,7 @@ "vite": "latest" }, "dependencies": { - "@gabriel20xx/shared-code": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode.git#main", + "@gabriel20xx/shared-code": "git+https://repos.gfranz.ch/Gabriel20xx/SharedCode#main", "@lucide/svelte": "latest", "@tanstack/svelte-query": "latest", "bits-ui": "latest",