Skip to content

Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.

build: Stage publish (#3170)

Ivan Starkova2e9e472a3ac
diff --git a/devops/cli/Dockerfile b/devops/cli/Dockerfile
index 6efa261690..a59da8b317 100644
--- a/devops/cli/Dockerfile
+++ b/devops/cli/Dockerfile
@@ -9,7 +9,7 @@ ENV CI=true
ENV SKIP_INSTALL_SIMPLE_GIT_HOOKS=true
ENV PRISMA_SKIP_POSTINSTALL_GENERATE=true
-RUN apk update && apk add curl rclone postgresql14-client --no-cache
+RUN apk update && apk add bash curl rclone postgresql14-client --no-cache
COPY ./ /cli
WORKDIR /cli
diff --git a/fixtures/webstudio-cloudlfare-template/package.json b/fixtures/webstudio-cloudlfare-template/package.json
index 9c2cd7df29..a2e71b1339 100644
--- a/fixtures/webstudio-cloudlfare-template/package.json
+++ b/fixtures/webstudio-cloudlfare-template/package.json
@@ -42,7 +42,8 @@
"vite": "^5.2.8",
"@cloudflare/workers-types": "^4.20240405.0",
"vite-tsconfig-paths": "^4.2.1",
- "wrangler": "^3.48.0"
+ "wrangler": "^3.48.0",
+ "worktop": "0.8.0-next.18"
},
"name": "tmp-remix-app",
"version": "0.0.1",
diff --git a/packages/cli/src/prebuild.ts b/packages/cli/src/prebuild.ts
index 1afc93c1dc..e49af9ec37 100644
--- a/packages/cli/src/prebuild.ts
+++ b/packages/cli/src/prebuild.ts
@@ -225,7 +225,7 @@ export const prebuild = async (options: {
}
// Template is local user template
- if (template.startsWith(".")) {
+ if (template.startsWith(".") || template.startsWith("/")) {
continue;
}
diff --git a/packages/cli/templates/cloudflare/package.json b/packages/cli/templates/cloudflare/package.json
index 836c2a7f97..3348040656 100644
--- a/packages/cli/templates/cloudflare/package.json
+++ b/packages/cli/templates/cloudflare/package.json
@@ -20,6 +20,7 @@
"devDependencies": {
"@cloudflare/workers-types": "^4.20240405.0",
"vite-tsconfig-paths": "^4.2.1",
+ "worktop": "0.8.0-next.18",
"wrangler": "^3.48.0"
},
"engines": {
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 7d94a412ca..0eb3834d16 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -523,6 +523,9 @@ importers:
webstudio:
specifier: workspace:*
version: link:../../packages/cli
+ worktop:
+ specifier: 0.8.0-next.18
+ version: 0.8.0-next.18
wrangler:
specifier: ^3.48.0
version: 3.50.0(@cloudflare/[email protected])
@@ -13587,6 +13590,11 @@ packages:
resolution: {integrity: sha512-hzzEagAgDyoU1Q6yg5uI+AorQgdvMCur3FcKf7NhMKWsaYg+RnbTyHRa/9IlLF9rf455MOCtcqqrQQ83pPP7Uw==}
engines: {node: '>=10'}
+ resolution: {integrity: sha512-eu38+hdgojoyq63s+yTpN4XMBdt5l8HhMhc4VKLO9KM5caLIBvUm4thi7fFaxyTmCKeNnXZ5pAlBwCUnhA09uw==}
+ engines: {node: '>=10'}
+ dev: true
+
resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==}
@@ -14957,6 +14965,11 @@ packages:
set-function-name: 2.0.2
dev: true
+ resolution: {integrity: sha512-RSYAtP31mvYLkAHrOlh25pCNQ5hWnT106VukGaaFfuJrZFkGRX5GhUAdPqpSDXxOhA2c4akmRuplv1mRqnBn6Q==}
+ engines: {node: '>=8'}
+ dev: true
+
resolution: {integrity: sha512-RAM5FlZz+Lhmo7db9L298p2vHP5ZywrVXmVXpmAD9GuL5MPH6t9ROw1iA/wfHkQ76Qe7AaPF0nGuim96/IrQMQ==}
engines: {node: '>=4'}
@@ -17002,6 +17015,14 @@ packages:
'@cloudflare/workerd-linux-arm64': 1.20240405.0
'@cloudflare/workerd-windows-64': 1.20240405.0
+ resolution: {integrity: sha512-+TvsA6VAVoMC3XDKR5MoC/qlLqDixEfOBysDEKnPIPou/NvoPWCAuXHXMsswwlvmEuvX56lQjvELLyLuzTKvRw==}
+ engines: {node: '>=12'}
+ dependencies:
+ mrmime: 2.0.0
+ regexparam: 3.0.0
+ dev: true
+
resolution: {integrity: sha512-JlLuch+6DtaC5HGp8YD9Au++XvMv34g3ySdlB5SyPbaObELi8P9ZID5vgyf9AA75djzxL7cuNOk1YdKCJEuq0w==}
engines: {node: '>=16.17.0'}